From ad1cbcb94582e5a4d579ecb616e9260ee99392f0 Mon Sep 17 00:00:00 2001 From: "Azamat H. Hackimov" Date: Wed, 17 Jan 2018 14:12:28 +0500 Subject: dev-python/construct: version bump to 2.8.21. Added support for Python 3.6. Package-Manager: Portage-2.3.13, Repoman-2.3.3 Closes: https://github.com/gentoo/gentoo/pull/6889 --- dev-python/construct/Manifest | 1 + dev-python/construct/construct-2.8.21.ebuild | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 dev-python/construct/construct-2.8.21.ebuild (limited to 'dev-python') diff --git a/dev-python/construct/Manifest b/dev-python/construct/Manifest index b738f720506c..23ce240e4f64 100644 --- a/dev-python/construct/Manifest +++ b/dev-python/construct/Manifest @@ -1 +1,2 @@ DIST construct-2.8.17.tar.gz 705812 BLAKE2B 3178f7f59fb893bc521c88b7ba51d6bd83cca37c1a243e602dcc2ac41a2cb7335e2cf69e7dff3b130e974ff9dbd01a12004423c3a88fc8e88c784c665437e901 SHA512 5bca40d7f33f336ab2a66546027c8bf24bf1b0125bcf425063b3bab14b1e3a96577d602db1eb73cb0ee99f90d92af6e24fcbd228912c0a70de6b2bd7d33e75be +DIST construct-2.8.21.tar.gz 706022 BLAKE2B a7fb81185b380b444bede5dffce11158d93f0076cc3fbd836cdef3cf8425e2bcce0cf7b8e2d2654effc8beac3d3d0f722dd2786103f9b85f05b98216fc7684cb SHA512 f8e2c8d0f437cce760b1439fc68e2b10dccf852e1bf3c42e0569a3e32fe218d2a4d4cc662229455a910fa8a7cf0fc0500cb0d38ad0485f1b9fd954334f343562 diff --git a/dev-python/construct/construct-2.8.21.ebuild b/dev-python/construct/construct-2.8.21.ebuild new file mode 100644 index 000000000000..70ec0fd0fff1 --- /dev/null +++ b/dev-python/construct/construct-2.8.21.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) + +inherit distutils-r1 + +DESCRIPTION="A powerful declarative parser for binary data" +HOMEPAGE="http://construct.readthedocs.io/ https://pypi.python.org/pypi/construct" +SRC_URI="https://github.com/construct/construct/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +DEPEND="test? ( + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-cov[${PYTHON_USEDEP}] + dev-python/tox[${PYTHON_USEDEP}] + )" + +python_test() { + py.test -vv || die "Tests failed under ${EPYTHON}" +} -- cgit v1.2.3-65-gdbad