Deleted package: python-awesomeversion

This commit is contained in:
2021-10-27 11:10:23 +02:00
parent 027dc24eec
commit 26cf7b9b28
2 changed files with 0 additions and 50 deletions

View File

@@ -1,15 +0,0 @@
pkgbase = python-awesomeversion
pkgdesc = One version package to rule them all.
pkgver = 21.10.1
pkgrel = 1
url = https://github.com/ludeeus/awesomeversion
arch = any
license = MIT
makedepends = python-setuptools
depends = python-black
depends = python-pre-commit
depends = python-requests
source = python-awesomeversion-21.10.1.tar.gz::https://github.com/ludeeus/awesomeversion/archive/refs/tags/21.10.1.tar.gz
b2sums = 24ae8550f22ade115b36a38d0d0c20e4f54088dec6d7f40255f42901c632421a47d02a4c81d16a923873937be246f040d244654cd5e709a0d6ca9426100bc39e
pkgname = python-awesomeversion

View File

@@ -1,35 +0,0 @@
# Maintainer: Giovanni Harting <539@idlegandalf.com>
pkgname=python-awesomeversion
_name=${pkgname#python-}
pkgver=21.10.1
pkgrel=1
pkgdesc="One version package to rule them all."
arch=('any')
url="https://github.com/ludeeus/awesomeversion"
license=('MIT')
depends=(python-black python-pre-commit python-requests)
makedepends=('python-setuptools')
source=("$pkgname-$pkgver.tar.gz::https://github.com/ludeeus/$_name/archive/refs/tags/$pkgver.tar.gz")
b2sums=('24ae8550f22ade115b36a38d0d0c20e4f54088dec6d7f40255f42901c632421a47d02a4c81d16a923873937be246f040d244654cd5e709a0d6ca9426100bc39e')
prepare() {
cd $_name-$pkgver
# replace version "main" with correct version
sed -e "s|version=\"main\"|version=\"$pkgver\"|" -i setup.py
}
build() {
cd $_name-$pkgver
python setup.py build
}
package() {
cd $_name-$pkgver
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
install -Dm644 LICENCE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}