summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2017-05-15 17:10:13 +0200
committerManuel Rüger <mrueg@gentoo.org>2017-05-15 17:11:23 +0200
commitce192e3a20a0dfe8b96c3d08d4cd79d920c6fb1e (patch)
tree1861fbb2de6c4e1a2387643cd072db0dbf05820f /dev-python/fields
parentdev-python/attr: Remove accidentally added package (diff)
downloadgentoo-ce192e3a20a0dfe8b96c3d08d4cd79d920c6fb1e.tar.gz
gentoo-ce192e3a20a0dfe8b96c3d08d4cd79d920c6fb1e.tar.bz2
gentoo-ce192e3a20a0dfe8b96c3d08d4cd79d920c6fb1e.zip
dev-python/fields: Initial version
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'dev-python/fields')
-rw-r--r--dev-python/fields/Manifest1
-rw-r--r--dev-python/fields/fields-5.0.0.ebuild30
-rw-r--r--dev-python/fields/metadata.xml11
3 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/fields/Manifest b/dev-python/fields/Manifest
new file mode 100644
index 000000000000..f1044e026dd3
--- /dev/null
+++ b/dev-python/fields/Manifest
@@ -0,0 +1 @@
+DIST fields-5.0.0.tar.gz 36232 SHA256 31d4aa03d8d44e35df13c431de35136997f047a924a597d84f7bc209e1be5727 SHA512 3d80b9c6a1d0a43568045fc25422b0db783c84e2e3f2be8b1d41b0150f48fef58736d863d06b4562b29190cd6dc2616829faab8e901b7268ac2e9e63e996180e WHIRLPOOL b6e48218dc5060d565516afc247167ea627ae248eef9622d27ea2100de2fd6055ab719f0d1d2e05c769e45dabf4c2e0e5638e35af77c77179e3564b765b7cbbf
diff --git a/dev-python/fields/fields-5.0.0.ebuild b/dev-python/fields/fields-5.0.0.ebuild
new file mode 100644
index 000000000000..f9032a554d89
--- /dev/null
+++ b/dev-python/fields/fields-5.0.0.ebuild
@@ -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
+}
diff --git a/dev-python/fields/metadata.xml b/dev-python/fields/metadata.xml
new file mode 100644
index 000000000000..8e8da838d640
--- /dev/null
+++ b/dev-python/fields/metadata.xml
@@ -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>