Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 411275
Collapse All | Expand All

(-)python-otr-0.2.1.1.ebuild (-16 / +23 lines)
Lines 1-25 Link Here
1
# Copyright 1999-2011 Gentoo Foundation
1
# Copyright 1999-2013 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/net-im/python-otr/python-otr-0.2.1.1.ebuild,v 1.3 2011/04/05 17:45:43 arfrever Exp $
3
# $Header: /var/cvsroot/gentoo-x86/net-im/python-otr/python-otr-0.2.1.1.ebuild,v 1.3 2011/04/05 17:45:43 arfrever Exp $
4
4
5
EAPI="3"
5
EAPI=5
6
PYTHON_DEPEND="2"
6
PYTHON_COMPAT=( python2_6 python2_7 )
7
SUPPORT_PYTHON_ABIS="1"
8
RESTRICT_PYTHON_ABIS="3.* *-jython"
9
10
inherit distutils
11
12
DESCRIPTION="Python bindings for OTR encryption"
13
HOMEPAGE="http://pyotr.pentabarf.de/"
14
SRC_URI="http://pyotr.pentabarf.de/releases/${P}.tar.gz"
15
7
16
LICENSE="GPL-3"
8
inherit distutils-r1
9
10
MY_PV=${PV/_/}
11
MY_PN=pure-${PN}
12
MY_P=${MY_PN}-${MY_PV}
13
14
DESCRIPTION="A pure Python OTR implementation"
15
HOMEPAGE="https://github.com/afflux/pure-python-otr http://python-otr-old.pentabarf.de/"
16
SRC_URI="https://github.com/afflux/${MY_PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
17
18
LICENSE="LGPL-3+"
17
SLOT="0"
19
SLOT="0"
18
KEYWORDS="~x86 ~amd64"
20
KEYWORDS="~x86 ~amd64"
19
IUSE=""
21
IUSE=""
20
22
21
RDEPEND="net-libs/libotr"
23
S="${WORKDIR}"/${MY_P}
22
DEPEND="${RDEPEND}
24
23
	dev-lang/swig"
25
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
26
RDEPEND="dev-lang/pycrypto[${PYTHON_USEDEP}]"
24
27
25
PYTHON_MODNAME="otr.py"
28
python_test() {
29
	cd tests || die
30
	${PYTHON} testBasic.py || die
31
	${PYTHON} testCommunicate.py || die
32
}

Return to bug 411275