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

Antonio Rojas arojas at gemini.archlinux.org
Thu Sep 30 20:46:49 UTC 2021


    Date: Thursday, September 30, 2021 @ 20:46:49
  Author: arojas
Revision: 1026265

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   78 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 39 insertions(+), 39 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-09-30 20:46:32 UTC (rev 1026264)
+++ PKGBUILD	2021-09-30 20:46:49 UTC (rev 1026265)
@@ -1,39 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-pkgname=img2pdf
-pkgver=0.4.0
-pkgrel=2
-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-pdfrw 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=('eaee690ab8403dd1a9cb4db10afee41dd3e6c7ed63bdace02a0121f9feadb0c9')
-
-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|endianess|endianness|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 checksuming and Zip vs None compression
-    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 1026264, img2pdf/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-09-30 20:46:49 UTC (rev 1026265)
@@ -0,0 +1,39 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=img2pdf
+pkgver=0.4.1
+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-pdfrw 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=('38a1229ca84b211d7782d1d65ad7251a9781bf24f6f6497c738c755fcfed5552')
+
+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|endianess|endianness|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 checksuming and Zip vs None compression
+    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