From 32877e16ecf1c9c1f5a71bf102911ff70a393987 Mon Sep 17 00:00:00 2001 From: "Azamat H. Hackimov" Date: Sat, 7 Mar 2020 03:09:26 +0300 Subject: [PATCH] dev-python/construct: update to 2.10.56 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Added dev-python/ruamel-yaml as test dependency. Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Azamat H. Hackimov Closes: https://github.com/gentoo/gentoo/pull/13639 Signed-off-by: Michał Górny --- dev-python/construct/Manifest | 1 + dev-python/construct/construct-2.10.56.ebuild | 35 +++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 dev-python/construct/construct-2.10.56.ebuild diff --git a/dev-python/construct/Manifest b/dev-python/construct/Manifest index eb9164d399a4..132dc8d50821 100644 --- a/dev-python/construct/Manifest +++ b/dev-python/construct/Manifest @@ -1 +1,2 @@ +DIST construct-2.10.56.tar.gz 1184110 BLAKE2B 01ce1800970826ae3584a9733de171e04dd926e7d19d8b48b4364406b4aa0f4d878ec52f9a7f755bb249aeeaca75ae6221d6bdf302d4342d4974d268b1782175 SHA512 cc9aa126c26a017a3fb7b78a6b8f2056194028a44c8ed615a6dc4a445d50f0463e2de0b80810ab5a252070925a56b5a61dbb601a3de9e445d861356231a146d5 DIST construct-2.9.46.tar.gz 1042624 BLAKE2B df42f771fbba3867b2bf5eb60fadd8f314207b101e3ce695ed58fa9db8c13c3b746c9b6a8979dfbfa0f5b8182aab4b7fdc7e678e017acc3223252a82d5e62640 SHA512 01bd135b2e08958749eab1e79abb912d7da94743567b8165f6dc1b0edbbb765f1e7ba7e120fda1fef8bcd24a285d164b017f49527382921018091cc654d28cae diff --git a/dev-python/construct/construct-2.10.56.ebuild b/dev-python/construct/construct-2.10.56.ebuild new file mode 100644 index 000000000000..3a485cc76365 --- /dev/null +++ b/dev-python/construct/construct-2.10.56.ebuild @@ -0,0 +1,35 @@ +# 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}] + dev-python/ruamel-yaml[${PYTHON_USEDEP}] + )" + +src_prepare() { + default + rm tests/test_benchmarks.py || die +} + +pkg_postinst() { + ewarn "Version 2.10.x has significant API and implementation changes from" + ewarn "previous 2.9.x releases. Please read the documentation at" + ewarn "https://construct.readthedocs.io/en/latest/transition210.html" + ewarn "for more info." +} -- 2.26.2