From 721c36ceffd6612a5bae3182d499f0ae160ff13a Mon Sep 17 00:00:00 2001 From: "Andreas Billmeier (@Home/mbp)" Date: Mon, 17 Oct 2022 22:29:37 +0200 Subject: [PATCH] dev-python/pywebpush: remove olds, cleanup, enable pytest --- dev-python/pywebpush/Manifest | 2 +- dev-python/pywebpush/pywebpush-1.9.2.ebuild | 18 +++++++++++------- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/dev-python/pywebpush/Manifest b/dev-python/pywebpush/Manifest index 516af3d91..3835ee662 100644 --- a/dev-python/pywebpush/Manifest +++ b/dev-python/pywebpush/Manifest @@ -1,3 +1,3 @@ DIST pywebpush-1.9.2.tar.gz 22223 BLAKE2B 74be94c0db3c34d9bf9a67d2cb6c3d164624dfe36bc93ab5170a24776dfa553fbf86d41d78fbe60f401b6d33178e3ef9363a41f8d0bd3d2c305dd59db9344d43 SHA512 ab67db67afcdef85b3574a65c1c60cd77cd237a03c21a9ff676e39ea0658355648444b8a7bc861834d2e1d16f68f387c5fc0c84492679befef82694ae62e4b30 -EBUILD pywebpush-1.9.2.ebuild 699 BLAKE2B 812e33d7a989d590eb3060cfa5f3dba86beb79b56d2b0a5faf7b6c1db07ec621d263ca4efa701ee9eca2e698740b0b011d960b5bc8ae56319d22fb0b50dc473c SHA512 f948cf53c956126035b91928020b57a917118f29ef4bffa58983d2b167126e07e076519f931246dde75b5bfbf0250f79d6e2ed8e9241cce90fe2c953f0c9806b +EBUILD pywebpush-1.9.2.ebuild 829 BLAKE2B cb716f4adda5a20e1a53433a40172aa4cd61d82ebd514028ebee98232f0acf1ce39bc567b56401c8c549e74a1e4e35c78260e9f7cc577badbe8a72f178b01839 SHA512 13a440eff1bea35a02bfd1cc7729e94b06244e6ca7342e0b609965a0bdd1a58d5cd535a5651c06f0f25f9fe2ccbdb617104ce335ff493bc0f3f4ffbc53fd664a MISC metadata.xml 457 BLAKE2B 44ea576aa073a0b07370a643931db64a83ac4fdbd72a2404736fbdad8cffd4b76f6bbffcbf66028bb784260196f2cda689a140870cf1bcbeeb894a1e1d732b9a SHA512 d987bce16388491662f88ff8f1447a61860b0bef817032d1093ceb2481a9561aae582f0786d50a982c71c0e4650e3821d4030b0f17f3f6cd4a814c8925ee5320 diff --git a/dev-python/pywebpush/pywebpush-1.9.2.ebuild b/dev-python/pywebpush/pywebpush-1.9.2.ebuild index a1a6571bf..e4a75d4c5 100644 --- a/dev-python/pywebpush/pywebpush-1.9.2.ebuild +++ b/dev-python/pywebpush/pywebpush-1.9.2.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="7" +EAPI=8 -PYTHON_COMPAT=( python3_{8..9} ) +PYTHON_COMPAT=( python3_{8..11} ) inherit distutils-r1 @@ -13,19 +13,23 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" LICENSE="MPL-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm arm64 x86" IUSE="test" RESTRICT="!test? ( test )" -RDEPEND="" +RDEPEND="dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + dev-python/http-ece[${PYTHON_USEDEP}] + dev-python/py-vapid[${PYTHON_USEDEP}]" BDEPEND=" dev-python/setuptools[${PYTHON_USEDEP}] test? ( - dev-python/nose[${PYTHON_USEDEP}] dev-python/pytest[${PYTHON_USEDEP}] )" python_test() { - nosetests --verbose || die py.test -v -v || die } + +distutils_enable_tests pytest