diff options
Diffstat (limited to 'dev-python/fields')
-rw-r--r-- | dev-python/fields/Manifest | 1 | ||||
-rw-r--r-- | dev-python/fields/fields-5.0.0-r1.ebuild | 30 |
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-python/fields/Manifest b/dev-python/fields/Manifest index 4952bd5cf0ae..527c20d73ab7 100644 --- a/dev-python/fields/Manifest +++ b/dev-python/fields/Manifest @@ -1,3 +1,4 @@ DIST fields-5.0.0.tar.gz 36232 BLAKE2B 7e5ebc5b7c76b456acbe02e0b325685776c573dd0715e27402e5245e04f3c54e6e0ac04b8780a50d9b560cb5fbb664bca6a3addc76666f012aa2427140dbf870 SHA512 3d80b9c6a1d0a43568045fc25422b0db783c84e2e3f2be8b1d41b0150f48fef58736d863d06b4562b29190cd6dc2616829faab8e901b7268ac2e9e63e996180e +EBUILD fields-5.0.0-r1.ebuild 789 BLAKE2B 03651a4767f3a091c2822bb375c28d1e1207f9263089b7d94e0e5edfc03798290dca16ce90d6ee8a6a11588fd74b9c2f53902e72f58a6b50c2b73454d0893833 SHA512 775344189fa58bd2db2bcab55d937be34deabee019a18d1d5858b6919ecd01273fc5b3e0ac6617eed47fcb182cf446a4a452224dc1dabdf2a2d60c76effd2166 EBUILD fields-5.0.0.ebuild 792 BLAKE2B 7f5cefaf972f5749e9619a333fd10e00a2a143d94b02a439daa2748f2bf40a35de594129d886f478a27af5707f8fedf3b80f982e4838afd589ecd15768c5e7ce SHA512 48951e1675dcc27b20f80f0de40fb8b06bc6bfd5c84a74e2a47531f3e0e7560702d4c6bb9671b3f83d02820c2b57a0b1a3c38239a116720fbe8fbad28196f824 MISC metadata.xml 336 BLAKE2B 4bec1a37213268f4116b30d5b6db4b43718d3803467423c01ea7c44702c0ccad255d2c0ae6d55469f0e6c6a82a6c4f344000f86989fd820b13513ac4e9d354c6 SHA512 3c055d4cf5070c7535ac37c335f224c0cafbeb68a7bf7677acd06a786b4aff93b5ddeeed3e2514cb999407c21303adf2945561688d5e20148d7e712000f62d0d diff --git a/dev-python/fields/fields-5.0.0-r1.ebuild b/dev-python/fields/fields-5.0.0-r1.ebuild new file mode 100644 index 000000000000..c761bf9a163a --- /dev/null +++ b/dev-python/fields/fields-5.0.0-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} pypy pypy3 ) +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 ~arm64 ~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 +} |