summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoseph Carta2020-02-01 18:26:36 -0500
committerJoseph Carta2020-02-01 18:26:36 -0500
commita1c511271dbdc7994537f424cf7b82b6c88ddaac (patch)
tree9fca81f572acb8510fc271ba193db2133021d72f
downloadaur-a1c511271dbdc7994537f424cf7b82b6c88ddaac.tar.gz
Initial Commit
-rw-r--r--.SRCINFO24
-rw-r--r--PKGBUILD41
2 files changed, 65 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..78c8e13f4d6
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,24 @@
+pkgbase = python37-pillow
+ pkgdesc = Python Imaging Library (PIL) fork. Python3.7 version.
+ pkgver = 6.2.1
+ pkgrel = 1
+ url = https://python-pillow.github.io/
+ arch = x86_64
+ license = BSD
+ makedepends = python-setuptools
+ depends = python37
+ depends = lcms2
+ depends = libtiff
+ depends = openjpeg2
+ depends = libimagequant
+ optdepends = freetype2: for the ImageFont module
+ optdepends = libraqm: for complex text scripts
+ optdepends = libwebp: for webp images
+ optdepends = tk: for the ImageTK module
+ optdepends = python-olefile: OLE2 file support
+ optdepends = python-pyqt5: for the ImageQt module
+ source = https://files.pythonhosted.org/packages/source/P/Pillow/Pillow-6.2.1.tar.gz
+ md5sums = 13acde283ece6ac69f62609fa108d316
+
+pkgname = python37-pillow
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..89a5da36b4e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,41 @@
+# Maintainer: Joseph Carta <cartakid@gmail.com>
+# Contributor: Kyle Keen <keenerd@gmail.com>
+# Contributor: minder
+
+pkgname=python37-pillow
+pkgver=6.2.1
+pkgrel=1
+_appname=Pillow
+_py3basever=3.7
+pkgdesc="Python Imaging Library (PIL) fork. Python3.7 version."
+arch=('x86_64')
+url="https://python-pillow.github.io/"
+license=('BSD')
+depends=('python37' 'lcms2' 'libtiff' 'openjpeg2' 'libimagequant')
+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')
+source=("https://files.pythonhosted.org/packages/source/P/$_appname/$_appname-$pkgver.tar.gz")
+md5sums=('13acde283ece6ac69f62609fa108d316')
+
+prepare() {
+ cd "$srcdir/$_appname-$pkgver"
+}
+
+build() {
+ cd "$srcdir/$_appname-$pkgver"
+ python3.7 setup.py build
+}
+
+package () {
+ cd "$srcdir/$_appname-$pkgver"
+ python3.7 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
+}