mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
32 lines
884 B
Plaintext
32 lines
884 B
Plaintext
# Contributor: Alex McGrath <amk@amk.ie>
|
|
# Maintainer: Alex McGrath <amk@amk.ie>
|
|
pkgname=py3-semver
|
|
_pkgname=python-semver
|
|
pkgver=3.0.0
|
|
pkgrel=1
|
|
pkgdesc="Python package to work with Semantic Versioning"
|
|
url="https://github.com/python-semver/python-semver"
|
|
arch="noarch"
|
|
license="BSD-3-Clause"
|
|
depends="python3"
|
|
options="!check" # tox throws an exception
|
|
makedepends="py3-gpep517 py3-wheel py3-setuptools"
|
|
subpackages="$pkgname-pyc"
|
|
source="semver-$pkgver.tar.gz::https://github.com/python-semver/python-semver/archive/$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgname-$pkgver"
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
28b4f8689ef7695857d652142816f4c19d50c52f8ff7e6275bf7c31a670cab226d2e2f452df85861976ad52360766beea4eee5d1c389f96bfc01f5e883b3bea8 semver-3.0.0.tar.gz
|
|
"
|