mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 06:48:18 -07:00
dev-util/pkgdev: add 0.2.13
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST pkgdev-0.2.12.tar.gz 87765 BLAKE2B 023c74d8563708d3601489a7df6c3da580ba3388f57ef31f52becf29e1d12725448058a3b237c733a365cbdc2d58523aed199f4ea6888fd96f50c59eca019a9b SHA512 3346b68585a8b5ad24293209fa312816d26e9b11e52135ab6866e993cafd28335d91eac66979cca04470181e4185145df8e0af0f2b98eb06c99ac46f19163c4c
|
||||
DIST pkgdev-0.2.13.tar.gz 88935 BLAKE2B 74f371b85557c375fb228fd827f27d73c6fcb011db7987b5bd7627abe321d43b9eee0a475dc29a6ab83f906faa70b746d4910354d71eddda26de1b9f1b4efda3 SHA512 a488ae2be2cc371d1a8387a352b96e835cb24454a7f9ae67ee2c1fd25dbc5742256c9a3fff377d23bef5f9540f0a10be81f85781b3f1804635129eb413c27b6a
|
||||
|
||||
76
dev-util/pkgdev/pkgdev-0.2.13.ebuild
Normal file
76
dev-util/pkgdev/pkgdev-0.2.13.ebuild
Normal file
@@ -0,0 +1,76 @@
|
||||
# Copyright 1999-2026 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.11.0[${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
|
||||
EPYTEST_PLUGINS=( pkgcore )
|
||||
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"
|
||||
}
|
||||
Reference in New Issue
Block a user