Date: Friday, December 24, 2021 @ 20:59:14 Author: arojas Revision: 1083453
New python-cliff dependency Added: python-autopage/ python-autopage/trunk/ python-autopage/trunk/PKGBUILD ----------+ PKGBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) Added: python-autopage/trunk/PKGBUILD =================================================================== --- python-autopage/trunk/PKGBUILD (rev 0) +++ python-autopage/trunk/PKGBUILD 2021-12-24 20:59:14 UTC (rev 1083453) @@ -0,0 +1,29 @@ +# Maintainer: + +pkgname=python-autopage +pkgver=0.4.0 +pkgrel=1 +pkgdesc='A library to provide automatic paging for console output' +arch=(any) +url='https://github.com/zaneb/autopage' +license=(Apache) +depends=(python) +checkdepends=(python-pytest python-fixtures) +makedepends=(python-build python-install python-setuptools python-wheel) +source=(https://pypi.python.org/packages/source/a/autopage/autopage-$pkgver.tar.gz) +sha512sums=('00dd0fc405c6cbeec962e0c6e85ff923c6c8caefd9cb793d668117ae6b25d1086253b4103bc541c35f3883caf7f72f0ef2f5758ca2ce3f7fbef39ac51a188b9c') + +build() { + cd autopage-$pkgver + python -m build --wheel --skip-dependency-check --no-isolation +} + +check() { + cd autopage-$pkgver + pytest +} + +package() { + cd autopage-$pkgver + python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl +}