blob: 08615f6312b29f244727e435840d3e058f3f2655 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=py-dateutil
_pkgname=python-dateutil
pkgver=2.5.1
pkgrel=0
pkgdesc="Python extensions for datetime module"
url="http://labix.org/python-dateutil"
arch="noarch"
license="BSD"
depends="python py-six"
depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
python setup.py build || return 1
}
package() {
cd "$_builddir"
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
md5sums="2769f13c596427558136b34977a95269 python-dateutil-2.5.1.tar.gz"
sha256sums="40d1bc468c7df50aff9e7a12c14687f9180efcff86900ee2963f9f2c13b5d7a9 python-dateutil-2.5.1.tar.gz"
sha512sums="197cabe90406c77436f895ae90137674ff4a751bb71af11c7045643a27c83c97dbe783895b9ab90250a02c9ff11292d9f3763d649914d8a857d5c7a46a04f3c6 python-dateutil-2.5.1.tar.gz"
|