summaryrefslogtreecommitdiff
path: root/dev-python/nspektr
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-05-12 16:42:50 +0300
committerV3n3RiX <venerix@koprulu.sector>2022-05-12 16:42:50 +0300
commit752d6256e5204b958b0ef7905675a940b5e9172f (patch)
tree330d16e6362a49cbed8875a777fe641a43376cd3 /dev-python/nspektr
parent0c100b7dd2b30e75b799d806df4ef899fd98e1ea (diff)
gentoo resync : 12.05.2022
Diffstat (limited to 'dev-python/nspektr')
-rw-r--r--dev-python/nspektr/Manifest2
-rw-r--r--dev-python/nspektr/nspektr-0.3.0.ebuild15
2 files changed, 9 insertions, 8 deletions
diff --git a/dev-python/nspektr/Manifest b/dev-python/nspektr/Manifest
index b23f72d6f169..6b09b33f1086 100644
--- a/dev-python/nspektr/Manifest
+++ b/dev-python/nspektr/Manifest
@@ -1,3 +1,3 @@
DIST nspektr-0.3.0.tar.gz 6314 BLAKE2B cb7b9b5b35a455d4e72e78d93db49b4f8e274c7d7a6c8bf7ccca52cce2598a937d31b76f1a30c4aa6d673e4ce52c4645ce7392965df35b0888d1c69226e08f00 SHA512 6fc22ad7858858f3b956ba5918ca92468f13d4b7db0e4861b836e63153f7e4319c6468e4f73969ce3fb7845ca8d97808b9db2eb2705a47fe1a8c4c19b9c2ef33
-EBUILD nspektr-0.3.0.ebuild 1661 BLAKE2B 3b995fe730fa870638ec4b072e7ff2f960783520bee0137aee4d874378b718db1668754d609530b88cc28bfcd0fbb6c51b92292dc9523b6793e6b2d1ed97c669 SHA512 8d4c76387ae2d43fc65d24ca45a0d76d61eab05bea9085a8c9f98db624d3c8994e2fb6c35584c0b3006099581019bd7d239b03ce0a96816dfbe2428edfc5d1ba
+EBUILD nspektr-0.3.0.ebuild 1743 BLAKE2B f455eb064a5e15d5a2162da586148a4a8568a7f8e951407d32b4dd3211435d1ee4ab8021f33d9e7938058e1637455ba1744211796862854842bf2e44a956aa9f SHA512 4d2875ebd1004be37d1b2ae1c5825fe137532b96ab942f8912868e5eea4434b1d0091003831428a9a9d907c69198760b5ac5ab8221d7b1697de30e1e53ff2199
MISC metadata.xml 343 BLAKE2B c5ec4b6c1f41692875fcb9a93dea4c0f253339788b94fd667709898e2cc49470f113258137093fd29986ed8fbadf2ea64f95319c51568f12259b8869558bfdab SHA512 da052d5ee619430fbfc021b9eb8d3967dc4d6ca3ce0bc5c9b1badb067d7c0babe12abde3fbc9c4710bc6a0cf081e6bc445504b852ec714f819781e1c4780779a
diff --git a/dev-python/nspektr/nspektr-0.3.0.ebuild b/dev-python/nspektr/nspektr-0.3.0.ebuild
index f7b39a54bef1..e263862fc659 100644
--- a/dev-python/nspektr/nspektr-0.3.0.ebuild
+++ b/dev-python/nspektr/nspektr-0.3.0.ebuild
@@ -5,7 +5,7 @@
EAPI=7
DISTUTILS_USE_PEP517=flit
-PYTHON_COMPAT=( pypy3 python3_{8..10} )
+PYTHON_COMPAT=( pypy3 python3_{8..11} )
inherit distutils-r1
@@ -21,7 +21,7 @@ SRC_URI="
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
RDEPEND="
>=dev-python/jaraco-context-4.1.1-r2[${PYTHON_USEDEP}]
@@ -32,14 +32,15 @@ RDEPEND="
>=dev-python/importlib_metadata-4.11.2[${PYTHON_USEDEP}]
' 3.8 3.9)
"
-BDEPEND="
- test? (
- dev-python/pip[${PYTHON_USEDEP}]
- )
-"
distutils_enable_tests pytest
+src_prepare() {
+ # avoid unnecessary test dep on pip
+ sed -i -e 's:pip:pytest:' nspektr/__init__.py || die
+ distutils-r1_src_prepare
+}
+
src_configure() {
grep -q 'build-backend = "setuptools' pyproject.toml ||
die "Upstream changed build-backend, recheck"