Date: Friday, December 30, 2022 @ 09:10:15 Author: svenstaro Revision: 1372367
Move python-github3py from AUR as a dep of ansible Added: python-github3py/ python-github3py/repos/ python-github3py/trunk/ python-github3py/trunk/PKGBUILD ----------+ PKGBUILD | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) Added: python-github3py/trunk/PKGBUILD =================================================================== --- python-github3py/trunk/PKGBUILD (rev 0) +++ python-github3py/trunk/PKGBUILD 2022-12-30 09:10:15 UTC (rev 1372367) @@ -0,0 +1,25 @@ +# Maintainer: Sven-Hendrik Haase <[email protected]> +# Contributor: Diego Nieto Cid <[email protected]> + +pkgname=python-github3py +pkgver=3.2.0 +pkgrel=1 +pkgdesc="A comprehensive wrapper around the GitHub API (v3)" +arch=("any") +url="https://github.com/sigmavirus24/github3.py" +license=("BSD") +makedepends=("python-setuptools") +depends=("python" "python-requests" "python-uritemplate" "python-dateutil" "python-jwcrypto") +source=("$pkgname-$pkgver.tar.gz::https://github.com/sigmavirus24/github3.py/archive/refs/tags/$pkgver.tar.gz") +sha256sums=('42cf8e721437a0bcfb05e767302c3221cdc96f3e9db3d76ce990fd0526af1d99') + +build() { + cd "github3.py-${pkgver}" + python setup.py build +} + +package() { + cd "github3.py-${pkgver}" + python setup.py install --skip-build --root="${pkgdir}" --optimize=1 + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/${pkgname}/LICENSE +}
