py-pillow
This commit is contained in:
parent
bb8c75e622
commit
4297950164
1 changed files with 6 additions and 21 deletions
|
@ -1,33 +1,18 @@
|
||||||
# Tanım: Python Görüntüleme Kitaplığı (PIL) çatalı
|
# Tanım: Python Görüntüleme Kitaplığı (PIL) çatalı
|
||||||
# URL: http://python-imaging.github.io/
|
# URL: http://python-imaging.github.io/
|
||||||
# Paketçi: milisarge
|
# Paketçi: milisarge
|
||||||
# Gerekler: python python-setuptools lcms libwebp tk sane openjpeg
|
# Gerekler: python python-setuptools lcms libwebp tk openjpeg
|
||||||
# Grup: kütüphane
|
# Grup: kütüphane
|
||||||
|
|
||||||
isim=python-pillow
|
isim=python-pillow
|
||||||
surum=4.1.1
|
surum=5.2.0
|
||||||
_sanever=2.8.3
|
|
||||||
_appisim=Pillow
|
_appisim=Pillow
|
||||||
devir=1
|
devir=1
|
||||||
|
|
||||||
kaynak=(https://files.pythonhosted.org/packages/source/P/Pillow/Pillow-$surum.tar.gz
|
kaynak=(https://files.pythonhosted.org/packages/source/P/$_appisim/$_appisim-$surum.tar.gz)
|
||||||
https://github.com/python-pillow/Sane/archive/v$_sanever.tar.gz)
|
|
||||||
|
|
||||||
derle() {
|
derle() {
|
||||||
cd $SRC
|
cd Pillow-$surum
|
||||||
sed -i "s|os.path.join|'../libImaging', &|" $SRC/Sane-$_sanever/setup.py
|
python2 setup.py build
|
||||||
cp -r $SRC/Sane-${_sanever} $SRC/${_appisim}-$surum/Sane
|
python2 setup.py install --prefix=/usr --root=$PKG
|
||||||
|
|
||||||
cd Pillow-$surum
|
|
||||||
python2 setup.py install --prefix=/usr --root=$PKG
|
|
||||||
cd Sane
|
|
||||||
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
|
|
||||||
# rename /bin/*.py to *
|
|
||||||
cd $PKG/usr/bin
|
|
||||||
for f in *.py; do
|
|
||||||
mv $f "${f%.py}2"
|
|
||||||
done
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue