* update psutils to 3.3.5-1

This commit is contained in:
Alexander Baldeck 2024-09-23 20:32:38 +02:00
parent 77f69c4e93
commit 39e9102009
3 changed files with 37 additions and 4 deletions

23
psutils/.SRCINFO Normal file
View File

@ -0,0 +1,23 @@
pkgbase = psutils
pkgdesc = A set of postscript utilities
pkgver = 3.3.5
pkgrel = 1
url = https://github.com/rrthomas/psutils
arch = any
license = GPL-3.0-only
checkdepends = ghostscript
checkdepends = python-pytest-datafiles
checkdepends = python-wand
makedepends = python-build
makedepends = python-installer
makedepends = python-wheel
makedepends = python-argparse-manpage
makedepends = python-setuptools
depends = libpaper
depends = python
depends = python-puremagic
depends = python-pypdf
source = https://github.com/rrthomas/psutils/releases/download/v3.3.5/pspdfutils-3.3.5.tar.gz
sha256sums = 49d0ed8254df3fe60eb4fd74d4dc1ccaf08cc7802ea9d79d83670b45685d5e35
pkgname = psutils

5
psutils/.nvchecker.toml Normal file
View File

@ -0,0 +1,5 @@
[psutils]
source = "github"
github = "rrthomas/psutils"
prefix = "v"
use_max_tag = true

View File

@ -6,8 +6,8 @@
pkgname=psutils
_pyname=pspdfutils
pkgver=3.3.2
pkgrel=2
pkgver=3.3.5
pkgrel=1
pkgdesc='A set of postscript utilities'
arch=(any)
url="https://github.com/rrthomas/$pkgname"
@ -25,11 +25,16 @@ checkdepends=(ghostscript
# provides=("python-$_pyname=$pkgver")
_archive="$_pyname-$pkgver"
source=("$url/releases/download/v$pkgver/$_archive.tar.gz")
sha256sums=('a20a2a1359811bd0ad72e15349351a26774ddf8e355c2cde4250a70cf77fdf0c')
sha256sums=('49d0ed8254df3fe60eb4fd74d4dc1ccaf08cc7802ea9d79d83670b45685d5e35')
prepare() {
cd "$_archive"
sed -i -e '/pytest-datafiles/d' -e '/Wand/d' pyproject.toml
# unpin too-aggressive dependency pinning by just removing them,
# we're providing them anyway
sed -i \
-e '/pytest-datafiles/d' \
-e '/Wand/d' \
pyproject.toml
}
build() {