Gentoo Archives: gentoo-commits

From: Brian Dolbec <dolsen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/uncompyle6/
Date: Tue, 29 Nov 2016 20:07:37
Message-Id: 1480449881.6cdbc4fb5b98c7d4839c399bea94ce3bcc7c0274.dolsen@gentoo
1 commit: 6cdbc4fb5b98c7d4839c399bea94ce3bcc7c0274
2 Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
3 AuthorDate: Tue Nov 29 20:04:41 2016 +0000
4 Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 29 20:04:41 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cdbc4fb
7
8 dev-python/uncompyle6: Version bump
9
10 Package-Manager: portage-2.3.2
11
12 dev-python/uncompyle6/Manifest | 1 +
13 dev-python/uncompyle6/uncompyle6-2.9.6.ebuild | 46 +++++++++++++++++++++++++++
14 2 files changed, 47 insertions(+)
15
16 diff --git a/dev-python/uncompyle6/Manifest b/dev-python/uncompyle6/Manifest
17 index 39f2884..ba7d352 100644
18 --- a/dev-python/uncompyle6/Manifest
19 +++ b/dev-python/uncompyle6/Manifest
20 @@ -1 +1,2 @@
21 DIST uncompyle6-2.8.3.tar.gz 504536 SHA256 213a5742d89d528e539121ab68b8d897a9fc60997ec30f6ec0764b6ca2d4a543 SHA512 635983a945a05f649d0f78191c59f6d1f0a7c922ad3bc8fc53396514a4cd133cdef228bac3189cd04d0c2104fb5da128f0ad8f868f6cfdd0bf3a0d52e08e773d WHIRLPOOL 93b1085e1b92e6dbfad39f27094636303d022298ee17460ea0f95d3338c6f0f1c03c6a0584d4805375c491e21fa7ca8e8b709532e6d9d1973d9a0b323734441b
22 +DIST uncompyle6-2.9.6.tar.gz 865986 SHA256 5257fa0c98d116c632aa369ecc641db737ad14783cff98d3d6d166fe63faa42c SHA512 8aa3124fa7f93f090b4c5a133c6c6d1094b6a6cd809b1d230e4458b4743fce6c69fe48799c5cfd99fc1ff28d034602c834905f16642b7245fc05f066319e33e7 WHIRLPOOL 65300993c3a5bdc21b977e28d4774f87c995b28c0844929fa0391342654f043a2a2a031f307e182ca64dd8986047f78807259ec2f0aefc63e5f15ca9e1a7e5ef
23
24 diff --git a/dev-python/uncompyle6/uncompyle6-2.9.6.ebuild b/dev-python/uncompyle6/uncompyle6-2.9.6.ebuild
25 new file mode 100644
26 index 00000000..e7bb70e
27 --- /dev/null
28 +++ b/dev-python/uncompyle6/uncompyle6-2.9.6.ebuild
29 @@ -0,0 +1,46 @@
30 +# Copyright 1999-2016 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +# $Id$
33 +
34 +EAPI=6
35 +PYTHON_COMPAT=( python2_7 python3_{4,5} pypy )
36 +
37 +inherit distutils-r1
38 +
39 +DESCRIPTION="Python cross-version byte-code deparser"
40 +HOMEPAGE="https://github.com/rocky/python-uncompyle6/ https://pypi.python.org/pypi/umcompyle6"
41 +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
42 +
43 +LICENSE="MIT"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~x86"
46 +IUSE="test"
47 +
48 +RDEPEND="
49 + >=dev-python/xdis-3.2.3
50 + <dev-python/xdis-3.3.0
51 + >=dev-python/spark-parser-1.4.0
52 + <dev-python/spark-parser-1.5.0"
53 +DEPEND="${RDEPEND}
54 + test? (
55 + >=dev-python/nose-1.0[${PYTHON_USEDEP}]
56 + dev-python/mock[${PYTHON_USEDEP}]
57 + dev-python/pytest[${PYTHON_USEDEP}]
58 + dev-python/hypothesis[${PYTHON_USEDEP}]
59 + )
60 +"
61 +
62 +python_prepare_all() {
63 + rm -R test/__pycache__ || die "removal of test/__pycache__ failed"
64 + rm -R test/pycdc || die "removal of test/pycdc failed"
65 + distutils-r1_python_prepare_all
66 +}
67 +
68 +# the pypi page says to run "make check" to test
69 +# There are numerous more tests, but not all pass, so
70 +# until clarified, only run the recommended "make check" tests
71 +python_test() {
72 + PYTHONPATH="${S}/test:${BUILD_DIR}/lib" \
73 + emake check || die "Tests failed under ${EPYTHON}"
74 + #pytest -vv || die "Tests failed under ${EPYTHON}"
75 +}