1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-22 18:55:29 +03:00
aports/community/py3-semantic-version/APKBUILD
psykose deb62258ec */*: set --skip-build for python installs
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
2023-01-10 04:19:31 +01:00

28 lines
933 B
Text

# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
pkgname=py3-semantic-version
pkgver=2.10.0
pkgrel=1
pkgdesc="A library implementing the 'SemVer' scheme"
url="https://github.com/rbarrois/python-semanticversion"
arch="noarch"
license="BSD-2-Clause"
depends="python3"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/rbarrois/python-semanticversion/archive/$pkgver.tar.gz"
builddir="$srcdir/python-semanticversion-$pkgver"
replaces=py-semanticversion # Backwards compatibility
provides=py-semanticversion=$pkgver-r$pkgrel # Backwards compatibility
build() {
python3 setup.py build
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
e060dd60db62663c6ebf21fdca33b2390d9bbad15fbdfa504221ab646426f09168caf00e79cee7ed4ef442c23fd587c9e421aa744990101ea626b58f4e320242 py3-semantic-version-2.10.0.tar.gz
"