diff options
author | Azamat H. Hackimov <azamat.hackimov@gmail.com> | 2019-11-13 23:46:24 +0300 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-04-21 13:24:23 +0200 |
commit | 869ee323d7bfd3ffa81ac7a2482a851110762336 (patch) | |
tree | 4f811742bd0c401eec96f5a6e32d26cf86f022b3 /dev-python/construct | |
parent | dev-python/django-otp: Bump to 0.9.0, py3.{7,8} (diff) | |
download | gentoo-869ee323d7bfd3ffa81ac7a2482a851110762336.tar.gz gentoo-869ee323d7bfd3ffa81ac7a2482a851110762336.tar.bz2 gentoo-869ee323d7bfd3ffa81ac7a2482a851110762336.zip |
dev-python/construct: update to 2.9.46
Drop python2_7, add python3_7, enable tests
Closes: https://bugs.gentoo.org/679424
Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com>
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/construct')
-rw-r--r-- | dev-python/construct/Manifest | 1 | ||||
-rw-r--r-- | dev-python/construct/construct-2.9.46.ebuild | 34 |
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-python/construct/Manifest b/dev-python/construct/Manifest index 4f626d0013db..2922215411f7 100644 --- a/dev-python/construct/Manifest +++ b/dev-python/construct/Manifest @@ -1 +1,2 @@ DIST construct-2.9.45.tar.gz 1042299 BLAKE2B 4d646c3a340b969e83e15436422732f4f4380ef24cd0e9f258f3d3666f17b08ab628d19db39bb8fcd3f370c2b0c93a8329fba56727f28d7a23d868d001610927 SHA512 78d64f3e567e6c9cef842d3e15f416d48856d229a8c6f21e282d3123a86fdd243b20dba5040c6e1d28b67422881351b303262132263efdf94bb73adde0d5dfc1 +DIST construct-2.9.46.tar.gz 1042624 BLAKE2B df42f771fbba3867b2bf5eb60fadd8f314207b101e3ce695ed58fa9db8c13c3b746c9b6a8979dfbfa0f5b8182aab4b7fdc7e678e017acc3223252a82d5e62640 SHA512 01bd135b2e08958749eab1e79abb912d7da94743567b8165f6dc1b0edbbb765f1e7ba7e120fda1fef8bcd24a285d164b017f49527382921018091cc654d28cae diff --git a/dev-python/construct/construct-2.9.46.ebuild b/dev-python/construct/construct-2.9.46.ebuild new file mode 100644 index 000000000000..ebb156ac6f3c --- /dev/null +++ b/dev-python/construct/construct-2.9.46.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{6,7} ) + +inherit distutils-r1 + +DESCRIPTION="A powerful declarative parser for binary data" +HOMEPAGE="https://construct.readthedocs.io/en/latest/ https://pypi.org/project/construct/" +SRC_URI="https://github.com/construct/construct/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +distutils_enable_tests pytest +BDEPEND+=" + test? ( + dev-python/arrow[${PYTHON_USEDEP}] + >=dev-python/numpy-1.15.4[${PYTHON_USEDEP}] + )" + +src_prepare() { + default + rm tests/test_benchmarks.py || die +} + +pkg_postinst() { + ewarn "Version 2.9.x has significant API and implementation changes from" + ewarn "previous 2.8.x releases. Please read the documentation at" + ewarn "https://construct.readthedocs.io/en/latest/transition29.html" + ewarn "for more info." +} |