mirror of
https://github.com/bertptrs/aur.git
synced 2025-12-27 21:40:31 +01:00
Initial upload: python-opnieuw 1.1.0-1
This commit is contained in:
14
python-opnieuw/.SRCINFO
Normal file
14
python-opnieuw/.SRCINFO
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
pkgbase = python-opnieuw
|
||||||
|
pkgdesc = A general-purpose retrying library, written in pure Python
|
||||||
|
pkgver = 1.1.0
|
||||||
|
pkgrel = 1
|
||||||
|
url = https://github.com/channable/opnieuw
|
||||||
|
arch = any
|
||||||
|
license = BSD
|
||||||
|
checkdepends = python-pytest
|
||||||
|
makedepends = python-setuptools
|
||||||
|
depends = python
|
||||||
|
source = python-opnieuw-1.1.0.tar.gz::https://github.com/channable/opnieuw/archive/refs/tags/v1.1.0.tar.gz
|
||||||
|
sha256sums = 3a59a718f5032d9165d528fe95ea41c539d91eecba8af2c2025e5936f3748e9d
|
||||||
|
|
||||||
|
pkgname = python-opnieuw
|
||||||
29
python-opnieuw/PKGBUILD
Normal file
29
python-opnieuw/PKGBUILD
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
# Maintainer: Bert Peters <bert@bertptrs.nl>
|
||||||
|
pkgname=python-opnieuw
|
||||||
|
pkgver=1.1.0
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="A general-purpose retrying library, written in pure Python"
|
||||||
|
arch=('any')
|
||||||
|
url="https://github.com/channable/opnieuw"
|
||||||
|
license=('BSD')
|
||||||
|
depends=('python')
|
||||||
|
makedepends=('python-setuptools')
|
||||||
|
checkdepends=('python-pytest')
|
||||||
|
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
|
||||||
|
sha256sums=('3a59a718f5032d9165d528fe95ea41c539d91eecba8af2c2025e5936f3748e9d')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "opnieuw-$pkgver"
|
||||||
|
python setup.py build
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
cd "opnieuw-$pkgver"
|
||||||
|
pytest tests
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "opnieuw-$pkgver"
|
||||||
|
python setup.py install --root="$pkgdir" --optimize=1
|
||||||
|
install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user