mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 03:05:48 +03:00
39 lines
834 B
Text
39 lines
834 B
Text
# Contributor: Andy Hawkins <andy@gently.org.uk>
|
|
# Maintainer: Andy Hawkins <andy@gently.org.uk>
|
|
pkgname=py3-inform
|
|
pkgver=1.25
|
|
pkgrel=0
|
|
pkgdesc="Print & Logging Utilities"
|
|
url="https://inform.readthedocs.io/"
|
|
arch="noarch"
|
|
license="GPL-3.0-or-later"
|
|
depends="
|
|
python3
|
|
py3-arrow
|
|
py3-six
|
|
"
|
|
makedepends="
|
|
py3-pytest-runner
|
|
py3-setuptools
|
|
"
|
|
checkdepends="
|
|
py3-pytest
|
|
py3-hypothesis
|
|
"
|
|
source="https://github.com/KenKundert/inform/archive/v$pkgver/inform-v$pkgver.tar.gz"
|
|
builddir="$srcdir/inform-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
PYTHONPATH="$PWD/build/lib" pytest
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
}
|
|
sha512sums="
|
|
993544c8e9d77b14279aacf012444ad920a3b4d4858de56f1aecccd2294d8b2af4068cf4d1be20c99e0d54b4c2b414e33b5a0a2912d5fad0ea6a1ac192cd7a4c inform-v1.25.tar.gz
|
|
"
|