diff options
-rw-r--r-- | sys-apps/pkgcore/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/pkgcore/pkgcore-0.12.21.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/sys-apps/pkgcore/Manifest b/sys-apps/pkgcore/Manifest index 82de695ef83e..d673723cc64e 100644 --- a/sys-apps/pkgcore/Manifest +++ b/sys-apps/pkgcore/Manifest @@ -1 +1,2 @@ DIST pkgcore-0.12.20.tar.gz 629420 BLAKE2B d98f992fd37bb6487aaaab39dd15101bddabb24597c2ea05cdf29f3024f0362609701315e3683ac67ce0e5bb64ebc4e348a65f4e74925456bff8c197149c179f SHA512 9ceb254998a522b4a1d519798e6ebb0ea728a20c6d9e5a9e9da7dde0916cf5746b9d22093b5b14b21ccdd177f5e4d23e6c8d069230685bc4476d5a07478aae4d +DIST pkgcore-0.12.21.tar.gz 629769 BLAKE2B d8a558205ef7832a3da082a413804658778fa7b2764f63217528c31db5767ecfebbd3148308e00d637a335a181a9131ea42e9ddff628e21088a3c5bb7570002b SHA512 05821df638967ac881f549d20a92f10b87c1934e135aacafcf8d5c5434596e1c88913fcecf7dc68c4e09d456ac356ca2275b8ce664ee1bda4cf1a024395fea6f diff --git a/sys-apps/pkgcore/pkgcore-0.12.21.ebuild b/sys-apps/pkgcore/pkgcore-0.12.21.ebuild new file mode 100644 index 000000000000..02ada20a3576 --- /dev/null +++ b/sys-apps/pkgcore/pkgcore-0.12.21.ebuild @@ -0,0 +1,47 @@ +# 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_{9..11} ) +inherit distutils-r1 + +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/pkgcore/pkgcore.git + https://github.com/pkgcore/pkgcore.git" + inherit git-r3 +else + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + inherit pypi +fi + +DESCRIPTION="a framework for package management" +HOMEPAGE="https://github.com/pkgcore/pkgcore" + +LICENSE="BSD MIT" +SLOT="0" + +RDEPEND=" + >=app-shells/bash-5.0 + dev-python/lxml[${PYTHON_USEDEP}] +" +if [[ ${PV} == *9999 ]]; then + RDEPEND+=" ~dev-python/snakeoil-9999[${PYTHON_USEDEP}]" +else + RDEPEND+=" >=dev-python/snakeoil-0.10.4[${PYTHON_USEDEP}]" +fi +BDEPEND=" + >=dev-python/flit_core-3.8[${PYTHON_USEDEP}] + test? ( + dev-vcs/git + ) +" + +distutils_enable_tests pytest + +python_install_all() { + local DOCS=( NEWS.rst ) + [[ ${PV} == *9999 ]] || doman build/sphinx/man/* + distutils-r1_python_install_all +} |