blob: 72c6945b46be7097434608cb68be9c31aaa72bb7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Maintainer: jmcb <joelsgp@protonmail.com>
pkgname=twitch-python
_name=twitch-python
pkgver=0.0.20
pkgrel=2
pkgdesc="Object-oriented Twitch API for Python developers "
arch=('any')
url="https://github.com/PetterKraabol/Twitch-Python"
license=('MIT')
depends=('python'
'python-requests' 'python-rx')
makedepends=('python-setuptools')
checkdepends=('python-pytest' 'python-pytest-cov' 'python-responses')
optdepends=()
provides=('python-twitch-python')
conflicts=()
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=('6e09d7210b8e0abb6892767d722079eb35b14c29e770cdb4df64d569ecbaa17c')
build() {
cd "$_name-$pkgver"
python setup.py build
}
check() {
cd "$_name-$pkgver"
pytest
}
package() {
cd "$_name-$pkgver"
python setup.py install --root="$pkgdir" --optimize=1
}
|