blob: f93e57040e4c502568ba33a55acb2b467178d73d (
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=0
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"
|