mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 19:55:26 +03:00
26 lines
893 B
Text
26 lines
893 B
Text
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
|
|
# Maintainer:
|
|
pkgname=py3-semantic-version
|
|
pkgver=2.8.2
|
|
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 --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="d6d7b3eac904c5bb0f73e2c13addcc4c4176c442f8a2139c4b920ceaf4240dfb75a28be074ad36fda175650103412fff97c82a91ece37e864e3e0a1aa411acfb py3-semantic-version-2.8.2.tar.gz"
|