Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/pkgcore/
Date: Thu, 02 Sep 2021 14:21:20
Message-Id: 1630592470.0f2229514fe06484ac4d49224831d9a9d96db9ff.mgorny@gentoo
1 commit: 0f2229514fe06484ac4d49224831d9a9d96db9ff
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 2 13:08:38 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 2 14:21:10 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f222951
7
8 sys-apps/pkgcore: Bump to 0.12.6
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 sys-apps/pkgcore/Manifest | 1 +
13 sys-apps/pkgcore/pkgcore-0.12.6.ebuild | 50 ++++++++++++++++++++++++++++++++++
14 2 files changed, 51 insertions(+)
15
16 diff --git a/sys-apps/pkgcore/Manifest b/sys-apps/pkgcore/Manifest
17 index 5c0dc3ee42a..47d1c7827df 100644
18 --- a/sys-apps/pkgcore/Manifest
19 +++ b/sys-apps/pkgcore/Manifest
20 @@ -1,2 +1,3 @@
21 DIST pkgcore-0.12.4.tar.gz 622553 BLAKE2B fc9df4f9499ad20cec439275880e469e1ffd8204b894c0a523ed27a3e55748e58634fca2af693fcc453e8aec068733a944331f7cea52e983e50981374239d534 SHA512 bc9eccd8d903e987df97354de008826dd52a7db0d9def064c56bb9425d1aa69e8fdf15dcfd0f86057c98a3c0adefee633a3c1cc9b689a334c126730cbdeafd0c
22 DIST pkgcore-0.12.5.tar.gz 624424 BLAKE2B ebd6c0976e6b509e98a085a99f8b1d87e2239eae8b5171a4e027495febf532f67a129ae5d55f4722746d0b74c658772d75cfe52477fcdabc765d26849dda072d SHA512 0833588cd01d732d71e11d4e7e9735884a69cad971e50dbed7285a03a89eb51c396663a4ffe5f179a9fc3019bfc80e959e1e41f1df8f6d73939a41c137bbb062
23 +DIST pkgcore-0.12.6.tar.gz 624740 BLAKE2B fb03cffd274d8c31f6eff33a0f9133dc0ef84a7e671d6f29cda938fca3e353d498173ae3e5ce7c5b7433e5e668096ae63ed7c4cc7108ad6edc7db3c247ce85df SHA512 18d01f7a52a7aeae0fcfd8ce81e27f98a204c3743e211a2dd182cabd6521c9d528663affbd98521a41ada17cbece860fce61d9e6a2dff2ca525da26741807c95
24
25 diff --git a/sys-apps/pkgcore/pkgcore-0.12.6.ebuild b/sys-apps/pkgcore/pkgcore-0.12.6.ebuild
26 new file mode 100644
27 index 00000000000..5c7eeb03645
28 --- /dev/null
29 +++ b/sys-apps/pkgcore/pkgcore-0.12.6.ebuild
30 @@ -0,0 +1,50 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +PYTHON_COMPAT=( python3_{8..10} )
37 +DISTUTILS_IN_SOURCE_BUILD=1
38 +inherit distutils-r1
39 +
40 +if [[ ${PV} == *9999 ]] ; then
41 + EGIT_REPO_URI="https://github.com/pkgcore/pkgcore.git"
42 + inherit git-r3
43 +else
44 + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
45 + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
46 +fi
47 +
48 +DESCRIPTION="a framework for package management"
49 +HOMEPAGE="https://github.com/pkgcore/pkgcore"
50 +
51 +LICENSE="BSD MIT"
52 +SLOT="0"
53 +
54 +RDEPEND="
55 + >=app-shells/bash-5.0
56 + dev-python/lxml[${PYTHON_USEDEP}]"
57 +if [[ ${PV} == *9999 ]]; then
58 + RDEPEND+=" ~dev-python/snakeoil-9999[${PYTHON_USEDEP}]"
59 +else
60 + RDEPEND+=" >=dev-python/snakeoil-0.9.6[${PYTHON_USEDEP}]"
61 +fi
62 +BDEPEND="
63 + test? (
64 + >=dev-python/pytest-6[${PYTHON_USEDEP}]
65 + dev-vcs/git
66 + )
67 +"
68 +
69 +distutils_enable_tests setup.py
70 +
71 +src_test() {
72 + local -x PYTHONDONTWRITEBYTECODE=
73 + distutils-r1_src_test
74 +}
75 +
76 +python_install_all() {
77 + local DOCS=( NEWS.rst )
78 + [[ ${PV} == *9999 ]] || doman man/*
79 + distutils-r1_python_install_all
80 +}