[arch-commits] Commit in python-pillow/repos/community-staging-x86_64 (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Thu Nov 12 10:20:38 UTC 2020
Date: Thursday, November 12, 2020 @ 10:20:37
Author: foutrelis
Revision: 751536
archrelease: copy trunk to community-staging-x86_64
Added:
python-pillow/repos/community-staging-x86_64/PKGBUILD
(from rev 751535, python-pillow/trunk/PKGBUILD)
Deleted:
python-pillow/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 98 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 49 insertions(+), 49 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-12 10:20:34 UTC (rev 751535)
+++ PKGBUILD 2020-11-12 10:20:37 UTC (rev 751536)
@@ -1,49 +0,0 @@
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-# Contributor: minder
-
-pkgname=python-pillow
-pkgver=8.0.1
-pkgrel=2
-_appname=Pillow
-_py3basever=3.9
-pkgdesc="Python Imaging Library (PIL) fork."
-arch=('x86_64')
-url="https://python-pillow.github.io/"
-license=('BSD')
-depends=('python' 'lcms2' 'libtiff' 'openjpeg2' 'libimagequant' 'libxcb')
-optdepends=('freetype2: for the ImageFont module'
- 'libraqm: for complex text scripts'
- 'libwebp: for webp images'
- 'tk: for the ImageTK module'
- 'python-olefile: OLE2 file support'
- 'python-pyqt5: for the ImageQt module')
-makedepends=('python-setuptools' 'freetype2' 'libraqm' 'libwebp' 'tk')
-checkdepends=('python-pytest')
-source=("https://files.pythonhosted.org/packages/source/P/$_appname/$_appname-$pkgver.tar.gz")
-md5sums=('9889386af9f8d5b9fbd776f3741921d3')
-
-prepare() {
- cd "$srcdir/$_appname-$pkgver"
-}
-
-build() {
- cd "$srcdir/$_appname-$pkgver"
- python setup.py build
-}
-
-check() {
- cd "$srcdir/$_appname-$pkgver"
-
- export PYTHONPATH="$PWD/build/lib.linux-$CARCH-${_py3basever%m}"
- python selftest.py
- pytest
-}
-
-package() {
- cd "$srcdir/$_appname-$pkgver"
- python3 setup.py install --root="$pkgdir/" --optimize=1
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-
- install -dm755 "$pkgdir/usr/include/python$_py3basever/"
- install -m644 -t "$pkgdir/usr/include/python$_py3basever/" src/libImaging/*.h
-}
Copied: python-pillow/repos/community-staging-x86_64/PKGBUILD (from rev 751535, python-pillow/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-12 10:20:37 UTC (rev 751536)
@@ -0,0 +1,49 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: minder
+
+pkgname=python-pillow
+pkgver=8.0.1
+pkgrel=3
+_appname=Pillow
+_py3basever=3.9
+pkgdesc="Python Imaging Library (PIL) fork."
+arch=('x86_64')
+url="https://python-pillow.github.io/"
+license=('BSD')
+depends=('python' 'lcms2' 'libtiff' 'openjpeg2' 'libimagequant' 'libxcb')
+optdepends=('freetype2: for the ImageFont module'
+ 'libraqm: for complex text scripts'
+ 'libwebp: for webp images'
+ 'tk: for the ImageTK module'
+ 'python-olefile: OLE2 file support'
+ 'python-pyqt5: for the ImageQt module')
+makedepends=('python-setuptools' 'freetype2' 'libraqm' 'libwebp' 'tk')
+checkdepends=('python-pytest')
+source=("https://files.pythonhosted.org/packages/source/P/$_appname/$_appname-$pkgver.tar.gz")
+md5sums=('9889386af9f8d5b9fbd776f3741921d3')
+
+prepare() {
+ cd "$srcdir/$_appname-$pkgver"
+}
+
+build() {
+ cd "$srcdir/$_appname-$pkgver"
+ python setup.py build
+}
+
+check() {
+ cd "$srcdir/$_appname-$pkgver"
+
+ export PYTHONPATH="$PWD/build/lib.linux-$CARCH-${_py3basever%m}"
+ python selftest.py
+ pytest
+}
+
+package() {
+ cd "$srcdir/$_appname-$pkgver"
+ python3 setup.py install --root="$pkgdir/" --optimize=1
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+ install -dm755 "$pkgdir/usr/include/python$_py3basever/"
+ install -m644 -t "$pkgdir/usr/include/python$_py3basever/" src/libImaging/*.h
+}
More information about the arch-commits
mailing list