[arch-commits] Commit in python-dateutil/trunk (PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Wed Apr 27 09:55:36 UTC 2016
Date: Wednesday, April 27, 2016 @ 11:55:35
Author: jelle
Revision: 172019
upgpkg: python-dateutil 2.5.3-1
Modified:
python-dateutil/trunk/PKGBUILD
----------+
PKGBUILD | 20 ++++++--------------
1 file changed, 6 insertions(+), 14 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-04-27 08:36:16 UTC (rev 172018)
+++ PKGBUILD 2016-04-27 09:55:35 UTC (rev 172019)
@@ -3,29 +3,22 @@
pkgbase=python-dateutil
pkgname=('python-dateutil' 'python2-dateutil')
-pkgver=2.5.2
-pkgrel=2
+pkgver=2.5.3
+pkgrel=1
pkgdesc="Provides powerful extensions to the standard datetime module"
arch=('any')
license=('custom')
url="https://github.com/dateutil/dateutil"
makedepends=('python-setuptools' 'python2-setuptools' 'python-six' 'python2-six')
-source=("$pkgbase-$pkgver.tar.gz"::"https://github.com/dateutil/dateutil/archive/$pkgver.tar.gz" "unambigious_dates.patch::https://github.com/dateutil/dateutil/commit/604282fdf1b23534d3afa93b0230ea9ece79f65d.patch")
-md5sums=('51258d248d99171d2ca40c538ebf3469'
- 'd7039d81bbf6b31d0e6adcfaf54499a8')
+source=("$pkgbase-$pkgver.tar.gz"::"https://github.com/dateutil/dateutil/archive/$pkgver.tar.gz")
+md5sums=('93e297b21a3c5d2a8db878788efbcf25')
-prepare() {
- cd dateutil-$pkgver
- patch -Np1 -i $srcdir/unambigious_dates.patch
-}
-
build() {
cd $srcdir
cp -r dateutil-$pkgver python2-dateutil-$pkgver
}
-package_python-dateutil()
-{
+package_python-dateutil() {
depends=('python-six')
cd dateutil-$pkgver
python3 setup.py install --root=$pkgdir --optimize=1
@@ -32,8 +25,7 @@
install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
}
-package_python2-dateutil()
-{
+package_python2-dateutil() {
depends=('python2-six')
cd $srcdir/python2-dateutil-$pkgver
python2 setup.py install --root=$pkgdir --optimize=1
More information about the arch-commits
mailing list