Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/construct/
Date: Thu, 27 Sep 2018 21:24:39
Message-Id: 1538083461.6f2a11c19d460f641e0f75c45d911509e19a55d3.monsieurp@gentoo
1 commit: 6f2a11c19d460f641e0f75c45d911509e19a55d3
2 Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
3 AuthorDate: Mon Sep 24 21:20:47 2018 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 27 21:24:21 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f2a11c1
7
8 dev-python/construct: version bump to 2.9.45.
9
10 This version has significant API changes, which uncompatible with
11 previous 2.8.x branch. Restricted test feature since it requires
12 additional external dependencies.
13
14 Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>
15 Package-Manager: Portage-2.3.49, Repoman-2.3.10
16
17 dev-python/construct/Manifest | 1 +
18 dev-python/construct/construct-2.9.45.ebuild | 33 ++++++++++++++++++++++++++++
19 2 files changed, 34 insertions(+)
20
21 diff --git a/dev-python/construct/Manifest b/dev-python/construct/Manifest
22 index 3716c099733..9992b1bf134 100644
23 --- a/dev-python/construct/Manifest
24 +++ b/dev-python/construct/Manifest
25 @@ -1 +1,2 @@
26 DIST construct-2.8.21.tar.gz 706022 BLAKE2B a7fb81185b380b444bede5dffce11158d93f0076cc3fbd836cdef3cf8425e2bcce0cf7b8e2d2654effc8beac3d3d0f722dd2786103f9b85f05b98216fc7684cb SHA512 f8e2c8d0f437cce760b1439fc68e2b10dccf852e1bf3c42e0569a3e32fe218d2a4d4cc662229455a910fa8a7cf0fc0500cb0d38ad0485f1b9fd954334f343562
27 +DIST construct-2.9.45.tar.gz 1042299 BLAKE2B 4d646c3a340b969e83e15436422732f4f4380ef24cd0e9f258f3d3666f17b08ab628d19db39bb8fcd3f370c2b0c93a8329fba56727f28d7a23d868d001610927 SHA512 78d64f3e567e6c9cef842d3e15f416d48856d229a8c6f21e282d3123a86fdd243b20dba5040c6e1d28b67422881351b303262132263efdf94bb73adde0d5dfc1
28
29 diff --git a/dev-python/construct/construct-2.9.45.ebuild b/dev-python/construct/construct-2.9.45.ebuild
30 new file mode 100644
31 index 00000000000..b0b6c560e04
32 --- /dev/null
33 +++ b/dev-python/construct/construct-2.9.45.ebuild
34 @@ -0,0 +1,33 @@
35 +# Copyright 1999-2018 Gentoo Foundation
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI=7
39 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
40 +
41 +inherit distutils-r1
42 +
43 +DESCRIPTION="A powerful declarative parser for binary data"
44 +HOMEPAGE="http://construct.readthedocs.io/ https://pypi.org/project/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 +RESTRICT="test"
52 +
53 +DEPEND="test? (
54 + dev-python/numpy[${PYTHON_USEDEP}]
55 + dev-python/pytest[${PYTHON_USEDEP}]
56 + )"
57 +
58 +python_test() {
59 + pytest -vv || die "Tests failed under ${EPYTHON}"
60 +}
61 +
62 +pkg_postinst() {
63 + ewarn "Version 2.9.x has significant API and implementation changes from"
64 + ewarn "previous 2.8.x releases. Please read the documentation at"
65 + ewarn "https://construct.readthedocs.io/en/latest/transition29.html"
66 + ewarn "for more info."
67 +}