2017-01-10 11:06:56 -05:00
|
|
|
# Maintainer: Sebastien Leduc <sebastien@sleduc.fr
|
|
|
|
|
|
|
|
pkgname=('python-sleekxmpp' 'python2-sleekxmpp')
|
|
|
|
pkgbase='python-sleekxmpp'
|
|
|
|
_realname='sleekxmpp'
|
2018-06-01 08:08:14 -04:00
|
|
|
pkgver=1.3.3
|
2017-01-10 11:06:56 -05:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="A XMPP library written for Python 3.x"
|
|
|
|
arch=("any")
|
|
|
|
url="http://github.com/fritzy/SleekXMPP"
|
|
|
|
license=('MIT')
|
2017-07-01 12:45:39 -04:00
|
|
|
source=("https://github.com/fritzy/SleekXMPP/archive/sleek-${pkgver}.tar.gz")
|
2018-06-01 08:08:14 -04:00
|
|
|
md5sums=('8707ba293cce2b003d1b93b9d1b0565f')
|
2017-01-10 11:06:56 -05:00
|
|
|
makedepends=("python2" "python")
|
|
|
|
|
|
|
|
package_python-sleekxmpp() {
|
|
|
|
depends=('python')
|
|
|
|
optdepends=('python-dnspython: SRV support')
|
2017-07-01 12:45:39 -04:00
|
|
|
cd "$srcdir/SleekXMPP-sleek-$pkgver"
|
2017-01-10 11:06:56 -05:00
|
|
|
python setup.py install --root="$pkgdir/" --optimize=1
|
|
|
|
}
|
|
|
|
|
|
|
|
package_python2-sleekxmpp() {
|
|
|
|
depends=('python2')
|
|
|
|
optdepends=('python2-dnspython: SRV support')
|
2017-07-01 12:45:39 -04:00
|
|
|
cd "$srcdir/SleekXMPP-sleek-$pkgver"
|
2017-01-10 11:06:56 -05:00
|
|
|
python2 setup.py install --root="$pkgdir/" --optimize=1
|
|
|
|
}
|
|
|
|
# vim:set ts=2 sw=2 et:
|