[arch-commits] Commit in python-pillow/repos (4 files)
Kyle Keen
kkeen at archlinux.org
Wed Oct 5 11:19:41 UTC 2016
Date: Wednesday, October 5, 2016 @ 11:19:40
Author: kkeen
Revision: 191377
archrelease: copy trunk to community-i686, community-x86_64
Added:
python-pillow/repos/community-i686/PKGBUILD
(from rev 191376, python-pillow/trunk/PKGBUILD)
python-pillow/repos/community-x86_64/PKGBUILD
(from rev 191376, python-pillow/trunk/PKGBUILD)
Deleted:
python-pillow/repos/community-i686/PKGBUILD
python-pillow/repos/community-x86_64/PKGBUILD
---------------------------+
/PKGBUILD | 168 ++++++++++++++++++++++++++++++++++++++++++++
community-i686/PKGBUILD | 84 ----------------------
community-x86_64/PKGBUILD | 84 ----------------------
3 files changed, 168 insertions(+), 168 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2016-10-05 11:12:10 UTC (rev 191376)
+++ community-i686/PKGBUILD 2016-10-05 11:19:40 UTC (rev 191377)
@@ -1,84 +0,0 @@
-# $Id$
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-# Contributor: minder
-
-pkgbase=python-pillow
-pkgname=(python-pillow python2-pillow)
-pkgver=3.3.1
-pkgrel=1
-# consider splitting out sane if this gets weird enough
-_sanever=2.8.2
-_appname=Pillow
-_py2basever=2.7
-_py3basever=3.5m
-pkgdesc="Python Imaging Library (PIL) fork. Python3 version."
-arch=('i686' 'x86_64')
-url="http://python-pillow.github.io/"
-license=('BSD')
-makedepends=('python-setuptools' 'python2-setuptools' 'lcms2' 'libwebp' 'openjpeg2' 'tk' 'sane')
-source=("https://files.pythonhosted.org/packages/source/P/$_appname/$_appname-$pkgver.tar.gz"
- "Sane-$_sanever.tar.gz::https://github.com/python-pillow/Sane/archive/v$_sanever.tar.gz")
-md5sums=('3bc85204223b52e96ed05c9441507eed'
- '295f1c745ab4da6a34b524019b181978')
-
-# future optional things:
-# libimagequant
-
-prepare() {
- cd "$srcdir"
- # allow sane to build
- sed -i "s|os.path.join|'../libImaging', &|" "$srcdir/Sane-$_sanever/setup.py"
- cp -r "$srcdir/Sane-$_sanever" "$srcdir/$_appname-$pkgver/Sane"
- # py2 and py3
- cp -r "$srcdir/$_appname-$pkgver" "$srcdir/${_appname}2-$pkgver"
-}
-
-package_python-pillow() {
- depends=('python' 'lcms2' 'libwebp' 'openjpeg2')
- optdepends=('tk: for the ImageTK module'
- 'sane: for the Sane module'
- 'python-pyqt4: for the ImageQt module')
- cd "$srcdir/$_appname-$pkgver"
- python3 setup.py install --root="$pkgdir/" --optimize=0
- pushd Sane
- python3 setup.py install --root="$pkgdir/" --optimize=0
- popd
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-
- install -dm755 "$pkgdir/usr/include/python$_py3basever/"
- install -m644 -t "$pkgdir/usr/include/python$_py3basever/" libImaging/*.h
-
- # clean up bins
- cd "$pkgdir/usr/bin"
- for f in *.py; do
- mv "$f" "${f%.py}"
- done
-}
-
-package_python2-pillow() {
- pkgdesc="Python Imaging Library (PIL) fork. Python2 version."
- depends=('python2' 'lcms2' 'libwebp' 'openjpeg2')
- optdepends=('tk: for the ImageTK module'
- 'sane: for the Sane module'
- 'python2-pyqt4: for the ImageQt module')
- provides=('python-imaging' 'python2-imaging')
- conflicts=('python-imaging' 'python2-imaging')
- cd "$srcdir/${_appname}2-$pkgver"
- sed -i 's|python$|python2|' PIL/OleFileIO.py
- python2 setup.py install --root="$pkgdir/" --optimize=0
- pushd Sane
- python2 setup.py install --root="$pkgdir/" --optimize=0
- popd
-
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-
- install -dm755 "$pkgdir/usr/include/python$_py2basever/"
- install -m644 -t "$pkgdir/usr/include/python$_py2basever/" libImaging/*.h
-
- # clean up bins
- cd "$pkgdir/usr/bin"
- for f in *.py; do
- mv "$f" "${f%.py}2"
- done
-}
-
Copied: python-pillow/repos/community-i686/PKGBUILD (from rev 191376, python-pillow/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2016-10-05 11:19:40 UTC (rev 191377)
@@ -0,0 +1,84 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: minder
+
+pkgbase=python-pillow
+pkgname=(python-pillow python2-pillow)
+pkgver=3.4.1
+pkgrel=1
+# consider splitting out sane if this gets weird enough
+_sanever=2.8.2
+_appname=Pillow
+_py2basever=2.7
+_py3basever=3.5m
+pkgdesc="Python Imaging Library (PIL) fork. Python3 version."
+arch=('i686' 'x86_64')
+url="http://python-pillow.github.io/"
+license=('BSD')
+makedepends=('python-setuptools' 'python2-setuptools' 'lcms2' 'libwebp' 'openjpeg2' 'tk' 'sane')
+source=("https://files.pythonhosted.org/packages/source/P/$_appname/$_appname-$pkgver.tar.gz"
+ "Sane-$_sanever.tar.gz::https://github.com/python-pillow/Sane/archive/v$_sanever.tar.gz")
+md5sums=('31e4b16a246d585be7a1cb560b057f89'
+ '295f1c745ab4da6a34b524019b181978')
+
+# future optional things:
+# libimagequant
+
+prepare() {
+ cd "$srcdir"
+ # allow sane to build
+ sed -i "s|os.path.join|'../libImaging', &|" "$srcdir/Sane-$_sanever/setup.py"
+ cp -r "$srcdir/Sane-$_sanever" "$srcdir/$_appname-$pkgver/Sane"
+ # py2 and py3
+ cp -r "$srcdir/$_appname-$pkgver" "$srcdir/${_appname}2-$pkgver"
+}
+
+package_python-pillow() {
+ depends=('python' 'lcms2' 'libwebp' 'openjpeg2')
+ optdepends=('tk: for the ImageTK module'
+ 'sane: for the Sane module'
+ 'python-pyqt4: for the ImageQt module')
+ cd "$srcdir/$_appname-$pkgver"
+ python3 setup.py install --root="$pkgdir/" --optimize=0
+ pushd Sane
+ python3 setup.py install --root="$pkgdir/" --optimize=0
+ popd
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+ install -dm755 "$pkgdir/usr/include/python$_py3basever/"
+ install -m644 -t "$pkgdir/usr/include/python$_py3basever/" libImaging/*.h
+
+ # clean up bins
+ cd "$pkgdir/usr/bin"
+ for f in *.py; do
+ mv "$f" "${f%.py}"
+ done
+}
+
+package_python2-pillow() {
+ pkgdesc="Python Imaging Library (PIL) fork. Python2 version."
+ depends=('python2' 'lcms2' 'libwebp' 'openjpeg2')
+ optdepends=('tk: for the ImageTK module'
+ 'sane: for the Sane module'
+ 'python2-pyqt4: for the ImageQt module')
+ provides=('python-imaging' 'python2-imaging')
+ conflicts=('python-imaging' 'python2-imaging')
+ cd "$srcdir/${_appname}2-$pkgver"
+ sed -i 's|python$|python2|' PIL/OleFileIO.py
+ python2 setup.py install --root="$pkgdir/" --optimize=0
+ pushd Sane
+ python2 setup.py install --root="$pkgdir/" --optimize=0
+ popd
+
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+ install -dm755 "$pkgdir/usr/include/python$_py2basever/"
+ install -m644 -t "$pkgdir/usr/include/python$_py2basever/" libImaging/*.h
+
+ # clean up bins
+ cd "$pkgdir/usr/bin"
+ for f in *.py; do
+ mv "$f" "${f%.py}2"
+ done
+}
+
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2016-10-05 11:12:10 UTC (rev 191376)
+++ community-x86_64/PKGBUILD 2016-10-05 11:19:40 UTC (rev 191377)
@@ -1,84 +0,0 @@
-# $Id$
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-# Contributor: minder
-
-pkgbase=python-pillow
-pkgname=(python-pillow python2-pillow)
-pkgver=3.3.1
-pkgrel=1
-# consider splitting out sane if this gets weird enough
-_sanever=2.8.2
-_appname=Pillow
-_py2basever=2.7
-_py3basever=3.5m
-pkgdesc="Python Imaging Library (PIL) fork. Python3 version."
-arch=('i686' 'x86_64')
-url="http://python-pillow.github.io/"
-license=('BSD')
-makedepends=('python-setuptools' 'python2-setuptools' 'lcms2' 'libwebp' 'openjpeg2' 'tk' 'sane')
-source=("https://files.pythonhosted.org/packages/source/P/$_appname/$_appname-$pkgver.tar.gz"
- "Sane-$_sanever.tar.gz::https://github.com/python-pillow/Sane/archive/v$_sanever.tar.gz")
-md5sums=('3bc85204223b52e96ed05c9441507eed'
- '295f1c745ab4da6a34b524019b181978')
-
-# future optional things:
-# libimagequant
-
-prepare() {
- cd "$srcdir"
- # allow sane to build
- sed -i "s|os.path.join|'../libImaging', &|" "$srcdir/Sane-$_sanever/setup.py"
- cp -r "$srcdir/Sane-$_sanever" "$srcdir/$_appname-$pkgver/Sane"
- # py2 and py3
- cp -r "$srcdir/$_appname-$pkgver" "$srcdir/${_appname}2-$pkgver"
-}
-
-package_python-pillow() {
- depends=('python' 'lcms2' 'libwebp' 'openjpeg2')
- optdepends=('tk: for the ImageTK module'
- 'sane: for the Sane module'
- 'python-pyqt4: for the ImageQt module')
- cd "$srcdir/$_appname-$pkgver"
- python3 setup.py install --root="$pkgdir/" --optimize=0
- pushd Sane
- python3 setup.py install --root="$pkgdir/" --optimize=0
- popd
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-
- install -dm755 "$pkgdir/usr/include/python$_py3basever/"
- install -m644 -t "$pkgdir/usr/include/python$_py3basever/" libImaging/*.h
-
- # clean up bins
- cd "$pkgdir/usr/bin"
- for f in *.py; do
- mv "$f" "${f%.py}"
- done
-}
-
-package_python2-pillow() {
- pkgdesc="Python Imaging Library (PIL) fork. Python2 version."
- depends=('python2' 'lcms2' 'libwebp' 'openjpeg2')
- optdepends=('tk: for the ImageTK module'
- 'sane: for the Sane module'
- 'python2-pyqt4: for the ImageQt module')
- provides=('python-imaging' 'python2-imaging')
- conflicts=('python-imaging' 'python2-imaging')
- cd "$srcdir/${_appname}2-$pkgver"
- sed -i 's|python$|python2|' PIL/OleFileIO.py
- python2 setup.py install --root="$pkgdir/" --optimize=0
- pushd Sane
- python2 setup.py install --root="$pkgdir/" --optimize=0
- popd
-
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-
- install -dm755 "$pkgdir/usr/include/python$_py2basever/"
- install -m644 -t "$pkgdir/usr/include/python$_py2basever/" libImaging/*.h
-
- # clean up bins
- cd "$pkgdir/usr/bin"
- for f in *.py; do
- mv "$f" "${f%.py}2"
- done
-}
-
Copied: python-pillow/repos/community-x86_64/PKGBUILD (from rev 191376, python-pillow/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2016-10-05 11:19:40 UTC (rev 191377)
@@ -0,0 +1,84 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: minder
+
+pkgbase=python-pillow
+pkgname=(python-pillow python2-pillow)
+pkgver=3.4.1
+pkgrel=1
+# consider splitting out sane if this gets weird enough
+_sanever=2.8.2
+_appname=Pillow
+_py2basever=2.7
+_py3basever=3.5m
+pkgdesc="Python Imaging Library (PIL) fork. Python3 version."
+arch=('i686' 'x86_64')
+url="http://python-pillow.github.io/"
+license=('BSD')
+makedepends=('python-setuptools' 'python2-setuptools' 'lcms2' 'libwebp' 'openjpeg2' 'tk' 'sane')
+source=("https://files.pythonhosted.org/packages/source/P/$_appname/$_appname-$pkgver.tar.gz"
+ "Sane-$_sanever.tar.gz::https://github.com/python-pillow/Sane/archive/v$_sanever.tar.gz")
+md5sums=('31e4b16a246d585be7a1cb560b057f89'
+ '295f1c745ab4da6a34b524019b181978')
+
+# future optional things:
+# libimagequant
+
+prepare() {
+ cd "$srcdir"
+ # allow sane to build
+ sed -i "s|os.path.join|'../libImaging', &|" "$srcdir/Sane-$_sanever/setup.py"
+ cp -r "$srcdir/Sane-$_sanever" "$srcdir/$_appname-$pkgver/Sane"
+ # py2 and py3
+ cp -r "$srcdir/$_appname-$pkgver" "$srcdir/${_appname}2-$pkgver"
+}
+
+package_python-pillow() {
+ depends=('python' 'lcms2' 'libwebp' 'openjpeg2')
+ optdepends=('tk: for the ImageTK module'
+ 'sane: for the Sane module'
+ 'python-pyqt4: for the ImageQt module')
+ cd "$srcdir/$_appname-$pkgver"
+ python3 setup.py install --root="$pkgdir/" --optimize=0
+ pushd Sane
+ python3 setup.py install --root="$pkgdir/" --optimize=0
+ popd
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+ install -dm755 "$pkgdir/usr/include/python$_py3basever/"
+ install -m644 -t "$pkgdir/usr/include/python$_py3basever/" libImaging/*.h
+
+ # clean up bins
+ cd "$pkgdir/usr/bin"
+ for f in *.py; do
+ mv "$f" "${f%.py}"
+ done
+}
+
+package_python2-pillow() {
+ pkgdesc="Python Imaging Library (PIL) fork. Python2 version."
+ depends=('python2' 'lcms2' 'libwebp' 'openjpeg2')
+ optdepends=('tk: for the ImageTK module'
+ 'sane: for the Sane module'
+ 'python2-pyqt4: for the ImageQt module')
+ provides=('python-imaging' 'python2-imaging')
+ conflicts=('python-imaging' 'python2-imaging')
+ cd "$srcdir/${_appname}2-$pkgver"
+ sed -i 's|python$|python2|' PIL/OleFileIO.py
+ python2 setup.py install --root="$pkgdir/" --optimize=0
+ pushd Sane
+ python2 setup.py install --root="$pkgdir/" --optimize=0
+ popd
+
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+ install -dm755 "$pkgdir/usr/include/python$_py2basever/"
+ install -m644 -t "$pkgdir/usr/include/python$_py2basever/" libImaging/*.h
+
+ # clean up bins
+ cd "$pkgdir/usr/bin"
+ for f in *.py; do
+ mv "$f" "${f%.py}2"
+ done
+}
+
More information about the arch-commits
mailing list