parent
6728176dd1
commit
8240ac6e71
@ -1 +1,2 @@
|
||||
DIST workrave-1.10.15.tar.gz 6375380 SHA256 fa05bedbb32baae9d22ef2b1ac25e90bc9f1363ce588b396190b0240559f471c SHA512 e741f5d0748ffaba9c8e69bcbd67f7b371424423ec8cea81d082462e8c33751c3e322301ae0749037668dc53cab28b19ec2b162f98eb7afbbd5ab85bae33cf7e WHIRLPOOL 02c9f25f06ae0753f7edc418ade789c82bf39736b975e755265a86b2677842098efc966530cf9063401e2e63d9f1670e4fd4ba5d9b635d05faa5cc71b9146afa
|
||||
DIST workrave-1.10.16.tar.gz 6375438 SHA256 4368306db0d06e76a3a90fc8e81b3648c1218259833b01cdc6899b1e98e5895c SHA512 f768c46a5b7dfbaca2984fabff92e64d5fd14f3b4e4d018f5a1cf46a87fbf7ec7fbaec9b660e899f7064a93338224d159b75052ed8e532ecaf507d2f249732f2 WHIRLPOOL 2352b05bc1e3fb3787e4c350ab37cb877e9fdce543e4f6e117083f46e79af673b9ae3c21e3e625ed9e1b11c1e5e4072adeff1b6b059b7cd1c6c01bc8ce3a04ac
|
||||
|
@ -0,0 +1,105 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit autotools gnome2 python-single-r1 versionator vcs-snapshot
|
||||
|
||||
DESCRIPTION="Helpful utility to attack Repetitive Strain Injury (RSI)"
|
||||
HOMEPAGE="http://www.workrave.org/"
|
||||
MY_PV=$(replace_all_version_separators '_')
|
||||
SRC_URI="https://github.com/rcaelers/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
|
||||
# dbus support looks to be used only for trying to use panel applets on gnome3!
|
||||
IUSE="ayatana doc gnome gstreamer introspection mate nls pulseaudio test xfce"
|
||||
REQUIRED_USE="ayatana? ( introspection )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.28.0:2
|
||||
>=x11-libs/gtk+-3.0:3[introspection?,X]
|
||||
>=dev-cpp/gtkmm-3.0.0:3.0
|
||||
>=dev-cpp/glibmm-2.28.0:2
|
||||
>=dev-libs/libsigc++-2.2.4.2:2
|
||||
ayatana? (
|
||||
>=dev-libs/libdbusmenu-0.4[gtk3,introspection]
|
||||
>=dev-libs/libindicator-0.4:3 )
|
||||
gnome? ( >=gnome-base/gnome-shell-3.6.2 )
|
||||
gstreamer? (
|
||||
media-libs/gstreamer:1.0[introspection?]
|
||||
media-libs/gst-plugins-base:1.0[introspection?]
|
||||
media-plugins/gst-plugins-meta:1.0 )
|
||||
introspection? ( dev-libs/gobject-introspection:= )
|
||||
mate? ( mate-base/mate-applets )
|
||||
pulseaudio? ( >=media-sound/pulseaudio-0.9.15 )
|
||||
xfce? (
|
||||
>=x11-libs/gtk+-2.6.0:2[introspection?]
|
||||
>=xfce-base/xfce4-panel-4.4 )
|
||||
x11-libs/libXScrnSaver
|
||||
x11-libs/libSM
|
||||
x11-libs/libX11
|
||||
x11-libs/libXtst
|
||||
x11-libs/libXt
|
||||
x11-libs/libXmu
|
||||
"
|
||||
# dbus? (
|
||||
# >=sys-apps/dbus-1.2
|
||||
# dev-libs/dbus-glib )
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/cheetah
|
||||
>=dev-util/intltool-0.40.0
|
||||
sys-devel/autoconf-archive
|
||||
x11-proto/xproto
|
||||
x11-proto/inputproto
|
||||
x11-proto/recordproto
|
||||
virtual/pkgconfig
|
||||
doc? (
|
||||
app-text/docbook-sgml-utils
|
||||
app-text/xmlto )
|
||||
nls? ( >=sys-devel/gettext-0.17 )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
vcs-snapshot_src_unpack
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Fix gstreamer slot automagic dependency, bug #563584
|
||||
# http://issues.workrave.org/show_bug.cgi?id=1179
|
||||
eapply "${FILESDIR}"/${PN}-1.10.6-automagic-gstreamer.patch
|
||||
|
||||
eautoreconf
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# gnet ("distribution") is dead for ages and other distributions stopped
|
||||
# relying on it for such time too.
|
||||
gnome2_src_configure \
|
||||
--disable-dbus \
|
||||
--disable-distribution \
|
||||
--enable-exercises \
|
||||
--disable-experimental \
|
||||
--disable-gnome2 \
|
||||
--disable-static \
|
||||
--disable-xml \
|
||||
$(use_enable ayatana indicator) \
|
||||
$(use_enable doc manual) \
|
||||
$(use_enable gnome gnome3) \
|
||||
$(use_enable gstreamer) \
|
||||
$(use_enable introspection) \
|
||||
$(use_enable mate) \
|
||||
$(use_enable nls) \
|
||||
$(use_enable pulseaudio pulse) \
|
||||
$(use_enable test tests) \
|
||||
$(use_enable xfce)
|
||||
}
|
@ -1,5 +1,3 @@
|
||||
DIST gentoolkit-0.3.0.8.tar.gz 3192497 SHA256 0338dee7c295c32b60a84e529b764d2bc61536fa3aca021cd5a75c6e534864a6 SHA512 50efd701d0d056740bcf7c7cdce652ae7c9e2786f799f5d30946e752b8aa735489d3e0dc5c7664a5810a0f22cec05b9bc7ccc10292b07ac4dd0777658651f72d WHIRLPOOL 5a2455e50d4e0f4df8abab5b81deb6bb00e078dfed1687ae046ce97a0427eafea2d3de9b83ac6de8155d207653d001c6684ac92226fa2320515c6e14c8fea6e0
|
||||
DIST gentoolkit-0.3.0.9.tar.gz 3194703 SHA256 c660d150dfccbaea6f291fb7fc2659c8e0e38eaebe6e68f92dee728c8c7e320d SHA512 75b2d15b2b9ed08055840b56b239ed5d63838a10e8d31ec3ed8822cf1d3ef32841609763433736e17f93a5fdd293ccbda4a3dfa0f007241321aec3333bcde847 WHIRLPOOL 5e9dc038c161361eb2dd8f0cd17e8efaa41183a281d6fcf620c1631c6da661673d085c60572424cd48504222c29613473591f8dd276792ab96ba3cfda88f1fe1
|
||||
DIST gentoolkit-0.3.1.1.tar.gz 3198269 SHA256 e3743ac526a8b9dd78af8ebc88ccf26cf487f2c31483b283b0e5df36bab881ce SHA512 24736713761ead819da8f65148d7f8cae5e12414cbffafa1bcf0ce4f59587b6c589fed02edb48f054f24f015e4fe151333ebbba4ccfa9b1164a547717bee7a74 WHIRLPOOL c33a468ca8fb01e4e236cd104abc10a7a570fc6a3372314407ee341672202ed2cef70e2647743ba4301277f01201a5999e6251167d66f7b1ffae5eb0872a5375
|
||||
DIST gentoolkit-0.3.2.tar.gz 3198294 SHA256 f3bb38d663c1b153447556b5265df5a11b6ed78411e761335b692111c823d9dd SHA512 e174ac7f12d45703515876ea558a661e1d0c5d4cc71d2d64ee793786e2a2d3d2b309500b6e1891774e3415de74922efc77553c0103d695f5dda91def9a6ac637 WHIRLPOOL 67192702f72f437cc31aeeef8bf005c83a4a9322e9fa0de3c1e0d229bfb95d7363f14a8902da5ffbf49dee45cd587286899ea1ead017cd7d18d0f852cc7fd9fb
|
||||
DIST gentoolkit-0.3.3.tar.gz 3197037 SHA256 bb1fd78a6063efffd4e8402cd799f2c22ed2bbf440c26390aab68bfb6f4ee982 SHA512 ad142c2c66e7f7a2e4184c8f95e394ee783cd57808e6254e9f5df0f3f60ad842042f773716ca0fd6d7545bb8a2d11c1c167a4ec471eb3238c8ee3a519f70a691 WHIRLPOOL 81c2aa8cb36d9c6abef99729b07c9cc5402d66ccfd8523a4cee57ed99d2b4c2ab0db6c77dccdc90597bd11d60e11823130dd1136eeaba9b2a18383da3e9c5f25
|
||||
|
@ -1,37 +0,0 @@
|
||||
From 9a33ceffe2e0045bf75b1209a90e9a53530d4e0d Mon Sep 17 00:00:00 2001
|
||||
From: Tobias Heinlein <keytoaster@gentoo.org>
|
||||
Date: Sat, 19 Apr 2014 18:39:03 +0200
|
||||
Subject: [PATCH 01/14] equery: Don't always print the license field (bug
|
||||
#508114).
|
||||
|
||||
---
|
||||
pym/gentoolkit/equery/meta.py | 13 +++++++------
|
||||
1 file changed, 7 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/pym/gentoolkit/equery/meta.py b/pym/gentoolkit/equery/meta.py
|
||||
index e2d2124..d3342cd 100644
|
||||
--- a/pym/gentoolkit/equery/meta.py
|
||||
+++ b/pym/gentoolkit/equery/meta.py
|
||||
@@ -373,12 +373,13 @@ def call_format_functions(best_match, matches):
|
||||
useflags = format_useflags(best_match.metadata.use())
|
||||
print_sequence(format_list(useflags))
|
||||
|
||||
- _license = best_match.environment(["LICENSE"])
|
||||
- if QUERY_OPTS["license"]:
|
||||
- _license = format_list(_license)
|
||||
- else:
|
||||
- _license = format_list(_license, "License: ", " " * 13)
|
||||
- print_sequence(_license)
|
||||
+ if QUERY_OPTS["license"] or not got_opts:
|
||||
+ _license = best_match.environment(["LICENSE"])
|
||||
+ if QUERY_OPTS["license"]:
|
||||
+ _license = format_list(_license)
|
||||
+ else:
|
||||
+ _license = format_list(_license, "License: ", " " * 13)
|
||||
+ print_sequence(_license)
|
||||
|
||||
if QUERY_OPTS["stablereq"]:
|
||||
# Get {<Package 'dev-libs/glib-2.20.5'>: [u'ia64', u'm68k', ...], ...}
|
||||
--
|
||||
2.1.3
|
||||
|
@ -1,27 +0,0 @@
|
||||
From 1351a6b8f09ab2f4a7469d6e2be874b56a31d3c4 Mon Sep 17 00:00:00 2001
|
||||
From: Brian Dolbec <dolsen@gentoo.org>
|
||||
Date: Thu, 28 Aug 2014 20:56:22 -0700
|
||||
Subject: [PATCH 03/14] equery has: Add CFLAGS, CXXFLAGS, LDFLAGS to strip the
|
||||
leading '-'
|
||||
|
||||
Strip the leading '-' from values found in these files.
|
||||
---
|
||||
pym/gentoolkit/equery/has.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/pym/gentoolkit/equery/has.py b/pym/gentoolkit/equery/has.py
|
||||
index 15c60b9..180f7f0 100644
|
||||
--- a/pym/gentoolkit/equery/has.py
|
||||
+++ b/pym/gentoolkit/equery/has.py
|
||||
@@ -74,7 +74,7 @@ def query_in_env(query, env_var, pkg):
|
||||
"""Check if the query is in the pkg's environment."""
|
||||
|
||||
try:
|
||||
- if env_var in ("USE", "IUSE"):
|
||||
+ if env_var in ("USE", "IUSE", "CFLAGS", "CXXFLAGS", "LDFLAGS"):
|
||||
results = set(
|
||||
[x.lstrip("+-") for x in pkg.environment(env_var).split()]
|
||||
)
|
||||
--
|
||||
2.1.3
|
||||
|
@ -1,26 +0,0 @@
|
||||
From 91023ef967c680db9307b5c58762e8872346167e Mon Sep 17 00:00:00 2001
|
||||
From: Paul Varner <fuzzyray@gentoo.org>
|
||||
Date: Fri, 24 Oct 2014 12:59:59 -0500
|
||||
Subject: [PATCH 06/14] Fix gawk warning escape sequence \. treated as plain.
|
||||
Bug 526400
|
||||
|
||||
---
|
||||
bin/revdep-rebuild.sh | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/bin/revdep-rebuild.sh b/bin/revdep-rebuild.sh
|
||||
index 3179a83..01a0454 100755
|
||||
--- a/bin/revdep-rebuild.sh
|
||||
+++ b/bin/revdep-rebuild.sh
|
||||
@@ -842,7 +842,7 @@ main_checks() {
|
||||
done < <(
|
||||
# Regexify LD_LIBRARY_MASK. Exclude it from the search.
|
||||
LD_LIBRARY_MASK="${LD_LIBRARY_MASK//$'\n'/|}"
|
||||
- gawk -v ldmask="(${LD_LIBRARY_MASK//./\\\.})" '
|
||||
+ gawk -v ldmask="(${LD_LIBRARY_MASK//./\\\\.})" '
|
||||
/no version information available/ && $0 !~ ldmask {
|
||||
gsub(/[()]/, "", $NF)
|
||||
if (seen[$NF]++) next
|
||||
--
|
||||
2.1.3
|
||||
|
@ -1,26 +0,0 @@
|
||||
From c5baf551987e2fb412caa396ae34f7f4341ad819 Mon Sep 17 00:00:00 2001
|
||||
From: slis <lis.slawek@gmail.com>
|
||||
Date: Mon, 17 Mar 2014 07:42:01 +0100
|
||||
Subject: [PATCH 1/2] Fix #504654 - problem with encoding for non-ascii
|
||||
filenames
|
||||
|
||||
---
|
||||
pym/gentoolkit/revdep_rebuild/stuff.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/pym/gentoolkit/revdep_rebuild/stuff.py b/pym/gentoolkit/revdep_rebuild/stuff.py
|
||||
index cc3da7b..7a8373d 100644
|
||||
--- a/pym/gentoolkit/revdep_rebuild/stuff.py
|
||||
+++ b/pym/gentoolkit/revdep_rebuild/stuff.py
|
||||
@@ -22,7 +22,7 @@ def call_program(args):
|
||||
subp = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||
stdout, stderr = subp.communicate()
|
||||
stdout = stdout.decode('utf-8')
|
||||
- return str(stdout)
|
||||
+ return stdout
|
||||
|
||||
|
||||
def scan(params, files, max_args, logger):
|
||||
--
|
||||
1.9.1
|
||||
|
@ -1,30 +0,0 @@
|
||||
From ae20dbd7f2ef2810d3150e870ece6f5b7278f676 Mon Sep 17 00:00:00 2001
|
||||
From: slis <lis.slawek@gmail.com>
|
||||
Date: Mon, 17 Mar 2014 07:48:19 +0100
|
||||
Subject: [PATCH 2/2] Fix for non-existing libraries version
|
||||
(https://bugs.gentoo.org/show_bug.cgi?id=504654#c5)
|
||||
|
||||
---
|
||||
pym/gentoolkit/revdep_rebuild/analyse.py | 6 +++++-
|
||||
1 file changed, 5 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/pym/gentoolkit/revdep_rebuild/analyse.py b/pym/gentoolkit/revdep_rebuild/analyse.py
|
||||
index d7b210b..bd1b6b7 100644
|
||||
--- a/pym/gentoolkit/revdep_rebuild/analyse.py
|
||||
+++ b/pym/gentoolkit/revdep_rebuild/analyse.py
|
||||
@@ -185,7 +185,11 @@ class LibCheck(object):
|
||||
scanned_files = self.scanned_files
|
||||
found_libs = {}
|
||||
for bits in self.searchbits:
|
||||
- scanned = scanned_files[bits]
|
||||
+ try:
|
||||
+ scanned = scanned_files[bits]
|
||||
+ except KeyError:
|
||||
+ self.logger.debug('There are no %s-bit libraries'%bits)
|
||||
+ continue
|
||||
self.logger.debug(self.smsg % bits)
|
||||
self.setlibs(sorted(scanned), bits)
|
||||
for soname, filepaths in scanned.items():
|
||||
--
|
||||
1.9.1
|
||||
|
@ -1,29 +0,0 @@
|
||||
From 4e06e9f032ed187ce682434955778c3241854e26 Mon Sep 17 00:00:00 2001
|
||||
From: Mike Gilbert <floppym@gentoo.org>
|
||||
Date: Sun, 20 Dec 2015 15:19:06 -0500
|
||||
Subject: [PATCH] Remove useless print() in set_version
|
||||
|
||||
This was causing a TypeError in python3.
|
||||
|
||||
Bug: https://bugs.gentoo.org/568906
|
||||
---
|
||||
setup.py | 3 ---
|
||||
1 file changed, 3 deletions(-)
|
||||
|
||||
diff --git a/setup.py b/setup.py
|
||||
index b32b7d6..01e4b3e 100755
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -80,9 +80,6 @@ class set_version(core.Command):
|
||||
with io.open(f[0], 'r', 1, 'utf_8') as s:
|
||||
for line in s:
|
||||
newline = re.sub(pattern %f[1], '"%s"' % ver, line, 1)
|
||||
- if newline != line:
|
||||
- #log.info("%s: %s" % (f, newline))
|
||||
- print("%s: %s" % (f[0], newline.encode('utf_8').strip('\n')))
|
||||
updated_file.append(newline)
|
||||
with io.open(f[0], 'w', 1, 'utf_8') as s:
|
||||
s.writelines(updated_file)
|
||||
--
|
||||
2.6.4
|
||||
|
@ -1,88 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=(python{2_7,3_4} pypy)
|
||||
PYTHON_REQ_USE="xml(+),threads(+)"
|
||||
|
||||
inherit distutils-r1 eutils
|
||||
|
||||
DESCRIPTION="Collection of administration scripts for Gentoo"
|
||||
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage-Tools"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
DEPEND="sys-apps/portage[${PYTHON_USEDEP}]"
|
||||
RDEPEND="${DEPEND}
|
||||
!<=app-portage/gentoolkit-dev-0.2.7
|
||||
sys-apps/gawk
|
||||
sys-apps/gentoo-functions"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PV}-revdep-rebuild-py-504654-1.patch
|
||||
"${FILESDIR}"/${PV}-revdep-rebuild-py-504654-2.patch
|
||||
"${FILESDIR}"/${PV}-equery-508114.patch
|
||||
"${FILESDIR}"/${PV}-equery-strip-XXXFLAGS.patch
|
||||
"${FILESDIR}"/${PV}-revdep-rebuild-526400.patch
|
||||
)
|
||||
|
||||
python_prepare_all() {
|
||||
epatch "${FILESDIR}/0.3.1-setup.py-print.patch"
|
||||
python_setup
|
||||
echo VERSION="${PVR}" "${PYTHON}" setup.py set_version
|
||||
VERSION="${PVR}" "${PYTHON}" setup.py set_version
|
||||
mv ./bin/revdep-rebuild{,.py} || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
# Rename the python versions of revdep-rebuild, since we are not ready
|
||||
# to switch to the python version yet. Link /usr/bin/revdep-rebuild to
|
||||
# revdep-rebuild.sh. Leaving the python version available for potential
|
||||
# testing by a wider audience.
|
||||
dosym revdep-rebuild.sh /usr/bin/revdep-rebuild
|
||||
|
||||
# TODO: Fix this as it is now a QA violation
|
||||
# Create cache directory for revdep-rebuild
|
||||
keepdir /var/cache/revdep-rebuild
|
||||
use prefix || fowners root:0 /var/cache/revdep-rebuild
|
||||
fperms 0700 /var/cache/revdep-rebuild
|
||||
|
||||
# remove on Gentoo Prefix platforms where it's broken anyway
|
||||
if use prefix; then
|
||||
elog "The revdep-rebuild command is removed, the preserve-libs"
|
||||
elog "feature of portage will handle issues."
|
||||
rm "${ED}"/usr/bin/revdep-rebuild*
|
||||
rm "${ED}"/usr/share/man/man1/revdep-rebuild.1
|
||||
rm -rf "${ED}"/etc/revdep-rebuild
|
||||
rm -rf "${ED}"/var
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Only show the elog information on a new install
|
||||
if [[ ! ${REPLACING_VERSIONS} ]]; then
|
||||
elog
|
||||
elog "For further information on gentoolkit, please read the gentoolkit"
|
||||
elog "guide: https://wiki.gentoo.org/wiki/Gentoolkit"
|
||||
elog
|
||||
elog "Another alternative to equery is app-portage/portage-utils"
|
||||
elog
|
||||
elog "Additional tools that may be of interest:"
|
||||
elog
|
||||
elog " app-admin/eclean-kernel"
|
||||
elog " app-portage/diffmask"
|
||||
elog " app-portage/flaggie"
|
||||
elog " app-portage/install-mask"
|
||||
elog " app-portage/portpeek"
|
||||
elog " app-portage/smart-live-rebuild"
|
||||
fi
|
||||
}
|
@ -1,70 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=(python{2_7,3_4,3_5} pypy)
|
||||
PYTHON_REQ_USE="xml(+),threads(+)"
|
||||
|
||||
inherit distutils-r1 eutils
|
||||
|
||||
DESCRIPTION="Collection of administration scripts for Gentoo"
|
||||
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage-Tools"
|
||||
SRC_URI="http://dev.gentoo.org/~dolsen/releases/gentoolkit/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
DEPEND="sys-apps/portage[${PYTHON_USEDEP}]"
|
||||
RDEPEND="${DEPEND}
|
||||
!<=app-portage/gentoolkit-dev-0.2.7
|
||||
sys-apps/gawk
|
||||
sys-apps/gentoo-functions"
|
||||
|
||||
python_prepare_all() {
|
||||
python_setup
|
||||
echo VERSION="${PVR}" "${PYTHON}" setup.py set_version
|
||||
VERSION="${PVR}" "${PYTHON}" setup.py set_version
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
# remove on Gentoo Prefix platforms where it's broken anyway
|
||||
if use prefix; then
|
||||
elog "The revdep-rebuild command is removed, the preserve-libs"
|
||||
elog "feature of portage will handle issues."
|
||||
rm "${ED}"/usr/bin/revdep-rebuild*
|
||||
rm "${ED}"/usr/share/man/man1/revdep-rebuild.1
|
||||
rm -rf "${ED}"/etc/revdep-rebuild
|
||||
rm -rf "${ED}"/var
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Create cache directory for revdep-rebuild
|
||||
mkdir -p -m 0755 "${EROOT%/}"/var/cache
|
||||
mkdir -p -m 0700 "${EROOT%/}"/var/cache/revdep-rebuild
|
||||
|
||||
# Only show the elog information on a new install
|
||||
if [[ ! ${REPLACING_VERSIONS} ]]; then
|
||||
elog
|
||||
elog "For further information on gentoolkit, please read the gentoolkit"
|
||||
elog "guide: https://wiki.gentoo.org/wiki/Gentoolkit"
|
||||
elog
|
||||
elog "Another alternative to equery is app-portage/portage-utils"
|
||||
elog
|
||||
elog "Additional tools that may be of interest:"
|
||||
elog
|
||||
elog " app-admin/eclean-kernel"
|
||||
elog " app-portage/diffmask"
|
||||
elog " app-portage/flaggie"
|
||||
elog " app-portage/install-mask"
|
||||
elog " app-portage/portpeek"
|
||||
elog " app-portage/smart-live-rebuild"
|
||||
fi
|
||||
}
|
@ -1,70 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
PYTHON_COMPAT=(python{2_7,3_4,3_5} pypy)
|
||||
PYTHON_REQ_USE="xml(+),threads(+)"
|
||||
|
||||
inherit distutils-r1 eutils
|
||||
|
||||
DESCRIPTION="Collection of administration scripts for Gentoo"
|
||||
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage-Tools"
|
||||
SRC_URI="http://dev.gentoo.org/~dolsen/releases/gentoolkit/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
DEPEND="sys-apps/portage[${PYTHON_USEDEP}]"
|
||||
RDEPEND="${DEPEND}
|
||||
!<=app-portage/gentoolkit-dev-0.2.7
|
||||
sys-apps/gawk
|
||||
sys-apps/gentoo-functions"
|
||||
|
||||
python_prepare_all() {
|
||||
python_setup
|
||||
echo VERSION="${PVR}" "${PYTHON}" setup.py set_version
|
||||
VERSION="${PVR}" "${PYTHON}" setup.py set_version
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
# remove on Gentoo Prefix platforms where it's broken anyway
|
||||
if use prefix; then
|
||||
elog "The revdep-rebuild command is removed, the preserve-libs"
|
||||
elog "feature of portage will handle issues."
|
||||
rm "${ED}"/usr/bin/revdep-rebuild*
|
||||
rm "${ED}"/usr/share/man/man1/revdep-rebuild.1
|
||||
rm -rf "${ED}"/etc/revdep-rebuild
|
||||
rm -rf "${ED}"/var
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Create cache directory for revdep-rebuild
|
||||
mkdir -p -m 0755 "${EROOT%/}"/var/cache
|
||||
mkdir -p -m 0700 "${EROOT%/}"/var/cache/revdep-rebuild
|
||||
|
||||
# Only show the elog information on a new install
|
||||
if [[ ! ${REPLACING_VERSIONS} ]]; then
|
||||
elog
|
||||
elog "For further information on gentoolkit, please read the gentoolkit"
|
||||
elog "guide: https://wiki.gentoo.org/wiki/Gentoolkit"
|
||||
elog
|
||||
elog "Another alternative to equery is app-portage/portage-utils"
|
||||
elog
|
||||
elog "Additional tools that may be of interest:"
|
||||
elog
|
||||
elog " app-admin/eclean-kernel"
|
||||
elog " app-portage/diffmask"
|
||||
elog " app-portage/flaggie"
|
||||
elog " app-portage/install-mask"
|
||||
elog " app-portage/portpeek"
|
||||
elog " app-portage/smart-live-rebuild"
|
||||
fi
|
||||
}
|
@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="metadata.xml generator for ebuilds"
|
||||
HOMEPAGE="https://cgit.gentoo.org/proj/metagen.git"
|
||||
SRC_URI="https://cgit.gentoo.org/proj/${PN}.git/snapshot/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
IUSE=""
|
||||
DEPEND=">=dev-python/jaxml-3.01[${PYTHON_USEDEP}]
|
||||
sys-apps/portage[${PYTHON_USEDEP}]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install
|
||||
python_newscript metagen/main.py metagen
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
doman docs/metagen.1
|
||||
}
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" -c "from metagen import metagenerator; metagenerator.do_tests()" || die
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST mdocml-1.13.4.tar.gz 370428 SHA256 0a55c1addb188071d6f784599303656b8465e98ec6b2f4f264e12fb96d79e0ef SHA512 1d671651ca1bb81d0de86e34de8b95a3bde5b335bda03d1b83b601e26eed167af6ef8bac6f9935603e57514f2734cd8f979ed556c76db629dd5c685892d71ec2 WHIRLPOOL cba6d6e34d59a772ef6339b91ec57d7f9b0f6b7345567445eedd230d5c7f05971b70789fe4d338e226e863c47ca9f32667ff5ff03eaa8db97add1b1346523194
|
||||
DIST mdocml-1.14.1.tar.gz 549302 SHA256 356954f141ec6f5635e938c826f2e16e4619bb361c64d84a31f6775d030a615b SHA512 90f00297d162faa404fe4e530f95422c210b8d23a0be5a115c2c8c17255d366e224444901842affb06ed8aaf8febd3e5c79966ff713fa7daf00e8c48b7a857c6 WHIRLPOOL 28f67bd250d8fe7730bb6906b4dd9fc67362e36af23c2fd43d2109f0db2eb227db023b12b946d0a71e198b3f199665b21e935a016f577c4f35fa0b732e9918d3
|
||||
|
@ -1,67 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
MY_PN="mdocml"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
inherit multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="Suite of tools compiling mdoc and man"
|
||||
HOMEPAGE="http://mdocml.bsd.lv/"
|
||||
SRC_URI="http://mdocml.bsd.lv/snapshots/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="sqlite static"
|
||||
|
||||
LIB_DEPEND="sys-libs/zlib[static-libs(+)]
|
||||
sqlite? ( dev-db/sqlite:3[static-libs(+)] )"
|
||||
RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
|
||||
DEPEND="${RDEPEND}
|
||||
static? ( ${LIB_DEPEND} )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# The db-install change is to support parallel installs.
|
||||
sed -i \
|
||||
-e '/ar rs/s:ar:$(AR):' \
|
||||
-e '/^db-install:/s:$: base-install:' \
|
||||
Makefile || die
|
||||
|
||||
cat <<EOF > "configure.local"
|
||||
PREFIX="${EPREFIX}/usr"
|
||||
BINDIR="${EPREFIX}/usr/bin"
|
||||
SBINDIR="${EPREFIX}/usr/sbin"
|
||||
LIBDIR="${EPREFIX}/usr/$(get_libdir)"
|
||||
MANDIR="${EPREFIX}/usr/share/man"
|
||||
INCLUDEDIR="${EPREFIX}/usr/include/mandoc"
|
||||
EXAMPLEDIR="${EPREFIX}/usr/share/examples/mandoc"
|
||||
MANPATH_DEFAULT="${EPREFIX}/usr/man:${EPREFIX}/usr/share/man:${EPREFIX}/usr/local/man:${EPREFIX}/usr/local/share/man"
|
||||
|
||||
BINM_MAN=mman
|
||||
BINM_SOELIM=msoelim
|
||||
BINM_APROPOS=mapropos
|
||||
BINM_WHATIS=mwhatis
|
||||
BINM_MAKEWHATIS=mmakewhatis
|
||||
MANM_MAN=mandoc_man
|
||||
MANM_MDOC=mandoc_mdoc
|
||||
MANM_ROFF=mandoc_roff
|
||||
MANM_EQN=mandoc_eqn
|
||||
MANM_TBL=mandoc_tbl
|
||||
|
||||
HAVE_SQLITE3="$(usex sqlite 1 0)"
|
||||
|
||||
CFLAGS="${CFLAGS} ${CPPFLAGS}"
|
||||
LDFLAGS="${LDFLAGS} $(usex static -static '')"
|
||||
AR="$(tc-getAR)"
|
||||
CC="$(tc-getCC)"
|
||||
# The STATIC variable is only used by man.cgi.
|
||||
STATIC=
|
||||
EOF
|
||||
}
|
@ -0,0 +1,25 @@
|
||||
From 9ec0c4fa9c9836d414c02662a6f94f48815d61b2 Mon Sep 17 00:00:00 2001
|
||||
From: Stefan Weil <sw@weilnetz.de>
|
||||
Date: Tue, 13 Dec 2016 13:28:29 +0100
|
||||
Subject: [PATCH] api: Add missing dependency on libtiff
|
||||
|
||||
It is needed because of a direct call to TIFFSetWarningHandler.
|
||||
|
||||
Signed-off-by: Stefan Weil <sw@weilnetz.de>
|
||||
---
|
||||
api/Makefile.am | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/api/Makefile.am b/api/Makefile.am
|
||||
index 76a8ed4..25e7f21 100644
|
||||
--- a/api/Makefile.am
|
||||
+++ b/api/Makefile.am
|
||||
@@ -90,6 +90,8 @@ tesseract_LDFLAGS = $(OPENCL_LDFLAGS)
|
||||
|
||||
tesseract_LDADD += $(OPENMP_CXXFLAGS)
|
||||
|
||||
+tesseract_LDADD += -ltiff
|
||||
+
|
||||
if T_WIN
|
||||
tesseract_LDADD += -lws2_32
|
||||
libtesseract_la_LDFLAGS += -no-undefined -Wl,--as-needed -lws2_32
|
@ -0,0 +1,74 @@
|
||||
From 4141de7f8ddb5ac3c39fd9c1fc77ed911c768c3d Mon Sep 17 00:00:00 2001
|
||||
From: Bernard Cafarelli <bernard.cafarelli@gmail.com>
|
||||
Date: Fri, 27 Jan 2017 12:02:54 +0100
|
||||
Subject: [PATCH] Provide SVSync::StartThread() with GRAPHICS_DISABLED
|
||||
|
||||
---
|
||||
viewer/svutil.cpp | 44 +++++++++++++++++++++-----------------------
|
||||
1 file changed, 21 insertions(+), 23 deletions(-)
|
||||
|
||||
diff --git a/viewer/svutil.cpp b/viewer/svutil.cpp
|
||||
index 34a2286..84a4b94 100644
|
||||
--- a/viewer/svutil.cpp
|
||||
+++ b/viewer/svutil.cpp
|
||||
@@ -83,6 +83,27 @@ void SVMutex::Unlock() {
|
||||
#endif
|
||||
}
|
||||
|
||||
+// Create new thread.
|
||||
+void SVSync::StartThread(void *(*func)(void*), void* arg) {
|
||||
+#ifdef _WIN32
|
||||
+ LPTHREAD_START_ROUTINE f = (LPTHREAD_START_ROUTINE) func;
|
||||
+ DWORD threadid;
|
||||
+ HANDLE newthread = CreateThread(
|
||||
+ NULL, // default security attributes
|
||||
+ 0, // use default stack size
|
||||
+ f, // thread function
|
||||
+ arg, // argument to thread function
|
||||
+ 0, // use default creation flags
|
||||
+ &threadid); // returns the thread identifier
|
||||
+#else
|
||||
+ pthread_t helper;
|
||||
+ pthread_attr_t attr;
|
||||
+ pthread_attr_init(&attr);
|
||||
+ pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED);
|
||||
+ pthread_create(&helper, &attr, func, arg);
|
||||
+#endif
|
||||
+}
|
||||
+
|
||||
#ifndef GRAPHICS_DISABLED
|
||||
|
||||
const int kMaxMsgSize = 4096;
|
||||
@@ -186,29 +207,6 @@ void SVSemaphore::Wait() {
|
||||
#endif
|
||||
}
|
||||
|
||||
-
|
||||
-// Create new thread.
|
||||
-
|
||||
-void SVSync::StartThread(void *(*func)(void*), void* arg) {
|
||||
-#ifdef _WIN32
|
||||
- LPTHREAD_START_ROUTINE f = (LPTHREAD_START_ROUTINE) func;
|
||||
- DWORD threadid;
|
||||
- HANDLE newthread = CreateThread(
|
||||
- NULL, // default security attributes
|
||||
- 0, // use default stack size
|
||||
- f, // thread function
|
||||
- arg, // argument to thread function
|
||||
- 0, // use default creation flags
|
||||
- &threadid); // returns the thread identifier
|
||||
-#else
|
||||
- pthread_t helper;
|
||||
- pthread_attr_t attr;
|
||||
- pthread_attr_init(&attr);
|
||||
- pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED);
|
||||
- pthread_create(&helper, &attr, func, arg);
|
||||
-#endif
|
||||
-}
|
||||
-
|
||||
// Place a message in the message buffer (and flush it).
|
||||
void SVNetwork::Send(const char* msg) {
|
||||
mutex_send_->Lock();
|
||||
--
|
||||
2.12.0
|
||||
|
@ -0,0 +1,147 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
MY_PN="tesseract-ocr"
|
||||
LANGPACKV="3.04.00"
|
||||
URI_PREFIX="https://github.com/${MY_PN}/tessdata/raw/${LANGPACKV}/"
|
||||
JAVA_PKG_OPT_USE="scrollview"
|
||||
|
||||
inherit autotools java-pkg-opt-2 toolchain-funcs
|
||||
|
||||
DESCRIPTION="An OCR Engine, orginally developed at HP, now open source."
|
||||
HOMEPAGE="https://github.com/tesseract-ocr"
|
||||
SRC_URI="https://github.com/${MY_PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
|
||||
${URI_PREFIX}eng.traineddata -> eng.traineddata-${LANGPACKV}
|
||||
math? ( ${URI_PREFIX}equ.traineddata -> equ.traineddata-${LANGPACKV} )
|
||||
l10n_ar? ( ${URI_PREFIX}ara.traineddata -> ara.traineddata-${LANGPACKV} )
|
||||
l10n_bg? ( ${URI_PREFIX}bul.traineddata -> bul.traineddata-${LANGPACKV} )
|
||||
l10n_ca? ( ${URI_PREFIX}cat.traineddata -> cat.traineddata-${LANGPACKV} )
|
||||
l10n_chr? ( ${URI_PREFIX}chr.traineddata -> chr.traineddata-${LANGPACKV} )
|
||||
l10n_cs? ( ${URI_PREFIX}ces.traineddata -> ces.traineddata-${LANGPACKV} )
|
||||
l10n_de? ( ${URI_PREFIX}deu.traineddata -> deu.traineddata-${LANGPACKV}
|
||||
${URI_PREFIX}deu_frak.traineddata -> deu_frak.traineddata-${LANGPACKV} )
|
||||
l10n_da? ( ${URI_PREFIX}dan.traineddata -> dan.traineddata-${LANGPACKV}
|
||||
${URI_PREFIX}dan_frak.traineddata -> dan_frak.traineddata-${LANGPACKV} )
|
||||
l10n_el? ( ${URI_PREFIX}ell.traineddata -> ell.traineddata-${LANGPACKV} )
|
||||
l10n_es? ( ${URI_PREFIX}spa.traineddata -> spa.traineddata-${LANGPACKV} )
|
||||
l10n_fi? ( ${URI_PREFIX}fin.traineddata -> fin.traineddata-${LANGPACKV} )
|
||||
l10n_fr? ( ${URI_PREFIX}fra.traineddata -> fra.traineddata-${LANGPACKV} )
|
||||
l10n_he? ( ${URI_PREFIX}heb.traineddata -> heb.traineddata-${LANGPACKV} )
|
||||
l10n_hi? ( ${URI_PREFIX}hin.traineddata -> hin.traineddata-${LANGPACKV} )
|
||||
l10n_hu? ( ${URI_PREFIX}hun.traineddata -> hun.traineddata-${LANGPACKV} )
|
||||
l10n_id? ( ${URI_PREFIX}ind.traineddata -> ind.traineddata-${LANGPACKV} )
|
||||
l10n_it? ( ${URI_PREFIX}ita.traineddata -> ita.traineddata-${LANGPACKV} )
|
||||
l10n_ja? ( ${URI_PREFIX}jpn.traineddata -> jpn.traineddata-${LANGPACKV} )
|
||||
l10n_ko? ( ${URI_PREFIX}kor.traineddata -> kor.traineddata-${LANGPACKV} )
|
||||
l10n_lt? ( ${URI_PREFIX}lit.traineddata -> lit.traineddata-${LANGPACKV} )
|
||||
l10n_lv? ( ${URI_PREFIX}lav.traineddata -> lav.traineddata-${LANGPACKV} )
|
||||
l10n_nl? ( ${URI_PREFIX}nld.traineddata -> nld.traineddata-${LANGPACKV} )
|
||||
l10n_no? ( ${URI_PREFIX}nor.traineddata -> nor.traineddata-${LANGPACKV} )
|
||||
l10n_pl? ( ${URI_PREFIX}pol.traineddata -> pol.traineddata-${LANGPACKV} )
|
||||
l10n_pt? ( ${URI_PREFIX}por.traineddata -> por.traineddata-${LANGPACKV} )
|
||||
l10n_ro? ( ${URI_PREFIX}ron.traineddata -> ron.traineddata-${LANGPACKV} )
|
||||
l10n_ru? ( ${URI_PREFIX}rus.traineddata -> rus.traineddata-${LANGPACKV} )
|
||||
l10n_sk? ( ${URI_PREFIX}slk.traineddata -> slk.traineddata-${LANGPACKV}
|
||||
${URI_PREFIX}slk_frak.traineddata -> slk_frak.traineddata-${LANGPACKV} )
|
||||
l10n_sl? ( ${URI_PREFIX}slv.traineddata -> slv.traineddata-${LANGPACKV} )
|
||||
l10n_sr? ( ${URI_PREFIX}srp.traineddata -> srp.traineddata-${LANGPACKV} )
|
||||
l10n_sv? ( ${URI_PREFIX}swe.traineddata -> swe.traineddata-${LANGPACKV} )
|
||||
l10n_th? ( ${URI_PREFIX}tha.traineddata -> tha.traineddata-${LANGPACKV} )
|
||||
l10n_tl? ( ${URI_PREFIX}tgl.traineddata -> tgl.traineddata-${LANGPACKV} )
|
||||
l10n_tr? ( ${URI_PREFIX}tur.traineddata -> tur.traineddata-${LANGPACKV} )
|
||||
l10n_uk? ( ${URI_PREFIX}ukr.traineddata -> ukr.traineddata-${LANGPACKV} )
|
||||
l10n_vi? ( ${URI_PREFIX}vie.traineddata -> vie.traineddata-${LANGPACKV} )
|
||||
l10n_zh-CN? ( ${URI_PREFIX}chi_sim.traineddata -> chi_sim.traineddata-${LANGPACKV} )
|
||||
l10n_zh-TW? ( ${URI_PREFIX}chi_tra.traineddata -> chi_tra.traineddata-${LANGPACKV} )
|
||||
osd? ( ${URI_PREFIX}osd.traineddata -> osd.traineddata-${LANGPACKV} )
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86"
|
||||
|
||||
IUSE="doc examples jpeg math opencl osd png scrollview static-libs tiff training webp l10n_ar l10n_bg l10n_ca l10n_chr l10n_cs l10n_de l10n_da l10n_el l10n_es l10n_fi l10n_fr l10n_he l10n_hi l10n_hu l10n_id l10n_it l10n_ja l10n_ko l10n_lt l10n_lv l10n_nl l10n_no l10n_pl l10n_pt l10n_ro l10n_ru l10n_sk l10n_sl l10n_sr l10n_sv l10n_th l10n_tl l10n_tr l10n_uk l10n_vi l10n_zh-CN l10n_zh-TW"
|
||||
|
||||
# With opencl USE=tiff is necessary in leptonica
|
||||
CDEPEND=">=media-libs/leptonica-1.71:=[zlib,tiff?,jpeg?,png?,webp?]
|
||||
opencl? (
|
||||
virtual/opencl
|
||||
media-libs/tiff:0=
|
||||
media-libs/leptonica:=[tiff]
|
||||
)
|
||||
scrollview? (
|
||||
>=dev-java/piccolo2d-3.0:0
|
||||
)
|
||||
training? (
|
||||
dev-libs/icu:=
|
||||
x11-libs/pango:=
|
||||
x11-libs/cairo:=
|
||||
)
|
||||
"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
doc? ( app-doc/doxygen )
|
||||
scrollview? ( >=virtual/jdk-1.7 )"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
scrollview? ( >=virtual/jre-1.7 )"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog NEWS README.md )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-libtiff.patch"
|
||||
"${FILESDIR}/${P}-no_graphics.patch"
|
||||
"${FILESDIR}/${PN}-4.00.00-use-system-piccolo2d.patch"
|
||||
)
|
||||
|
||||
src_unpack() {
|
||||
unpack ${P}.tar.gz
|
||||
find "${DISTDIR}/" -name "*traineddata-${LANGPACKV}" \
|
||||
-execdir sh -c 'cp -- "$0" "${S}/tessdata/${0%-*}"' '{}' ';' || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
|
||||
java-pkg-opt-2_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--enable-shared
|
||||
$(use_enable opencl)
|
||||
$(use_enable scrollview graphics)
|
||||
$(use_enable static-libs static)
|
||||
)
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
use doc && emake doc
|
||||
use scrollview && emake ScrollView.jar JAVAC="javac $(java-pkg_javac-args)"
|
||||
use training && emake training
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use doc && HTML_DOCS=( doc/html/. )
|
||||
default
|
||||
prune_libtool_files
|
||||
|
||||
if use training; then
|
||||
emake DESTDIR="${D}" training-install
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins testing/eurotext.tif testing/phototest.tif
|
||||
fi
|
||||
|
||||
insinto /usr/share/tessdata
|
||||
doins tessdata/*traineddata* # language files
|
||||
use scrollview && doins java/ScrollView.jar # scrollview
|
||||
}
|
@ -1 +1 @@
|
||||
DIST llvm-4.0.0rc3.src.tar.xz 21013952 SHA256 6727c98f436581adc6b8f9c2ad055d8e27832f60a127e97b3451eba85ef28345 SHA512 a64eaf59388be6641b6d654ceddd63232f83ad50226204255a0c9bcc3d1b36470f7acbf43615b2bd9758cd6077f55fc6155803a12947e1bd2be5661e1ff07e4a WHIRLPOOL 7aef4913c8a33ff0e35670063cb26ddd5d7b72cb08c699116dd93c72f25b6b75187bdf6bfd63b3d3b5c964c118c2db71893024524b864412f4f8daa594be7faa
|
||||
DIST llvm-4.0.0.src.tar.xz 21016340 SHA256 8d10511df96e73b8ff9e7abbfb4d4d432edbdbe965f1f4f07afaf370b8a533be SHA512 cf681f0626ef6d568d951cdc3e143471a1d7715a0ba11e52aa273cf5d8d421e1357ef2645cc85879eaefcd577e99e74d07b01566825b3d0461171ef2cbfc7704 WHIRLPOOL 9783e8f47306c1deb2e114d4b46a7db9b0260b4965076345c88765413c5fc8e73fab5f88ae4903adbdea31406022948b16d32ae47d98f5def074509d5d794579
|
||||
|
@ -1 +1 @@
|
||||
DIST llvm-4.0.0rc3.src.tar.xz 21013952 SHA256 6727c98f436581adc6b8f9c2ad055d8e27832f60a127e97b3451eba85ef28345 SHA512 a64eaf59388be6641b6d654ceddd63232f83ad50226204255a0c9bcc3d1b36470f7acbf43615b2bd9758cd6077f55fc6155803a12947e1bd2be5661e1ff07e4a WHIRLPOOL 7aef4913c8a33ff0e35670063cb26ddd5d7b72cb08c699116dd93c72f25b6b75187bdf6bfd63b3d3b5c964c118c2db71893024524b864412f4f8daa594be7faa
|
||||
DIST llvm-4.0.0.src.tar.xz 21016340 SHA256 8d10511df96e73b8ff9e7abbfb4d4d432edbdbe965f1f4f07afaf370b8a533be SHA512 cf681f0626ef6d568d951cdc3e143471a1d7715a0ba11e52aa273cf5d8d421e1357ef2645cc85879eaefcd577e99e74d07b01566825b3d0461171ef2cbfc7704 WHIRLPOOL 9783e8f47306c1deb2e114d4b46a7db9b0260b4965076345c88765413c5fc8e73fab5f88ae4903adbdea31406022948b16d32ae47d98f5def074509d5d794579
|
||||
|
@ -1 +1 @@
|
||||
DIST cfe-4.0.0rc3.src.tar.xz 10901068 SHA256 974f47d91d97cebadceb33f7a966d1c158f57ffd012a300fd3d96f817ef64dd3 SHA512 6427c90516c80d4ce83861ae2eb22635f38818e4f35441292375b4867abb82c48371ddf0afe9daec3b96f5f5ee1b5eced0e246eb878ef703454b92e6e2f62541 WHIRLPOOL 0608db76025fb81fc5db4e68c5b1c92dda4f82d7cf1518a38ec35cf40d4990314117b7ece0aa2e37badbfa964ba5c9b08664534bec5839cf3d1c965ac672dd30
|
||||
DIST cfe-4.0.0.src.tar.xz 10900916 SHA256 cea5f88ebddb30e296ca89130c83b9d46c2d833685e2912303c828054c4dc98a SHA512 a0d9972ec337a5c105fcbe7abc4076ba1e580f28908a3318f43bbfe59143f446ed5b78dad210f624145d7e5a3d56c15bfead78826c068422b60120fa1cfa482a WHIRLPOOL fe04b6955b82915bba09726947fceff92e67ffaac97de4b8c32c18546262f60a4307fdaccd3c9540710392658ed47f3bcfe44791de8d7d30786d56576f339aee
|
||||
|
@ -1,2 +1 @@
|
||||
DIST dockerpty-0.3.4.tar.gz 18611 SHA256 d041b268264905818ca7cfc52e14b738c1ff2c21ef59ccbed5d5ef81d4a7591e SHA512 dee0cf8ae926bae3f5e96643e912d3cc2dbd782594fa148addac996909e7fec84e1e1579a8d00ce46479041e85496b0615cb4a68b635288d04a4ef73ad27b10d WHIRLPOOL ddd768c2b650301ac4c27fc9394d47f65303734abbbc1da7ddfdbd31ca89578a952b189e709a51134d0946985608af7ecb16108a52c8c6205b7ab58c0b7e7b61
|
||||
DIST dockerpty-0.4.1.tar.gz 19608 SHA256 fd9acb9fa7a464b668dcc50612975f3c7f1485cc0213d19de8381cb641b49459 SHA512 1f27a1d1cf9bfa21a77f2c0695334ec09a81ed5b70190b16fb23ec0e2ab4cb84af334b5e9275265eff2d8014aac5f96890276bed5775bb805c3f30260c99da70 WHIRLPOOL 8ab9edfff1d1a795f548ae66ea71064138a91b5a3b9909dea079b872a0b38e662d1cf14c19b10dce5c5671290c983e03e13e879709e7900e53d3faa8af76d207
|
||||
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 python3_4 )
|
||||
|
||||
inherit distutils-r1 vcs-snapshot
|
||||
|
||||
DESCRIPTION="Python library to use the pseudo-tty of a docker container"
|
||||
HOMEPAGE="https://github.com/d11wtq/dockerpty"
|
||||
SRC_URI="https://github.com/d11wtq/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
>=dev-python/behave-1.2.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/docker-py-0.7.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/expects-0.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-2.5.2[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
RDEPEND=">=dev-python/six-1.3.0[${PYTHON_USEDEP}]"
|
||||
|
||||
python_test() {
|
||||
local RUN_FEATURES=0
|
||||
|
||||
ewarn "${PN} tests require portage to be in the docker group!"
|
||||
getent group docker |& grep portage 1>/dev/null 2>&1
|
||||
RUN_FEATURES+=${?}
|
||||
|
||||
ewarn "${PN} tests require a running docker service!"
|
||||
which docker 1>/dev/null 2>&1 && docker info 1>/dev/null 2>&1
|
||||
RUN_FEATURES+=${?}
|
||||
|
||||
if [[ ${RUN_FEATURES} -eq 0 ]]; then
|
||||
behave || die "Feature tests failed under ${EPYTHON}"
|
||||
|
||||
fi
|
||||
|
||||
py.test tests || die "Tests failed under ${EPYTHON}"
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST doublex-expects-0.4.0.tar.gz 4633 SHA256 59693e28bf9c15b9c2cb85bb2d7af53c48ea9ce4cd094746be375672eef45f1e SHA512 be8eabaf73684a2368d527838a18b3e8c516c4fe63aad3d87765e347b7a84450cb9b76d86ba26c2b684440ecb5d5ff77c82cc7f432ffa7f0ab28a2e01599dd10 WHIRLPOOL 5f2e271e7f50c4b6d74fb359f774074b80ea6fb830d3e2c706d046c199e2fbc2c0125ea72e755d245494a9e3d1b6109c420bf6398314cbce09cf85784e672297
|
||||
DIST doublex-expects-0.7.0_rc1.tar.gz 6087 SHA256 a83447e4a6ea1305c8971e3d8935f242c4f8813332b26db576064e75fbfe1088 SHA512 fa97080af78aa29c3efa70b89f3afeb4a5537393d3dbd3e94df01d590c046623fc70c25b147b761d1047cd0f154dcb46a3c07674b39fb591d0adcbccce491abd WHIRLPOOL b6732c0cdaffadca718da74e9ac8d1acc6d2742624c5e34306d0df01fe15e3ad2c315e13f0dceab2256fe8f2b13121d55894df19306b99970c9715bca1bc7745
|
||||
DIST doublex-expects-0.7.0_rc2.tar.gz 6151 SHA256 b98548b71cbfd0bf0b84b21094714d56f76896b69ca7824208ce3a6aa94538d9 SHA512 94e499f01fbdc73f3f97bbfb64f299d43e3b767f8eb00eecb7c05e062cedd8fa84569cc97ef48aeca24df5ff94b1bfbb330a786500641c857039c2e7d287e952 WHIRLPOOL 1f3c70b94b74d2ea85c70129b6519e67cf257d0c48b84b5191ef84efaeb066f45c8803921ccf9c3a03c5ed50ddd844ab26449dbc6c4498cd3aae663720531f49
|
||||
|
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 python3_4 )
|
||||
|
||||
inherit distutils-r1 vcs-snapshot
|
||||
|
||||
DESCRIPTION="Expects plugin for Doublex test doubles assertions"
|
||||
HOMEPAGE="https://github.com/jaimegildesagredo/doublex-expects"
|
||||
SRC_URI="https://github.com/jaimegildesagredo/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( >=dev-python/mamba-0.8[${PYTHON_USEDEP}] )
|
||||
"
|
||||
RDEPEND="
|
||||
dev-python/doublex[${PYTHON_USEDEP}]
|
||||
>=dev-python/expects-0.4.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
python_test() {
|
||||
mamba || die "Tests failed under ${EPYTHON}"
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 python3_4 )
|
||||
|
||||
inherit distutils-r1 vcs-snapshot
|
||||
|
||||
MY_PV=${PV/_/}
|
||||
|
||||
DESCRIPTION="Expects matchers for Doublex test doubles assertions"
|
||||
HOMEPAGE="https://github.com/jaimegildesagredo/doublex-expects"
|
||||
SRC_URI="https://github.com/jaimegildesagredo/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/mamba[${PYTHON_USEDEP}] )
|
||||
"
|
||||
RDEPEND="
|
||||
dev-python/doublex[${PYTHON_USEDEP}]
|
||||
>=dev-python/expects-0.8.0_rc1[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
python_test() {
|
||||
mamba || die "Tests failed under ${EPYTHON}"
|
||||
}
|
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 python3_4 )
|
||||
|
||||
inherit distutils-r1 vcs-snapshot
|
||||
|
||||
MY_PV=${PV/_/}
|
||||
|
||||
DESCRIPTION="Expressive and extensible TDD/BDD assertion library for Python"
|
||||
HOMEPAGE="https://github.com/jaimegildesagredo/expects"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${PN}-${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="doc test"
|
||||
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
test? ( dev-python/mamba[${PYTHON_USEDEP}] )
|
||||
"
|
||||
RDEPEND=""
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
mamba || die "tests failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/_build/html/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 python3_4 )
|
||||
|
||||
inherit distutils-r1 vcs-snapshot
|
||||
|
||||
MY_PV=${PV/_/}
|
||||
|
||||
DESCRIPTION="Expressive and extensible TDD/BDD assertion library for Python"
|
||||
HOMEPAGE="https://github.com/jaimegildesagredo/expects"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${PN}-${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="doc test"
|
||||
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
test? ( dev-python/mamba[${PYTHON_USEDEP}] )
|
||||
"
|
||||
RDEPEND=""
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
mamba || die "tests failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/_build/html/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST llvm-3.9.0.src.tar.xz 18235716 SHA256 66c73179da42cee1386371641241f79ded250e117a79f571bbd69e56daa48948 SHA512 f18ae32531218ab156c3e56c11826be0fd05f0799c82eaf2e6a043b38e1277560b4d921987513b88b11d97ea2619feaf277eec72181dd2ae4f4108c2836bf7b2 WHIRLPOOL a36c1bcee6e7995067a9a7a51e3fdb0f10d51d0239250eefab92ed2e46b024a203fa10a17a25a5aca69046bcb413628e288427f1a6690d0862e07cd95694c8a8
|
||||
DIST llvm-4.0.0rc3.src.tar.xz 21013952 SHA256 6727c98f436581adc6b8f9c2ad055d8e27832f60a127e97b3451eba85ef28345 SHA512 a64eaf59388be6641b6d654ceddd63232f83ad50226204255a0c9bcc3d1b36470f7acbf43615b2bd9758cd6077f55fc6155803a12947e1bd2be5661e1ff07e4a WHIRLPOOL 7aef4913c8a33ff0e35670063cb26ddd5d7b72cb08c699116dd93c72f25b6b75187bdf6bfd63b3d3b5c964c118c2db71893024524b864412f4f8daa594be7faa
|
||||
DIST llvm-4.0.0.src.tar.xz 21016340 SHA256 8d10511df96e73b8ff9e7abbfb4d4d432edbdbe965f1f4f07afaf370b8a533be SHA512 cf681f0626ef6d568d951cdc3e143471a1d7715a0ba11e52aa273cf5d8d421e1357ef2645cc85879eaefcd577e99e74d07b01566825b3d0461171ef2cbfc7704 WHIRLPOOL 9783e8f47306c1deb2e114d4b46a7db9b0260b4965076345c88765413c5fc8e73fab5f88ae4903adbdea31406022948b16d32ae47d98f5def074509d5d794579
|
||||
|
@ -1,3 +1 @@
|
||||
DIST mamba-0.8.4.tar.gz 14781 SHA256 2fc3eb17a1d051438ca844ad9086f6ad8d27d7a262153cb9e740416b01b7d46d SHA512 31a58a6ee43500b6e059598ff45ffb0e89e385a10fc47a41222cce2a2fee3987bd84dc4484151d46a7062244437973afaddc2c74aa7df21c0e175a33ce8a630c WHIRLPOOL dc26692c8e46ab1f2226099b051fd1236fc7006b0f3ce93f70cca4a685c209e71de256ae6ed21695df9ccb299bf2edc1f9975c2f98ee906e8067ab3a9ccb2383
|
||||
DIST mamba-0.8.5.tar.gz 15265 SHA256 c90428c3cae331caf1887b62af89236bac14c7e8d078ea94e068a4b0d9f2cb85 SHA512 e8b5539f66c77bbec9001be6dd13914a17c1a23e6e1d9219d509b8e27664b65d16f5d5e992c284fb2e21e8e92f82a503bda5905baedb0e695b384f7280885a5a WHIRLPOOL a6a9e332b84b0c3a91d1376bf517eb67ced3f5ade8b294a949f5e951279c9c006b5d7718cadf27df5c073dd1fe7507485e10d1f69f81c62338a9fdbe8da24265
|
||||
DIST mamba-0.8.6.tar.gz 10430 SHA256 8770551c694f8be14c71710b2201d8a64fc630295f77eefce6f23050e0cd644b SHA512 f35396bcb607c2eb10caa99f4c82924b0c75c2eeddb3d18ed5db3d5e38dca41917c23f1fcd7003b596576436cea6a02f40c352e6a11f63e472144e0ae0575198 WHIRLPOOL cd542f776d4e3056476caeccbc3a11c62c8df18468f88b6ba22791ff54e4ff79618237a7ccae08dcac652e711e6bbcc450f53c1bde55625e9bf4962a6dc4c5e4
|
||||
|
@ -1,52 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 python3_4 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="The definitive testing tool for Python. Born under the banner of Behavior Driven Development"
|
||||
HOMEPAGE="http://nestorsalceda.github.io/mamba"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
>=dev-python/doublex-expects-0.4[${PYTHON_USEDEP}]
|
||||
<dev-python/doublex-expects-0.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/expects-0.4.2[${PYTHON_USEDEP}]
|
||||
<dev-python/expects-0.5[${PYTHON_USEDEP}]
|
||||
~dev-python/mock-1.0.1[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
~dev-python/clint-0.3.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/coverage-3.7[${PYTHON_USEDEP}]
|
||||
~dev-python/watchdog-0.8.1[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
python_prepare_all() {
|
||||
ebegin 'patching requirements.txt'
|
||||
sed \
|
||||
-e '2s/==/>=/' \
|
||||
-i requirements.txt
|
||||
STATUS=${?}
|
||||
eend ${STATUS}
|
||||
[[ ${STATUS} -gt 0 ]] && die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
rm -f "${HOME}"/.pydistutils.cfg || die "Couldn't remove pydistutils.cfg"
|
||||
|
||||
distutils_install_for_testing
|
||||
|
||||
"${TEST_DIR}"/scripts/mamba || die "Tests failed under ${EPYTHON}"
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 python3_4 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="The definitive testing tool for Python. Born under the banner of Behavior Driven Development"
|
||||
HOMEPAGE="http://nestorsalceda.github.io/mamba"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
CDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
test? (
|
||||
~dev-python/doublex-expects-0.7.0_rc1[${PYTHON_USEDEP}]
|
||||
~dev-python/expects-0.8.0_rc2[${PYTHON_USEDEP}]
|
||||
~dev-python/mock-1.0.1[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
~dev-python/clint-0.3.1[${PYTHON_USEDEP}]
|
||||
~dev-python/coverage-3.7.1[${PYTHON_USEDEP}]
|
||||
~dev-python/watchdog-0.8.1[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" -m mamba.cli || die "Tests failed under ${EPYTHON}"
|
||||
}
|
@ -0,0 +1,84 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="Pyro4"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Distributed object middleware for Python (RPC)"
|
||||
HOMEPAGE="http://www.xs4all.nl/~irmen/pyro/ https://pypi.python.org/pypi/Pyro4 https://github.com/irmen/Pyro4"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="4"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc examples test"
|
||||
|
||||
RDEPEND="
|
||||
!dev-python/pyro:0
|
||||
$(python_gen_cond_dep \
|
||||
'dev-python/selectors34[${PYTHON_USEDEP}]' python{2_7,3_3})
|
||||
>=dev-python/serpent-1.11[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/coverage[${PYTHON_USEDEP}]
|
||||
dev-python/dill[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
python_prepare_all() {
|
||||
sed \
|
||||
-e '/sys.path.insert/a sys.path.insert(1,"PyroTests")' \
|
||||
-i tests/run_testsuite.py || die
|
||||
|
||||
# Disable tests requiring network connection.
|
||||
sed \
|
||||
-e "s/testBCstart/_&/" \
|
||||
-e "s/testDaemonPyroObj/_&/" \
|
||||
-e "s/testLookupAndRegister/_&/" \
|
||||
-e "s/testMulti/_&/" \
|
||||
-e "s/testRefuseDottedNames/_&/" \
|
||||
-e "s/testResolve/_&/" \
|
||||
-e "s/testBCLookup/_&/" \
|
||||
-e "s/testLookupInvalidHmac/_&/" \
|
||||
-e "s/testLookupUnixsockParsing/_&/" \
|
||||
-e "s/testPyroname/_&/" \
|
||||
-i tests/PyroTests/test_naming.py || die
|
||||
sed \
|
||||
-e "s/testOwnloopBasics/_&/" \
|
||||
-e "s/testStartNSfunc/_&/" \
|
||||
-i tests/PyroTests/test_naming2.py || die
|
||||
|
||||
sed \
|
||||
-e "s/testServerConnections/_&/" \
|
||||
-e "s/testServerParallelism/_&/" \
|
||||
-i tests/PyroTests/test_server.py || die
|
||||
|
||||
sed \
|
||||
-e "s/testBroadcast/_&/" \
|
||||
-e "s/testGetIP/_&/" \
|
||||
-e "s/testGetIpVersion[46]/_&/" \
|
||||
-i tests/PyroTests/test_socket.py || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
pushd "${S}"/tests >/dev/null || die
|
||||
PYTHONPATH=../src ${PYTHON} run_testsuite.py || die
|
||||
popd >/dev/null || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && HTML_DOCS=( docs/. )
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
ROS_REPO_URI="https://github.com/ros/eigen_stl_containers"
|
||||
KEYWORDS="~amd64 ~arm"
|
||||
|
||||
inherit ros-catkin
|
||||
|
||||
DESCRIPTION="Provides a set of typedef's that allow using Eigen datatypes in STL containers"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-cpp/eigen:3"
|
||||
DEPEND="${RDEPEND}"
|
@ -1,3 +1,4 @@
|
||||
DIST ros_tutorials-0.6.1.tar.gz 126792 SHA256 0227557d49343c8dc2c17f5fba6a44ca8fe46cb0d9f34315bf4c2f8c3d9969f5 SHA512 f09e5451030c0a76a9473020535e79ac06e748f4208109cf83e61526d13472c3390402814a3d145cb793c5418af703cd9959ca57143798d1706185c13d3418c5 WHIRLPOOL 861fec5410f5e1f6930b537f757abf120ee5b10b843a39010e0dc04f170c627c793dbf462fa1ac0a2c3f150780915d01ade459f973453a053ee53e2ccae7d795
|
||||
DIST ros_tutorials-0.7.0.tar.gz 140125 SHA256 38ed655e914de2990bfcf5f8a25b6ef99f1ed4287033bf153ee6383eeac2842d SHA512 b7c51bc007c0bddfb38361750a0225606d9e85a3404d6b21f3a32c8ccb1786844f225a49ad8f525c684c838eff9ec9f7e7c39a15adf5ea5dd187a59c90144711 WHIRLPOOL 6ff32292a7ce3e3c4d18e58509669a168bef707ecefaf523c7392b44d77e965ccca5c621ecaf52fd3382b2873f3e2ea84f209695d0c79ba32bb36401d2d9dfa5
|
||||
DIST ros_tutorials-0.7.1.tar.gz 140483 SHA256 55f6dc2ae32b895dee3feeb434755f17d655699b3666609e66452f2e757331a2 SHA512 0970e6428af992addfa1af327b2e0a3f85a926c90cfceba89d415acc5404a364164e0dd497c9296f03ac06c575380ad21e83b0cdbf6709c49dc650087145ddaa WHIRLPOOL 649e717c58179fd1b0f51f01cf4ea9303124e6b5479c6be7fb49e39b010003b58535692156980da76e1f628ff6e5ce217f62d343773e183ce2a959b63a2c0b38
|
||||
DIST ros_tutorials-0.8.0.tar.gz 153739 SHA256 d15246d6a8cb2ed9be933704870da523c112e2b432c23b3709e43afbf54d50f4 SHA512 269f71ef360f7441e1bfed2c2b3da791ce8018d6ec833a1fb7198d289067359b1e7704e37580c61188cc45034c788f3ca463882f8247a155752ff5c61939d795 WHIRLPOOL facd65521e62987a3589e84f1fbb2d6e64f8cf4cf3152c7ab8389e4a8f60a4aee84e4dcd54978292fb2433e653014bcbcc5ed139fb3fcd9b9c45766d9521b1ac
|
||||
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
ROS_REPO_URI="https://github.com/ros/ros_tutorials"
|
||||
KEYWORDS="~amd64 ~arm"
|
||||
ROS_SUBDIR=${PN}
|
||||
CATKIN_HAS_MESSAGES=yes
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
CATKIN_MESSAGES_TRANSITIVE_DEPS="dev-ros/std_msgs"
|
||||
|
||||
inherit ros-catkin
|
||||
|
||||
DESCRIPTION="Attempts to show the features of ROS step-by-step, including using messages, servers, parameters"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/boost:=[threads]
|
||||
dev-ros/rostime
|
||||
dev-ros/roscpp
|
||||
dev-ros/rosconsole
|
||||
dev-ros/roscpp_serialization
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
@ -1,3 +1,4 @@
|
||||
DIST ros_tutorials-0.6.1.tar.gz 126792 SHA256 0227557d49343c8dc2c17f5fba6a44ca8fe46cb0d9f34315bf4c2f8c3d9969f5 SHA512 f09e5451030c0a76a9473020535e79ac06e748f4208109cf83e61526d13472c3390402814a3d145cb793c5418af703cd9959ca57143798d1706185c13d3418c5 WHIRLPOOL 861fec5410f5e1f6930b537f757abf120ee5b10b843a39010e0dc04f170c627c793dbf462fa1ac0a2c3f150780915d01ade459f973453a053ee53e2ccae7d795
|
||||
DIST ros_tutorials-0.7.0.tar.gz 140125 SHA256 38ed655e914de2990bfcf5f8a25b6ef99f1ed4287033bf153ee6383eeac2842d SHA512 b7c51bc007c0bddfb38361750a0225606d9e85a3404d6b21f3a32c8ccb1786844f225a49ad8f525c684c838eff9ec9f7e7c39a15adf5ea5dd187a59c90144711 WHIRLPOOL 6ff32292a7ce3e3c4d18e58509669a168bef707ecefaf523c7392b44d77e965ccca5c621ecaf52fd3382b2873f3e2ea84f209695d0c79ba32bb36401d2d9dfa5
|
||||
DIST ros_tutorials-0.7.1.tar.gz 140483 SHA256 55f6dc2ae32b895dee3feeb434755f17d655699b3666609e66452f2e757331a2 SHA512 0970e6428af992addfa1af327b2e0a3f85a926c90cfceba89d415acc5404a364164e0dd497c9296f03ac06c575380ad21e83b0cdbf6709c49dc650087145ddaa WHIRLPOOL 649e717c58179fd1b0f51f01cf4ea9303124e6b5479c6be7fb49e39b010003b58535692156980da76e1f628ff6e5ce217f62d343773e183ce2a959b63a2c0b38
|
||||
DIST ros_tutorials-0.8.0.tar.gz 153739 SHA256 d15246d6a8cb2ed9be933704870da523c112e2b432c23b3709e43afbf54d50f4 SHA512 269f71ef360f7441e1bfed2c2b3da791ce8018d6ec833a1fb7198d289067359b1e7704e37580c61188cc45034c788f3ca463882f8247a155752ff5c61939d795 WHIRLPOOL facd65521e62987a3589e84f1fbb2d6e64f8cf4cf3152c7ab8389e4a8f60a4aee84e4dcd54978292fb2433e653014bcbcc5ed139fb3fcd9b9c45766d9521b1ac
|
||||
|
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
ROS_REPO_URI="https://github.com/ros/ros_tutorials"
|
||||
KEYWORDS="~amd64 ~arm"
|
||||
ROS_SUBDIR=${PN}
|
||||
CATKIN_HAS_MESSAGES=yes
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
CATKIN_MESSAGES_TRANSITIVE_DEPS="dev-ros/std_msgs"
|
||||
|
||||
inherit ros-catkin
|
||||
|
||||
DESCRIPTION="Attempts to show the features of ROS step-by-step, including using messages, servers, parameters"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-ros/rospy[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-ros/rostest[${PYTHON_USEDEP}] )"
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue