1 |
commit: 7866bfe152964240139e60f86f7d5576632dc372 |
2 |
Author: Tim Harder <radhermit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 1 07:00:09 2017 +0000 |
4 |
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 1 07:01:05 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7866bfe1 |
7 |
|
8 |
dev-python/py: version bump to 1.4.32 |
9 |
|
10 |
dev-python/py/Manifest | 1 + |
11 |
dev-python/py/py-1.4.32.ebuild | 44 ++++++++++++++++++++++++++++++++++++++++++ |
12 |
2 files changed, 45 insertions(+) |
13 |
|
14 |
diff --git a/dev-python/py/Manifest b/dev-python/py/Manifest |
15 |
index 0fcd0f573b1..47735d8c4db 100644 |
16 |
--- a/dev-python/py/Manifest |
17 |
+++ b/dev-python/py/Manifest |
18 |
@@ -1,2 +1,3 @@ |
19 |
DIST py-1.4.30.tar.gz 191796 SHA256 b703e57685ed7c280b1a51c496a4984d83d89def2a930b5e9e5da5a6ca151514 SHA512 dd9d92f8eaf8e5fc61bfb7feb4b07df5ae1745ebf88bcbe9d62589caa9e1f7d8beae5b2d20b407520919e47391cd50cf2d5323556fa5bd90a37e120b1d394d7a WHIRLPOOL 890cd2dbb957c291e80c73a69fad89846e761f745500ab2a99bfb4f725a7e567104fa4a2a957b8c674ebc9498fdbb25373ff0d15ab8da7f8c45138844235c79f |
20 |
DIST py-1.4.31.tar.gz 192212 SHA256 a6501963c725fc2554dabfece8ae9a8fb5e149c0ac0a42fd2b02c5c1c57fc114 SHA512 fd0f4f509d81beb8e5cdb5a8d5d7d40d8a74737c017c915b0630ce740868c32fbf1af4a01dec2ae998e5a9516578e8404ad2b8d966606919767ae25f27eb0b0d WHIRLPOOL 2c1227fc8b3fd044eeea398393a79868b12ef9ab7291522f4c6c08f70d4d725c305a407c3a6893920c405fdf1bc29d97b9ac2a182abdf3a4cde1f6001cd1c38c |
21 |
+DIST py-1.4.32.tar.gz 598861 SHA256 c4b89fd1ff1162375115608d01f77c38cca1d0f28f37fd718005e19b28be41a7 SHA512 3596d792d8c242c99088001dee1f993f78b1940d8062cb8b81ab3734467a89d30fec790db0baef7fdec23f012b2ec9f70989f09a63cc915e79fb23b1ace47770 WHIRLPOOL ac03859d54effc1642d210f00f30ae26f6d26e0669f6846c219aa56a0079f97ee1df3a2bf7515e36abc215f6f8e59db7caa44e380d1b114ba8686879e21f3891 |
22 |
|
23 |
diff --git a/dev-python/py/py-1.4.32.ebuild b/dev-python/py/py-1.4.32.ebuild |
24 |
new file mode 100644 |
25 |
index 00000000000..eb54602c31d |
26 |
--- /dev/null |
27 |
+++ b/dev-python/py/py-1.4.32.ebuild |
28 |
@@ -0,0 +1,44 @@ |
29 |
+# Copyright 1999-2017 Gentoo Foundation |
30 |
+# Distributed under the terms of the GNU General Public License v2 |
31 |
+ |
32 |
+EAPI="6" |
33 |
+ |
34 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 ) |
35 |
+ |
36 |
+inherit distutils-r1 |
37 |
+ |
38 |
+DESCRIPTION="library with cross-python path, ini-parsing, io, code, log facilities" |
39 |
+HOMEPAGE="http://pylib.readthedocs.org/ https://pypi.python.org/pypi/py" |
40 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="MIT" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
45 |
+IUSE="doc test" |
46 |
+ |
47 |
+RDEPEND="" |
48 |
+DEPEND=" |
49 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
50 |
+ test? ( >=dev-python/pytest-2.4.2[${PYTHON_USEDEP}] ) |
51 |
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" |
52 |
+ |
53 |
+python_prepare_all() { |
54 |
+ sed -e 's:intersphinx_mapping:#&:' -i doc/conf.py || die |
55 |
+ distutils-r1_python_prepare_all |
56 |
+} |
57 |
+ |
58 |
+python_compile_all() { |
59 |
+ use doc && emake -C doc html |
60 |
+} |
61 |
+ |
62 |
+python_test() { |
63 |
+ # 1 failure, test_comments, under both pypy only. |
64 |
+ # Also appears the home repo has no issue tracker. |
65 |
+ [[ "${EPYTHON}" == pypy ]] && return |
66 |
+ py.test -v -v || die "testing failed with ${EPYTHON}" |
67 |
+} |
68 |
+ |
69 |
+python_install_all() { |
70 |
+ use doc && local HTML_DOCS=( doc/_build/html/. ) |
71 |
+ distutils-r1_python_install_all |
72 |
+} |