aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-semantic-version/APKBUILD
blob: 3e113e8ecdbb79c87906c6235ff6f176817f37d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer:
pkgname=py3-semantic-version
pkgver=2.8.2
pkgrel=2
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"