1 |
commit: a794e587459d8de9ae3b30a44d1e2695c10d548d |
2 |
Author: Tim Harder <radhermit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 29 06:27:20 2017 +0000 |
4 |
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 29 06:27:20 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a794e587 |
7 |
|
8 |
dev-python/execnet: version bump to 1.5.0 |
9 |
|
10 |
dev-python/execnet/Manifest | 1 + |
11 |
dev-python/execnet/execnet-1.5.0.ebuild | 51 +++++++++++++++++++++++++++++++++ |
12 |
2 files changed, 52 insertions(+) |
13 |
|
14 |
diff --git a/dev-python/execnet/Manifest b/dev-python/execnet/Manifest |
15 |
index aa51fef73b9..f4313d1912b 100644 |
16 |
--- a/dev-python/execnet/Manifest |
17 |
+++ b/dev-python/execnet/Manifest |
18 |
@@ -1 +1,2 @@ |
19 |
DIST execnet-1.4.1.tar.gz 171041 SHA256 f66dd4a7519725a1b7e14ad9ae7d3df8e09b2da88062386e08e941cafc0ef3e6 SHA512 e8c0c32e873f8585ff4d4da3b9cbd40046479370f5653f67a98c9029d4535a619731d1b825332fe4af4dc5ebc9ab11ee879ef45df07f08943b1e1685f2255790 WHIRLPOOL 487c31617b78e4eeed9dc75ae8f01ade33aad35f7547677ec007b688071dd56e69c4f4b92cf9355dee7cea97bf6eac09f508099f104cf52d6c9fe3860e4fd3c9 |
20 |
+DIST execnet-1.5.0.tar.gz 168497 SHA256 a7a84d5fa07a089186a329528f127c9d73b9de57f1a1131b82bb5320ee651f6a SHA512 ca2b571fafdf8f68b3cc7a04ee326e3255828d4cde28ead65d0cef325569c3a6dee09359e525152248038de65326ffc6b75c8362f53aa5c0b3f736eb596cb2d9 WHIRLPOOL 2cd562109412e3133824705fcb4d2a7c083c6a3aac79456b104eea4cfb7f33346e90c82aed39afbfb8cb9990814ef6b088aeacf471b542d46441d2287ef7387b |
21 |
|
22 |
diff --git a/dev-python/execnet/execnet-1.5.0.ebuild b/dev-python/execnet/execnet-1.5.0.ebuild |
23 |
new file mode 100644 |
24 |
index 00000000000..3a8a1c3f898 |
25 |
--- /dev/null |
26 |
+++ b/dev-python/execnet/execnet-1.5.0.ebuild |
27 |
@@ -0,0 +1,51 @@ |
28 |
+# Copyright 1999-2017 Gentoo Foundation |
29 |
+# Distributed under the terms of the GNU General Public License v2 |
30 |
+ |
31 |
+EAPI=6 |
32 |
+ |
33 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 ) |
34 |
+ |
35 |
+inherit distutils-r1 |
36 |
+ |
37 |
+DESCRIPTION="Rapid multi-Python deployment" |
38 |
+HOMEPAGE="http://codespeak.net/execnet/ https://pypi.python.org/pypi/execnet/" |
39 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
40 |
+ |
41 |
+LICENSE="MIT" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
44 |
+IUSE="doc test" |
45 |
+ |
46 |
+RDEPEND=">=dev-python/apipkg-1.4[${PYTHON_USEDEP}]" |
47 |
+DEPEND="${RDEPEND} |
48 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
49 |
+ dev-python/setuptools_scm[${PYTHON_USEDEP}] |
50 |
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
51 |
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] )" |
52 |
+ |
53 |
+#PATCHES=( "${FILESDIR}"/1.2.0-tests.patch ) |
54 |
+RESTRICT="test" |
55 |
+ |
56 |
+python_prepare_all() { |
57 |
+ # Remove doctest that access an i'net site |
58 |
+ rm doc/example/test_info.rst || die |
59 |
+ |
60 |
+ distutils-r1_python_prepare_all |
61 |
+} |
62 |
+ |
63 |
+python_compile_all() { |
64 |
+ use doc && emake -C doc html |
65 |
+} |
66 |
+ |
67 |
+python_test() { |
68 |
+ # https://bitbucket.org/hpk42/execnet/issue/10 |
69 |
+ unset PYTHONDONTWRITEBYTECODE |
70 |
+ py.test testing || die "Tests fail with ${EPYTHON}" |
71 |
+ |
72 |
+} |
73 |
+ |
74 |
+python_install_all() { |
75 |
+ use doc && local HTML_DOCS=( doc/_build/html/. ) |
76 |
+ |
77 |
+ distutils-r1_python_install_all |
78 |
+} |