* [gentoo-commits] repo/gentoo:master commit in: dev-python/enable/, dev-python/enable/files/
@ 2015-09-29 7:28 Justin Lecher
0 siblings, 0 replies; 4+ messages in thread
From: Justin Lecher @ 2015-09-29 7:28 UTC (permalink / raw
To: gentoo-commits
commit: aaf113d8586f42cb084ec4ba3b86284c4fb77574
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 29 07:25:44 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Tue Sep 29 07:28:18 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aaf113d8
dev-python/enable: Version Bump and fix for newer swig
backport fix for newer swig
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=561752
Package-Manager: portage-2.2.22
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
dev-python/enable/Manifest | 1 +
dev-python/enable/enable-4.4.1.ebuild | 13 ++-
.../{enable-4.4.1.ebuild => enable-4.5.1.ebuild} | 20 +++--
dev-python/enable/files/enable-4.4.1-swig.patch | 93 ++++++++++++++++++++++
4 files changed, 117 insertions(+), 10 deletions(-)
diff --git a/dev-python/enable/Manifest b/dev-python/enable/Manifest
index 8be035d..4fc9823 100644
--- a/dev-python/enable/Manifest
+++ b/dev-python/enable/Manifest
@@ -1 +1,2 @@
DIST enable-4.4.1.tar.gz 2507048 SHA256 6bdba2754410b89d6c0531482a20b930c2a3965d843f374eda7e1e1902a03bdb SHA512 72c879f19e26a4311b900cb4665969b9f806ce47b23c214a25e3ec308cc5300b6d71084a793215b05302fbeba09e13a4561e661c3bddb700d529bd31cfeb4dff WHIRLPOOL be172d97a979270b3a355436a323f72e00eb1fe1544cfd73091f6d56eded44b463198c48bbb8dbabc06e9a417cf24fdd898eecae316376cd1b9845cd4af03d02
+DIST enable-4.5.1.tar.gz 2571975 SHA256 9a7e7c82872969bf11eed5347c735ba7703b6af01274ad4bd3a7c8d89b0da164 SHA512 1095a4490f4918756dd33864aaba2636c294c3b177d3f500d98a355ec86ef86ab211d33cdec95c2d37e7e1df41622acf2c8ecf524a1d93cc39797804c49e6971 WHIRLPOOL 3bda72d5228adb106ec654aacdb34c91285afa40ff676c520119415a6517c1c2b595cbdea6122f70e07365fca18d4bfcd0696cc4dbf1c815165a41418d1b9d71
diff --git a/dev-python/enable/enable-4.4.1.ebuild b/dev-python/enable/enable-4.4.1.ebuild
index ae98e27..e34d454 100644
--- a/dev-python/enable/enable-4.4.1.ebuild
+++ b/dev-python/enable/enable-4.4.1.ebuild
@@ -3,21 +3,22 @@
# $Id$
EAPI=5
+
PYTHON_COMPAT=( python2_7 )
inherit distutils-r1 virtualx flag-o-matic
DESCRIPTION="Enthought Tool Suite: Drawing and interaction packages"
-HOMEPAGE="http://code.enthought.com/projects/enable/ https://pypi.python.org/pypi/enable"
-SRC_URI="https://github.com/enthought/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+HOMEPAGE="http://code.enthought.com/projects/enable/ https://pypi.python.org/pypi/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"
-DISTUTILS_IN_SOURCE_BUILD=1
-RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]
+RDEPEND="
+ dev-python/numpy[${PYTHON_USEDEP}]
dev-python/reportlab[${PYTHON_USEDEP}]
>=dev-python/traitsui-4[${PYTHON_USEDEP}]
>=media-libs/freetype-2
@@ -35,6 +36,10 @@ DEPEND="${RDEPEND}
media-fonts/font-misc-misc
)"
+DISTUTILS_IN_SOURCE_BUILD=1
+
+PATCHES=( "${FILESDIR}"/${P}-swig.patch )
+
python_prepare_all() {
append-cflags -fno-strict-aliasing
diff --git a/dev-python/enable/enable-4.4.1.ebuild b/dev-python/enable/enable-4.5.1.ebuild
similarity index 74%
copy from dev-python/enable/enable-4.4.1.ebuild
copy to dev-python/enable/enable-4.5.1.ebuild
index ae98e27..31a0a80 100644
--- a/dev-python/enable/enable-4.4.1.ebuild
+++ b/dev-python/enable/enable-4.5.1.ebuild
@@ -3,21 +3,25 @@
# $Id$
EAPI=5
+
PYTHON_COMPAT=( python2_7 )
inherit distutils-r1 virtualx flag-o-matic
DESCRIPTION="Enthought Tool Suite: Drawing and interaction packages"
-HOMEPAGE="http://code.enthought.com/projects/enable/ https://pypi.python.org/pypi/enable"
-SRC_URI="https://github.com/enthought/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+HOMEPAGE="http://code.enthought.com/projects/enable/ https://pypi.python.org/pypi/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"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc examples test"
-DISTUTILS_IN_SOURCE_BUILD=1
-RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]
+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
@@ -35,6 +39,10 @@ DEPEND="${RDEPEND}
media-fonts/font-misc-misc
)"
+DISTUTILS_IN_SOURCE_BUILD=1
+
+PATCHES=( "${FILESDIR}"/${PN}-4.4.1-swig.patch )
+
python_prepare_all() {
append-cflags -fno-strict-aliasing
@@ -52,7 +60,7 @@ python_test() {
pushd "${BUILD_DIR}"/lib > /dev/null
# https://github.com/enthought/enable/issues/158
PYTHONPATH=.:kiva \
- VIRTUALX_COMMAND="nosetests" virtualmake
+ VIRTUALX_COMMAND="nosetests" virtualmake --verbose
popd > /dev/null
}
diff --git a/dev-python/enable/files/enable-4.4.1-swig.patch b/dev-python/enable/files/enable-4.4.1-swig.patch
new file mode 100644
index 0000000..a82f3af
--- /dev/null
+++ b/dev-python/enable/files/enable-4.4.1-swig.patch
@@ -0,0 +1,93 @@
+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;
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/enable/, dev-python/enable/files/
@ 2015-10-10 16:09 Justin Lecher
0 siblings, 0 replies; 4+ messages in thread
From: Justin Lecher @ 2015-10-10 16:09 UTC (permalink / raw
To: gentoo-commits
commit: e3a0d23f4ad40c56ab64367c541a368ce145c3ae
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 10 16:09:28 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Oct 10 16:09:44 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3a0d23f
dev-python/enable: Add support for gcc-5
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=561836
Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
dev-python/enable/enable-4.5.1.ebuild | 5 ++++-
dev-python/enable/files/enable-4.5.1-gcc-5.patch | 22 ++++++++++++++++++++++
dev-python/enable/metadata.xml | 2 +-
3 files changed, 27 insertions(+), 2 deletions(-)
diff --git a/dev-python/enable/enable-4.5.1.ebuild b/dev-python/enable/enable-4.5.1.ebuild
index 31a0a80..300c03c3 100644
--- a/dev-python/enable/enable-4.5.1.ebuild
+++ b/dev-python/enable/enable-4.5.1.ebuild
@@ -41,7 +41,10 @@ DEPEND="${RDEPEND}
DISTUTILS_IN_SOURCE_BUILD=1
-PATCHES=( "${FILESDIR}"/${PN}-4.4.1-swig.patch )
+PATCHES=(
+ "${FILESDIR}"/${PN}-4.4.1-swig.patch
+ "${FILESDIR}"/${P}-gcc-5.patch
+ )
python_prepare_all() {
append-cflags -fno-strict-aliasing
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
new file mode 100644
index 0000000..b18b8ea
--- /dev/null
+++ b/dev-python/enable/files/enable-4.5.1-gcc-5.patch
@@ -0,0 +1,22 @@
+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-5])\.\d+', line0)
+ if int(m.group(1)) < 4:
+ use_32bit_workaround = True
+
diff --git a/dev-python/enable/metadata.xml b/dev-python/enable/metadata.xml
index de31ed9..aee1004 100644
--- a/dev-python/enable/metadata.xml
+++ b/dev-python/enable/metadata.xml
@@ -1,4 +1,4 @@
-<?xml version='1.0' encoding='UTF-8'?>
+<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>python</herd>
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/enable/, dev-python/enable/files/
@ 2015-10-31 8:37 Justin Lecher
0 siblings, 0 replies; 4+ messages in thread
From: Justin Lecher @ 2015-10-31 8:37 UTC (permalink / raw
To: gentoo-commits
commit: 1c689827cddff915f65f0e6c289d97642a753a68
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 31 08:37:38 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Oct 31 08:37:54 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c689827
dev-python/enable: Backport fixes for doc building
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=564510
Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
dev-python/enable/enable-4.5.1.ebuild | 2 ++
dev-python/enable/files/enable-4.5.1-doc.patch | 24 +++++++++++++++++
dev-python/enable/files/enable-4.5.1-version.patch | 31 ++++++++++++++++++++++
3 files changed, 57 insertions(+)
diff --git a/dev-python/enable/enable-4.5.1.ebuild b/dev-python/enable/enable-4.5.1.ebuild
index 300c03c3..2865b67 100644
--- a/dev-python/enable/enable-4.5.1.ebuild
+++ b/dev-python/enable/enable-4.5.1.ebuild
@@ -44,6 +44,8 @@ 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() {
diff --git a/dev-python/enable/files/enable-4.5.1-doc.patch b/dev-python/enable/files/enable-4.5.1-doc.patch
new file mode 100644
index 0000000..c9cc1ff
--- /dev/null
+++ b/dev-python/enable/files/enable-4.5.1-doc.patch
@@ -0,0 +1,24 @@
+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-version.patch b/dev-python/enable/files/enable-4.5.1-version.patch
new file mode 100644
index 0000000..1dd3fe4
--- /dev/null
+++ b/dev-python/enable/files/enable-4.5.1-version.patch
@@ -0,0 +1,31 @@
+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)
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/enable/, dev-python/enable/files/
@ 2019-01-27 12:36 Pacho Ramos
0 siblings, 0 replies; 4+ messages in thread
From: Pacho Ramos @ 2019-01-27 12:36 UTC (permalink / raw
To: gentoo-commits
commit: 66a94e6570eab0c2d88a3100a1cec5ca382ab84e
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 27 12:23:07 2019 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Jan 27 12:36:03 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66a94e65
dev-python/enable: Drop old
Package-Manager: Portage-2.3.58, Repoman-2.3.12
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
dev-python/enable/Manifest | 2 -
dev-python/enable/enable-4.4.1.ebuild | 70 ----------------
dev-python/enable/enable-4.5.1.ebuild | 78 ------------------
dev-python/enable/files/enable-4.4.1-swig.patch | 93 ----------------------
dev-python/enable/files/enable-4.5.1-doc.patch | 24 ------
dev-python/enable/files/enable-4.5.1-gcc-5.patch | 22 -----
dev-python/enable/files/enable-4.5.1-version.patch | 31 --------
7 files changed, 320 deletions(-)
diff --git a/dev-python/enable/Manifest b/dev-python/enable/Manifest
index 4f4928116dc..0c40428cccd 100644
--- a/dev-python/enable/Manifest
+++ b/dev-python/enable/Manifest
@@ -1,3 +1 @@
-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
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 ad35ba85b45..00000000000
--- 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 ef3d56907cc..00000000000
--- 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/files/enable-4.4.1-swig.patch b/dev-python/enable/files/enable-4.4.1-swig.patch
deleted file mode 100644
index a82f3af1c7e..00000000000
--- 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 c9cc1ff2e3c..00000000000
--- 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 700b0b3774f..00000000000
--- 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 1dd3fe42775..00000000000
--- 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)
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-01-27 12:37 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-31 8:37 [gentoo-commits] repo/gentoo:master commit in: dev-python/enable/, dev-python/enable/files/ Justin Lecher
-- strict thread matches above, loose matches on Subject: below --
2019-01-27 12:36 Pacho Ramos
2015-10-10 16:09 Justin Lecher
2015-09-29 7:28 Justin Lecher
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox