26 lines
710 B
Plaintext
26 lines
710 B
Plaintext
# Description: Provides powerful extensions to the standard datetime module.
|
|
# URL: URL: http://labix.org/python-dateutil
|
|
# NuTyX package info file (http://nutyx.org)
|
|
# Packager: # NuTyX package info file (http://nutyx.org)
|
|
# Depends on: python-six python-setuptools
|
|
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
|
|
# fixes
|
|
chmod -R a+r $PKG/usr/lib/python2.7/
|
|
rm $PKG/usr/lib/python2.7/site-packages/dateutil/zoneinfo/zoneinfo--latest.tar.gz
|
|
# check
|
|
python2 test.py
|
|
}
|
|
|
|
|
|
|
|
# NuTyX Pkgfile (http://nutyx.org)
|