1 |
commit: ad1cbcb94582e5a4d579ecb616e9260ee99392f0 |
2 |
Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Jan 17 09:12:28 2018 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jan 25 22:49:19 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad1cbcb9 |
7 |
|
8 |
dev-python/construct: version bump to 2.8.21. |
9 |
|
10 |
Added support for Python 3.6. |
11 |
|
12 |
Package-Manager: Portage-2.3.13, Repoman-2.3.3 |
13 |
Closes: https://github.com/gentoo/gentoo/pull/6889 |
14 |
|
15 |
dev-python/construct/Manifest | 1 + |
16 |
dev-python/construct/construct-2.8.21.ebuild | 27 +++++++++++++++++++++++++++ |
17 |
2 files changed, 28 insertions(+) |
18 |
|
19 |
diff --git a/dev-python/construct/Manifest b/dev-python/construct/Manifest |
20 |
index b738f720506..23ce240e4f6 100644 |
21 |
--- a/dev-python/construct/Manifest |
22 |
+++ b/dev-python/construct/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
DIST construct-2.8.17.tar.gz 705812 BLAKE2B 3178f7f59fb893bc521c88b7ba51d6bd83cca37c1a243e602dcc2ac41a2cb7335e2cf69e7dff3b130e974ff9dbd01a12004423c3a88fc8e88c784c665437e901 SHA512 5bca40d7f33f336ab2a66546027c8bf24bf1b0125bcf425063b3bab14b1e3a96577d602db1eb73cb0ee99f90d92af6e24fcbd228912c0a70de6b2bd7d33e75be |
25 |
+DIST construct-2.8.21.tar.gz 706022 BLAKE2B a7fb81185b380b444bede5dffce11158d93f0076cc3fbd836cdef3cf8425e2bcce0cf7b8e2d2654effc8beac3d3d0f722dd2786103f9b85f05b98216fc7684cb SHA512 f8e2c8d0f437cce760b1439fc68e2b10dccf852e1bf3c42e0569a3e32fe218d2a4d4cc662229455a910fa8a7cf0fc0500cb0d38ad0485f1b9fd954334f343562 |
26 |
|
27 |
diff --git a/dev-python/construct/construct-2.8.21.ebuild b/dev-python/construct/construct-2.8.21.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..70ec0fd0fff |
30 |
--- /dev/null |
31 |
+++ b/dev-python/construct/construct-2.8.21.ebuild |
32 |
@@ -0,0 +1,27 @@ |
33 |
+# Copyright 1999-2018 Gentoo Foundation |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=6 |
37 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="A powerful declarative parser for binary data" |
42 |
+HOMEPAGE="http://construct.readthedocs.io/ https://pypi.python.org/pypi/construct" |
43 |
+SRC_URI="https://github.com/construct/construct/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="MIT" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~x86" |
48 |
+IUSE="test" |
49 |
+ |
50 |
+DEPEND="test? ( |
51 |
+ dev-python/numpy[${PYTHON_USEDEP}] |
52 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
53 |
+ dev-python/pytest-cov[${PYTHON_USEDEP}] |
54 |
+ dev-python/tox[${PYTHON_USEDEP}] |
55 |
+ )" |
56 |
+ |
57 |
+python_test() { |
58 |
+ py.test -vv || die "Tests failed under ${EPYTHON}" |
59 |
+} |