milis/talimatname/genel/p/python-dateutil/talimat

22 lines
577 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: Standart datetime modülüne güçlü uzantılar sağlar.
# URL: http://labix.org/python-dateutil
# Paketçi: milisarge
# Gerekler: python-six python-setuptools
isim=python-dateutil
surum=2.2
devir=1
kaynak=(
http://pypi.python.org/packages/source/p/python-dateutil/python-dateutil-$surum.tar.gz)
derle() {
cd $isim-$surum
python2 setup.py install --prefix=/usr --root=$PKG
# Düzeltmeler
chmod -R a+r $PKG/usr/lib/python2.7/
rm $PKG/usr/lib/python2.7/site-packages/dateutil/zoneinfo/zoneinfo--latest.tar.gz
# Kontrol
python2 test.py
}