[arch-commits] Commit in python2-pillow/repos/community-x86_64 (PKGBUILD PKGBUILD)
Eli Schwartz
eschwartz at archlinux.org
Fri Sep 25 06:58:01 UTC 2020
Date: Friday, September 25, 2020 @ 06:58:01
Author: eschwartz
Revision: 711985
archrelease: copy trunk to community-x86_64
Added:
python2-pillow/repos/community-x86_64/PKGBUILD
(from rev 711984, python2-pillow/trunk/PKGBUILD)
Deleted:
python2-pillow/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 109 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 54 insertions(+), 55 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-09-25 06:57:47 UTC (rev 711984)
+++ PKGBUILD 2020-09-25 06:58:01 UTC (rev 711985)
@@ -1,55 +0,0 @@
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-# Contributor: minder
-
-_pkgname=Pillow
-pkgname=python2-pillow
-pkgver=6.2.1
-pkgrel=2
-pkgdesc="Python Imaging Library (PIL) fork."
-arch=('x86_64')
-url="https://python-pillow.github.io/"
-license=('BSD')
-depends=('python2' 'lcms2' 'libtiff' 'openjpeg2' 'libimagequant')
-makedepends=('python2-setuptools' 'freetype2' 'libraqm' 'libwebp' 'tk')
-optdepends=('freetype2: for the ImageFont module'
- 'ghostscript: for EPS images'
- 'libraqm: for complex text scripts'
- 'libwebp: for webp images'
- 'tk: for the ImageTK module'
- 'python2-olefile: OLE2 file support'
- 'python2-pyqt5: for the ImageQt module')
-checkdepends=('python2-pytest' 'xorg-server-xvfb' 'python2-olefile' 'python2-pyqt5'
- 'python2-cffi' 'python2-numpy' 'ghostscript')
-provides=('python2-imaging' 'python2-pillow6')
-conflicts=('python2-imaging' 'python2-pillow6')
-replaces=('python2-imaging' 'python2-pillow6')
-source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
-md5sums=('13acde283ece6ac69f62609fa108d316')
-b2sums=('abcfc41d1598e224c1f9800011dca06e704bca51f7132f9113da2f486fe355fe3274b2242bb946a93c55e47cd095966c2c0551eda529eacc25215bdcb8791914')
-
-build() {
- cd "${srcdir}"/${_pkgname}-${pkgver}
-
- python2 setup.py build
-}
-
-check() {
- cd "${srcdir}"/${_pkgname}-${pkgver}
-
- export PYTHONPATH="$PWD/build/lib.linux-$CARCH-2.7"
- python2 selftest.py
- # 99.6% of tests pass, just some font rendering giving trouble?
- xvfb-run python2 -m pytest -k "not test_variation_set_by_axes and not test_variation_set_by_name \
- and not test_complex_unicode_text"
-}
-
-package() {
- cd "${srcdir}"/${_pkgname}-${pkgver}
-
- python2 setup.py install --root="${pkgdir}/" --optimize=1
- install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-
- install -dm755 "${pkgdir}/usr/include/python2.7/"
- install -m644 -t "${pkgdir}/usr/include/python2.7/" src/libImaging/*.h
-}
Copied: python2-pillow/repos/community-x86_64/PKGBUILD (from rev 711984, python2-pillow/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-09-25 06:58:01 UTC (rev 711985)
@@ -0,0 +1,54 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: minder
+
+_pkgname=Pillow
+pkgname=python2-pillow
+pkgver=6.2.1
+pkgrel=3
+pkgdesc="Python Imaging Library (PIL) fork."
+arch=('x86_64')
+url="https://python-pillow.github.io/"
+license=('BSD')
+depends=('python2' 'lcms2' 'libtiff' 'openjpeg2' 'libimagequant')
+makedepends=('python2-setuptools' 'freetype2' 'libraqm' 'libwebp' 'tk')
+optdepends=('freetype2: for the ImageFont module'
+ 'ghostscript: for EPS images'
+ 'libraqm: for complex text scripts'
+ 'libwebp: for webp images'
+ 'tk: for the ImageTK module'
+ 'python2-olefile: OLE2 file support')
+checkdepends=('python2-pytest' 'xorg-server-xvfb' 'python2-olefile'
+ 'python2-cffi' 'python2-numpy' 'ghostscript')
+provides=('python2-imaging' 'python2-pillow6')
+conflicts=('python2-imaging' 'python2-pillow6')
+replaces=('python2-imaging' 'python2-pillow6')
+source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
+md5sums=('13acde283ece6ac69f62609fa108d316')
+b2sums=('abcfc41d1598e224c1f9800011dca06e704bca51f7132f9113da2f486fe355fe3274b2242bb946a93c55e47cd095966c2c0551eda529eacc25215bdcb8791914')
+
+build() {
+ cd "${srcdir}"/${_pkgname}-${pkgver}
+
+ python2 setup.py build
+}
+
+check() {
+ cd "${srcdir}"/${_pkgname}-${pkgver}
+
+ export PYTHONPATH="$PWD/build/lib.linux-$CARCH-2.7"
+ python2 selftest.py
+ # 99.6% of tests pass, just some font rendering giving trouble?
+ xvfb-run python2 -m pytest -k "not test_variation_set_by_axes and not test_variation_set_by_name \
+ and not test_complex_unicode_text"
+}
+
+package() {
+ cd "${srcdir}"/${_pkgname}-${pkgver}
+
+ python2 setup.py install --root="${pkgdir}/" --optimize=1
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+
+ install -dm755 "${pkgdir}/usr/include/python2.7/"
+ install -m644 -t "${pkgdir}/usr/include/python2.7/" src/libImaging/*.h
+}
More information about the arch-commits
mailing list