mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 05:47:13 +02:00
testing/py3-pygpgme: build with gpep517
This commit is contained in:
parent
d658d99234
commit
20668dced2
@ -3,13 +3,13 @@
|
|||||||
pkgname=py3-pygpgme
|
pkgname=py3-pygpgme
|
||||||
_pkgname=pygpgme
|
_pkgname=pygpgme
|
||||||
pkgver=0.3.1
|
pkgver=0.3.1
|
||||||
pkgrel=8
|
pkgrel=9
|
||||||
pkgdesc="PyGPGME is a Python module that lets you sign, verify, encrypt and decrypt messages using the OpenPGP format."
|
pkgdesc="PyGPGME is a Python module that lets you sign, verify, encrypt and decrypt messages using the OpenPGP format."
|
||||||
url="https://github.com/rshk/pygpgme/"
|
url="https://github.com/rshk/pygpgme/"
|
||||||
arch="all"
|
arch="all"
|
||||||
license="LGPL-2.1-or-later"
|
license="LGPL-2.1-or-later"
|
||||||
depends="python3"
|
depends="python3"
|
||||||
makedepends="gpgme-dev python3-dev py3-setuptools"
|
makedepends="gpgme-dev python3-dev py3-setuptools py3-gpep517"
|
||||||
subpackages="$pkgname-pyc"
|
subpackages="$pkgname-pyc"
|
||||||
source="$_pkgname-$pkgver.tar.gz::https://github.com/rshk/pygpgme/archive/v$pkgver.tar.gz
|
source="$_pkgname-$pkgver.tar.gz::https://github.com/rshk/pygpgme/archive/v$pkgver.tar.gz
|
||||||
py3.11.patch
|
py3.11.patch
|
||||||
@ -17,11 +17,14 @@ source="$_pkgname-$pkgver.tar.gz::https://github.com/rshk/pygpgme/archive/v$pkgv
|
|||||||
builddir="$srcdir"/$_pkgname-$pkgver
|
builddir="$srcdir"/$_pkgname-$pkgver
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
python3 setup.py build
|
gpep517 build-wheel \
|
||||||
|
--wheel-dir .dist \
|
||||||
|
--output-fd 3 3>&1 >&2
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
python3 setup.py install --skip-build --root="$pkgdir"
|
gpep517 install-wheel --destdir "$pkgdir" \
|
||||||
|
.dist/*.whl
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
|
Loading…
Reference in New Issue
Block a user