From a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 4 Jun 2026 16:24:49 -0500 Subject: Adding metadata --- dev-python/pkgcraft/Manifest | 1 - dev-python/pkgcraft/metadata.xml | 15 ------ dev-python/pkgcraft/pkgcraft-0.0.11.ebuild | 81 ------------------------------ dev-python/pkgcraft/pkgcraft-9999.ebuild | 81 ------------------------------ 4 files changed, 178 deletions(-) delete mode 100644 dev-python/pkgcraft/Manifest delete mode 100644 dev-python/pkgcraft/metadata.xml delete mode 100644 dev-python/pkgcraft/pkgcraft-0.0.11.ebuild delete mode 100644 dev-python/pkgcraft/pkgcraft-9999.ebuild (limited to 'dev-python/pkgcraft') diff --git a/dev-python/pkgcraft/Manifest b/dev-python/pkgcraft/Manifest deleted file mode 100644 index 887b18fa57f4..000000000000 --- a/dev-python/pkgcraft/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST pkgcraft-0.0.11.tar.gz 460263 BLAKE2B 5a05390f51dc0cfac2a333601c4296a5e7236262a82afcad74470cd8466933ae0abcc78b5422bd218ca86bcb35176f9d715b4449a8e76315a3dde91fe46cce19 SHA512 a6883db42e7572e1d0cf102372ad72e7276f3add492c14c11ff1654339c1504e96d9b3cf057762f1a35dd17d96f3f63140ebfc0d59d46538b97a2d99167ed146 diff --git a/dev-python/pkgcraft/metadata.xml b/dev-python/pkgcraft/metadata.xml deleted file mode 100644 index 39d39075985d..000000000000 --- a/dev-python/pkgcraft/metadata.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - sam@gentoo.org - Sam James - - - python@gentoo.org - - - pkgcraft/pkgcraft-python - pkgcraft - - diff --git a/dev-python/pkgcraft/pkgcraft-0.0.11.ebuild b/dev-python/pkgcraft/pkgcraft-0.0.11.ebuild deleted file mode 100644 index f292d9f7e252..000000000000 --- a/dev-python/pkgcraft/pkgcraft-0.0.11.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 2023-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{13..14} ) - -inherit distutils-r1 - -DESCRIPTION="Python bindings for pkgcraft" -HOMEPAGE=" - https://pypi.org/project/pkgcraft/ - https://github.com/pkgcraft/pkgcraft-python/ -" - -if [[ ${PV} == 9999 ]] ; then - EGIT_REPO_URI="https://github.com/pkgcraft/pkgcraft-python.git" - inherit git-r3 - - PKGCRAFT_VERSION_MAX="99999" # extra 9 here or 9999 isn't mergable per DEPEND below - PKGCRAFT_VERSION_MIN="9999" -else - SRC_URI="https://github.com/pkgcraft/pkgcraft-python/releases/download/v${PV}/${P/-python}.tar.gz" - S="${WORKDIR}"/${P/-python} - - KEYWORDS="amd64 ~arm64" - - PKGCRAFT_VERSION_MAX="9999" - PKGCRAFT_VERSION_MIN="0.0.16" -fi - -LICENSE="MIT" -SLOT="0" -IUSE="+examples" - -DEPEND=" - =sys-libs/pkgcraft-${PKGCRAFT_VERSION_MIN}:= -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - >=dev-python/cython-3[${PYTHON_USEDEP}] - dev-python/setuptools-scm[${PYTHON_USEDEP}] - virtual/pkgconfig -" - -distutils_enable_tests pytest - -python_prepare_all() { - if [[ ${PV} != 9999 ]] ; then - local actual_pkgcraft_min=$(sed -En '/^MIN_VERSION =/{s/[^0-9.]//gp}' setup.py || die) - if [[ ${actual_pkgcraft_min} != ${PKGCRAFT_VERSION_MIN} ]] ; then - eerror "Expected minimum pkgcraft-c version: ${PKGCRAFT_VERSION_MIN}" - eerror "Actual minimum pkgcraft-c version: ${actual_pkgcraft_min}" - die "Mismatch between setup.py's MIN_VERSION and ebuild!" - fi - fi - - distutils-r1_python_prepare_all -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} - -python_install() { - # Conditional because these aren't installed officially right now - # and the naming is just for convenience. - if use examples ; then - while IFS= read -r -d '' file ; do - python_newexe "${S}"/examples/${file##*/} pkgcraft-${file##*/} - done < <(find "${S}"/examples -type f -executable -print0 || die) - fi - - distutils-r1_python_install -} diff --git a/dev-python/pkgcraft/pkgcraft-9999.ebuild b/dev-python/pkgcraft/pkgcraft-9999.ebuild deleted file mode 100644 index e2fe7ec8c8a3..000000000000 --- a/dev-python/pkgcraft/pkgcraft-9999.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 2023-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{13..14} ) - -inherit distutils-r1 - -DESCRIPTION="Python bindings for pkgcraft" -HOMEPAGE=" - https://pypi.org/project/pkgcraft/ - https://github.com/pkgcraft/pkgcraft-python/ -" - -if [[ ${PV} == 9999 ]] ; then - EGIT_REPO_URI="https://github.com/pkgcraft/pkgcraft-python.git" - inherit git-r3 - - PKGCRAFT_VERSION_MAX="99999" # extra 9 here or 9999 isn't mergable per DEPEND below - PKGCRAFT_VERSION_MIN="9999" -else - SRC_URI="https://github.com/pkgcraft/pkgcraft-python/releases/download/v${PV}/${P/-python}.tar.gz" - S="${WORKDIR}"/${P/-python} - - KEYWORDS="~amd64 ~arm64" - - PKGCRAFT_VERSION_MAX="9999" - PKGCRAFT_VERSION_MIN="0.0.16" -fi - -LICENSE="MIT" -SLOT="0" -IUSE="+examples" - -DEPEND=" - =sys-libs/pkgcraft-${PKGCRAFT_VERSION_MIN}:= -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - >=dev-python/cython-3[${PYTHON_USEDEP}] - dev-python/setuptools-scm[${PYTHON_USEDEP}] - virtual/pkgconfig -" - -distutils_enable_tests pytest - -python_prepare_all() { - if [[ ${PV} != 9999 ]] ; then - local actual_pkgcraft_min=$(sed -En '/^MIN_VERSION =/{s/[^0-9.]//gp}' setup.py || die) - if [[ ${actual_pkgcraft_min} != ${PKGCRAFT_VERSION_MIN} ]] ; then - eerror "Expected minimum pkgcraft-c version: ${PKGCRAFT_VERSION_MIN}" - eerror "Actual minimum pkgcraft-c version: ${actual_pkgcraft_min}" - die "Mismatch between setup.py's MIN_VERSION and ebuild!" - fi - fi - - distutils-r1_python_prepare_all -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} - -python_install() { - # Conditional because these aren't installed officially right now - # and the naming is just for convenience. - if use examples ; then - while IFS= read -r -d '' file ; do - python_newexe "${S}"/examples/${file##*/} pkgcraft-${file##*/} - done < <(find "${S}"/examples -type f -executable -print0 || die) - fi - - distutils-r1_python_install -} -- cgit v1.3.1