summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederik Schwan2022-07-17 19:51:33 +0200
committerFrederik Schwan2022-07-17 19:51:33 +0200
commitac535eaae666315dcdb8785fd7ce0331e2d607fc (patch)
tree0591aa3d1f175d2f0942c9057c4d8348f2cdd044
parentb91b4709c23cdd95b265c8b5a26dabbc1127a806 (diff)
downloadaur-ac535eaae666315dcdb8785fd7ce0331e2d607fc.tar.gz
upgpkg: pdfposter 0.8-1
upstream release
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD15
2 files changed, 17 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 17c9eb782897..b326f0ec6d6a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,17 @@
pkgbase = pdfposter
pkgdesc = Print large posters on multiple sheets
- pkgver = 0.7.post1
- pkgrel = 2
+ pkgver = 0.8
+ pkgrel = 1
url = https://gitlab.com/pdftools/pdfposter
arch = any
license = GPL3
- makedepends = python-pytest
+ checkdepends = python-pytest
+ makedepends = python-build
+ makedepends = python-installer
+ makedepends = python-setuptools
+ makedepends = python-wheel
depends = python-pypdf2
- depends = python-setuptools
- source = https://gitlab.com/pdftools/pdfposter/-/archive/v0.7.post1/pdfposter-v0.7.post1.tar.bz2
- b2sums = b4dc9ac56ecf76c8b8759ca2c7cba89b5479c1706315d44f4d8852b634a53be048060ecc976355276334e1d8d1114df3818bbc306ff3e3b9f636839644333b24
+ source = https://gitlab.com/pdftools/pdfposter/-/archive/v0.8/pdfposter-v0.8.tar.bz2
+ b2sums = 8d77a54d1680b86831a80d8c2987795f8d972405ab2a84857021e422e2d7272f530a032d980e1ac4f87f2a12f680b7d7d569ed35553a034fba2c2160dfaf9e99
pkgname = pdfposter
-
diff --git a/PKGBUILD b/PKGBUILD
index 973fe274fe86..6391fb866a27 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,20 +3,21 @@
# Contributor: Elena ``of Valhalla'' Grandi <elena.valhalla@gmail.com>
pkgname=pdfposter
-pkgver=0.7.post1
-pkgrel=2
+pkgver=0.8
+pkgrel=1
pkgdesc='Print large posters on multiple sheets'
arch=('any')
url='https://gitlab.com/pdftools/pdfposter'
license=('GPL3')
-depends=('python-pypdf2' 'python-setuptools')
-makedepends=('python-pytest')
+depends=(python-pypdf2)
+makedepends=(python-{build,installer,setuptools,wheel})
+checkdepends=(python-pytest)
source=("https://gitlab.com/pdftools/pdfposter/-/archive/v${pkgver}/pdfposter-v${pkgver}.tar.bz2")
-b2sums=('b4dc9ac56ecf76c8b8759ca2c7cba89b5479c1706315d44f4d8852b634a53be048060ecc976355276334e1d8d1114df3818bbc306ff3e3b9f636839644333b24')
+b2sums=('8d77a54d1680b86831a80d8c2987795f8d972405ab2a84857021e422e2d7272f530a032d980e1ac4f87f2a12f680b7d7d569ed35553a034fba2c2160dfaf9e99')
build() {
cd ${pkgname}-v${pkgver}
- python setup.py build
+ python -m build --wheel --no-isolation
}
check() {
@@ -26,5 +27,5 @@ check() {
package() {
cd ${pkgname}-v${pkgver}
- NO_THIRD_PARTY=true python setup.py install --skip-build --root="${pkgdir}" --optimize=1
+ python -m installer --destdir="$pkgdir" dist/*.whl
}