summaryrefslogtreecommitdiff
path: root/dev-python/fields
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-python/fields
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/fields')
-rw-r--r--dev-python/fields/Manifest3
-rw-r--r--dev-python/fields/fields-5.0.0.ebuild30
-rw-r--r--dev-python/fields/metadata.xml11
3 files changed, 44 insertions, 0 deletions
diff --git a/dev-python/fields/Manifest b/dev-python/fields/Manifest
new file mode 100644
index 000000000000..9101b6439b3e
--- /dev/null
+++ b/dev-python/fields/Manifest
@@ -0,0 +1,3 @@
+DIST fields-5.0.0.tar.gz 36232 BLAKE2B 7e5ebc5b7c76b456acbe02e0b325685776c573dd0715e27402e5245e04f3c54e6e0ac04b8780a50d9b560cb5fbb664bca6a3addc76666f012aa2427140dbf870 SHA512 3d80b9c6a1d0a43568045fc25422b0db783c84e2e3f2be8b1d41b0150f48fef58736d863d06b4562b29190cd6dc2616829faab8e901b7268ac2e9e63e996180e
+EBUILD fields-5.0.0.ebuild 785 BLAKE2B 3f85ce5f6aa479e934d709a6fae987bdfe564b1534a7950900d677f09da805e14fdc94ce0f72e1b5818bd65f2e4785bc8e6f253beecf9b4d3e2a5a86e2a7ef6b SHA512 c7992a33ce41e67df363d719537199b45b87f3cfd0a2892094d2d701b023b4a81f996eff5b42ba6fbe6f7cadfd27b5d57eed9b06b5f6c866a6e360a35570335d
+MISC metadata.xml 336 BLAKE2B 4bec1a37213268f4116b30d5b6db4b43718d3803467423c01ea7c44702c0ccad255d2c0ae6d55469f0e6c6a82a6c4f344000f86989fd820b13513ac4e9d354c6 SHA512 3c055d4cf5070c7535ac37c335f224c0cafbeb68a7bf7677acd06a786b4aff93b5ddeeed3e2514cb999407c21303adf2945561688d5e20148d7e712000f62d0d
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..e5292438e935
--- /dev/null
+++ b/dev-python/fields/fields-5.0.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2018 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} pypy{,3} )
+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 ~arm ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd"
+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>