diff options
Diffstat (limited to 'dev-python/funcy')
| -rw-r--r-- | dev-python/funcy/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/funcy/funcy-1.14-r1.ebuild (renamed from dev-python/funcy/funcy-1.10.1.ebuild) | 18 | ||||
| -rw-r--r-- | dev-python/funcy/funcy-1.14.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/funcy/funcy-1.15.ebuild | 31 |
4 files changed, 48 insertions, 5 deletions
diff --git a/dev-python/funcy/Manifest b/dev-python/funcy/Manifest index cf683c3bbd66..9b181f1cc7e2 100644 --- a/dev-python/funcy/Manifest +++ b/dev-python/funcy/Manifest @@ -1,2 +1,2 @@ -DIST funcy-1.10.1.tar.gz 29657 BLAKE2B fb2de795a5564f7009ff5717b8eadc3cb24a2cd4c30b9b9627861d7c8bcffdc1ea27f480c2895b8733f6dd965fbf9ee0fd7f12f8bbd3cf5f0d291829bc852f4b SHA512 123a5a828bd3cdbd38926923eb3979c4e5bca246da93179321eb1619df22cf6f722b5971d1309a1bdee2eeb362fc7fa85c6769a60efdd668350bf6c7d95e184c DIST funcy-1.14.tar.gz 548493 BLAKE2B fff352d0e0d685fb51fb30302542c2e8893209df1e01912efae06821fbc885b05ab3fea8786d6924b48ddf32cc6bdd6def5e90db1ff949b005437b5d3771c3c0 SHA512 0c7daf1a6d87f56663ae0d37cc65654c79646c313ec530ac57e6ee8de04849b8846556fda10dd762f92e44a5ffa54d32880bed4cd77cec99ae865de0203d123a +DIST funcy-1.15.tar.gz 605884 BLAKE2B dbcfe02981a09b2914096c7df9e0f37582dd4250bced71df92a1b10ce655291470f5ecb32ea4557307ba075e121d3199e0928566f9c25256c391ab821363023b SHA512 6e54da954bf11de55251a2732e9cee5617947322ea16a6a918ff3c5d7cb448756d29a39c4e997186cadc30d24270ccf4e6d21af9f108ebaabaed68e0be96f624 diff --git a/dev-python/funcy/funcy-1.10.1.ebuild b/dev-python/funcy/funcy-1.14-r1.ebuild index 1a1071e7e7b0..9d04567a0959 100644 --- a/dev-python/funcy/funcy-1.10.1.ebuild +++ b/dev-python/funcy/funcy-1.14-r1.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 PYTHON_COMPAT=( python3_{6,7,8,9,10} ) inherit distutils-r1 @@ -12,8 +12,20 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" DEPEND="" RDEPEND="${DEPEND}" +BDEPEND=" + ${RDEPEND} + test? ( + dev-python/whatever[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + )" + +python_test() { + distutils_install_for_testing --via-root + pytest || die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/funcy/funcy-1.14.ebuild b/dev-python/funcy/funcy-1.14.ebuild index ef4fd7c71310..1a1071e7e7b0 100644 --- a/dev-python/funcy/funcy-1.14.ebuild +++ b/dev-python/funcy/funcy-1.14.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 x86" +KEYWORDS="amd64 x86" IUSE="" DEPEND="" diff --git a/dev-python/funcy/funcy-1.15.ebuild b/dev-python/funcy/funcy-1.15.ebuild new file mode 100644 index 000000000000..77998fdb776a --- /dev/null +++ b/dev-python/funcy/funcy-1.15.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="A collection of fancy functional tools focused on practicality" +HOMEPAGE="https://github.com/Suor/funcy" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND="" +RDEPEND="${DEPEND}" +BDEPEND=" + ${RDEPEND} + test? ( + dev-python/whatever[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + )" + +python_test() { + distutils_install_for_testing --via-root + pytest || die "Tests fail with ${EPYTHON}" +} |
