1
0
mirror of https://github.com/moparisthebest/arch-ppa synced 2024-11-14 04:45:03 -05:00

Add slixmpp

This commit is contained in:
Travis Burtrum 2017-11-06 23:19:43 -05:00
parent a9afafe294
commit c5d551bb3c
3 changed files with 67 additions and 0 deletions

View File

@ -0,0 +1,17 @@
pkgname=python-aiodns
_pkgname=aiodns
pkgver=1.1.1
pkgrel=2
pkgdesc="An asynchronous python DNS library using asyncio"
arch=('i686' 'x86_64')
url="https://github.com/saghul/aiodns"
license=('MIT')
depends=('python' 'python-pycares')
source=("https://github.com/saghul/$_pkgname/archive/$_pkgname-${pkgver}.tar.gz")
sha512sums=('1da5f50b05b1e9a7e69c13f03596b4f74f5cb7500626abace91aba84770f70bbc62336bec33cdbc2bd34b0a97a5973749d08bdc60862876819d42f6356210af6')
package() {
cd "$_pkgname-$_pkgname-$pkgver"
python setup.py install --root="$pkgdir/" --optimize=1
}

View File

@ -0,0 +1,24 @@
pkgname=python-pycares
_pkgname=pycares
pkgver=2.3.0
pkgrel=1
pkgdesc="A python interface for c-ares"
arch=('i686' 'x86_64')
url="https://github.com/saghul/pycares"
license=('MIT')
depends=('python')
makedepends=('python-setuptools')
source=("https://github.com/saghul/$_pkgname/archive/$_pkgname-${pkgver}.tar.gz")
sha512sums=('d9a910b529d3b070b1685f6d89458404f22a5aa7002b01c1772f3eff548e9764826454c41bb69bf2f5b663df39cd1fb71b599b5f1ea88e197218e02942af67c7')
build() {
cd "$srcdir/$_pkgname-$_pkgname-$pkgver"
python setup.py build_ext --inplace
python setup.py build
}
package() {
cd "$srcdir/$_pkgname-$_pkgname-$pkgver"
python setup.py install --root="$pkgdir/" --optimize=1
}

View File

@ -0,0 +1,26 @@
# Maintainer: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
pkgname=python-slixmpp
_pkgbase=slixmpp
pkgver=1.2.4
pkgrel=2
pkgdesc="An XMPP library written for Python 3.4 (SleekXMPP asyncio fork)"
arch=('i686' 'x86_64' 'armv7h' 'aarch64')
url="https://dev.louiz.org/projects/slixmpp"
license=('MIT')
depends=('python' 'python-aiodns' 'libidn' 'python-pyasn1' 'python-pyasn1-modules')
makedepends=('git' 'cython')
options=(!emptydirs)
source=("https://dev.louiz.org/attachments/download/117/$_pkgbase-$pkgver.tar.gz")
sha512sums=('e6d7fff434676cce441683f5bbd70431d84a8e8b72582c60555a2df6297b39b07249768e150bd23eefa16a2c30d449f0ebd0bd7c5d966b86c90f5da2f812bdf3')
build() {
cd $_pkgbase-$pkgver
python setup.py build
}
package() {
cd $_pkgbase-$pkgver
python setup.py install --skip-build --root="$pkgdir/" --optimize=1
}