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: Fri, 07 Oct 2016 18:11:42
Message-Id: 1475863873.a8642c7c9c94f90f82049ddbb895547105dad550.dolsen@gentoo
1 commit: a8642c7c9c94f90f82049ddbb895547105dad550
2 Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 5 23:39:04 2016 +0000
4 Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 7 18:11:13 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8642c7c
7
8 dev-python/uncompyle6: New package, new dep for dev-python/hypothesis-3.5.*
9
10 Package-Manager: portage-2.3.1_p8
11
12 dev-python/uncompyle6/Manifest | 1 +
13 dev-python/uncompyle6/metadata.xml | 20 ++++++++++++++
14 dev-python/uncompyle6/uncompyle6-2.8.3.ebuild | 38 +++++++++++++++++++++++++++
15 3 files changed, 59 insertions(+)
16
17 diff --git a/dev-python/uncompyle6/Manifest b/dev-python/uncompyle6/Manifest
18 new file mode 100644
19 index 00000000..39f2884
20 --- /dev/null
21 +++ b/dev-python/uncompyle6/Manifest
22 @@ -0,0 +1 @@
23 +DIST uncompyle6-2.8.3.tar.gz 504536 SHA256 213a5742d89d528e539121ab68b8d897a9fc60997ec30f6ec0764b6ca2d4a543 SHA512 635983a945a05f649d0f78191c59f6d1f0a7c922ad3bc8fc53396514a4cd133cdef228bac3189cd04d0c2104fb5da128f0ad8f868f6cfdd0bf3a0d52e08e773d WHIRLPOOL 93b1085e1b92e6dbfad39f27094636303d022298ee17460ea0f95d3338c6f0f1c03c6a0584d4805375c491e21fa7ca8e8b709532e6d9d1973d9a0b323734441b
24
25 diff --git a/dev-python/uncompyle6/metadata.xml b/dev-python/uncompyle6/metadata.xml
26 new file mode 100644
27 index 00000000..14eb52a
28 --- /dev/null
29 +++ b/dev-python/uncompyle6/metadata.xml
30 @@ -0,0 +1,20 @@
31 +<?xml version="1.0" encoding="UTF-8"?>
32 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
33 +<pkgmetadata>
34 + <maintainer type="person">
35 + <email>dol-sen@g.o</email>
36 + <description>Primary maintainer</description>
37 + </maintainer>
38 + <maintainer type="project">
39 + <email>python@g.o</email>
40 + <name>Python</name>
41 + </maintainer>
42 + <upstream>
43 + <maintainer>
44 + <email>rb@×××××××××.com</email>
45 + <name>Rocky Bernstein</name>
46 + </maintainer>
47 + <remote-id type="pypi">PyQRCode</remote-id>
48 + </upstream>
49 + <longdescription></longdescription>
50 +</pkgmetadata>
51
52 diff --git a/dev-python/uncompyle6/uncompyle6-2.8.3.ebuild b/dev-python/uncompyle6/uncompyle6-2.8.3.ebuild
53 new file mode 100644
54 index 00000000..1fdfe44
55 --- /dev/null
56 +++ b/dev-python/uncompyle6/uncompyle6-2.8.3.ebuild
57 @@ -0,0 +1,38 @@
58 +# Copyright 1999-2016 Gentoo Foundation
59 +# Distributed under the terms of the GNU General Public License v2
60 +# $Id$
61 +
62 +EAPI=6
63 +PYTHON_COMPAT=( python2_7 python3_{4,5} pypy )
64 +
65 +inherit distutils-r1
66 +
67 +DESCRIPTION="Python cross-version byte-code deparser"
68 +HOMEPAGE="https://github.com/rocky/python-uncompyle6/ https://pypi.python.org/pypi/umcompyle6"
69 +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
70 +
71 +LICENSE="MIT"
72 +SLOT="0"
73 +KEYWORDS="~amd64 ~x86"
74 +IUSE="test"
75 +
76 +RDEPEND=">=dev-python/xdis-2.3.0
77 + >=dev-python/spark-parser-1.4.0"
78 +DEPEND="${RDEPEND}
79 + test? (
80 + dev-python/mock[${PYTHON_USEDEP}]
81 + dev-python/pytest[${PYTHON_USEDEP}]
82 + dev-python/hypothesis[${PYTHON_USEDEP}]
83 + )
84 +"
85 +
86 +# Tests are somewhat sketchy...
87 +# the main repo has makefiles and commands that don't reflect the actual
88 +# available options for the commands they are giving.
89 +# This test does not produce errors, but also does not seem to update the
90 +# files ok, failed,... just the # of files tested
91 +python_test() {
92 + PYTHONPATH="${S}/test:${BUILD_DIR}/lib" \
93 + ${EPYTHON} test/test_pyenvlib.py --verify --all || die \
94 + "Tests failed under ${EPYTHON}"
95 +}