talimat 592 B

12345678910111213141516171819202122
  1. # Description: Standart datetime modülüne güçlü uzantılar sağlar.
  2. # URL: http://labix.org/python-dateutil
  3. # Packager: milisarge
  4. # Depends on: python-six python-setuptools
  5. name=python-dateutil
  6. version=2.2
  7. release=1
  8. source=(
  9. http://pypi.python.org/packages/source/p/python-dateutil/python-dateutil-$version.tar.gz)
  10. build() {
  11. cd $name-$version
  12. python2 setup.py install --prefix=/usr --root=$PKG
  13. # Düzeltmeler
  14. chmod -R a+r $PKG/usr/lib/python2.7/
  15. rm $PKG/usr/lib/python2.7/site-packages/dateutil/zoneinfo/zoneinfo--latest.tar.gz
  16. # Kontrol
  17. python2 test.py
  18. }