mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-20 09:45:12 +03:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
27 lines
795 B
Text
27 lines
795 B
Text
# Contributor: Alex McGrath <amk@amk.ie>
|
|
# Maintainer: Alex McGrath <amk@amk.ie>
|
|
pkgname=py3-semver
|
|
_pkgname=python-semver
|
|
pkgver=2.13.0
|
|
pkgrel=3
|
|
pkgdesc="Python package to work with Semantic Versioning"
|
|
url="https://github.com/python-semver/python-semver"
|
|
arch="all"
|
|
license="BSD-3-Clause"
|
|
depends="python3"
|
|
options="!check" # tox throws an exception
|
|
makedepends="py3-setuptools"
|
|
source="semver-$pkgver.tar.gz::https://github.com/python-semver/python-semver/archive/$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgname-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
ca0d408d8bb7305e90802ea04d935cd7b76b8f166a9ec97ed3427dbc2cf60eeca0b2d27ad0cb2f15f32f5b2589d6717a63717c463183374c5335bf79e1eec222 semver-2.13.0.tar.gz
|
|
"
|