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

Daniel M. Capella polyzen at gemini.archlinux.org
Fri Jul 1 19:28:25 UTC 2022


    Date: Friday, July 1, 2022 @ 19:28:25
  Author: polyzen
Revision: 1243446

archrelease: copy trunk to community-any

Added:
  python-imagesize/repos/community-any/PKGBUILD
    (from rev 1243445, python-imagesize/trunk/PKGBUILD)
Deleted:
  python-imagesize/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   65 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 34 insertions(+), 31 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-07-01 19:27:57 UTC (rev 1243445)
+++ PKGBUILD	2022-07-01 19:28:25 UTC (rev 1243446)
@@ -1,31 +0,0 @@
-pkgname=python-imagesize
-pkgver=1.3.0
-pkgrel=3
-
-pkgdesc='Getting image size from png/jpeg/jpeg2000/gif file'
-url='https://github.com/shibukawa/imagesize_py'
-arch=('any')
-license=('MIT')
-
-depends=('python')
-makedepends=('python-setuptools')
-
-source=("https://files.pythonhosted.org/packages/source/i/imagesize/imagesize-$pkgver.tar.gz")
-
-sha256sums=('cd1750d452385ca327479d45b64d9c7729ecf0b3969a58148298c77092261f9d')
-
-build() {
-  cd "$srcdir"/imagesize-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd "$srcdir"/imagesize-$pkgver
-  python -m unittest discover -v
-}
-
-package() {
-  cd imagesize-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  install -Dm644 LICENSE.rst "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.rst
-}

Copied: python-imagesize/repos/community-any/PKGBUILD (from rev 1243445, python-imagesize/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-07-01 19:28:25 UTC (rev 1243446)
@@ -0,0 +1,34 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+pkgname=python-imagesize
+pkgver=1.4.1
+pkgrel=1
+
+pkgdesc='Analyzes JPEG/JPEG 2000/PNG/GIF/TIFF/SVG/Netpbm/WebP image headers and returns image size or DPI'
+url='https://github.com/shibukawa/imagesize_py'
+arch=('any')
+license=('MIT')
+
+depends=('python')
+makedepends=('python-setuptools')
+
+source=("https://files.pythonhosted.org/packages/source/i/imagesize/imagesize-$pkgver.tar.gz")
+
+sha256sums=('69150444affb9cb0d5cc5a92b3676f0b2fb7cd9ae39e947a5e11a36b4497cd4a')
+
+build() {
+  cd imagesize-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd imagesize-$pkgver
+  python -m unittest discover -v
+}
+
+package() {
+  cd imagesize-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE.rst
+}



More information about the arch-commits mailing list