Date: Sunday, June 26, 2022 @ 21:26:42 Author: arojas Revision: 1239581
archrelease: copy trunk to community-any Added: python-autopage/repos/community-any/PKGBUILD (from rev 1239580, python-autopage/trunk/PKGBUILD) Deleted: python-autopage/repos/community-any/PKGBUILD ----------+ PKGBUILD | 59 ++++++++++++++++++++++++++++++----------------------------- 1 file changed, 30 insertions(+), 29 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-06-26 21:26:31 UTC (rev 1239580) +++ PKGBUILD 2022-06-26 21:26:42 UTC (rev 1239581) @@ -1,29 +0,0 @@ -# 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 -} Copied: python-autopage/repos/community-any/PKGBUILD (from rev 1239580, python-autopage/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-06-26 21:26:42 UTC (rev 1239581) @@ -0,0 +1,30 @@ +# Maintainer: + +pkgname=python-autopage +pkgver=0.5.1 +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-installer python-setuptools python-wheel) +source=(https://pypi.python.org/packages/source/a/autopage/autopage-$pkgver.tar.gz) +sha512sums=('d2db8091bfdb209319ed8f06cea86abdc33e8ea338290d3a6f99341d78d8a9f079021c21c18c9ee7032f13496ed0d3bfe5a96465473fc747da984452d26c0382') + +build() { + cd autopage-$pkgver + python -m build --wheel --skip-dependency-check --no-isolation +} + +check() { + cd autopage-$pkgver + unset LESS PAGER + pytest -v -k 'not test_end_to_end.py' +} + +package() { + cd autopage-$pkgver + python -m installer --destdir="$pkgdir" dist/*.whl +}