summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2024-09-06 15:13:04 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2024-09-06 15:21:30 +0300
commit5105fe828f61f21f519c73e851a3fb69fffd6747 (patch)
treed812cf1c10132341829cf932b383dd6842517ad2 /dev-util/pkgdev
parentdev-util/pkgcheck: add 0.10.31 (diff)
downloadgentoo-5105fe828f61f21f519c73e851a3fb69fffd6747.tar.gz
gentoo-5105fe828f61f21f519c73e851a3fb69fffd6747.tar.bz2
gentoo-5105fe828f61f21f519c73e851a3fb69fffd6747.zip
dev-util/pkgdev: add 0.2.11
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-util/pkgdev')
-rw-r--r--dev-util/pkgdev/Manifest1
-rw-r--r--dev-util/pkgdev/pkgdev-0.2.11.ebuild78
2 files changed, 79 insertions, 0 deletions
diff --git a/dev-util/pkgdev/Manifest b/dev-util/pkgdev/Manifest
index 1061ca87324c..9d5023bab4be 100644
--- a/dev-util/pkgdev/Manifest
+++ b/dev-util/pkgdev/Manifest
@@ -1 +1,2 @@
DIST pkgdev-0.2.10.tar.gz 85476 BLAKE2B 2002daa38d445f90cbc2f17ad0e42045b32b5dcefdd85a3485b6e253d9703ad7e59119873718259874de32e7c50e4f5acbacc6c3b40770d55f4d38dbbd7805c4 SHA512 aa9f6465ba44ff67f2b160bc9249583c355e7cc807ce4c797cc8b6d2a4858414a82e702e47ff5b87dc0f6ba70b9c83d515c59a732406437e5325aa3ae7ff95aa
+DIST pkgdev-0.2.11.tar.gz 87611 BLAKE2B ae864535a9ca9b9b69c4b595a67ddef477cfeacefb24a87258d0725cd912cedcad0ad3d1152f776a115b5230d259a58254e988a1db10d39af46a094fcea3219e SHA512 7e0a3ca6c11080874f9c49d708c926e7eed7c6591e07f34130e25bd2b2bd4a272e460537684d270095142eded94ed01ca8b547c340b3d3611208aad0ab432633
diff --git a/dev-util/pkgdev/pkgdev-0.2.11.ebuild b/dev-util/pkgdev/pkgdev-0.2.11.ebuild
new file mode 100644
index 000000000000..04b9b310c02c
--- /dev/null
+++ b/dev-util/pkgdev/pkgdev-0.2.11.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=standalone
+PYTHON_COMPAT=( python3_{10..13} )
+inherit distutils-r1 optfeature
+
+if [[ ${PV} == *9999 ]] ; then
+ EGIT_BRANCH="main"
+ EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/pkgcore/pkgdev.git
+ https://github.com/pkgcore/pkgdev.git"
+ inherit git-r3
+else
+ inherit pypi
+ KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
+fi
+
+DESCRIPTION="Collection of tools for Gentoo development"
+HOMEPAGE="https://github.com/pkgcore/pkgdev"
+
+LICENSE="BSD MIT"
+SLOT="0"
+IUSE="doc"
+
+if [[ ${PV} == *9999 ]] ; then
+ RDEPEND="
+ ~dev-python/snakeoil-9999[${PYTHON_USEDEP}]
+ ~dev-util/pkgcheck-9999[${PYTHON_USEDEP}]
+ ~sys-apps/pkgcore-9999[${PYTHON_USEDEP}]
+ "
+else
+ RDEPEND="
+ >=dev-python/snakeoil-0.10.5[${PYTHON_USEDEP}]
+ >=sys-apps/pkgcore-0.12.23[${PYTHON_USEDEP}]
+ >=dev-util/pkgcheck-0.10.25[${PYTHON_USEDEP}]
+ "
+fi
+
+RDEPEND+="
+ dev-vcs/git
+ $(python_gen_cond_dep '
+ dev-python/tomli[${PYTHON_USEDEP}]
+ ' 3.10)
+"
+BDEPEND="
+ >=dev-python/flit-core-3.8[${PYTHON_USEDEP}]
+ >=dev-python/snakeoil-0.10.5[${PYTHON_USEDEP}]
+ test? (
+ x11-misc/xdg-utils
+ )
+"
+
+distutils_enable_sphinx doc \
+ ">=dev-python/snakeoil-0.10.5" \
+ dev-python/tomli
+distutils_enable_tests pytest
+
+python_compile_all() {
+ use doc && emake PYTHON="${EPYTHON}" man
+
+ sphinx_compile_all # HTML pages only
+}
+
+python_install_all() {
+ # If USE=doc, there'll be newly generated docs which we install instead.
+ if use doc || [[ ${PV} != *9999 ]]; then
+ doman build/sphinx/man/*
+ fi
+
+ distutils-r1_python_install_all
+}
+
+pkg_postinst() {
+ optfeature "sending email support" x11-misc/xdg-utils
+ optfeature "tatt subcommand" "app-portage/nattka dev-python/jinja"
+}