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