[arch-commits] Commit in python-pillow/repos/community-staging-x86_64 (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Thu Dec 2 19:21:49 UTC 2021
Date: Thursday, December 2, 2021 @ 19:21:48
Author: felixonmars
Revision: 1062345
archrelease: copy trunk to community-staging-x86_64
Added:
python-pillow/repos/community-staging-x86_64/PKGBUILD
(from rev 1062343, python-pillow/trunk/PKGBUILD)
Deleted:
python-pillow/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 94 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 47 insertions(+), 47 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-02 19:21:48 UTC (rev 1062344)
+++ PKGBUILD 2021-12-02 19:21:48 UTC (rev 1062345)
@@ -1,47 +0,0 @@
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-# Contributor: minder
-
-pkgname=python-pillow
-pkgver=8.4.0
-pkgrel=2
-_appname=Pillow
-_py3basever=3.10
-pkgdesc="Python Imaging Library (PIL) fork."
-arch=('x86_64')
-url="https://python-pillow.github.io/"
-license=('BSD')
-depends=('python' 'freetype2' 'lcms2' 'libraqm' 'libtiff' 'openjpeg2' 'libimagequant' 'libxcb')
-optdepends=('libwebp: for webp images'
- 'tk: for the ImageTK module'
- 'python-olefile: OLE2 file support'
- 'python-pyqt5: for the ImageQt module')
-makedepends=('python-setuptools' 'libwebp' 'tk')
-checkdepends=('python-pytest')
-source=("https://files.pythonhosted.org/packages/source/P/$_appname/$_appname-$pkgver.tar.gz")
-md5sums=('7a1eb5a250c7ccbd549a89e16404f09f')
-
-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 1062343, python-pillow/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-02 19:21:48 UTC (rev 1062345)
@@ -0,0 +1,47 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: minder
+
+pkgname=python-pillow
+pkgver=8.4.0
+pkgrel=3
+_appname=Pillow
+_py3basever=3.10
+pkgdesc="Python Imaging Library (PIL) fork."
+arch=('x86_64')
+url="https://python-pillow.github.io/"
+license=('BSD')
+depends=('python' 'freetype2' 'lcms2' 'libraqm' 'libtiff' 'openjpeg2' 'libimagequant' 'libxcb')
+optdepends=('libwebp: for webp images'
+ 'tk: for the ImageTK module'
+ 'python-olefile: OLE2 file support'
+ 'python-pyqt5: for the ImageQt module')
+makedepends=('python-setuptools' 'libwebp' 'tk')
+checkdepends=('python-pytest')
+source=("https://files.pythonhosted.org/packages/source/P/$_appname/$_appname-$pkgver.tar.gz")
+md5sums=('7a1eb5a250c7ccbd549a89e16404f09f')
+
+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