diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:57:42 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:57:42 +0100 |
commit | 1798c4aeca70ac8d0a243684d6a798fbc65735f8 (patch) | |
tree | e48e19cb6fa03de18e1c63e1a93371b7ebc4eb56 /dev-python/enable | |
parent | d87262dd706fec50cd150aab3e93883b6337466d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/enable')
-rw-r--r-- | dev-python/enable/Manifest | 11 | ||||
-rw-r--r-- | dev-python/enable/enable-4.4.1.ebuild | 70 | ||||
-rw-r--r-- | dev-python/enable/enable-4.5.1.ebuild | 78 | ||||
-rw-r--r-- | dev-python/enable/enable-4.7.1.ebuild | 78 | ||||
-rw-r--r-- | dev-python/enable/files/enable-4.4.1-swig.patch | 93 | ||||
-rw-r--r-- | dev-python/enable/files/enable-4.5.1-doc.patch | 24 | ||||
-rw-r--r-- | dev-python/enable/files/enable-4.5.1-gcc-5.patch | 22 | ||||
-rw-r--r-- | dev-python/enable/files/enable-4.5.1-version.patch | 31 | ||||
-rw-r--r-- | dev-python/enable/metadata.xml | 16 |
9 files changed, 0 insertions, 423 deletions
diff --git a/dev-python/enable/Manifest b/dev-python/enable/Manifest deleted file mode 100644 index 5679005bdfc2..000000000000 --- a/dev-python/enable/Manifest +++ /dev/null @@ -1,11 +0,0 @@ -AUX enable-4.4.1-swig.patch 2367 BLAKE2B c4feb89c9cc79b94eba3d919a769df6349aafddbb2d45b6849945144126534fc163719eb4292351c3f43a0a2e888ba01f8b1ec8df9ae08817b0cf721b3625422 SHA512 a53e89d392346a6d3c1ea0fea102c37101fcc3cba2cbe25221202caed9b770caab84e91096a40c08ce5888fd927299e903eec403e2b60ea6df7887aad5569582 -AUX enable-4.5.1-doc.patch 917 BLAKE2B f1b152bdd70fcf90d11dcb1310d049fe3e740e46f2ab982ae658d9964bafe34329bc6e2e19b06baeed3c88c6ec624a781bda27032f7d0bfece14d024edc6617b SHA512 6025233ce500d324d75a23535ceb0dac50b7d5955fc76803c156d3813a157fe8ec4d855913a6aed9c966d594fed4c7c36d6af6a175155ee2190f9c56f7d3b177 -AUX enable-4.5.1-gcc-5.patch 741 BLAKE2B 328876690cc58996fa05a84fd2794ac3896825712e8fd62b67b7a39bfd3e5725a2cdda50ca2a669781c94d58e5e44760a322bd04660078b14ee3fc2685afe3d8 SHA512 40ac44b7cc219f99ffca594ac675b970f2a7100c381a284a58fa208441a8a66361f70d70a456b0bb98bb0c0d670a0555d2d6e1daa56ddeb23910ffaab68a33e3 -AUX enable-4.5.1-version.patch 1297 BLAKE2B 561ff91e65b55eb97ba9b163fca4536bdea6955f0badddb0d67faf7a9887b814ea90b3b15d536f1bda7e858b4b695bd4a8490126ae905c48d96fe7a1fda390d0 SHA512 b198640bc503ace1aed8ae8c67dc500647d2679e3e516ae62cd1800b8aade433e776db2be5d519b1ea8e0ed2f47e3285102e5a6e1ef89bdc46cf753bbd214150 -DIST enable-4.4.1.tar.gz 2507048 BLAKE2B e3414a0505acafece3242a40400aab9ea00062bb605baa500f604df875b1caacd446c30189a23bac856c6cb39067f120be6e89ac9c95a05e92dc882d839a7e4b SHA512 72c879f19e26a4311b900cb4665969b9f806ce47b23c214a25e3ec308cc5300b6d71084a793215b05302fbeba09e13a4561e661c3bddb700d529bd31cfeb4dff -DIST enable-4.5.1.tar.gz 2571975 BLAKE2B dfd294f80e22fa89243057f405fe83ecadeb3768cae5a103e62219cfc62ecb5bd3acf1bd2d575da3276e8111c5c5330fa88e1ed06c6eb67a04974a57dd0cbd98 SHA512 1095a4490f4918756dd33864aaba2636c294c3b177d3f500d98a355ec86ef86ab211d33cdec95c2d37e7e1df41622acf2c8ecf524a1d93cc39797804c49e6971 -DIST enable-4.7.1.tar.gz 2728889 BLAKE2B 2952c1772ea902b2a040a5dbc1ade4fcb41f38da41cb9cfd3a574d16397fcceedb5d2216e19bd14ca9881ff27efa93ec0fe4b94db8f3baedf174fe062c825f1e SHA512 49ca414d1273fb5ddcb1732e621f91a5ac49ff02d63b5b36b8d9e28dd737eb4a312f35345fc29db555db1c6e0e8c9bf2204f8662b43a2761db6c2d656c6b2140 -EBUILD enable-4.4.1.ebuild 1666 BLAKE2B bec6b56b0ad122d2d2b9458292e518a427c97a0113dec8a2bdbd3fc09fb8f89f84ae15dbf2223337562170db0056f857934d1ff2abce5dd3f11a2d01e84d6fe5 SHA512 4701233e904bfc9adf144bbd6bd89dc2c86c66e382796ec3affa161254eb9f3862e1b4443bc2941dee8626e092ab014c3e6f21393dc19b63bf84cbe163fb876f -EBUILD enable-4.5.1.ebuild 1945 BLAKE2B d89ffe2526ccff7a1d0de99eeec095ca66849abfa76a51d8e41e99ac9b1023a89a1cf8cd5b190010d07547a567a0cbcf5f5b16396100d2ca635c67c846487762 SHA512 32f6b2e4728085bc4d0e610e38e5889a901ea89024cf7b4d415aafd6b69c90db84c0fe576dddcc7f443fedf781ce936309f5d19247cb13cea8133322892c21de -EBUILD enable-4.7.1.ebuild 2033 BLAKE2B fc9841f446b7129ec8bb8d932c0171488dfaf13396064b5b003dcb6a33eec405a2144e4416036d683749c1f58b1704a4b58962400f20b235642d322e8927383e SHA512 409d14e71a0bd0097c2c1dcd5e7e0c04aa6b6628f718bebfe706fd40673d882d872398625e9a456eec6481cb85b5a86e58fe1e2a86e504b56b737205795a0e35 -MISC metadata.xml 636 BLAKE2B b44b5cbab602b1fc525e1500e814120417f10bef9236a30fc982c4b2d06bdc8b3cfeb5166b97ee400756364a7329e5abb8383367f1363884b2fb93f75ecdd55b SHA512 1f7066273188655ff2c98f2c90a3e39916c8d1201ee62e0ed024fa8e847e5578034af870956fc9efd3c900f075532b31703cb301fcabefd8a2c876dd9a412eab diff --git a/dev-python/enable/enable-4.4.1.ebuild b/dev-python/enable/enable-4.4.1.ebuild deleted file mode 100644 index ad35ba85b45b..000000000000 --- a/dev-python/enable/enable-4.4.1.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python2_7 ) - -inherit distutils-r1 virtualx flag-o-matic - -DESCRIPTION="Enthought Tool Suite: Drawing and interaction packages" -HOMEPAGE="http://docs.enthought.com/enable/ - https://pypi.org/project/enable/ - https://github.com/enthought/enable" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" -IUSE="doc examples test" - -RDEPEND=" - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/reportlab[${PYTHON_USEDEP}] - >=dev-python/traitsui-4[${PYTHON_USEDEP}] - >=media-libs/freetype-2 - virtual/opengl - virtual/glu - x11-libs/libX11" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - dev-lang/swig:0 - dev-python/cython[${PYTHON_USEDEP}] - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) - test? ( - dev-python/nose[${PYTHON_USEDEP}] - media-fonts/font-cursor-misc - media-fonts/font-misc-misc - )" - -DISTUTILS_IN_SOURCE_BUILD=1 - -PATCHES=( "${FILESDIR}"/${P}-swig.patch ) - -python_prepare_all() { - append-cflags -fno-strict-aliasing - - sed -e 's:html_favicon = "et.ico":html_favicon = "_static/et.ico":' \ - -i docs/source/conf.py || die - - distutils-r1_python_prepare_all -} - -python_compile_all() { - use doc && emake -C docs html -} - -python_test() { - pushd "${BUILD_DIR}"/lib > /dev/null - # https://github.com/enthought/enable/issues/158 - PYTHONPATH=.:kiva \ - VIRTUALX_COMMAND="nosetests" virtualmake - popd > /dev/null -} - -python_install_all() { - use doc && local HTML_DOCS=( docs/build/html/. ) - - use examples && local EXAMPLES=( examples/. ) - distutils-r1_python_install_all -} diff --git a/dev-python/enable/enable-4.5.1.ebuild b/dev-python/enable/enable-4.5.1.ebuild deleted file mode 100644 index ef3d56907cc6..000000000000 --- a/dev-python/enable/enable-4.5.1.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python2_7 ) - -inherit distutils-r1 virtualx flag-o-matic - -DESCRIPTION="Enthought Tool Suite: Drawing and interaction packages" -HOMEPAGE="http://docs.enthought.com/enable/ - https://pypi.org/project/enable/ - https://github.com/enthought/enable" -#SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" -SRC_URI="https://github.com/enthought/enable/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="doc examples test" - -RDEPEND=" - dev-python/apptools[${PYTHON_USEDEP}] - dev-python/kiwisolver[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/reportlab[${PYTHON_USEDEP}] - >=dev-python/traitsui-4[${PYTHON_USEDEP}] - >=media-libs/freetype-2 - virtual/opengl - virtual/glu - x11-libs/libX11" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - dev-lang/swig:0 - dev-python/cython[${PYTHON_USEDEP}] - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) - test? ( - dev-python/nose[${PYTHON_USEDEP}] - media-fonts/font-cursor-misc - media-fonts/font-misc-misc - )" - -DISTUTILS_IN_SOURCE_BUILD=1 - -PATCHES=( - "${FILESDIR}"/${PN}-4.4.1-swig.patch - "${FILESDIR}"/${P}-gcc-5.patch - "${FILESDIR}"/${P}-doc.patch - "${FILESDIR}"/${P}-version.patch - ) - -python_prepare_all() { - append-cflags -fno-strict-aliasing - - sed -e 's:html_favicon = "et.ico":html_favicon = "_static/et.ico":' \ - -i docs/source/conf.py || die - - distutils-r1_python_prepare_all -} - -python_compile_all() { - use doc && emake -C docs html -} - -python_test() { - pushd "${BUILD_DIR}"/lib > /dev/null - # https://github.com/enthought/enable/issues/158 - PYTHONPATH=.:kiva \ - VIRTUALX_COMMAND="nosetests" virtualmake --verbose - popd > /dev/null -} - -python_install_all() { - use doc && local HTML_DOCS=( docs/build/html/. ) - - use examples && local EXAMPLES=( examples/. ) - distutils-r1_python_install_all -} diff --git a/dev-python/enable/enable-4.7.1.ebuild b/dev-python/enable/enable-4.7.1.ebuild deleted file mode 100644 index 8354cdf87549..000000000000 --- a/dev-python/enable/enable-4.7.1.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python2_7 ) - -inherit distutils-r1 virtualx flag-o-matic - -DESCRIPTION="Enthought Tool Suite: Drawing and interaction packages" -HOMEPAGE="http://docs.enthought.com/enable/ - https://pypi.org/project/enable - https://github.com/enthought/enable" -SRC_URI="https://github.com/enthought/enable/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" -IUSE="doc examples test" - -RESTRICT="test" # Until https://github.com/enthought/enable/issues/303 is solved - -RDEPEND=" - dev-python/apptools[${PYTHON_USEDEP}] - dev-python/kiwisolver[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/reportlab[${PYTHON_USEDEP}] - >=dev-python/traitsui-4[${PYTHON_USEDEP}] - media-libs/freetype:2 - virtual/opengl - virtual/glu - x11-libs/libX11 -" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - dev-lang/swig:0 - dev-python/cython[${PYTHON_USEDEP}] - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) - test? ( - dev-python/coverage[${PYTHON_USEDEP}] - dev-python/fonttools[${PYTHON_USEDEP}] - dev-python/hypothesis[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/nose[${PYTHON_USEDEP}] - dev-python/pyface[${PYTHON_USEDEP}] - media-fonts/font-cursor-misc - media-fonts/font-misc-misc - ) -" - -DISTUTILS_IN_SOURCE_BUILD=1 - -python_prepare_all() { - append-cflags -fno-strict-aliasing - - sed -e 's:html_favicon = "et.ico":html_favicon = "_static/et.ico":' \ - -i docs/source/conf.py || die - - distutils-r1_python_prepare_all -} - -python_compile_all() { - use doc && emake -C docs html -} - -python_test() { - pushd "${BUILD_DIR}"/lib > /dev/null - # https://github.com/enthought/enable/issues/303 - virtx coverage run -m nose.core enable -v - virtx coverage run -a -m nose.core kiva -v - popd > /dev/null -} - -python_install_all() { - use doc && local HTML_DOCS=( docs/build/html/. ) - - use examples && local EXAMPLES=( examples/. ) - distutils-r1_python_install_all -} diff --git a/dev-python/enable/files/enable-4.4.1-swig.patch b/dev-python/enable/files/enable-4.4.1-swig.patch deleted file mode 100644 index a82f3af1c7e2..000000000000 --- a/dev-python/enable/files/enable-4.4.1-swig.patch +++ /dev/null @@ -1,93 +0,0 @@ -From f0e399174c5f55eb3a72860c620fdd5193ad57da Mon Sep 17 00:00:00 2001 -From: Jonathan Stickel <jjstickel@gmail.com> -Date: Wed, 25 Mar 2015 14:05:01 -0600 -Subject: [PATCH] fixes for recent swig - ---- - kiva/agg/src/affine_matrix.i | 4 ++-- - kiva/agg/src/constants.i | 4 ++-- - kiva/agg/src/hit_test.i | 4 ++-- - kiva/agg/src/rgba.i | 4 ++-- - 4 files changed, 8 insertions(+), 8 deletions(-) - -diff --git a/kiva/agg/src/affine_matrix.i b/kiva/agg/src/affine_matrix.i -index 2f30e51..7c05a6a 100644 ---- a/kiva/agg/src/affine_matrix.i -+++ b/kiva/agg/src/affine_matrix.i -@@ -157,7 +157,7 @@ namespace agg24 - }; - }; - --%pythoncode { -+%pythoncode %{ - def is_sequence(arg): - try: - len(arg) -@@ -184,7 +184,7 @@ class AffineMatrix(_AffineMatrix): - """ - self.multiply(other) - return self --} -+%} - - %extend agg24::trans_affine - { -diff --git a/kiva/agg/src/constants.i b/kiva/agg/src/constants.i -index b680cae..78f9d0c 100644 ---- a/kiva/agg/src/constants.i -+++ b/kiva/agg/src/constants.i -@@ -44,7 +44,7 @@ - unsigned path_cmd(unsigned c); - unsigned path_flags(unsigned c); - --%pythoncode { -+%pythoncode %{ - - #---------------------------------------------------------------------------- - # -@@ -141,4 +141,4 @@ interp_enum_map = {} - for key,value in interp_string_map.items(): - interp_enum_map[value] = key - --} -+%} -diff --git a/kiva/agg/src/hit_test.i b/kiva/agg/src/hit_test.i -index 76de0c9..2cfb1cf 100644 ---- a/kiva/agg/src/hit_test.i -+++ b/kiva/agg/src/hit_test.i -@@ -22,7 +22,7 @@ namespace kiva - } - - %pythoncode --{ -+%{ - from numpy import shape, transpose, zeros, rank, reshape, int32 - - def points_in_polygon(pts, poly_pts, use_winding=False): -@@ -92,4 +92,4 @@ def points_in_polygon(pts, poly_pts, use_winding=False): - else: - _agg.points_in_polygon(pts, poly_pts, results) - return results --} -+%} -diff --git a/kiva/agg/src/rgba.i b/kiva/agg/src/rgba.i -index f7624b8..183014f 100644 ---- a/kiva/agg/src/rgba.i -+++ b/kiva/agg/src/rgba.i -@@ -74,7 +74,7 @@ namespace agg24 - } - - --%pythoncode { -+%pythoncode %{ - def is_sequence(arg): - try: - len(arg) -@@ -90,6 +90,6 @@ class Rgba(_Rgba): - if len(args) not in [3,4]: - raise ValueError, "array argument must be 1x3 or 1x4" - _Rgba.__init__(self,*args) --} -+%} - - %clear double r, double g, double b, double a; diff --git a/dev-python/enable/files/enable-4.5.1-doc.patch b/dev-python/enable/files/enable-4.5.1-doc.patch deleted file mode 100644 index c9cc1ff2e3cc..000000000000 --- a/dev-python/enable/files/enable-4.5.1-doc.patch +++ /dev/null @@ -1,24 +0,0 @@ -From 41134b03b96b741d95554846841c189313052265 Mon Sep 17 00:00:00 2001 -From: John Wiggins <jwiggins@enthought.com> -Date: Thu, 1 Oct 2015 20:40:07 +0200 -Subject: [PATCH] Read the docs version directly from enable._version - ---- - docs/source/conf.py | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/docs/source/conf.py b/docs/source/conf.py -index 10b7552..995e315 100644 ---- a/docs/source/conf.py -+++ b/docs/source/conf.py -@@ -41,8 +41,8 @@ - # The default replacements for |version| and |release|, also used in various - # other places throughout the built documents. - d = {} --execfile(os.path.join('..', '..', 'enable', '__init__.py'), d) --version = release = d['__version__'] -+execfile(os.path.join('..', '..', 'enable', '_version.py'), d) -+version = release = d['full_version'] - - # There are two options for replacing |today|: either, you set today to some - # non-false value, then it is used: diff --git a/dev-python/enable/files/enable-4.5.1-gcc-5.patch b/dev-python/enable/files/enable-4.5.1-gcc-5.patch deleted file mode 100644 index 700b0b3774f9..000000000000 --- a/dev-python/enable/files/enable-4.5.1-gcc-5.patch +++ /dev/null @@ -1,22 +0,0 @@ -From 55a74ccfc33764499497022dd3649be4bb1091ed Mon Sep 17 00:00:00 2001 -From: Nathan Ringo <tikiking1@users.noreply.github.com> -Date: Wed, 10 Jun 2015 22:06:57 -0500 -Subject: [PATCH] Fixes #200 - ---- - kiva/agg/setup.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/kiva/agg/setup.py b/kiva/agg/setup.py -index 5b4d458..c6e290a 100644 ---- a/kiva/agg/setup.py -+++ b/kiva/agg/setup.py -@@ -170,7 +170,7 @@ def get_ft2_sources((lib_name, build_info), build_dir): - f = os.popen("g++ --version") - line0 = f.readline() - f.close() -- m = re.match(r'.+?\s(3|4)\.\d+', line0) -+ m = re.match(r'.+?\s([3-8])\.\d+', line0) - if int(m.group(1)) < 4: - use_32bit_workaround = True - diff --git a/dev-python/enable/files/enable-4.5.1-version.patch b/dev-python/enable/files/enable-4.5.1-version.patch deleted file mode 100644 index 1dd3fe42775e..000000000000 --- a/dev-python/enable/files/enable-4.5.1-version.patch +++ /dev/null @@ -1,31 +0,0 @@ -From f91c824ebad74e8c23e62fe3390842c5fe322aee Mon Sep 17 00:00:00 2001 -From: itziakos <ioannist@enthought.com> -Date: Wed, 20 May 2015 22:52:42 +0100 -Subject: [PATCH] check the enable._version.py when installing from source - ---- - setup.py | 7 ++++--- - 1 file changed, 4 insertions(+), 3 deletions(-) - -diff --git a/setup.py b/setup.py -index f765f51..3328b93 100644 ---- a/setup.py -+++ b/setup.py -@@ -92,13 +92,14 @@ def write_version_py(filename): - fullversion = VERSION - if os.path.exists('.git'): - git_revision, dev_num = git_version() -- elif os.path.exists('kiva/_version.py'): -+ # All packages are synced with the enable version -+ elif os.path.exists('enable/_version.py'): - # must be a source distribution, use existing version file - try: -- from kiva._version import git_revision, full_version -+ from enable._version import git_revision, full_version - except ImportError: - raise ImportError("Unable to import git_revision. Try removing " -- "kiva/_version.py and the build directory " -+ "enable/_version.py and the build directory " - "before building.") - - match = re.match(r'.*?\.dev(?P<dev_num>\d+)', full_version) diff --git a/dev-python/enable/metadata.xml b/dev-python/enable/metadata.xml deleted file mode 100644 index c650da52e032..000000000000 --- a/dev-python/enable/metadata.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <!-- maintainer-needed --> - <longdescription lang="en"> - The Enable project from the Enthought Tool Suite provides two - related multi-platform packages for drawing GUI objects: - * Enable: An object drawing library that supports containment and - event notification. - * Kiva: A multi-platform DisplayPDF vector drawing engine. - </longdescription> - <upstream> - <remote-id type="github">enthought/enable</remote-id> - <remote-id type="pypi">enable</remote-id> - </upstream> -</pkgmetadata> |