[arch-commits] Commit in python-autopage (3 files)

Antonio Rojas arojas at gemini.archlinux.org
Fri Dec 24 20:59:24 UTC 2021


    Date: Friday, December 24, 2021 @ 20:59:24
  Author: arojas
Revision: 1083454

archrelease: copy trunk to community-any

Added:
  python-autopage/repos/
  python-autopage/repos/community-any/
  python-autopage/repos/community-any/PKGBUILD
    (from rev 1083453, python-autopage/trunk/PKGBUILD)

----------+
 PKGBUILD |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Copied: python-autopage/repos/community-any/PKGBUILD (from rev 1083453, python-autopage/trunk/PKGBUILD)
===================================================================
--- repos/community-any/PKGBUILD	                        (rev 0)
+++ repos/community-any/PKGBUILD	2021-12-24 20:59:24 UTC (rev 1083454)
@@ -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
+}



More information about the arch-commits mailing list