2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: Standart datetime modülüne güçlü uzantılar sağlar.
|
2017-04-12 15:05:35 +02:00
|
|
|
|
# URL: http://labix.org/python-dateutil
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: python-six python-setuptools
|
2017-04-12 15:05:35 +02:00
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
isim=python-dateutil
|
|
|
|
|
surum=2.2
|
|
|
|
|
devir=1
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
kaynak=(
|
|
|
|
|
http://pypi.python.org/packages/source/p/python-dateutil/python-dateutil-$surum.tar.gz)
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle() {
|
2017-10-28 14:10:23 +02:00
|
|
|
|
cd $isim-$surum
|
2016-02-24 01:27:23 +01:00
|
|
|
|
python2 setup.py install --prefix=/usr --root=$PKG
|
2017-04-12 15:05:35 +02:00
|
|
|
|
# Düzeltmeler
|
2016-02-24 01:27:23 +01:00
|
|
|
|
chmod -R a+r $PKG/usr/lib/python2.7/
|
|
|
|
|
rm $PKG/usr/lib/python2.7/site-packages/dateutil/zoneinfo/zoneinfo--latest.tar.gz
|
2017-04-12 15:05:35 +02:00
|
|
|
|
# Kontrol
|
2016-02-24 01:27:23 +01:00
|
|
|
|
python2 test.py
|
|
|
|
|
}
|