milis/talimatname/genel/python-dateutil/talimat

22 lines
592 B
Plaintext
Raw Normal View History

2017-04-12 15:05:35 +02:00
# Description: Standart datetime modülüne güçlü uzantılar sağlar.
# URL: http://labix.org/python-dateutil
# Packager: milisarge
# Depends on: python-six python-setuptools
2016-02-24 01:27:23 +01:00
name=python-dateutil
version=2.2
release=1
source=(
http://pypi.python.org/packages/source/p/python-dateutil/python-dateutil-$version.tar.gz)
build() {
cd $name-$version
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
}