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
This commit is contained in:
Azamat H. Hackimov
2017-05-08 15:16:46 +05:00
committed by Michał Górny
parent c36ab58ac6
commit aa4c797c83
3 changed files with 36 additions and 0 deletions

View File

@@ -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

View File

@@ -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."
}

View File

@@ -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>