Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/construct/
Date: Wed, 31 Mar 2021 10:14:52
Message-Id: 1617185669.92f1534f05e16efd9318e908adbe9c5d31ec976d.mgorny@gentoo
1 commit: 92f1534f05e16efd9318e908adbe9c5d31ec976d
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 31 07:44:25 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 31 10:14:29 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92f1534f
7
8 dev-python/construct: Bump to 2.10.64
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/construct/Manifest | 1 +
13 dev-python/construct/construct-2.10.64.ebuild | 37 +++++++++++++++++++++++++++
14 2 files changed, 38 insertions(+)
15
16 diff --git a/dev-python/construct/Manifest b/dev-python/construct/Manifest
17 index 60ecd3d8fbe..6402ea0661b 100644
18 --- a/dev-python/construct/Manifest
19 +++ b/dev-python/construct/Manifest
20 @@ -1,2 +1,3 @@
21 DIST construct-2.10.61.tar.gz 1185872 BLAKE2B 03eb83b707f607f65f13f6430815af3f91f728e133cc1a889f4ff37e34b249cff8f8b13ffb764fbffbba2bec699ce94173e3b80498c42f8fc7628a125b659188 SHA512 dd25f9646d55c4914fbb506b795dced01a5a2d58a9d8378ceaa4d5ba666c9547e96f7a658e8d521ef9a3f53065e89b90e0c8560bc2eb4095b9ff8077b840eec4
22 DIST construct-2.10.63.tar.gz 1186101 BLAKE2B c0996f1228f36679d58ca931b27abb0b62da989d1554763295cf56086c9e288b3a02a4de23cca78a726a84c6483581662b01c8eb516d59a165b38eca8cc150f7 SHA512 6d3202f4c98f9c14edaf0c3ea90875eb43c9e3ca454f54a2fe3c6d7810957781a0fe95c60cb6b28445ab80a9ad3ae52c4a397cf9b3531f42d1cb443564427a9c
23 +DIST construct-2.10.64.tar.gz 1186820 BLAKE2B f3b238060d9db1511effdb4c4374d5e8df0a90d9ea015793766ba29718c0ea2c43a2e8d892076b6b148574bb35e0813299b1c009149f9057d46c0a7f0cef63ec SHA512 00eee1d330457dffe854d5a709c21a8f6e71034695ea9aaffb886c198f2cf56b142f0d5d9edbeee480b77a13f8f8c1faaf6b84eed4161882d77623935502460a
24
25 diff --git a/dev-python/construct/construct-2.10.64.ebuild b/dev-python/construct/construct-2.10.64.ebuild
26 new file mode 100644
27 index 00000000000..79ca0ff1327
28 --- /dev/null
29 +++ b/dev-python/construct/construct-2.10.64.ebuild
30 @@ -0,0 +1,37 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +PYTHON_COMPAT=( python3_{7..9} )
36 +
37 +inherit distutils-r1
38 +
39 +DESCRIPTION="A powerful declarative parser for binary data"
40 +HOMEPAGE="https://construct.readthedocs.io/en/latest/ https://pypi.org/project/construct/"
41 +SRC_URI="https://github.com/construct/construct/archive/v${PV}.tar.gz -> ${P}.tar.gz"
42 +
43 +LICENSE="MIT"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~x86"
46 +
47 +BDEPEND="
48 + test? (
49 + dev-python/arrow[${PYTHON_USEDEP}]
50 + dev-python/cloudpickle[${PYTHON_USEDEP}]
51 + dev-python/lz4[${PYTHON_USEDEP}]
52 + >=dev-python/numpy-1.15.4[${PYTHON_USEDEP}]
53 + dev-python/ruamel-yaml[${PYTHON_USEDEP}]
54 + )"
55 +
56 +distutils_enable_tests pytest
57 +
58 +python_test() {
59 + epytest --ignore tests/test_benchmarks.py
60 +}
61 +
62 +pkg_postinst() {
63 + ewarn "Version 2.10.x has significant API and implementation changes from"
64 + ewarn "previous 2.9.x releases. Please read the documentation at"
65 + ewarn "https://construct.readthedocs.io/en/latest/transition210.html"
66 + ewarn "for more info."
67 +}