mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
testing/py3-pygithub: new aport
https://github.com/PyGithub/PyGithub Typed interactions with the GitHub API v3
This commit is contained in:
parent
3af008e6d6
commit
e7d9d6353d
33
testing/py3-pygithub/APKBUILD
Normal file
33
testing/py3-pygithub/APKBUILD
Normal file
@ -0,0 +1,33 @@
|
||||
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
|
||||
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
|
||||
pkgname=py3-pygithub
|
||||
_pkgname=PyGithub
|
||||
pkgver=1.40
|
||||
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"
|
||||
makedepends="python3-dev"
|
||||
source="https://github.com/PyGithub/PyGithub/archive/v$pkgver/$_pkgname-$pkgver.tar.gz"
|
||||
builddir="$srcdir/$_pkgname-$pkgver"
|
||||
|
||||
build() {
|
||||
cd "$builddir"
|
||||
python3 setup.py build
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$builddir"
|
||||
python3 setup.py test
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$builddir"
|
||||
|
||||
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
||||
rm -R "$pkgdir"/usr/lib/python3.*/site-packages/github/tests
|
||||
}
|
||||
|
||||
sha512sums="e8719017ce04db2c25ab8059b124a43a3688d4775861b80a0bcc7a194eaf43cd942eba1da199b76ef35c5bcde364708586c09630a7fac5642867b5a62985efad PyGithub-1.40.tar.gz"
|
||||
Loading…
x
Reference in New Issue
Block a user