mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 05:17:07 +02:00
testing/py3-agithub: build with gpep517
This commit is contained in:
parent
95f5a70caf
commit
58fe9919c2
@ -1,24 +1,29 @@
|
||||
# Maintainer: Marian Buschsieweke <marian.buschsieweke@posteo.net>
|
||||
pkgname=py3-agithub
|
||||
pkgver=2.2.2
|
||||
pkgrel=5
|
||||
pkgrel=6
|
||||
pkgdesc="The Agnostic GitHub API"
|
||||
url="https://github.com/mozilla/agithub"
|
||||
arch="noarch"
|
||||
license="MIT"
|
||||
depends="python3"
|
||||
makedepends="py3-setuptools"
|
||||
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() {
|
||||
python3 setup.py build
|
||||
gpep517 build-wheel \
|
||||
--wheel-dir .dist \
|
||||
--output-fd 3 3>&1 >&2
|
||||
}
|
||||
|
||||
package() {
|
||||
python3 setup.py install --skip-build --root="$pkgdir"
|
||||
gpep517 install-wheel --destdir "$pkgdir" \
|
||||
.dist/*.whl
|
||||
}
|
||||
|
||||
sha512sums="8b9761bd31f30965bf9904a017dac3f97a7539987b6aa76a287dab16a698a98972b44e4781f67e312bb1ca4e77d4d15d575e567f08ac791789bd7114e8f430a0 mautrix-python-v2.2.2.tar.gz"
|
||||
sha512sums="
|
||||
8b9761bd31f30965bf9904a017dac3f97a7539987b6aa76a287dab16a698a98972b44e4781f67e312bb1ca4e77d4d15d575e567f08ac791789bd7114e8f430a0 mautrix-python-v2.2.2.tar.gz
|
||||
"
|
||||
|
Loading…
Reference in New Issue
Block a user