upgpkg: python-awesomeversion 21.2.3-2

This commit is contained in:
2021-03-23 11:30:26 +01:00
parent f06b06a3a0
commit f39610221c
2 changed files with 9 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
pkgbase = python-awesomeversion pkgbase = python-awesomeversion
pkgdesc = One version package to rule them all. pkgdesc = One version package to rule them all.
pkgver = 21.2.3 pkgver = 21.2.3
pkgrel = 1 pkgrel = 2
url = https://github.com/ludeeus/awesomeversion url = https://github.com/ludeeus/awesomeversion
arch = any arch = any
license = MIT license = MIT

View File

@@ -3,7 +3,7 @@
pkgname=python-awesomeversion pkgname=python-awesomeversion
_name=${pkgname#python-} _name=${pkgname#python-}
pkgver=21.2.3 pkgver=21.2.3
pkgrel=1 pkgrel=2
pkgdesc="One version package to rule them all." pkgdesc="One version package to rule them all."
arch=('any') arch=('any')
url="https://github.com/ludeeus/awesomeversion" url="https://github.com/ludeeus/awesomeversion"
@@ -13,6 +13,13 @@ makedepends=('python-setuptools')
source=("$pkgname-$pkgver.tar.gz::https://github.com/ludeeus/$_name/archive/refs/tags/$pkgver.tar.gz") source=("$pkgname-$pkgver.tar.gz::https://github.com/ludeeus/$_name/archive/refs/tags/$pkgver.tar.gz")
b2sums=('63fe640ebe90301b1bdd06ca56353e99921e182e8b78c158f6346a6cb114a7f260bc5746eb5616fb129d1054315c4c8aa87984801e293cd6025adfa59307a691') b2sums=('63fe640ebe90301b1bdd06ca56353e99921e182e8b78c158f6346a6cb114a7f260bc5746eb5616fb129d1054315c4c8aa87984801e293cd6025adfa59307a691')
prepare() {
cd $_name-$pkgver
# replace version "main" with correct version
sed -e "s|version=\"main\"|version=\"$pkgver\"|" -i setup.py
}
build() { build() {
cd $_name-$pkgver cd $_name-$pkgver