summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
Diffstat (limited to 'net-im')
-rw-r--r--net-im/pyaim-t/pyaim-t-0.8.0.1-r1.ebuild14
1 files changed, 10 insertions, 4 deletions
diff --git a/net-im/pyaim-t/pyaim-t-0.8.0.1-r1.ebuild b/net-im/pyaim-t/pyaim-t-0.8.0.1-r1.ebuild
index dc3fd39f456b..fb672c1c6789 100644
--- a/net-im/pyaim-t/pyaim-t-0.8.0.1-r1.ebuild
+++ b/net-im/pyaim-t/pyaim-t-0.8.0.1-r1.ebuild
@@ -1,24 +1,28 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI="5"
+EAPI=5
+
PYTHON_COMPAT=( python2_7 )
+
inherit eutils python-single-r1
MY_PN="pyaimt"
MY_P="${MY_PN}-${PV}"
+
DESCRIPTION="Python based jabber transport for AIM"
HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
SRC_URI="mirror://debian/pool/main/p/${MY_PN}/${MY_PN}_${PV}.orig.tar.gz -> ${P}.tar.gz
https://launchpad.net/ubuntu/+archive/primary/+files/${MY_PN}_${PV}.orig.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/${MY_P}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="webinterface"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-DEPEND="net-im/jabber-base"
+DEPEND="${PYTHON_DEPS}
+ net-im/jabber-base"
RDEPEND="${DEPEND}
dev-python/twisted-core[${PYTHON_USEDEP}]
dev-python/twisted-words[${PYTHON_USEDEP}]
@@ -26,6 +30,8 @@ RDEPEND="${DEPEND}
webinterface? ( >=dev-python/nevow-0.4.1[${PYTHON_USEDEP}] )
dev-python/pillow[${PYTHON_USEDEP}]"
+S="${WORKDIR}/${MY_P}"
+
src_prepare() {
epatch "${FILESDIR}/${P}-python26-warnings.patch"
epatch "${FILESDIR}/${P}-pillow-imaging.patch"