[arch-commits] Commit in img2pdf/trunk (PKGBUILD)

Bruno Pagani archange at archlinux.org
Wed Apr 29 18:21:56 UTC 2020


    Date: Wednesday, April 29, 2020 @ 18:21:56
  Author: archange
Revision: 622321

upgpkg: img2pdf 0.3.4-1

Modified:
  img2pdf/trunk/PKGBUILD

----------+
 PKGBUILD |   22 ++++++++++++++--------
 1 file changed, 14 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-29 18:15:59 UTC (rev 622320)
+++ PKGBUILD	2020-04-29 18:21:56 UTC (rev 622321)
@@ -1,15 +1,16 @@
 # Maintainer: Bruno Pagani <archange at archlinux.org>
 
 pkgname=img2pdf
-pkgver=0.3.3
-pkgrel=2
+pkgver=0.3.4
+pkgrel=1
 pkgdesc="Losslessly convert raster images to PDF"
-arch=('any')
-url='https://gitlab.mister-muffin.de/josch/img2pdf'
-license=('LGPL3')
-depends=('python-pillow' 'python-setuptools')
-source=("https://files.pythonhosted.org/packages/source/i/${pkgname}/${pkgname}-${pkgver}.tar.gz")
-sha256sums=('9d77c17ee65a736abe92ef8cba9cca009c064ea4ed74492c01aea596e41856cf')
+arch=(any)
+url="https://gitlab.mister-muffin.de/josch/img2pdf"
+license=(LGPL3)
+depends=(python-pillow python-setuptools)
+checkdepends=(python-pdfrw)
+source=(https://files.pythonhosted.org/packages/source/i/${pkgname}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('0b482b7f317b76051fabf6e50e5eea1584b20bdf76b6b54c16b6ef1d5298ee49')
 
 build() {
     cd ${pkgname}-${pkgver}
@@ -16,6 +17,11 @@
     python setup.py build
 }
 
+check() {
+    cd ${pkgname}-${pkgver}
+    python setup.py test
+}
+
 package() {
     cd ${pkgname}-${pkgver}
     python setup.py install --skip-build --prefix=/usr --root="${pkgdir}" --optimize=1



More information about the arch-commits mailing list