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: Fri, 28 May 2021 08:01:33
Message-Id: 1622188884.55eedf6cb6501890f46709b0e59d7157f92b2fb8.mgorny@gentoo
1 commit: 55eedf6cb6501890f46709b0e59d7157f92b2fb8
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri May 28 07:35:05 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri May 28 08:01:24 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55eedf6c
7
8 sys-apps/pkgcore: Bump to 0.12.1
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.1.ebuild | 47 ++++++++++++++++++++++++++++++++++
14 2 files changed, 48 insertions(+)
15
16 diff --git a/sys-apps/pkgcore/Manifest b/sys-apps/pkgcore/Manifest
17 index 4a735e480fe..4e05da8f227 100644
18 --- a/sys-apps/pkgcore/Manifest
19 +++ b/sys-apps/pkgcore/Manifest
20 @@ -1,3 +1,4 @@
21 DIST pkgcore-0.11.6.tar.gz 634191 BLAKE2B c06f24006be697771dd3d7569e3a27310dca56c05047ac991c2db359838dddd5eec78c8d424e826b39968cc496be6e7eb366668bfa45082aac438b663015cb8a SHA512 e556d20100c0234d319ed2e15686a3bb9f388f1cdefd7188958c3c0b32d741dd531cbbe8d377b0736662f66b3241e633491a72a1ce84dd86790e9f543b3d0800
22 DIST pkgcore-0.11.8.tar.gz 631665 BLAKE2B 1e33ce394c1df9418d22fc8653fca4da1b4e27d53325167e3b7231fb8382f3c81daa7a93587ab2226116865546d4ca1ae1dd4265ccc2adc9cb9b27106d9c352b SHA512 42ed7c54db5fa48dffa5e3927afae32d1b4db92da41eff99c8eaa10232fdeae4e0f3f4d39b1e1b4e3881304523822a9a99575648809c554e3bdcf59d9eab485b
23 DIST pkgcore-0.12.0.tar.gz 621376 BLAKE2B d58390ad7251fc48465d744a0b0694210d1f1cf505b072c06dc9731819b327b1edfa60d0f89db113852c87109c6340c8c13c72ae2d89b517d5fca34b53632b6b SHA512 d066a2f2deb4f654b04f9e78d37bf88a97f67f0396f5867ffe3a18f8c0d6459d73721b66cad52a50581ee10420694a1fd195b28a013b3a97cb1ebf08bc59598b
24 +DIST pkgcore-0.12.1.tar.gz 621918 BLAKE2B aa3bedaf4d58d8e604b19ce3e6f97242d29eadbbeab85b7de029d0230a5ea77e2ee96b128381964afe92a327674d64878f833d8c1ddc983c0fe1381b008e2d62 SHA512 a78f3ffd5610f14adb07e2adce07c8446012e742c777d08bbc7ac711bf194508d66a14d21aa56f5d0c9353bd10354fdd34bc6eb4b6017c03bff5d1b565a53575
25
26 diff --git a/sys-apps/pkgcore/pkgcore-0.12.1.ebuild b/sys-apps/pkgcore/pkgcore-0.12.1.ebuild
27 new file mode 100644
28 index 00000000000..864adb52ae1
29 --- /dev/null
30 +++ b/sys-apps/pkgcore/pkgcore-0.12.1.ebuild
31 @@ -0,0 +1,47 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +PYTHON_COMPAT=( python3_{8..9} )
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="dev-python/lxml[${PYTHON_USEDEP}]"
55 +if [[ ${PV} == *9999 ]]; then
56 + RDEPEND+=" ~dev-python/snakeoil-9999[${PYTHON_USEDEP}]"
57 +else
58 + RDEPEND+=" >=dev-python/snakeoil-0.9.6[${PYTHON_USEDEP}]"
59 +fi
60 +BDEPEND="
61 + test? (
62 + >=dev-python/pytest-6[${PYTHON_USEDEP}]
63 + dev-vcs/git
64 + )
65 +"
66 +
67 +distutils_enable_tests setup.py
68 +
69 +src_test() {
70 + local -x PYTHONDONTWRITEBYTECODE=
71 + distutils-r1_src_test
72 +}
73 +
74 +python_install_all() {
75 + local DOCS=( NEWS.rst )
76 + [[ ${PV} == *9999 ]] || doman man/*
77 + distutils-r1_python_install_all
78 +}