summaryrefslogtreecommitdiff
path: root/community/py3-semver/APKBUILD
blob: f95a22225d79b7d4830881d9a2137fd3427a44cb (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
27
# 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
"