diff options
Diffstat (limited to 'dev-python/python-slip')
| -rw-r--r-- | dev-python/python-slip/metadata.xml | 14 | ||||
| -rw-r--r-- | dev-python/python-slip/python-slip-0.6.5-r1.ebuild (renamed from dev-python/python-slip/python-slip-0.6.5.ebuild) | 22 |
2 files changed, 19 insertions, 17 deletions
diff --git a/dev-python/python-slip/metadata.xml b/dev-python/python-slip/metadata.xml index 36289aa361ce..a18f7729c1f3 100644 --- a/dev-python/python-slip/metadata.xml +++ b/dev-python/python-slip/metadata.xml @@ -1,8 +1,10 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="project"> - <email>virtualization@gentoo.org</email> - <name>Gentoo Virtualization Project</name> - </maintainer> -</pkgmetadata> + <maintainer type="project"> + <email>virtualization@gentoo.org</email> + <name>Gentoo Virtualization Project</name> + </maintainer> + + <origin>gentoo-staging</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/python-slip/python-slip-0.6.5.ebuild b/dev-python/python-slip/python-slip-0.6.5-r1.ebuild index fd51a0faa494..358ddc62e9db 100644 --- a/dev-python/python-slip/python-slip-0.6.5.ebuild +++ b/dev-python/python-slip/python-slip-0.6.5-r1.ebuild @@ -1,13 +1,13 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 DISTUTILS_USE_SETUPTOOLS=no PYTHON_REQ_USE="xml" PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -inherit distutils-r1 eutils +inherit distutils-r1 DESCRIPTION="Miscellaneous convenience, extension and workaround code for Python" HOMEPAGE="https://github.com/nphilipp/python-slip" @@ -15,7 +15,7 @@ SRC_URI="https://github.com/nphilipp/${PN}/releases/download/${P}/${P}.tar.bz2" LICENSE="GPL-2+" SLOT="0" -KEYWORDS="amd64 arm64 ~ppc64 x86" +KEYWORDS="amd64 ~arm arm64 ~ppc64 x86" IUSE="dbus selinux" RDEPEND=" @@ -23,22 +23,22 @@ RDEPEND=" dev-python/dbus-python[${PYTHON_USEDEP}] dev-python/pygobject:3[${PYTHON_USEDEP}] dev-python/six[${PYTHON_USEDEP}] - sys-auth/polkit ) + sys-auth/polkit + ) " -DEPEND="" python_prepare_all() { - use selinux || epatch "${FILESDIR}"/${PN}-0.6.5-no-selinux.patch + use selinux || eapply -p1 "${FILESDIR}"/${PN}-0.6.5-no-selinux.patch - # hard-disable slip.gtk since it did not get ported to gtk3+ and the only user - # of slip (firewalld) does not use it (upstream disables it for py3 already) + # Disable gtk interface since it's gtk-2. sed \ -e 's|sys.version_info.major == 2|False|' \ - -e "s:@VERSION@:${PV}:" setup.py.in > setup.py || die "sed failed" + -e "s:@VERSION@:${PV}:" setup.py.in > setup.py || die + # Enable / disable dbus support by user choice. if ! use dbus; then sed -e '/name="slip.dbus"/ s/\(.*\)/if 0:\n \1/' \ - -i setup.py || die "sed 2 failed" + -i setup.py || die fi distutils-r1_python_prepare_all |
