Add python-sleekxmpp

This commit is contained in:
Travis Burtrum 2017-01-10 11:06:56 -05:00
parent 21f2376fdd
commit 3e55e768e2
3 changed files with 62 additions and 0 deletions

View File

@ -0,0 +1,13 @@
pkgbase = python-sleekxmpp
pkgdesc = A XMPP library written for Python 3.x
pkgver = 1.3.1
pkgrel = 1
url = http://github.com/fritzy/SleekXMPP
arch = any
license = MIT
depends = python
optdepends = python-dnspython: SRV support
source = https://pypi.python.org/packages/source/s/sleekxmpp/sleekxmpp-1.3.1.tar.gz
pkgname = python-sleekxmpp

View File

@ -0,0 +1,20 @@
pkgbase = python-sleekxmpp
pkgdesc = A XMPP library written for Python 3.x
pkgver = 1.3.1
pkgrel = 1
url = http://github.com/fritzy/SleekXMPP
arch = any
license = MIT
makedepends = python2
makedepends = python
source = https://pypi.python.org/packages/source/s/sleekxmpp/sleekxmpp-1.3.1.tar.gz
md5sums = ff7c1154fb238efa83ea64ef91a1bff4
pkgname = python-sleekxmpp
depends = python
optdepends = python-dnspython: SRV support
pkgname = python2-sleekxmpp
depends = python2
optdepends = python2-dnspython: SRV support

View File

@ -0,0 +1,29 @@
# Maintainer: Sebastien Leduc <sebastien@sleduc.fr
pkgname=('python-sleekxmpp' 'python2-sleekxmpp')
pkgbase='python-sleekxmpp'
_realname='sleekxmpp'
pkgver=1.3.1
pkgrel=1
pkgdesc="A XMPP library written for Python 3.x"
arch=("any")
url="http://github.com/fritzy/SleekXMPP"
license=('MIT')
source=("https://pypi.python.org/packages/source/s/sleekxmpp/sleekxmpp-$pkgver.tar.gz")
md5sums=('ff7c1154fb238efa83ea64ef91a1bff4')
makedepends=("python2" "python")
package_python-sleekxmpp() {
depends=('python')
optdepends=('python-dnspython: SRV support')
cd "$srcdir/sleekxmpp-$pkgver"
python setup.py install --root="$pkgdir/" --optimize=1
}
package_python2-sleekxmpp() {
depends=('python2')
optdepends=('python2-dnspython: SRV support')
cd "$srcdir/sleekxmpp-$pkgver"
python2 setup.py install --root="$pkgdir/" --optimize=1
}
# vim:set ts=2 sw=2 et: