Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / python-urwid
Commits: 057ac80d by Antonio Rojas at 2023-10-27T22:39:44+02:00 upgpkg: 2.2.3-1: Update to 2.2.3 - - - - - 2 changed files: - + .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -0,0 +1,28 @@ +pkgbase = python-urwid + pkgdesc = Curses-based user interface library + pkgver = 2.2.3 + pkgrel = 1 + url = https://urwid.org/ + arch = x86_64 + license = LGPL + checkdepends = python-pytest + checkdepends = python-pytest-cov + checkdepends = python-twisted + checkdepends = python-tornado + checkdepends = python-trio + checkdepends = python-pyzmq + checkdepends = python-gobject + makedepends = git + makedepends = python-build + makedepends = python-installer + makedepends = python-setuptools + makedepends = python-setuptools-scm + makedepends = python-wheel + depends = glibc + depends = python + depends = python-typing-extensions + source = git+https://github.com/urwid/urwid.git#commit=fd35a007e8e43c770b7514114f707d3cc0036096 + sha256sums = SKIP + sha512sums = SKIP + +pkgname = python-urwid ===================================== PKGBUILD ===================================== @@ -5,12 +5,8 @@ _name=urwid pkgname=python-urwid -pkgver=2.1.2.r63.g3c21a42 -# somewhere past 2.1.2 as there has not been a release in years to have Python 3.11 support without bricking dependents -# https://github.com/urwid/urwid/issues/511 -# https://github.com/urwid/urwid/issues/548 -# https://github.com/urwid/urwid/issues/550 -_commit=3c21a429d7275aa79069c7a331fdb3de9138d2b2 +pkgver=2.2.3 +_commit=fd35a007e8e43c770b7514114f707d3cc0036096 pkgrel=1 pkgdesc='Curses-based user interface library' url='https://urwid.org/' @@ -26,8 +22,18 @@ makedepends=( 'python-build' 'python-installer' 'python-setuptools' + 'python-setuptools-scm' 'python-wheel' ) +checkdepends=( + 'python-pytest' + 'python-pytest-cov' + 'python-twisted' + 'python-tornado' + 'python-trio' + 'python-pyzmq' + 'python-gobject' +) source=( git+https://github.com/$_name/$_name.git#commit=$_commit ) @@ -36,7 +42,7 @@ sha512sums=('SKIP') pkgver() { cd $_name - git describe --long --abbrev=7 | sed 's/^release-//;s/\([^-]*-g\)/r\1/;s/-/./g' + git describe --tags | sed 's/^release-//;s/\([^-]*-g\)/r\1/;s/-/./g' } build() { @@ -46,13 +52,12 @@ build() { check() { cd $_name - python -m unittest discover -vs $_name/tests + pytest -v } package() { cd $_name python -m installer --destdir="$pkgdir" dist/*.whl - rm -rv "${pkgdir}"/usr/lib/python*/site-packages/urwid/tests } # vim: ts=2 sw=2 et: View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-urwid/-/commit/057ac80d4012204cb19d197f446127900d03b60f -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-urwid/-/commit/057ac80d4012204cb19d197f446127900d03b60f You're receiving this email because of your account on gitlab.archlinux.org.
