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: Sun, 07 Feb 2021 09:00:39
Message-Id: 1612688432.3161fa52774a93d900214867de39d1c3e2431e1c.mgorny@gentoo
1 commit: 3161fa52774a93d900214867de39d1c3e2431e1c
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 7 08:58:23 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 7 09:00:32 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3161fa52
7
8 dev-python/construct: Bump to 2.10.59
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.59.ebuild | 36 +++++++++++++++++++++++++++
14 2 files changed, 37 insertions(+)
15
16 diff --git a/dev-python/construct/Manifest b/dev-python/construct/Manifest
17 index a327fd2d9ec..9c30ad8519e 100644
18 --- a/dev-python/construct/Manifest
19 +++ b/dev-python/construct/Manifest
20 @@ -1,3 +1,4 @@
21 DIST construct-2.10.56.tar.gz 1184110 BLAKE2B 01ce1800970826ae3584a9733de171e04dd926e7d19d8b48b4364406b4aa0f4d878ec52f9a7f755bb249aeeaca75ae6221d6bdf302d4342d4974d268b1782175 SHA512 cc9aa126c26a017a3fb7b78a6b8f2056194028a44c8ed615a6dc4a445d50f0463e2de0b80810ab5a252070925a56b5a61dbb601a3de9e445d861356231a146d5
22 DIST construct-2.10.57.tar.gz 1184585 BLAKE2B abaeebf5872cc97cc67d47cf79370fecdb1abafb62fa80b6acfa63de9087f70fa67fd69e90ab4e78e7ac179c1bb1011529e34201c3c2270e1a2651c97cc678b2 SHA512 ef2f0bbcf4cbcf4862033b16ccb428f84d63ca5c867157b47e38b441cb439c953b543cf69f352c0542525fd07b37d1b3b68910ae5331c482e75b4af937e116a1
23 DIST construct-2.10.58.tar.gz 1184881 BLAKE2B d1dfa005542505b0a154f3c0ae74a1708747b1e7b9f5dc650b924169fa54620719bdf5bb868e616ae58e8890f547eaf3bad5b02ef1f7f7ffeeadffaa87413041 SHA512 8547847e3fa15c020ab7d178b229c5b93744b48497c4cf809a93527be5776eacd52783a0fa38583d694c262c119835c989fcbe0936eb247ca844d252c4bdebb5
24 +DIST construct-2.10.59.tar.gz 1185999 BLAKE2B 35c861d5d4f5d68a158f25cffccda76621e0fe901e5f8bdf9c0aea61e3ddd2174c71767601be3533092a6a28748597cd1a044e4721436748b9a2dac81b81b41b SHA512 bf5867efdb9e1a27ddede6844f5f3466714e38dd97aae09c6990582989801605eebf90099fb3a0ab78deaed4f3b6be38421b635f6332461efd033d5fb8c2c1af
25
26 diff --git a/dev-python/construct/construct-2.10.59.ebuild b/dev-python/construct/construct-2.10.59.ebuild
27 new file mode 100644
28 index 00000000000..e67bd28cd5e
29 --- /dev/null
30 +++ b/dev-python/construct/construct-2.10.59.ebuild
31 @@ -0,0 +1,36 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +PYTHON_COMPAT=( python3_{7..9} )
37 +
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="A powerful declarative parser for binary data"
41 +HOMEPAGE="https://construct.readthedocs.io/en/latest/ https://pypi.org/project/construct/"
42 +SRC_URI="https://github.com/construct/construct/archive/v${PV}.tar.gz -> ${P}.tar.gz"
43 +
44 +LICENSE="MIT"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~x86"
47 +
48 +BDEPEND="
49 + test? (
50 + dev-python/arrow[${PYTHON_USEDEP}]
51 + >=dev-python/numpy-1.15.4[${PYTHON_USEDEP}]
52 + dev-python/ruamel-yaml[${PYTHON_USEDEP}]
53 + )"
54 +
55 +distutils_enable_tests pytest
56 +
57 +src_prepare() {
58 + distutils-r1_src_prepare
59 + rm tests/test_benchmarks.py || die
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 +}