diff options
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..24f7ccd2a198 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +# Generated by mksrcinfo v8 +# Wed Dec 20 14:34:28 UTC 2017 +pkgbase = python-asks + pkgdesc = asks - async http + pkgver = 1.3.8 + pkgrel = 1 + url = https://github.com/theelous3/asks + arch = any + license = MIT + makedepends = python-setuptools + depends = python + depends = python-trio + source = https://pypi.python.org/packages/bb/8f/042ca93614a1f62e02ae5e0bff224c39a53762f224226ad12370c65ac6c5/asks-1.3.8.tar.gz + md5sums = 8c0a8133aec1d006ba5ebda0e1862bcf + +pkgname = python-asks + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..fbbbcb5fe772 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +_pkgname=asks +pkgname=python-asks +pkgver=1.3.8 +pkgrel=1 +pkgdesc="asks - async http" +arch=('any') +url="https://github.com/theelous3/asks" +license=('MIT') +depends=('python' 'python-trio') +makedepends=('python-setuptools') +source=('https://pypi.python.org/packages/bb/8f/042ca93614a1f62e02ae5e0bff224c39a53762f224226ad12370c65ac6c5/asks-1.3.8.tar.gz') +md5sums=('8c0a8133aec1d006ba5ebda0e1862bcf') + +build() { + cd "$srcdir/$_pkgname-$pkgver" + LANG=en_US.UTF-8 python3 setup.py build +} + +package() { + cd "$srcdir/$_pkgname-$pkgver" + LANG=en_US.UTF-8 python3 setup.py install --root=$pkgdir --optimize=1 --skip-build +} + +# vim:set sw=2 et: |