1 |
commit: 32ba2c8151fc59c0e567a0d4cf3aebf1285e6b06 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 29 08:54:30 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 29 09:00:19 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32ba2c81 |
7 |
|
8 |
sys-apps/pkgcore: Remove py<3.8 in 0.10* branch |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
sys-apps/pkgcore/pkgcore-0.10.14-r1.ebuild | 47 ++++++++++++++++++++++++++++++ |
13 |
1 file changed, 47 insertions(+) |
14 |
|
15 |
diff --git a/sys-apps/pkgcore/pkgcore-0.10.14-r1.ebuild b/sys-apps/pkgcore/pkgcore-0.10.14-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 00000000000..259e6675cd1 |
18 |
--- /dev/null |
19 |
+++ b/sys-apps/pkgcore/pkgcore-0.10.14-r1.ebuild |
20 |
@@ -0,0 +1,47 @@ |
21 |
+# Copyright 1999-2021 Gentoo Authors |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=6 |
25 |
+PYTHON_COMPAT=( python3_{8..9} ) |
26 |
+DISTUTILS_IN_SOURCE_BUILD=1 |
27 |
+inherit distutils-r1 |
28 |
+ |
29 |
+if [[ ${PV} == *9999 ]] ; then |
30 |
+ EGIT_REPO_URI="https://github.com/pkgcore/pkgcore.git" |
31 |
+ inherit git-r3 |
32 |
+else |
33 |
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-macos" |
34 |
+ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
35 |
+fi |
36 |
+ |
37 |
+DESCRIPTION="a framework for package management" |
38 |
+HOMEPAGE="https://github.com/pkgcore/pkgcore" |
39 |
+ |
40 |
+LICENSE="BSD MIT" |
41 |
+SLOT="0" |
42 |
+IUSE="test" |
43 |
+RESTRICT="!test? ( test )" |
44 |
+ |
45 |
+RDEPEND="dev-python/lxml[${PYTHON_USEDEP}]" |
46 |
+if [[ ${PV} == *9999 ]]; then |
47 |
+ RDEPEND+=" ~dev-python/snakeoil-9999[${PYTHON_USEDEP}]" |
48 |
+else |
49 |
+ RDEPEND+=" >=dev-python/snakeoil-0.8.9[${PYTHON_USEDEP}]" |
50 |
+fi |
51 |
+DEPEND="${RDEPEND} |
52 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
53 |
+ test? ( |
54 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
55 |
+ dev-vcs/git |
56 |
+ ) |
57 |
+" |
58 |
+ |
59 |
+python_test() { |
60 |
+ esetup.py test |
61 |
+} |
62 |
+ |
63 |
+python_install_all() { |
64 |
+ local DOCS=( NEWS.rst ) |
65 |
+ [[ ${PV} == *9999 ]] || doman man/* |
66 |
+ distutils-r1_python_install_all |
67 |
+} |