dev-python/apptools: Version Bump
authorJustin Lecher <jlec@gentoo.org>
Tue, 29 Sep 2015 08:29:57 +0000 (10:29 +0200)
committerJustin Lecher <jlec@gentoo.org>
Tue, 29 Sep 2015 08:34:46 +0000 (10:34 +0200)
Package-Manager: portage-2.2.22
Signed-off-by: Justin Lecher <jlec@gentoo.org>
dev-python/apptools/Manifest
dev-python/apptools/apptools-4.3.0.ebuild [new file with mode: 0644]

index 35e1f84bb36be560a3b20e9d062096f84701b1ed..d78a6c0d1e942dbbd1a57759bfd204a568cefc78 100644 (file)
@@ -1 +1,2 @@
 DIST apptools-4.2.1.tar.gz 274521 SHA256 66f4d61e4be80fd0b153f4a8c1d680c45d5b2e0734899695cb6e918f3f594369 SHA512 03f89b431db496082ac404456f97792f68b580ee77451e6f003b5a2830cd2f698124487045b6cd5fc15b700fbf7467553a384d6e638a322627f8dad7c0b45fc6 WHIRLPOOL 0b0d99b11e251be730b9e5772cce8cfdd0c654fb02ab031fe122f82f8e4555223142e65186c9f3c0068d9b4266f71d6c3209072c3b6939b67daa5ddbc14c3ede
+DIST apptools-4.3.0.tar.gz 291137 SHA256 f36bfc61c37d1e6da87b4fec51592d276d0aaecc8254a68a24e580161fa1d6da SHA512 ba3ad2c157bd1837522d8edbb834cded0dd6d9c2440ff54af0abfa0716f0485b3519edf79a74c64133d963b1afc769e743688a3bf60fd1d2fa384e8e3bc399cd WHIRLPOOL 58bff19978c314bc70acdc7932ecefe0a5d2f20b550418dbb35167400704e25c30af48d26a6e7fc8b84fd5d75185ee88073acf14b8a779605913a4afc2a9a422
diff --git a/dev-python/apptools/apptools-4.3.0.ebuild b/dev-python/apptools/apptools-4.3.0.ebuild
new file mode 100644 (file)
index 0000000..e54896c
--- /dev/null
@@ -0,0 +1,51 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1 virtualx
+
+DESCRIPTION="Enthought Tool Suite: Application tools"
+HOMEPAGE="http://code.enthought.com/projects/app_tools/ https://pypi.python.org/pypi/apptools"
+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/configobj[${PYTHON_USEDEP}]
+       dev-python/numpy[${PYTHON_USEDEP}]
+       dev-python/traitsui[${PYTHON_USEDEP}]
+       >=dev-python/traits-4[${PYTHON_USEDEP}]"
+DEPEND="
+       dev-python/setuptools[${PYTHON_USEDEP}]
+       doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
+       test? (
+               ${RDEPEND}
+               >=dev-python/pyface-4[${PYTHON_USEDEP}]
+               media-fonts/font-cursor-misc
+               media-fonts/font-misc-misc
+               sci-visualization/mayavi[${PYTHON_USEDEP}]
+               dev-python/traits[${PYTHON_USEDEP}]
+               dev-python/traitsui[${PYTHON_USEDEP}]
+       )"
+
+python_compile_all() {
+       use doc && emake -C docs html
+}
+
+python_test() {
+       # Ignore test file that imports a long deprecated module of traits
+       VIRTUALX_COMMAND="nosetests -I test_state_pickler.py" virtualmake
+}
+
+python_install_all() {
+       use doc && local HTML_DOCS=( docs/build/html/. )
+       use examples && local EXAMPLES=( examples/. )
+       distutils-r1_python_install_all
+}