desktop/python2-dateutil/PKGBUILD
2014-04-13 09:27:42 +00:00

25 lines
776 B
Bash

# Maintainer: Adrian Chaves Fernandez (Gallaecio) <adriyetichaves@gmail.com>
# Contributor (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
pkgname=python2-dateutil
_pkgname=python-dateutil
pkgver=2.2
pkgrel=1
pkgdesc="Provides powerful extensions to the standard datetime module"
arch=('x86_64')
license=('PYTHON')
url="http://labix.org/python-dateutil"
depends=('python2' 'python2-six')
makedepends=('python2-setuptools')
provides=(python-dateutil)
replaces=(python-dateutil)
source=(http://pypi.python.org/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz)
md5sums=('c1f654d0ff7e33999380a8ba9783fd5c')
package() {
cd $srcdir/$_pkgname-$pkgver
python2 setup.py install --root=$pkgdir
install -Dm644 LICENSE \
$pkgdir/usr/share/licenses/$pkgname/LICENSE
}