diff options
author | Tiziano Müller <dev-zero@gentoo.org> | 2014-06-17 12:46:42 +0000 |
---|---|---|
committer | Tiziano Müller <dev-zero@gentoo.org> | 2014-06-17 12:46:42 +0000 |
commit | 58d9d8a22c43755f7e9d2a055004350806a09776 (patch) | |
tree | 59c4b96f2ab7c079b4b4408607f8bae722eaecc4 /dev-python | |
parent | Add license IBM-J7.0, (IBM JDK 7) (diff) | |
download | gentoo-2-58d9d8a22c43755f7e9d2a055004350806a09776.tar.gz gentoo-2-58d9d8a22c43755f7e9d2a055004350806a09776.tar.bz2 gentoo-2-58d9d8a22c43755f7e9d2a055004350806a09776.zip |
Version bump (adds py3k support).
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0x1A5D023975B0583D!)
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/python-slip/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/python-slip/python-slip-0.6.0.ebuild | 43 |
2 files changed, 49 insertions, 1 deletions
diff --git a/dev-python/python-slip/ChangeLog b/dev-python/python-slip/ChangeLog index e275a240a2c5..c99e4efaaddd 100644 --- a/dev-python/python-slip/ChangeLog +++ b/dev-python/python-slip/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/python-slip # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/python-slip/ChangeLog,v 1.14 2014/04/26 07:17:36 pacho Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-slip/ChangeLog,v 1.15 2014/06/17 12:46:42 dev-zero Exp $ + +*python-slip-0.6.0 (17 Jun 2014) + + 17 Jun 2014; Tiziano Müller <dev-zero@gentoo.org> +python-slip-0.6.0.ebuild: + Version bump (adds py3k support). 26 Apr 2014; Pacho Ramos <pacho@gentoo.org> -python-slip-0.2.21-r1.ebuild: drop old diff --git a/dev-python/python-slip/python-slip-0.6.0.ebuild b/dev-python/python-slip/python-slip-0.6.0.ebuild new file mode 100644 index 000000000000..48c5de63c029 --- /dev/null +++ b/dev-python/python-slip/python-slip-0.6.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-slip/python-slip-0.6.0.ebuild,v 1.1 2014/06/17 12:46:42 dev-zero Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_3} ) + +inherit distutils-r1 eutils + +DESCRIPTION="Miscellaneous convenience, extension and workaround code for Python" +HOMEPAGE="https://fedorahosted.org/python-slip/" +SRC_URI="https://fedorahosted.org/released/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="dbus selinux" + +RDEPEND=" + dbus? ( + dev-python/dbus-python[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] + sys-auth/polkit ) +" +DEPEND="" + +python_prepare_all() { + use selinux || epatch "${FILESDIR}/${PN}-0.4.0-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) + sed \ + -e 's|sys.version_info.major == 2|False|' \ + -e "s:@VERSION@:${PV}:" setup.py.in > setup.py || die "sed failed" + + if ! use dbus; then + sed -e '/name="slip.dbus"/ s/\(.*\)/if 0:\n \1/' \ + -i setup.py || die "sed 2 failed" + fi + + distutils-r1_python_prepare_all +} |