Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 411275 - net-im/python-otr-1.0.0_beta6 version bump
Summary: net-im/python-otr-1.0.0_beta6 version bump
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks: 438950
  Show dependency tree
 
Reported: 2012-04-08 13:15 UTC by Mira Ressel
Modified: 2013-11-09 19:07 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Proposed ebuild for net-im/python-otr-1.0.0_beta4 (python-otr-1.0.0_beta4.ebuild,737 bytes, text/plain)
2012-04-08 13:16 UTC, Mira Ressel
Details
python-otr-1.0.0_beta6.ebuild (python-otr-1.0.0_beta6.ebuild,586 bytes, text/plain)
2012-10-27 11:04 UTC, Mira Ressel
Details
python-otr-1.0.0_beta6.ebuild.patch (python-otr-1.0.0_beta6.ebuild.patch,1.42 KB, patch)
2013-08-13 00:01 UTC, Manuel Rüger (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mira Ressel 2012-04-08 13:15:27 UTC
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
Comment 1 Mira Ressel 2012-04-08 13:16:46 UTC
Created attachment 308215 [details]
Proposed ebuild for net-im/python-otr-1.0.0_beta4
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-04-10 13:36:11 UTC
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"
Comment 3 Mira Ressel 2012-10-27 11:04:48 UTC
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.
Comment 4 Manuel Rüger (RETIRED) gentoo-dev 2013-08-13 00:01:43 UTC
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.
Comment 5 Hanno Böck gentoo-dev 2013-11-09 19:07:43 UTC
Package removed, as it's replaced by a gajim-plugin which can be installed via gajim itself and brings its own otr-code.