[arch-commits] Commit in python-imagesize/repos/community-staging-any (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Thu Oct 31 18:19:30 UTC 2019
Date: Thursday, October 31, 2019 @ 18:19:30
Author: foutrelis
Revision: 521652
archrelease: copy trunk to community-staging-any
Added:
python-imagesize/repos/community-staging-any/PKGBUILD
(from rev 521651, python-imagesize/trunk/PKGBUILD)
Deleted:
python-imagesize/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 78 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 39 insertions(+), 39 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-31 18:19:27 UTC (rev 521651)
+++ PKGBUILD 2019-10-31 18:19:30 UTC (rev 521652)
@@ -1,39 +0,0 @@
-pkgbase=python-imagesize
-pkgname=('python-imagesize' 'python2-imagesize')
-pkgver=1.1.0
-pkgrel=2
-
-pkgdesc='Getting image size from png/jpeg/jpeg2000/gif file'
-url='https://github.com/shibukawa/imagesize_py'
-arch=('any')
-license=('MIT')
-
-makedepends=('python-setuptools' 'python2-setuptools')
-
-source=("https://files.pythonhosted.org/packages/source/i/imagesize/imagesize-$pkgver.tar.gz")
-
-md5sums=('2f89749b05e07c79c46330dbc62f1e02')
-
-build() {
- cp -r imagesize-$pkgver imagesize-$pkgver-py2
-
- cd "$srcdir"/imagesize-$pkgver
- python setup.py build
-
- cd "$srcdir"/imagesize-$pkgver-py2
- python2 setup.py build
-}
-
-package_python-imagesize() {
- depends=('python')
-
- cd imagesize-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-imagesize() {
- depends=('python2')
-
- cd imagesize-$pkgver-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
-}
Copied: python-imagesize/repos/community-staging-any/PKGBUILD (from rev 521651, python-imagesize/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-31 18:19:30 UTC (rev 521652)
@@ -0,0 +1,39 @@
+pkgbase=python-imagesize
+pkgname=('python-imagesize' 'python2-imagesize')
+pkgver=1.1.0
+pkgrel=3
+
+pkgdesc='Getting image size from png/jpeg/jpeg2000/gif file'
+url='https://github.com/shibukawa/imagesize_py'
+arch=('any')
+license=('MIT')
+
+makedepends=('python-setuptools' 'python2-setuptools')
+
+source=("https://files.pythonhosted.org/packages/source/i/imagesize/imagesize-$pkgver.tar.gz")
+
+md5sums=('2f89749b05e07c79c46330dbc62f1e02')
+
+build() {
+ cp -r imagesize-$pkgver imagesize-$pkgver-py2
+
+ cd "$srcdir"/imagesize-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/imagesize-$pkgver-py2
+ python2 setup.py build
+}
+
+package_python-imagesize() {
+ depends=('python')
+
+ cd imagesize-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-imagesize() {
+ depends=('python2')
+
+ cd imagesize-$pkgver-py2
+ python2 setup.py install --root="$pkgdir" --optimize=1
+}
More information about the arch-commits
mailing list