aports/testing/py3-agithub/APKBUILD
2025-03-17 06:19:07 +00:00

31 lines
856 B
Text

# Maintainer: Marian Buschsieweke <marian.buschsieweke@posteo.net>
pkgname=py3-agithub
pkgver=2.2.2
pkgrel=7
pkgdesc="The Agnostic GitHub API"
url="https://github.com/mozilla/agithub"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools py3-gpep517"
subpackages="$pkgname-pyc"
source="https://github.com/mozilla/agithub/archive/v$pkgver/mautrix-python-v$pkgver.tar.gz"
options="!check" # No tests
builddir="$srcdir/agithub-$pkgver"
build() {
gpep517 build-wheel \
--wheel-dir .dist \
--output-fd 3 3>&1 >&2
}
package() {
gpep517 install-wheel --destdir "$pkgdir" \
.dist/*.whl
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
sha512sums="
8b9761bd31f30965bf9904a017dac3f97a7539987b6aa76a287dab16a698a98972b44e4781f67e312bb1ca4e77d4d15d575e567f08ac791789bd7114e8f430a0 mautrix-python-v2.2.2.tar.gz
"