diff options
Diffstat (limited to 'dev-python/funcy')
-rw-r--r-- | dev-python/funcy/Manifest | 5 | ||||
-rw-r--r-- | dev-python/funcy/funcy-1.14-r1.ebuild (renamed from dev-python/funcy/funcy-1.10.1.ebuild) | 20 | ||||
-rw-r--r-- | dev-python/funcy/funcy-1.14.ebuild | 2 |
3 files changed, 19 insertions, 8 deletions
diff --git a/dev-python/funcy/Manifest b/dev-python/funcy/Manifest index dab2a57d0699..9680382be3f5 100644 --- a/dev-python/funcy/Manifest +++ b/dev-python/funcy/Manifest @@ -1,5 +1,4 @@ -DIST funcy-1.10.1.tar.gz 29657 BLAKE2B fb2de795a5564f7009ff5717b8eadc3cb24a2cd4c30b9b9627861d7c8bcffdc1ea27f480c2895b8733f6dd965fbf9ee0fd7f12f8bbd3cf5f0d291829bc852f4b SHA512 123a5a828bd3cdbd38926923eb3979c4e5bca246da93179321eb1619df22cf6f722b5971d1309a1bdee2eeb362fc7fa85c6769a60efdd668350bf6c7d95e184c DIST funcy-1.14.tar.gz 548493 BLAKE2B fff352d0e0d685fb51fb30302542c2e8893209df1e01912efae06821fbc885b05ab3fea8786d6924b48ddf32cc6bdd6def5e90db1ff949b005437b5d3771c3c0 SHA512 0c7daf1a6d87f56663ae0d37cc65654c79646c313ec530ac57e6ee8de04849b8846556fda10dd762f92e44a5ffa54d32880bed4cd77cec99ae865de0203d123a -EBUILD funcy-1.10.1.ebuild 427 BLAKE2B 5bef5e2eedfd364e39f99b86a8da7cf57245f280e6115d47e78e054dbca41ec8f3e13b0d8194248e2af6a49babc07635005017baad4d0271b948db4022069449 SHA512 6e126cbd12f1554e34733553b50df2ee835884170d99489080cbd479e493dc969368530d5d7dafed8d7c308b498e4248f99ab16e00a73106ac142f5d6f104f9d -EBUILD funcy-1.14.ebuild 438 BLAKE2B b0e5f67af15dffb59b2ab2f0df9f0920ca4c5a6e22ff45452c1875ea5c044bf71282ff14a2b74eec7f529570c9897bf0559f862f9e65452d7ba77dda80140595 SHA512 81357b83df479ef25e0b6865caefda24d93dd7d970a37861520c6786b837b152ef535da3b072f2c0f4f1a0f30ac2e8a4d842cdcc972c27816a9b7c6aa5558af7 +EBUILD funcy-1.14-r1.ebuild 688 BLAKE2B 745451ffc753b2fc12af67351967c54f7d8fce3ddaa5f45979c1972595ecf38f9db0a0cf2e602ed68c46456689f7e83f70dd2c7585cd164e07e076784474afc1 SHA512 4404bae8404555e7e833eb9bfdb680f46be1f0c9a2944bca8972d402878dacac6c423e6dedad90dcf31963ad2eefa98b45a029eccb6050fd785bab7ddc9930b6 +EBUILD funcy-1.14.ebuild 437 BLAKE2B fb54e40503e057cba9fa674148d4e1b91e100363d25a89815687275800249d77bf03fe5491452bd611373502b853f9c1852c28f221807f929a7c3d1aed5edf99 SHA512 45d18ad57bb1d07d28ec0a02391681807a41081a8a363de8f15fd0ffc72aa97bbd7f5181ee8cc70047fdbb6e994aaca88dceda15287c1b3fd5555b9765fa11a4 MISC metadata.xml 315 BLAKE2B 52b30267367a6838d8846e5635823a23d55d16b3ee571d44ce1ff2ed866b1641b4b9dd31017e4f2fb0980e0f3ba74bd1aad168c1c2e7e02c3d193298a3259d30 SHA512 099a8357f523c5c62240f0fc43d7ba5b03b4caf4a6acbdc1a26941ca2f4b551a178bed0802afd9de1ddfe6df6920dc6d48590ba1b2a4cd8741d807ab652964a3 diff --git a/dev-python/funcy/funcy-1.10.1.ebuild b/dev-python/funcy/funcy-1.14-r1.ebuild index 10053c851502..ac375d59f047 100644 --- a/dev-python/funcy/funcy-1.10.1.ebuild +++ b/dev-python/funcy/funcy-1.14-r1.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -PYTHON_COMPAT=( python3_6 python3_7 ) +PYTHON_COMPAT=( python3_6 python3_7 python3_8 ) inherit distutils-r1 DESCRIPTION="A collection of fancy functional tools focused on practicality" @@ -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 dbae274d8803..fcde6d2638cc 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="" |