Date: Sunday, April 9, 2023 @ 20:12:29
Author: felixonmars
Revision: 1443505
archrelease: copy trunk to community-staging-any
Added:
python-imagesize/repos/community-staging-any/PKGBUILD
(from rev 1443504, python-imagesize/trunk/PKGBUILD)
Deleted:
python-imagesize/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 80 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 40 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-04-09 20:12:21 UTC (rev 1443504)
+++ PKGBUILD 2023-04-09 20:12:29 UTC (rev 1443505)
@@ -1,40 +0,0 @@
-# Maintainer: Johannes Löthberg <[email protected]>
-# Maintainer: Daniel M. Capella <[email protected]>
-
-pkgname=python-imagesize
-pkgver=1.4.1
-pkgrel=3
-
-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-build' 'python-installer' 'python-setuptools'
- 'python-wheel')
-
-source=("https://files.pythonhosted.org/packages/source/i/imagesize/imagesize-$pkgver.tar.gz")
-
-sha256sums=('69150444affb9cb0d5cc5a92b3676f0b2fb7cd9ae39e947a5e11a36b4497cd4a')
-
-build() {
- cd imagesize-$pkgver
- python -m build --wheel --skip-dependency-check --no-isolation
-}
-
-check() {
- cd imagesize-$pkgver
- python -m unittest discover -v
-}
-
-package() {
- cd imagesize-$pkgver
- python -m installer --destdir="$pkgdir" dist/*.whl
-
- # Symlink license file
- local site_packages=$(python -c "import site;
print(site.getsitepackages()[0])")
- install -d "$pkgdir"/usr/share/licenses/$pkgname
- ln -s "$site_packages"/imagesize-$pkgver.dist-info/LICENSE.rst \
- "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.rst
-}
Copied: python-imagesize/repos/community-staging-any/PKGBUILD (from rev
1443504, python-imagesize/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-04-09 20:12:29 UTC (rev 1443505)
@@ -0,0 +1,40 @@
+# Maintainer: Johannes Löthberg <[email protected]>
+# Maintainer: Daniel M. Capella <[email protected]>
+
+pkgname=python-imagesize
+pkgver=1.4.1
+pkgrel=4
+
+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-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
+
+source=("https://files.pythonhosted.org/packages/source/i/imagesize/imagesize-$pkgver.tar.gz")
+
+sha256sums=('69150444affb9cb0d5cc5a92b3676f0b2fb7cd9ae39e947a5e11a36b4497cd4a')
+
+build() {
+ cd imagesize-$pkgver
+ python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+ cd imagesize-$pkgver
+ python -m unittest discover -v
+}
+
+package() {
+ cd imagesize-$pkgver
+ python -m installer --destdir="$pkgdir" dist/*.whl
+
+ # Symlink license file
+ local site_packages=$(python -c "import site;
print(site.getsitepackages()[0])")
+ install -d "$pkgdir"/usr/share/licenses/$pkgname
+ ln -s "$site_packages"/imagesize-$pkgver.dist-info/LICENSE.rst \
+ "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.rst
+}