diff options
author | Caleb Maclennan | 2024-04-28 23:49:17 +0300 |
---|---|---|
committer | Caleb Maclennan | 2024-04-28 23:49:17 +0300 |
commit | 522a08f1fc262c128f8b0901c0567723a2f1a011 (patch) | |
tree | a10118ff85e5d5ab8d96059ae66feb13df1e707f | |
parent | 40bb84fc6b03409cdbd0f224d0148594f695b65d (diff) | |
download | aur-522a08f1fc262c128f8b0901c0567723a2f1a011.tar.gz |
upgpkg: python-pancritic 0.3.2-5
Rebuild for Python 3.12, cleanup packaging odds and ends
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 18 |
2 files changed, 10 insertions, 12 deletions
@@ -1,10 +1,10 @@ pkgbase = python-pancritic pkgdesc = CriticMarkdup parser with optional pandoc backend pkgver = 0.3.2 - pkgrel = 4 + pkgrel = 5 url = https://github.com/ickc/pancritic arch = any - license = GPL3 + license = GPL-3.0-only checkdepends = python-coverage checkdepends = python-markdown checkdepends = python-markdown2 @@ -1,20 +1,13 @@ # Maintainer: Caleb Maclennan <caleb@alerque.com> -# Note upstream test suite is known to be broken (non-deterministic), even the -# upstream CI has an error code hack as seen here in check() to not flunk on -# tests that fail due to differing output across library versions. Given this, -# disabling the test by default for this build seems reasonable until they have -# a deterministic check function. -BUILDENV+=('!check') - _pipname=pancritic pkgname=python-$_pipname pkgver=0.3.2 -pkgrel=4 +pkgrel=5 pkgdesc='CriticMarkdup parser with optional pandoc backend' arch=(any) url="https://github.com/ickc/$_pipname" -license=(GPL3) +license=(GPL-3.0-only) depends=(python) makedepends=(pandoc python-{build,installer,wheel} @@ -39,9 +32,14 @@ build() { python -m build -wn } +# Note upstream test suite is known to be broken (non-deterministic), even the +# upstream CI has an error code hack as seen here in check() to not flunk on +# tests that fail due to differing output across library versions. Given this, +# disabling the test by default for this build seems reasonable until they have +# a deterministic check function. check() { cd "$_archive" - make test ERRORCODE=0 + # make test ERRORCODE=0 } package() { |