mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-util/pkgdev: drop 0.2.8-r1
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST pkgdev-0.2.8.tar.gz 80084 BLAKE2B a0f072d510d2b8c59088be9230f881aef0c1f4a98de42715ffaa4de442263a95f84e997fde84cc5c885b2d15d9d0ca12b8956fd4ba8193662f82a208b525b56a SHA512 61926400ba210282612a695f59606cb0b4035442e79cb48606b2ad8095d7632b26ebc6b3f593d3e7bda52e8da1672d0c98de710a1e231c8b4b37e4bbaa1467b4
|
||||
DIST pkgdev-0.2.9.tar.gz 85237 BLAKE2B db50d7f29313830986443e8e3b3fe6ae202049b1a25b3537de407d13ef7b547a8bc25afe5b520ac29b616e9dba8029d0a50a917f84728473f53a7621b8b7dcc9 SHA512 ff534eaa3ad039998541d7e4bbe39d9bece0a2401652880826c7639829efec3db38bc37352ea1c901121a0092a83518b803e14b484b08ba62462046d51bc81c7
|
||||
|
||||
@@ -1,75 +0,0 @@
|
||||
# Copyright 1999-2023 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 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.4[${PYTHON_USEDEP}]
|
||||
>=sys-apps/pkgcore-0.12.23[${PYTHON_USEDEP}]
|
||||
>=dev-util/pkgcheck-0.10.16[${PYTHON_USEDEP}]
|
||||
"
|
||||
fi
|
||||
|
||||
RDEPEND+="
|
||||
dev-vcs/git
|
||||
"
|
||||
BDEPEND="
|
||||
>=dev-python/flit-core-3.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/snakeoil-0.10.4[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
x11-misc/xdg-utils
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_sphinx doc \
|
||||
">=dev-python/snakeoil-0.10.3" \
|
||||
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"
|
||||
}
|
||||
Reference in New Issue
Block a user