mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 05:47:13 +02:00
testing/py3-tg: build with gpep517
This commit is contained in:
parent
ccb34eb20f
commit
aacd69c557
@ -3,12 +3,13 @@
|
||||
pkgname=py3-tg
|
||||
_pyname=tg
|
||||
pkgver=0.19.0
|
||||
pkgrel=4
|
||||
pkgrel=5
|
||||
pkgdesc="Terminal telegram client that really works"
|
||||
url="https://github.com/paul-nameless/tg"
|
||||
arch="noarch !s390x"
|
||||
license="Unlicense"
|
||||
depends="python3 py3-telegram py3-setuptools"
|
||||
depends="python3 py3-telegram"
|
||||
makedepends="py3-gpep517 py3-poetry-core"
|
||||
subpackages="$pkgname-pyc"
|
||||
source="
|
||||
$pkgname-$pkgver.tar.gz::https://github.com/paul-nameless/tg/archive/refs/tags/v$pkgver.tar.gz
|
||||
@ -18,11 +19,14 @@ builddir="$srcdir/$_pyname-$pkgver"
|
||||
options="!check"
|
||||
|
||||
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="
|
||||
|
Loading…
Reference in New Issue
Block a user