summaryrefslogtreecommitdiff
path: root/dev-util/pkgdev
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-06-27 07:59:40 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-06-27 07:59:40 +0100
commitd2ed973482fdd800013658e83a61709b29e0a80f (patch)
tree57ea7666a57b5a05a4c8866e4915e90b4a6e7c94 /dev-util/pkgdev
parent9f6a82a85d400d6ae7de04c43cee88dbc6bc4da0 (diff)
gentoo auto-resync : 27:06:2024 - 07:59:39
Diffstat (limited to 'dev-util/pkgdev')
-rw-r--r--dev-util/pkgdev/Manifest3
-rw-r--r--dev-util/pkgdev/pkgdev-0.2.10-r1.ebuild78
-rw-r--r--dev-util/pkgdev/pkgdev-9999.ebuild3
3 files changed, 83 insertions, 1 deletions
diff --git a/dev-util/pkgdev/Manifest b/dev-util/pkgdev/Manifest
index 16a4b606490c..46237e130823 100644
--- a/dev-util/pkgdev/Manifest
+++ b/dev-util/pkgdev/Manifest
@@ -1,4 +1,5 @@
DIST pkgdev-0.2.10.tar.gz 85476 BLAKE2B 2002daa38d445f90cbc2f17ad0e42045b32b5dcefdd85a3485b6e253d9703ad7e59119873718259874de32e7c50e4f5acbacc6c3b40770d55f4d38dbbd7805c4 SHA512 aa9f6465ba44ff67f2b160bc9249583c355e7cc807ce4c797cc8b6d2a4858414a82e702e47ff5b87dc0f6ba70b9c83d515c59a732406437e5325aa3ae7ff95aa
+EBUILD pkgdev-0.2.10-r1.ebuild 1806 BLAKE2B afe832fa24855c0e3daafb76f9789263d9190353b42e60f7244076beaa160fd2375e27b5ff7c3f9583c485e6514bd65422b500bb5c5b1b4deb6fa3d96ff34542 SHA512 c1a1b2e9e85947b2d0f578fbaeca44f0ff6c0a17c2f6c2436c23dd553c6efe1e0b98c2e928e9ecef72a99a652893aa8836b16696258a4b8a2c27bbbe4fb6cccf
EBUILD pkgdev-0.2.10.ebuild 1727 BLAKE2B e0d47b1da47f758d779e3056df523379d44bf558b8ef1e6722ce7549d90f8a28fa2bf3eae6fffa8c5a17b9fa971e8129f74561206cc1ee2c84bfe9ec7372e1de SHA512 497c7a6417c510ca3e4db16aa8fcf927ba6f59364dcac8153774e8f5e2e4f984422174278572f9eabba5a26664523bbbc3ea26927300039703b74a6a90f8bc12
-EBUILD pkgdev-9999.ebuild 1729 BLAKE2B a777826f4477b18a5ec90667ef0847707cfea6d5d43b1dafce6672040616e326fda38e7a5153a61484f8f673fefce99c0f761fbbe8628a0a86969c886f2b56e2 SHA512 3480ac0ffbf8bd20b93f440500d4fcd08d2484bc4e30c7d562c50537bff80d1151e4f2937be5b971821f4a8199e530260291c80fc032f4ee35112b939f955246
+EBUILD pkgdev-9999.ebuild 1800 BLAKE2B 079de03e55c642251d2d3e206beece76d5e23282ee97b7ba75ac32811cbc2eb358b74689fde314c3b0aa7c40ada561ffc03a75b828026f4c15157ab80f731e26 SHA512 ee99685aaa7f0a0214edd6b3a9d6b01f750f3515e71c1d983f35eb931bf4263a235a23f56abd84c0c24f9999b1db616f9d01db0b73fa3492fe0d632392c4c1ef
MISC metadata.xml 449 BLAKE2B f440d395e5453394e7bcc857ccd07b6735bce1b68b3e4ce9d33068c28c5794f6ba65d7394ed6f585dcd3e58ccd3f49ecee4d001ff4e40893db721b5ac869f7ae SHA512 a07c315d071af0ad53ee79f9db3cfd1a8acbdbabfad960cf64025eea1a3759f1ef7d5dcf71bf07b17cbfb6f912513edf118c28d3c24de06223a7a3420cc4438d
diff --git a/dev-util/pkgdev/pkgdev-0.2.10-r1.ebuild b/dev-util/pkgdev/pkgdev-0.2.10-r1.ebuild
new file mode 100644
index 000000000000..1fc8f43e2948
--- /dev/null
+++ b/dev-util/pkgdev/pkgdev-0.2.10-r1.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..12} )
+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 ~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"
+}
diff --git a/dev-util/pkgdev/pkgdev-9999.ebuild b/dev-util/pkgdev/pkgdev-9999.ebuild
index 207bcf10ce9c..a1858addd1ea 100644
--- a/dev-util/pkgdev/pkgdev-9999.ebuild
+++ b/dev-util/pkgdev/pkgdev-9999.ebuild
@@ -40,6 +40,9 @@ 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}]