python-pillow.paketlendi
This commit is contained in:
parent
dae8f219c2
commit
02f44b370e
|
@ -1,15 +1,15 @@
|
|||
# Description: Python Görüntüleme Kitaplığı (PIL) çatalı
|
||||
# URL: http://python-imaging.github.io/
|
||||
# Packager: alihan-ozturk28@hotmail.com
|
||||
# Packager: milisarge
|
||||
# Depends on: python python-setuptools lcms libwebp tk sane openjpeg
|
||||
|
||||
name=python-pillow
|
||||
version=3.4.2
|
||||
_sanever=2.8.2
|
||||
version=4.1.1
|
||||
_sanever=2.8.3
|
||||
_appname=Pillow
|
||||
release=1
|
||||
|
||||
source=(https://pypi.python.org/packages/46/4f/94f6165052774839b4a4af0c72071aa528d5dc8cb8bc6bb43e24a55c10cc/Pillow-$version.tar.gz
|
||||
source=(https://files.pythonhosted.org/packages/source/P/Pillow/Pillow-$version.tar.gz
|
||||
https://github.com/python-pillow/Sane/archive/v$_sanever.tar.gz)
|
||||
|
||||
build() {
|
||||
|
@ -18,9 +18,9 @@ build() {
|
|||
cp -r $SRC/Sane-${_sanever} $SRC/${_appname}-$version/Sane
|
||||
|
||||
cd Pillow-$version
|
||||
python3 setup.py install --prefix=/usr --root=$PKG
|
||||
python2 setup.py install --prefix=/usr --root=$PKG
|
||||
cd Sane
|
||||
python3 setup.py install --prefix=/usr --root=$PKG
|
||||
python2 setup.py install --prefix=/usr --root=$PKG
|
||||
cd ../libImaging
|
||||
install -dm755 $PKG/usr/include/python2.7
|
||||
install -m644 -t $PKG/usr/include/python2.7 *.h
|
||||
|
|
Loading…
Reference in New Issue