~dricottone/huttese-apk

ref: e9658fa74f4be6d6bef412c130c0025b9fe28ca1 huttese-apk/sr.ht/py3-pygithub/APKBUILD -rw-r--r-- 935 bytes
e9658fa7 — Drew DeVault builds.sr.ht: normalize worker initd 4 years ago
                                                                                
e801c34f Drew DeVault
f9216d16 Drew DeVault
1ef330f8 Drew DeVault
e801c34f Drew DeVault
f9216d16 Drew DeVault
7e376aeb Drew DeVault
f9216d16 Drew DeVault
e801c34f Drew DeVault
1ef330f8 Drew DeVault
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
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=py3-pygithub
_pyname=PyGithub
pkgver=1.44.1
pkgrel=0
pkgdesc="Typed interactions with the GitHub API v3"
url="https://github.com/PyGithub/PyGithub"
arch="noarch"
license="LGPL-3.0-or-later"
depends="python3 py3-jwt py3-requests py3-deprecated"
makedepends="python3-dev py3-setuptools"
checkdepends="py3-httpretty py3-cryptography"
_pypiprefix="${_pyname%${_pyname#?}}"
source="$pkgname-$pkgver.tar.gz::https://github.com/$_pyname/$_pyname/archive/v$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"
options="!check" # these are broken and hard to fix

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="87b6c05f3bbfa463995b67d0bb257700e8c67050dd291c60737a84c4e8bc6bcbde1c0e2add98ec38174c55f2c21abcf4c46bba8be752d132d7e63e423ab6fd1e  py3-pygithub-1.44.1.tar.gz"