1 |
commit: aa4c797c83e1b379251290ebdbdffd9cda9ccad5 |
2 |
Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon May 8 10:16:46 2017 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 8 17:02:12 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa4c797c |
7 |
|
8 |
dev-python/construct: Version bump to 2.8.12 |
9 |
|
10 |
Next stable release branch. Added tests. |
11 |
|
12 |
Closes: https://github.com/gentoo/gentoo/pull/3899 |
13 |
Package-Manager: Portage-2.3.5, Repoman-2.3.1 |
14 |
|
15 |
dev-python/construct/Manifest | 1 + |
16 |
dev-python/construct/construct-2.8.12.ebuild | 34 ++++++++++++++++++++++++++++ |
17 |
dev-python/construct/metadata.xml | 1 + |
18 |
3 files changed, 36 insertions(+) |
19 |
|
20 |
diff --git a/dev-python/construct/Manifest b/dev-python/construct/Manifest |
21 |
index f360b2df75e..67412f113a1 100644 |
22 |
--- a/dev-python/construct/Manifest |
23 |
+++ b/dev-python/construct/Manifest |
24 |
@@ -1 +1,2 @@ |
25 |
DIST construct-2.5.2.tar.gz 58373 SHA256 665b6271eeadf15219c726b180c8d7a641d026784d72ca3dad90a20aae009020 SHA512 dbfa28f58821811fa28ef170818d74212e76389a017c4073acd24025ace292285828506cb44387ff07c1c05ae70766a3a0679baea25deb3b0dcc31c85b24340b WHIRLPOOL ebe5ac0a09e317a2d8c123f24c110b3ea303c179710da6112c8f376bbf1d526c4c29ebf7f60c12f8873f74ec4ebabf010b4e537173fe28f166da6f49b79635cc |
26 |
+DIST construct-2.8.12.tar.gz 720277 SHA256 67ee2c69a11bdadc0705c7e0de0ff16ef74b730932537e22ac1f64f479240ffa SHA512 4d0f59623a62eeab3c10e95b4e8153a1593219bcbcbbe5f87e75ba0a010b62021a9502faf715623faa78b4e397f1a74b41e9bffd1ede92dbebf87b0d4a59b66b WHIRLPOOL a73a2ad27c32e0ec59eb2b04fb45eb9f16e93460f722c3d19007840e141dd846695659adff3f6d50581fbf4ecaa37b982317722fda847bf3eb298432146ec19d |
27 |
|
28 |
diff --git a/dev-python/construct/construct-2.8.12.ebuild b/dev-python/construct/construct-2.8.12.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..ccaed037621 |
31 |
--- /dev/null |
32 |
+++ b/dev-python/construct/construct-2.8.12.ebuild |
33 |
@@ -0,0 +1,34 @@ |
34 |
+# Copyright 1999-2017 Gentoo Foundation |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+# $Id$ |
37 |
+ |
38 |
+EAPI=6 |
39 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5} ) |
40 |
+ |
41 |
+inherit distutils-r1 |
42 |
+ |
43 |
+DESCRIPTION="A powerful declarative parser for binary data" |
44 |
+HOMEPAGE="http://construct.readthedocs.io/ https://pypi.python.org/pypi/construct" |
45 |
+SRC_URI="https://github.com/construct/construct/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="MIT" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64 ~x86" |
50 |
+IUSE="test" |
51 |
+ |
52 |
+DEPEND="test? ( |
53 |
+ dev-python/numpy[${PYTHON_USEDEP}] |
54 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
55 |
+ dev-python/pytest-cov[${PYTHON_USEDEP}] |
56 |
+ dev-python/tox[${PYTHON_USEDEP}] |
57 |
+ )" |
58 |
+ |
59 |
+python_test() { |
60 |
+ py.test -vv || die "Tests failed under ${EPYTHON}" |
61 |
+} |
62 |
+ |
63 |
+pkg_postinst() { |
64 |
+ ewarn "Version 2.8.x has significant API and implementation changes from" |
65 |
+ ewarn "previous 2.5.x releases. Please read the documentation at" |
66 |
+ ewarn "http://construct.readthedocs.io/ for more info." |
67 |
+} |
68 |
|
69 |
diff --git a/dev-python/construct/metadata.xml b/dev-python/construct/metadata.xml |
70 |
index 0dbbbff97b7..db2f49e944c 100644 |
71 |
--- a/dev-python/construct/metadata.xml |
72 |
+++ b/dev-python/construct/metadata.xml |
73 |
@@ -6,6 +6,7 @@ |
74 |
<name>Python</name> |
75 |
</maintainer> |
76 |
<upstream> |
77 |
+ <remote-id type="github">construct/construct</remote-id> |
78 |
<remote-id type="pypi">construct</remote-id> |
79 |
</upstream> |
80 |
</pkgmetadata> |