mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 13:57:14 +02:00
testing/py3-tls_parser: build with gpep517, disable check
This commit is contained in:
parent
9ddeaf4810
commit
71b9324bae
@ -9,24 +9,24 @@ url="https://pypi.org/project/tls-parser/"
|
|||||||
arch="noarch"
|
arch="noarch"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
depends="python3"
|
depends="python3"
|
||||||
makedepends="py3-setuptools"
|
makedepends="py3-setuptools py3-gpep517"
|
||||||
subpackages="$pkgname-pyc"
|
subpackages="$pkgname-pyc"
|
||||||
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
||||||
builddir="$srcdir/$_pkgname-$pkgver"
|
builddir="$srcdir/$_pkgname-$pkgver"
|
||||||
|
options="!check" # no tests provided
|
||||||
|
|
||||||
replaces=py-tls_parser # Backwards compatibility
|
replaces=py-tls_parser # Backwards compatibility
|
||||||
provides=py-tls_parser=$pkgver-r$pkgrel # Backwards compatibility
|
provides=py-tls_parser=$pkgver-r$pkgrel # Backwards compatibility
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
python3 setup.py build
|
gpep517 build-wheel \
|
||||||
}
|
--wheel-dir .dist \
|
||||||
|
--output-fd 3 3>&1 >&2
|
||||||
check() {
|
|
||||||
python3 setup.py check
|
|
||||||
}
|
}
|
||||||
|
|
||||||
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