1 |
commit: 7be00bbd71d88e59121da6ebe9c4e5eb6ea9da5d |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 27 17:45:52 2021 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 27 17:45:52 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7be00bbd |
7 |
|
8 |
dev-python/python-slip: Drop 0.6.5 (r0) |
9 |
|
10 |
Closes: https://bugs.gentoo.org/770955 |
11 |
Package-Manager: Portage-3.0.16, Repoman-3.0.2 |
12 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
13 |
|
14 |
dev-python/python-slip/python-slip-0.6.5.ebuild | 45 ------------------------- |
15 |
1 file changed, 45 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/python-slip/python-slip-0.6.5.ebuild b/dev-python/python-slip/python-slip-0.6.5.ebuild |
18 |
deleted file mode 100644 |
19 |
index 5c28912e855..00000000000 |
20 |
--- a/dev-python/python-slip/python-slip-0.6.5.ebuild |
21 |
+++ /dev/null |
22 |
@@ -1,45 +0,0 @@ |
23 |
-# Copyright 1999-2020 Gentoo Authors |
24 |
-# Distributed under the terms of the GNU General Public License v2 |
25 |
- |
26 |
-EAPI=5 |
27 |
- |
28 |
-DISTUTILS_USE_SETUPTOOLS=no |
29 |
-PYTHON_REQ_USE="xml" |
30 |
-PYTHON_COMPAT=( python3_{7,8,9} ) |
31 |
- |
32 |
-inherit distutils-r1 eutils |
33 |
- |
34 |
-DESCRIPTION="Miscellaneous convenience, extension and workaround code for Python" |
35 |
-HOMEPAGE="https://github.com/nphilipp/python-slip" |
36 |
-SRC_URI="https://github.com/nphilipp/${PN}/releases/download/${P}/${P}.tar.bz2" |
37 |
- |
38 |
-LICENSE="GPL-2+" |
39 |
-SLOT="0" |
40 |
-KEYWORDS="amd64 arm64 ~ppc64 x86" |
41 |
-IUSE="dbus selinux" |
42 |
- |
43 |
-RDEPEND=" |
44 |
- dbus? ( |
45 |
- dev-python/dbus-python[${PYTHON_USEDEP}] |
46 |
- dev-python/pygobject:3[${PYTHON_USEDEP}] |
47 |
- dev-python/six[${PYTHON_USEDEP}] |
48 |
- sys-auth/polkit ) |
49 |
-" |
50 |
-DEPEND="" |
51 |
- |
52 |
-python_prepare_all() { |
53 |
- use selinux || epatch "${FILESDIR}"/${PN}-0.6.5-no-selinux.patch |
54 |
- |
55 |
- # hard-disable slip.gtk since it did not get ported to gtk3+ and the only user |
56 |
- # of slip (firewalld) does not use it (upstream disables it for py3 already) |
57 |
- sed \ |
58 |
- -e 's|sys.version_info.major == 2|False|' \ |
59 |
- -e "s:@VERSION@:${PV}:" setup.py.in > setup.py || die "sed failed" |
60 |
- |
61 |
- if ! use dbus; then |
62 |
- sed -e '/name="slip.dbus"/ s/\(.*\)/if 0:\n \1/' \ |
63 |
- -i setup.py || die "sed 2 failed" |
64 |
- fi |
65 |
- |
66 |
- distutils-r1_python_prepare_all |
67 |
-} |