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: Thu, 28 Jan 2021 08:35:31
Message-Id: 1611822914.877898214b6129211bbe566d11e8f6e12c92ccb7.mgorny@gentoo
1 commit: 877898214b6129211bbe566d11e8f6e12c92ccb7
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 28 07:44:46 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 28 08:35:14 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87789821
7
8 dev-python/construct: Bump to 2.10.58
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.58.ebuild | 36 +++++++++++++++++++++++++++
14 2 files changed, 37 insertions(+)
15
16 diff --git a/dev-python/construct/Manifest b/dev-python/construct/Manifest
17 index b18eb085aea..a327fd2d9ec 100644
18 --- a/dev-python/construct/Manifest
19 +++ b/dev-python/construct/Manifest
20 @@ -1,2 +1,3 @@
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
25 diff --git a/dev-python/construct/construct-2.10.58.ebuild b/dev-python/construct/construct-2.10.58.ebuild
26 new file mode 100644
27 index 00000000000..e67bd28cd5e
28 --- /dev/null
29 +++ b/dev-python/construct/construct-2.10.58.ebuild
30 @@ -0,0 +1,36 @@
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/numpy-1.15.4[${PYTHON_USEDEP}]
51 + dev-python/ruamel-yaml[${PYTHON_USEDEP}]
52 + )"
53 +
54 +distutils_enable_tests pytest
55 +
56 +src_prepare() {
57 + distutils-r1_src_prepare
58 + rm tests/test_benchmarks.py || die
59 +}
60 +
61 +pkg_postinst() {
62 + ewarn "Version 2.10.x has significant API and implementation changes from"
63 + ewarn "previous 2.9.x releases. Please read the documentation at"
64 + ewarn "https://construct.readthedocs.io/en/latest/transition210.html"
65 + ewarn "for more info."
66 +}