~dricottone/huttese-apk

ref: 58f3e035c73c01c6fa5853fff0fd13686cb7b15a huttese-apk/sr.ht/py3-pygithub/APKBUILD -rw-r--r-- 931 bytes
58f3e035 — Drew DeVault Add LICENSE (BSD) 4 years ago
                                                                                
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.47
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="2c5804f86e1b3c47eb276dc9256983e3b7b36494e156263cf49b4d2d1e9579194f6d5ed17a7f2a8e9a4eab3824f6c7e8595960b98115feff5acb08bed03d86e3  py3-pygithub-1.47.tar.gz"