blob: a738c57d211d4e4121ee0b68f2503378dc2c2383 (
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
|
# Maintainer: Vasil Bakalov <jens300304@gmail.com>
pkgname=python-ossapi
url="https://github.com/circleguard/ossapi"
pkgver=2.2.1
pkgrel=1
pkgdesc="A python wrapper for the osu! api."
arch=('any')
license=('MIT')
source=(
"https://github.com/circleguard/ossapi/archive/refs/tags/v${pkgver}.tar.gz"
)
sha256sums=('293d05e981420bce1381daf798dc871c8dfc6192e9ab929f0a12366eaa7cdbae')
depends=(
'python'
'python-requests'
'python-requests-oauthlib'
)
makedepends=('python-setuptools')
conflicts=('python-ossapi-git')
build() {
cd "$srcdir/ossapi-${pkgver}"
# required due to conflict between this and python-osrparse. can't test anyways.
rm -rf tests
python setup.py build
}
package() {
cd "$srcdir/ossapi-${pkgver}"
python setup.py install --root="$pkgdir" --optimize=1
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|