commit: aa4c797c83e1b379251290ebdbdffd9cda9ccad5 Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com> AuthorDate: Mon May 8 10:16:46 2017 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Mon May 8 17:02:12 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa4c797c
dev-python/construct: Version bump to 2.8.12 Next stable release branch. Added tests. Closes: https://github.com/gentoo/gentoo/pull/3899 Package-Manager: Portage-2.3.5, Repoman-2.3.1 dev-python/construct/Manifest | 1 + dev-python/construct/construct-2.8.12.ebuild | 34 ++++++++++++++++++++++++++++ dev-python/construct/metadata.xml | 1 + 3 files changed, 36 insertions(+) diff --git a/dev-python/construct/Manifest b/dev-python/construct/Manifest index f360b2df75e..67412f113a1 100644 --- a/dev-python/construct/Manifest +++ b/dev-python/construct/Manifest @@ -1 +1,2 @@ DIST construct-2.5.2.tar.gz 58373 SHA256 665b6271eeadf15219c726b180c8d7a641d026784d72ca3dad90a20aae009020 SHA512 dbfa28f58821811fa28ef170818d74212e76389a017c4073acd24025ace292285828506cb44387ff07c1c05ae70766a3a0679baea25deb3b0dcc31c85b24340b WHIRLPOOL ebe5ac0a09e317a2d8c123f24c110b3ea303c179710da6112c8f376bbf1d526c4c29ebf7f60c12f8873f74ec4ebabf010b4e537173fe28f166da6f49b79635cc +DIST construct-2.8.12.tar.gz 720277 SHA256 67ee2c69a11bdadc0705c7e0de0ff16ef74b730932537e22ac1f64f479240ffa SHA512 4d0f59623a62eeab3c10e95b4e8153a1593219bcbcbbe5f87e75ba0a010b62021a9502faf715623faa78b4e397f1a74b41e9bffd1ede92dbebf87b0d4a59b66b WHIRLPOOL a73a2ad27c32e0ec59eb2b04fb45eb9f16e93460f722c3d19007840e141dd846695659adff3f6d50581fbf4ecaa37b982317722fda847bf3eb298432146ec19d diff --git a/dev-python/construct/construct-2.8.12.ebuild b/dev-python/construct/construct-2.8.12.ebuild new file mode 100644 index 00000000000..ccaed037621 --- /dev/null +++ b/dev-python/construct/construct-2.8.12.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) + +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}" +} + +pkg_postinst() { + ewarn "Version 2.8.x has significant API and implementation changes from" + ewarn "previous 2.5.x releases. Please read the documentation at" + ewarn "http://construct.readthedocs.io/ for more info." +} diff --git a/dev-python/construct/metadata.xml b/dev-python/construct/metadata.xml index 0dbbbff97b7..db2f49e944c 100644 --- a/dev-python/construct/metadata.xml +++ b/dev-python/construct/metadata.xml @@ -6,6 +6,7 @@ <name>Python</name> </maintainer> <upstream> + <remote-id type="github">construct/construct</remote-id> <remote-id type="pypi">construct</remote-id> </upstream> </pkgmetadata>
