diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-python/attrs | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/attrs')
-rw-r--r-- | dev-python/attrs/Manifest | 8 | ||||
-rw-r--r-- | dev-python/attrs/attrs-16.3.0-r1.ebuild | 37 | ||||
-rw-r--r-- | dev-python/attrs/attrs-17.4.0.ebuild | 36 | ||||
-rw-r--r-- | dev-python/attrs/attrs-18.1.0.ebuild | 36 | ||||
-rw-r--r-- | dev-python/attrs/files/test_funcs-too-slow.patch | 21 | ||||
-rw-r--r-- | dev-python/attrs/metadata.xml | 16 |
6 files changed, 154 insertions, 0 deletions
diff --git a/dev-python/attrs/Manifest b/dev-python/attrs/Manifest new file mode 100644 index 000000000000..eb71181e6c33 --- /dev/null +++ b/dev-python/attrs/Manifest @@ -0,0 +1,8 @@ +AUX test_funcs-too-slow.patch 735 BLAKE2B b0806002c957f951c6c08a9c2caa9331d4524bd0a19edb6d61c4677ce42b3961e901c37632ae941471821d328563e92961c67e3d38bc8e5395621e78d9049922 SHA512 b6fee394c95a9c46dd822c8f36261b909a3a3de905e5b057d5026b9d204c01edc01f566336f3c06ee4f5b85da32f2dcd30fc73849d454c6446c63a0b08413140 +DIST attrs-16.3.0.tar.gz 57512 BLAKE2B e00c825034b21cb4d5a9eb9ca3ffb92193b8d793ebaeb8cb5e69b07c326738da4efd98ebc6e79903017276b6b501c56a8e0b37f6b0d13d8461b8ea4e5cb72b08 SHA512 1a91e6f27ecaf20c409c3abf88ffed5c6cfdbba8cff44637399b713271ff838a054f5859dd29440b2780d81b40673033e3f8e43dd491bece72e0a4f08c4ef688 +DIST attrs-17.4.0.tar.gz 97071 BLAKE2B f755abe89cedbf1ced003087fb106fae7c38dbdf0614ec0c525629ae09b3b790a7e0912da887dad4c5686afe7fb0df8123fea42e08e4e6718cdaf477edafcb2a SHA512 b631cd5af1be7c78175230363a3cf9d37cb0237d87b24f994812b5734985d114708d5bf7ee5d92b8b13c6b8daa313efde4a9f60f0630df0b62bbcf4928a016ff +DIST attrs-18.1.0.tar.gz 106346 BLAKE2B ae17d5e6cde83e5a652b40facffe3db2ad9d6940ef7e00a10c3d02b6015c23e9e17e125ec16100f1fd5e036c9f4e88cfe01b23b03bacdc36446ec0ef1dcc57a5 SHA512 9aa4421d1c16614cd26089c219f70602fd6baa5fbbf4aa96def189e9a41f8c761d7f522c5e167a63e366cf8b46e87477c345655f09738a14981bb40dbcd12b91 +EBUILD attrs-16.3.0-r1.ebuild 870 BLAKE2B e7b23da8eb4bf32594bd5bc17924231a4c42a40efc80963522a32361b2315aba095d6058d27351d772a91de029ad61ceff9a3418c4969919abe43264f8053cb9 SHA512 7c346b07cc557a999fc224cab21f3807bc10bb1e8b051eaec7905f4fb95f5c87e71a3081bd2893d8e371c08f43541226810590d5b43f801d1bc69f8f764951fe +EBUILD attrs-17.4.0.ebuild 885 BLAKE2B d2e70f4ca7c9b7e1f96d671c757ff14b56132f139458996ee473f3271844c2c0c257443ae26d48d600d666de4a35a763d0d92acf67cb0df3c57acd01cd23570a SHA512 28f39a5c0e0caab4603757f7169e0159cd8aae2182b0a8c5b417125a14e28a31e6873076e1e4bd09588f818304faf549a14199e93910da8c3c88967944d77f15 +EBUILD attrs-18.1.0.ebuild 886 BLAKE2B 0ffe6d1e7b2b85f299e673f738fe7abca8c38e88f875191678367d2044a7e5552257d387f1e5c12080dbb883d6c93859728061f952ff57ad5b687624034810b2 SHA512 dcfbb5acb2f225437fefbfc41431fa45fb7d3349560bc960f83a83d3ecf711e8a6e28781c02d1e6d44ac31dddcec2e859340b7ef31e26fba2eb07725468f83ef +MISC metadata.xml 488 BLAKE2B 808447388863096af88f90f97c58025508d5b4cd1ecd760c59dd8af1fa664e16756029e3d5d6b233578b9c0d7be9c8469761c9a89f222ae9f47556b6ee983fc0 SHA512 d8336a60cb0b2b8d51a9833c0ba3d47acb29ec4942b2f03b750d407bcbb65461d867470226bee962a8e585cfd4ff11bfff67b66ed2270f9efbf35d3c46bbdda1 diff --git a/dev-python/attrs/attrs-16.3.0-r1.ebuild b/dev-python/attrs/attrs-16.3.0-r1.ebuild new file mode 100644 index 000000000000..0fb231779980 --- /dev/null +++ b/dev-python/attrs/attrs-16.3.0-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy ) + +inherit distutils-r1 + +DESCRIPTION="Attributes without boilerplate" +HOMEPAGE=" + https://github.com/hynek/attrs + https://attrs.readthedocs.org/ + https://pypi.org/project/attrs/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux" +IUSE="test" + +RDEPEND="dev-python/zope-interface[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-lang/python[sqlite] + >=dev-python/hypothesis-3.6.0[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + )" + +PATCHES=( + "${FILESDIR}"/test_funcs-too-slow.patch +) + +python_test() { + py.test -v -v || die +} diff --git a/dev-python/attrs/attrs-17.4.0.ebuild b/dev-python/attrs/attrs-17.4.0.ebuild new file mode 100644 index 000000000000..d8a08a5bed97 --- /dev/null +++ b/dev-python/attrs/attrs-17.4.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} ) + +inherit distutils-r1 + +DESCRIPTION="Attributes without boilerplate" +HOMEPAGE=" + https://github.com/hynek/attrs + https://attrs.readthedocs.org/ + https://pypi.org/project/attrs/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux" +IUSE="test" + +RDEPEND=" + dev-python/zope-interface[${PYTHON_USEDEP}]" + +DEPEND=" + ${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + $(python_gen_impl_dep sqlite) + >=dev-python/hypothesis-3.6.0[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + )" + +python_test() { + py.test -v || die "tests failed with ${EPYTHON}" +} diff --git a/dev-python/attrs/attrs-18.1.0.ebuild b/dev-python/attrs/attrs-18.1.0.ebuild new file mode 100644 index 000000000000..b9f32fe9dd4d --- /dev/null +++ b/dev-python/attrs/attrs-18.1.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} ) + +inherit distutils-r1 + +DESCRIPTION="Attributes without boilerplate" +HOMEPAGE=" + https://github.com/hynek/attrs + https://attrs.readthedocs.org/ + https://pypi.org/project/attrs/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux" +IUSE="test" + +RDEPEND=" + dev-python/zope-interface[${PYTHON_USEDEP}]" + +DEPEND=" + ${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + $(python_gen_impl_dep sqlite) + >=dev-python/hypothesis-3.6.0[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + )" + +python_test() { + py.test -v || die "tests failed with ${EPYTHON}" +} diff --git a/dev-python/attrs/files/test_funcs-too-slow.patch b/dev-python/attrs/files/test_funcs-too-slow.patch new file mode 100644 index 000000000000..4d0698ed7de5 --- /dev/null +++ b/dev-python/attrs/files/test_funcs-too-slow.patch @@ -0,0 +1,21 @@ +diff --git a/tests/test_funcs.py b/tests/test_funcs.py +index 36969c7..00da655 100644 +--- a/tests/test_funcs.py ++++ b/tests/test_funcs.py +@@ -8,7 +8,7 @@ from collections import OrderedDict, Sequence, Mapping + + import pytest + +-from hypothesis import assume, given, strategies as st ++from hypothesis import assume, given, strategies as st, settings, HealthCheck + + from .utils import simple_classes, nested_classes + +@@ -57,6 +57,7 @@ class TestAsDict(object): + ), dict_factory=dict_class) + + @given(nested_classes, st.sampled_from(MAPPING_TYPES)) ++ @settings(suppress_health_check=[HealthCheck.too_slow]) + def test_recurse_property(self, cls, dict_class): + """ + Property tests for recursive asdict. diff --git a/dev-python/attrs/metadata.xml b/dev-python/attrs/metadata.xml new file mode 100644 index 000000000000..773a1e1640a2 --- /dev/null +++ b/dev-python/attrs/metadata.xml @@ -0,0 +1,16 @@ +<?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="pypi">attrs</remote-id> + <maintainer status="unknown"> + <email>hs@ox.cx</email> + <name>Hynek Schlawack</name> + </maintainer> + <remote-id type="github">hynek/attrs</remote-id> + </upstream> +</pkgmetadata> |