commit: 5ef617d7d47711776342ee6d6f6cb292f362d0d3
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 14 09:41:36 2025 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Jun 14 09:41:55 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ef617d7
dev-util/pkgdev: add 0.2.12
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-util/pkgdev/Manifest | 1 +
dev-util/pkgdev/pkgdev-0.2.12.ebuild | 75 ++++++++++++++++++++++++++++++++++++
2 files changed, 76 insertions(+)
diff --git a/dev-util/pkgdev/Manifest b/dev-util/pkgdev/Manifest
index 6fb3eba6e5e2..34489f8b0bc5 100644
--- a/dev-util/pkgdev/Manifest
+++ b/dev-util/pkgdev/Manifest
@@ -1 +1,2 @@
DIST pkgdev-0.2.11.tar.gz 87611 BLAKE2B
ae864535a9ca9b9b69c4b595a67ddef477cfeacefb24a87258d0725cd912cedcad0ad3d1152f776a115b5230d259a58254e988a1db10d39af46a094fcea3219e
SHA512
7e0a3ca6c11080874f9c49d708c926e7eed7c6591e07f34130e25bd2b2bd4a272e460537684d270095142eded94ed01ca8b547c340b3d3611208aad0ab432633
+DIST pkgdev-0.2.12.tar.gz 87765 BLAKE2B
023c74d8563708d3601489a7df6c3da580ba3388f57ef31f52becf29e1d12725448058a3b237c733a365cbdc2d58523aed199f4ea6888fd96f50c59eca019a9b
SHA512
3346b68585a8b5ad24293209fa312816d26e9b11e52135ab6866e993cafd28335d91eac66979cca04470181e4185145df8e0af0f2b98eb06c99ac46f19163c4c
diff --git a/dev-util/pkgdev/pkgdev-0.2.12.ebuild
b/dev-util/pkgdev/pkgdev-0.2.12.ebuild
new file mode 100644
index 000000000000..8669ea6c6b38
--- /dev/null
+++ b/dev-util/pkgdev/pkgdev-0.2.12.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=standalone
+PYTHON_COMPAT=( python3_{11..14} )
+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 ~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.11[${PYTHON_USEDEP}]
+ >=sys-apps/pkgcore-0.12.30[${PYTHON_USEDEP}]
+ >=dev-util/pkgcheck-0.10.36[${PYTHON_USEDEP}]
+ "
+fi
+
+RDEPEND+="
+ dev-vcs/git
+"
+BDEPEND="
+ >=dev-python/flit-core-3.8[${PYTHON_USEDEP}]
+ >=dev-python/snakeoil-0.10.11[${PYTHON_USEDEP}]
+ test? (
+ x11-misc/xdg-utils
+ )
+"
+
+distutils_enable_sphinx doc \
+ ">=dev-python/snakeoil-0.10.11" \
+ 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/jinja2"
+}