blob: 17f6b40f11cfb8b1036c4636c097bc7b351c4aac (
plain)
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
28
29
30
31
32
33
|
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=py3-pygithub
_pkgname=PyGithub
pkgver=1.40
pkgrel=1
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 py3-setuptools"
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"
|