dev-python/fields: Initial version

Package-Manager: Portage-2.3.5, Repoman-2.3.2
This commit is contained in:
Manuel Rüger
2017-05-15 17:10:13 +02:00
parent 90116cc1fe
commit ce192e3a20
3 changed files with 42 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST fields-5.0.0.tar.gz 36232 SHA256 31d4aa03d8d44e35df13c431de35136997f047a924a597d84f7bc209e1be5727 SHA512 3d80b9c6a1d0a43568045fc25422b0db783c84e2e3f2be8b1d41b0150f48fef58736d863d06b4562b29190cd6dc2616829faab8e901b7268ac2e9e63e996180e WHIRLPOOL b6e48218dc5060d565516afc247167ea627ae248eef9622d27ea2100de2fd6055ab719f0d1d2e05c769e45dabf4c2e0e5638e35af77c77179e3564b765b7cbbf

View File

@@ -0,0 +1,30 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 python{3_4,3_5,3_6} )
inherit distutils-r1
DESCRIPTION="Container class boilerplate killer"
HOMEPAGE="https://github.com/ionelmc/python-fields"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
DEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}]
dev-python/attrs[${PYTHON_USEDEP}]
dev-python/characteristic[${PYTHON_USEDEP}] )"
python_prepare_all() {
sed -i -e "/--benchmark-disable/d" setup.cfg || die
rm -rf tests/test_perf.py || die
distutils-r1_python_prepare_all
}
python_test() {
py.test -vv || die
}

View File

@@ -0,0 +1,11 @@
<?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">ionelmc/python-fields</remote-id>
</upstream>
</pkgmetadata>