Date: Monday, October 6, 2014 @ 14:55:40 Author: kkeen Revision: 120253
archrelease: copy trunk to community-i686, community-x86_64 Added: python-pillow/repos/community-i686/PKGBUILD (from rev 120252, python-pillow/trunk/PKGBUILD) python-pillow/repos/community-x86_64/PKGBUILD (from rev 120252, python-pillow/trunk/PKGBUILD) Deleted: python-pillow/repos/community-i686/PKGBUILD python-pillow/repos/community-x86_64/PKGBUILD ---------------------------+ /PKGBUILD | 148 ++++++++++++++++++++++++++++++++++++++++++++ community-i686/PKGBUILD | 74 ---------------------- community-x86_64/PKGBUILD | 74 ---------------------- 3 files changed, 148 insertions(+), 148 deletions(-) Deleted: community-i686/PKGBUILD =================================================================== --- community-i686/PKGBUILD 2014-10-06 12:55:18 UTC (rev 120252) +++ community-i686/PKGBUILD 2014-10-06 12:55:40 UTC (rev 120253) @@ -1,74 +0,0 @@ -# $Id$ -# Maintainer: Kyle Keen <keen...@gmail.com> -# Contributor: minder - -pkgbase=python-pillow -pkgname=(python-pillow python2-pillow) -pkgver=2.5.3 -pkgrel=2 -_appname=Pillow -_py2basever=2.7 -_py3basever=3.4m -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' 'lcms' 'libwebp' 'tk' 'sane') -source=("http://pypi.python.org/packages/source/P/$_appname/$_appname-$pkgver.zip") -md5sums=('9879437c28ee0ad6ea04b93d0be2c2d7') - -build() { - cd "$srcdir" - cp -r "$srcdir/$_appname-$pkgver" "$srcdir/${_appname}2-$pkgver" -} - -package_python-pillow() { - depends=('python' 'lcms' 'libwebp') - 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 docs/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' 'lcms' 'libwebp') - 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') - replaces=('python2-imaging') - cd "$srcdir/${_appname}2-$pkgver" - sed -i 's|/usr/local/bin/python$|/usr/bin/env 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 docs/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 120252, python-pillow/trunk/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2014-10-06 12:55:40 UTC (rev 120253) @@ -0,0 +1,74 @@ +# $Id$ +# Maintainer: Kyle Keen <keen...@gmail.com> +# Contributor: minder + +pkgbase=python-pillow +pkgname=(python-pillow python2-pillow) +pkgver=2.6.0 +pkgrel=1 +_appname=Pillow +_py2basever=2.7 +_py3basever=3.4m +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' 'lcms' 'libwebp' 'tk' 'sane') +source=("http://pypi.python.org/packages/source/P/$_appname/$_appname-$pkgver.zip") +md5sums=('611b51542236f0d876ba0c8a97c259e8') + +build() { + cd "$srcdir" + cp -r "$srcdir/$_appname-$pkgver" "$srcdir/${_appname}2-$pkgver" +} + +package_python-pillow() { + depends=('python' 'lcms' 'libwebp') + 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 docs/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' 'lcms' 'libwebp') + 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') + replaces=('python2-imaging') + cd "$srcdir/${_appname}2-$pkgver" + sed -i 's|/usr/local/bin/python$|/usr/bin/env 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 docs/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 2014-10-06 12:55:18 UTC (rev 120252) +++ community-x86_64/PKGBUILD 2014-10-06 12:55:40 UTC (rev 120253) @@ -1,74 +0,0 @@ -# $Id$ -# Maintainer: Kyle Keen <keen...@gmail.com> -# Contributor: minder - -pkgbase=python-pillow -pkgname=(python-pillow python2-pillow) -pkgver=2.5.3 -pkgrel=2 -_appname=Pillow -_py2basever=2.7 -_py3basever=3.4m -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' 'lcms' 'libwebp' 'tk' 'sane') -source=("http://pypi.python.org/packages/source/P/$_appname/$_appname-$pkgver.zip") -md5sums=('9879437c28ee0ad6ea04b93d0be2c2d7') - -build() { - cd "$srcdir" - cp -r "$srcdir/$_appname-$pkgver" "$srcdir/${_appname}2-$pkgver" -} - -package_python-pillow() { - depends=('python' 'lcms' 'libwebp') - 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 docs/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' 'lcms' 'libwebp') - 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') - replaces=('python2-imaging') - cd "$srcdir/${_appname}2-$pkgver" - sed -i 's|/usr/local/bin/python$|/usr/bin/env 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 docs/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 120252, python-pillow/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2014-10-06 12:55:40 UTC (rev 120253) @@ -0,0 +1,74 @@ +# $Id$ +# Maintainer: Kyle Keen <keen...@gmail.com> +# Contributor: minder + +pkgbase=python-pillow +pkgname=(python-pillow python2-pillow) +pkgver=2.6.0 +pkgrel=1 +_appname=Pillow +_py2basever=2.7 +_py3basever=3.4m +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' 'lcms' 'libwebp' 'tk' 'sane') +source=("http://pypi.python.org/packages/source/P/$_appname/$_appname-$pkgver.zip") +md5sums=('611b51542236f0d876ba0c8a97c259e8') + +build() { + cd "$srcdir" + cp -r "$srcdir/$_appname-$pkgver" "$srcdir/${_appname}2-$pkgver" +} + +package_python-pillow() { + depends=('python' 'lcms' 'libwebp') + 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 docs/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' 'lcms' 'libwebp') + 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') + replaces=('python2-imaging') + cd "$srcdir/${_appname}2-$pkgver" + sed -i 's|/usr/local/bin/python$|/usr/bin/env 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 docs/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 +} +