diff options
Diffstat (limited to 'sys-apps/pkgcore')
-rw-r--r-- | sys-apps/pkgcore/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/pkgcore/pkgcore-0.12.18.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/sys-apps/pkgcore/Manifest b/sys-apps/pkgcore/Manifest index c1d1f55b2050..1a97e9c96427 100644 --- a/sys-apps/pkgcore/Manifest +++ b/sys-apps/pkgcore/Manifest @@ -1,2 +1,3 @@ DIST pkgcore-0.12.16.tar.gz 623795 BLAKE2B b591aeaa5d780f0b273d446d1bdbdf33a44d085aa4975d3c5f394820a6f479c15da7850a699c92a56cb280ee028d922551c7226801dea6f4c34620bde3859c31 SHA512 acd7c478b342349e66dfda5ed1284663037b221e39b557215d1441e8a908c845fe26e274bcfd97b1879f5792fc017437cd0fbde1cdffc5ebc595a34fa56d2589 DIST pkgcore-0.12.17.tar.gz 615375 BLAKE2B 9aabdeead2997e53ee3c966c908a231ff5e3b85422844538f47ff7bed03611459224ad7e931a9e94f0e376f221bd5c54f0f77f7883543cbd5b03c4dba6ba591b SHA512 9bad9b6e6177873b9187cff66b6b51c644a59a2d9f01b8ca110bc49006d6f0221c2c3b145d7cf5cec6f3c7526b6751100d56df13350b674a68ab5bbf19f10131 +DIST pkgcore-0.12.18.tar.gz 630331 BLAKE2B a3be66c1af3b455733cadfeb0117f37593187dda3d8653532a5f32b6292e9350363514b3d6bf0fcd10b32187b5f257f90985cd752739998bfe4d2f6aa2cab2c7 SHA512 c8ca97cd27f5ba37f6baa160e1a387789e1477ca689e477e9f3f68cb8acd1a27b9fb9f77f3eb11e0babad7461f0c27ce08ec619abfd4c259fdcfd203ec325dc0 diff --git a/sys-apps/pkgcore/pkgcore-0.12.18.ebuild b/sys-apps/pkgcore/pkgcore-0.12.18.ebuild new file mode 100644 index 000000000000..005d9ddb6987 --- /dev/null +++ b/sys-apps/pkgcore/pkgcore-0.12.18.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2022 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" + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +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 +} |