summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-util/pkgcheck/pkgcheck-9999.ebuild17
1 files changed, 6 insertions, 11 deletions
diff --git a/dev-util/pkgcheck/pkgcheck-9999.ebuild b/dev-util/pkgcheck/pkgcheck-9999.ebuild
index f3c9d7062d84..2a5d551d17a9 100644
--- a/dev-util/pkgcheck/pkgcheck-9999.ebuild
+++ b/dev-util/pkgcheck/pkgcheck-9999.ebuild
@@ -3,8 +3,8 @@
EAPI=8
+DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..11} )
-DISTUTILS_IN_SOURCE_BUILD=1
inherit elisp-common distutils-r1 optfeature
if [[ ${PV} == *9999 ]] ; then
@@ -29,8 +29,8 @@ if [[ ${PV} == *9999 ]]; then
~sys-apps/pkgcore-9999[${PYTHON_USEDEP}]"
else
RDEPEND="
- >=dev-python/snakeoil-0.10.1[${PYTHON_USEDEP}]
- >=sys-apps/pkgcore-0.12.15[${PYTHON_USEDEP}]"
+ >=dev-python/snakeoil-0.10.3[${PYTHON_USEDEP}]
+ >=sys-apps/pkgcore-0.12.17[${PYTHON_USEDEP}]"
fi
RDEPEND+="
dev-libs/tree-sitter
@@ -46,8 +46,8 @@ RDEPEND+="
app-emacs/flycheck
)
"
-BDEPEND="
- ${RDEPEND}
+BDEPEND="${RDEPEND}
+ dev-python/wheel
test? (
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
@@ -57,7 +57,7 @@ BDEPEND="
SITEFILE="50${PN}-gentoo.el"
-distutils_enable_tests setup.py
+distutils_enable_tests pytest
export USE_SYSTEM_TREE_SITTER_BASH=1
@@ -71,11 +71,6 @@ src_compile() {
fi
}
-src_test() {
- local -x PYTHONDONTWRITEBYTECODE=
- distutils-r1_src_test
-}
-
python_install_all() {
local DOCS=( NEWS.rst )
[[ ${PV} == *9999 ]] || doman man/*