mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
testing/py3-preggy: new aport
http://heynemann.github.io/preggy assertion library for Python
This commit is contained in:
parent
185946c3a5
commit
ad5d046b3b
30
testing/py3-preggy/APKBUILD
Normal file
30
testing/py3-preggy/APKBUILD
Normal file
@ -0,0 +1,30 @@
|
||||
# Contributor: Rejah Rehim <rejah@beaglesecurity.com>
|
||||
# Maintainer: Rejah Rehim <rejah@beaglesecurity.com>
|
||||
pkgname=py3-preggy
|
||||
_pkgname=preggy
|
||||
pkgver=1.4.4
|
||||
pkgrel=0
|
||||
pkgdesc="assertion library for Python"
|
||||
options="!check" # no test suite
|
||||
url="http://heynemann.github.io/preggy"
|
||||
arch="noarch"
|
||||
license="MIT"
|
||||
depends="python3 py3-six py3-unidecode"
|
||||
makedepends="py3-setuptools"
|
||||
subpackages="$pkgname-doc"
|
||||
source="https://files.pythonhosted.org/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
||||
builddir="$srcdir"/$_pkgname-$pkgver
|
||||
|
||||
build() {
|
||||
python3 setup.py build
|
||||
}
|
||||
|
||||
package() {
|
||||
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
||||
install -Dm644 README.md "$pkgdir"/usr/share/licenses/$pkgname/README.md
|
||||
}
|
||||
|
||||
|
||||
sha512sums="
|
||||
6eb6073eb28ba8684f2795c1d9aa93c2a24e50063359a769f7f7d84da2928e25a0ca86d4ac268dce0c2462bbe1a73e76f496325b6175a1218025e15fb7ce4f4c preggy-1.4.4.tar.gz
|
||||
"
|
||||
Loading…
x
Reference in New Issue
Block a user