[arch-commits] Commit in img2pdf/repos/community-any (PKGBUILD PKGBUILD)

Bruno Pagani archange at gemini.archlinux.org
Thu Nov 11 19:25:52 UTC 2021


    Date: Thursday, November 11, 2021 @ 19:25:52
  Author: archange
Revision: 1042359

archrelease: copy trunk to community-any

Added:
  img2pdf/repos/community-any/PKGBUILD
    (from rev 1042358, img2pdf/trunk/PKGBUILD)
Deleted:
  img2pdf/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   76 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 38 insertions(+), 38 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-11 19:25:28 UTC (rev 1042358)
+++ PKGBUILD	2021-11-11 19:25:52 UTC (rev 1042359)
@@ -1,38 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-pkgname=img2pdf
-pkgver=0.4.2
-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-pikepdf python-setuptools)
-checkdepends=(python-pytest python-numpy python-scipy python-lxml
-              colord ghostscript imagemagick mupdf-tools poppler perl-image-exiftool netpbm)
-source=(https://files.pythonhosted.org/packages/source/i/${pkgname}/${pkgname}-${pkgver}.tar.gz)
-sha256sums=('aacf586503d6113e53bfb03c85c85e546c384413a56c15ddd08ee51c864479a2')
-
-build() {
-    cd ${pkgname}-${pkgver}
-    python setup.py build
-}
-
-check() {
-    cd ${pkgname}-${pkgver}
-    # Different output on Arch?
-    sed -e 's|Joint Photographic Experts Group JFIF format|JPEG|g' \
-        -e 's|JPEG-2000 File Format Syntax|JP2|g' \
-        -e 's|Portable Network Graphics|PNG|g' \
-        -e 's|Tagged Image File Format|TIFF|g' \
-        -e 's|CompuServe graphics interchange format|GIF|g' \
-        -i src/img2pdf_test.py
-    sed 's|usr/share/color/icc/sRGB.icc|usr/share/color/icc/colord/sRGB.icc|g' -i src/img2pdf_test.py
-    # Failures with depth
-    python -m pytest || echo "Tests failed"
-}
-
-package() {
-    cd ${pkgname}-${pkgver}
-    python setup.py install --skip-build --prefix=/usr --root="${pkgdir}" --optimize=1
-}

Copied: img2pdf/repos/community-any/PKGBUILD (from rev 1042358, img2pdf/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-11 19:25:52 UTC (rev 1042359)
@@ -0,0 +1,38 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=img2pdf
+pkgver=0.4.3
+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-pikepdf python-setuptools)
+checkdepends=(python-pytest python-numpy python-scipy python-lxml
+              colord ghostscript imagemagick mupdf-tools openjpeg2 poppler perl-image-exiftool netpbm)
+source=(https://files.pythonhosted.org/packages/source/i/${pkgname}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('8e51c5043efa95d751481b516071a006f87c2a4059961a9ac43ec238915de09f')
+
+build() {
+    cd ${pkgname}-${pkgver}
+    python setup.py build
+}
+
+check() {
+    cd ${pkgname}-${pkgver}
+    # Different output on Arch?
+    sed -e 's|Joint Photographic Experts Group JFIF format|JPEG|g' \
+        -e 's|JPEG-2000 File Format Syntax|JP2|g' \
+        -e 's|Portable Network Graphics|PNG|g' \
+        -e 's|Tagged Image File Format|TIFF|g' \
+        -e 's|CompuServe graphics interchange format|GIF|g' \
+        -i src/img2pdf_test.py
+    sed 's|usr/share/color/icc/sRGB.icc|usr/share/color/icc/colord/sRGB.icc|g' -i src/img2pdf_test.py
+    # Failures with depth
+    python -m pytest || echo "Tests failed"
+}
+
+package() {
+    cd ${pkgname}-${pkgver}
+    python setup.py install --skip-build --prefix=/usr --root="${pkgdir}" --optimize=1
+}



More information about the arch-commits mailing list