1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-21 02:05:16 +03:00
aports/community/py3-pygithub/APKBUILD
2023-02-25 20:55:21 +00:00

41 lines
884 B
Text

# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=py3-pygithub
_pkgname=PyGithub
pkgver=1.58.0
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="
py3-deprecated
py3-jwt
py3-pynacl
py3-requests
python3
"
checkdepends="
py3-cryptography
py3-httpretty
py3-pytest
"
makedepends="py3-setuptools"
source="https://github.com/PyGithub/PyGithub/archive/v$pkgver/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
python3 setup.py build
}
check() {
pytest-3
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
cbaca0d116be56f6d44084892e52b7073378743178342a480c2b3990542e476bee52947d56f8be950d05d5c06fb8eaeb32acb35285c79e0cbbd8b24239af6cba PyGithub-1.58.0.tar.gz
"