The author of net-im/python-otr has published a new version of his program on Github. The changes are drastical; The package now implements the complete OTR protocol on his own instead of depending on net-libs/libotr. The API has also changed. An ebuild is attached. Reproducible: Always
Created attachment 308215 [details] Proposed ebuild for net-im/python-otr-1.0.0_beta4
Comment on attachment 308215 [details] Proposed ebuild for net-im/python-otr-1.0.0_beta4 --- python-otr-0.2.1.1.ebuild 2011-04-07 21:31:04.000000000 +0200 +++ - 2012-04-10 15:35:52.973782350 +0200 @@ -1,25 +1,30 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $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 $ +# $Header: $ -EAPI="3" -PYTHON_DEPEND="2" -SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="3.* *-jython" +EAPI=4 + +PYTHON_DEPEND=2 +SUPPORT_PYTHON_ABIS=1 +RESTRICT_PYTHON_ABIS="3.*" inherit distutils -DESCRIPTION="Python bindings for OTR encryption" -HOMEPAGE="http://pyotr.pentabarf.de/" -SRC_URI="http://pyotr.pentabarf.de/releases/${P}.tar.gz" +MY_PN="python-potr" # Needed because upstream's versioning scheme differs from ours: +MY_PV=${PV/_beta/b} # Upstream's version: python-potr-1.0.0b4 +MY_P="$MY_PN-$MY_PV" # Our version: python-otr-1.0.0_beta4 + +S="$WORKDIR/$MY_P" + +DESCRIPTION="Python implementation of the OTR encryption protocol" +HOMEPAGE="https://github.com/afflux/pure-python-otr" +SRC_URI="mirror://github/afflux/pure-python-otr/$MY_P.tar.gz" -LICENSE="GPL-3" +LICENSE="LGPL-3" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64" IUSE="" -RDEPEND="net-libs/libotr" -DEPEND="${RDEPEND} - dev-lang/swig" +DEPEND=">=dev-python/pycrypto-2.1" +RDEPEND="${DEPEND}" -PYTHON_MODNAME="otr.py"
Created attachment 327516 [details] python-otr-1.0.0_beta6.ebuild Updated ebuild for python-otr-1.0.0_beta6. Btw, I'd propose a package move from net-im to net-libs.
Created attachment 355828 [details, diff] python-otr-1.0.0_beta6.ebuild.patch Migrated to distutils-r1. One of the tests fails. Please test, if possible.
Package removed, as it's replaced by a gajim-plugin which can be installed via gajim itself and brings its own otr-code.