dev-python/construct: add with python3.7 support
Package-Manager: Portage-2.3.76, Repoman-2.3.16
This commit is contained in:
parent
d1fb1a954d
commit
781241617a
3 changed files with 49 additions and 0 deletions
3
dev-python/construct/Manifest
Normal file
3
dev-python/construct/Manifest
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
DIST construct-2.9.45.tar.gz 1042299 BLAKE2B 4d646c3a340b969e83e15436422732f4f4380ef24cd0e9f258f3d3666f17b08ab628d19db39bb8fcd3f370c2b0c93a8329fba56727f28d7a23d868d001610927 SHA512 78d64f3e567e6c9cef842d3e15f416d48856d229a8c6f21e282d3123a86fdd243b20dba5040c6e1d28b67422881351b303262132263efdf94bb73adde0d5dfc1
|
||||
EBUILD construct-2.9.45.ebuild 987 BLAKE2B 499d2c08d2d3b7a8d523a341ddfeb2e290a163ff56c765246eb5988840bc44e938e99593715e448930f06c2ed226fbf2bfbe7b380807d188bc18c76656640c8c SHA512 105ceb9d56ac611c98fa22eeb9e6e0f466dd5c58b815707913e66ee37454cd71b6742e8734090825479b36122855aa64682f6a75db72fa1088553ebaf3ff6773
|
||||
MISC metadata.xml 371 BLAKE2B fc6e785b72e48dab518f86f792cccd1da217e6ba311032f476d3ff98289e04fb27d7af713d93e3ceb60254c2541e0b909377f746fbb707e2734f3866789fb88a SHA512 76ffb705910eb725b471bb199767caff4b6d34317fb0d3d0c9697be343c71e13491db6ebcd307472d441f49775e2dce01930c89f798cef815c88aed0b0bb001a
|
||||
34
dev-python/construct/construct-2.9.45.ebuild
Normal file
34
dev-python/construct/construct-2.9.45.ebuild
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python{2_7,3_5,3_6,3_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"
|
||||
IUSE="test"
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND="test? (
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep 'dev-python/scimath[${PYTHON_USEDEP}]' 'python2_7')
|
||||
)"
|
||||
|
||||
python_test() {
|
||||
pytest -vv || die "Tests failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
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."
|
||||
}
|
||||
12
dev-python/construct/metadata.xml
Normal file
12
dev-python/construct/metadata.xml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>python@gentoo.org</email>
|
||||
<name>Python</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">construct/construct</remote-id>
|
||||
<remote-id type="pypi">construct</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Loading…
Add table
Add a link
Reference in a new issue