mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-26 04:35:39 +03:00
30 lines
892 B
Text
30 lines
892 B
Text
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
|
|
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
|
|
pkgname=py3-pygithub
|
|
_pkgname=PyGithub
|
|
pkgver=1.43.8
|
|
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="py3-setuptools"
|
|
checkdepends="py3-httpretty py3-cryptography"
|
|
source="https://github.com/PyGithub/PyGithub/archive/v$pkgver/$_pkgname-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgname-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 -m lib2to3 -w -n tests
|
|
python3 setup.py test
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="dc58166ebb27f855ed4f32448029abe7e53b8050d8d99029d460f2dd94180ca8bcef68a75469293abd021f70cc3c67c32061e6439db1b3f1dc77af464c658bb6 PyGithub-1.43.8.tar.gz"
|