Date: Saturday, January 10, 2015 @ 22:08:35 Author: jelle Revision: 125709
archrelease: copy trunk to community-any Added: python-dateutil/repos/community-any/PKGBUILD (from rev 125708, python-dateutil/trunk/PKGBUILD) Deleted: python-dateutil/repos/community-any/PKGBUILD ----------+ PKGBUILD | 96 +++++++++++++++++++++++++++++-------------------------------- 1 file changed, 46 insertions(+), 50 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2015-01-10 21:07:23 UTC (rev 125708) +++ PKGBUILD 2015-01-10 21:08:35 UTC (rev 125709) @@ -1,50 +0,0 @@ -#/Maintainer: Jelle van der Waa <je...@vdwaa.nl> -#Contributor: lilydjwg <lilyd...@gmail.com> - -pkgbase=python-dateutil -pkgname=('python-dateutil' 'python2-dateutil') -pkgver=2.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=(http://pypi.python.org/packages/source/p/python-dateutil/python-dateutil-$pkgver.tar.gz) -md5sums=('14dae5a51d11802cc1e8828c5f797358') - -build() { - cd $srcdir - cp -r python-dateutil-$pkgver python2-dateutil-$pkgver - - cd python-dateutil-$pkgver -# patch -Np0 -i $srcdir/python-dateutil-2.1-open-utf-8.patch - -} - -package_python-dateutil() -{ -depends=('python-six') - cd $srcdir/python-dateutil-$pkgver - python3 setup.py install --root=$pkgdir --optimize=1 - install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE -# chmod -R a+r $pkgdir/usr/lib/python3.4/ -} - -package_python2-dateutil() -{ -depends=('python2-six') - cd $srcdir/python2-dateutil-$pkgver - python2 setup.py install --root=$pkgdir --optimize=1 - install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE - -# chmod -R a+r $pkgdir/usr/lib/python2.7/ -} - -check() { - cd $srcdir/python-dateutil-$pkgver - python3 setup.py test - - cd $srcdir/python2-dateutil-$pkgver - python2 setup.py test -} Copied: python-dateutil/repos/community-any/PKGBUILD (from rev 125708, python-dateutil/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2015-01-10 21:08:35 UTC (rev 125709) @@ -0,0 +1,46 @@ +#/Maintainer: Jelle van der Waa <je...@vdwaa.nl> +#Contributor: lilydjwg <lilyd...@gmail.com> + +pkgbase=python-dateutil +pkgname=('python-dateutil' 'python2-dateutil') +pkgver=2.4.0 +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=(http://pypi.python.org/packages/source/p/python-dateutil/python-dateutil-$pkgver.tar.gz) +md5sums=('75714163bb96bedd07685cdb2071b8bc') + +build() { + cd $srcdir + cp -r python-dateutil-$pkgver python2-dateutil-$pkgver +} + +package_python-dateutil() +{ +depends=('python-six') + cd $srcdir/python-dateutil-$pkgver + python3 setup.py install --root=$pkgdir --optimize=1 + install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE +# chmod -R a+r $pkgdir/usr/lib/python3.4/ +} + +package_python2-dateutil() +{ +depends=('python2-six') + cd $srcdir/python2-dateutil-$pkgver + python2 setup.py install --root=$pkgdir --optimize=1 + install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE + +# chmod -R a+r $pkgdir/usr/lib/python2.7/ +} + +check() { + cd $srcdir/python-dateutil-$pkgver + python3 setup.py test + + cd $srcdir/python2-dateutil-$pkgver + python2 setup.py test +}