[arch-commits] Commit in python-dateutil/repos/community-any (4 files)

Jelle van der Waa jelle at nymeria.archlinux.org
Wed Jul 24 18:17:32 UTC 2013


    Date: Wednesday, July 24, 2013 @ 20:17:32
  Author: jelle
Revision: 94430

archrelease: copy trunk to community-any

Added:
  python-dateutil/repos/community-any/PKGBUILD
    (from rev 94429, python-dateutil/trunk/PKGBUILD)
  python-dateutil/repos/community-any/python-dateutil-2.1-open-utf-8.patch
    (from rev 94429, python-dateutil/trunk/python-dateutil-2.1-open-utf-8.patch)
Deleted:
  python-dateutil/repos/community-any/PKGBUILD
  python-dateutil/repos/community-any/python-dateutil-2.1-open-utf-8.patch

--------------------------------------+
 PKGBUILD                             |  116 ++++++++++++++++-----------------
 python-dateutil-2.1-open-utf-8.patch |   42 +++++------
 2 files changed, 79 insertions(+), 79 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2013-07-24 18:16:54 UTC (rev 94429)
+++ PKGBUILD	2013-07-24 18:17:32 UTC (rev 94430)
@@ -1,58 +0,0 @@
-#Maintainer: Jelle van der Waa <jelle at vdwaa.nl>
-#Contributor: lilydjwg <lilydjwg at gmail.com>
-
-pkgbase=python-dateutil
-pkgname=('python-dateutil' 'python2-dateutil')
-pkgver=2.1
-pkgrel=6
-pkgdesc="Provides powerful extensions to the standard datetime module"
-arch=('any')
-license=('custom:PYTHON')
-url="http://labix.org/python-dateutil"
-makedepends=('python-distribute' 'python2-distribute' 'python-six' 'python2-six')
-source=(http://pypi.python.org/packages/source/p/python-dateutil/python-dateutil-$pkgver.tar.gz{,.asc} python-dateutil-2.1-open-utf-8.patch)
-md5sums=('1534bb15cf311f07afaa3aacba1c028b'
-         '4aa0ba908299d983781c58ec0640ef2b'
-         '4b780c62fc03be161629ee08e35eba6a')
-
-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' '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+rx $pkgdir/usr/lib/python3.3/
-
-  # Remove data files
-  rm $pkgdir/usr/lib/python3.3/site-packages/dateutil/zoneinfo/zoneinfo--latest.tar.gz
-
-}
-
-package_python2-dateutil()
-{
-depends=('python2' '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+rx $pkgdir/usr/lib/python2.7/
-  rm $pkgdir/usr/lib/python2.7/site-packages/dateutil/zoneinfo/zoneinfo--latest.tar.gz
-
-}
-
-check() {
-  cd $srcdir/python-dateutil-$pkgver
-  python3 test.py
-
-  cd $srcdir/python2-dateutil-$pkgver
-  python2 test.py
-}

Copied: python-dateutil/repos/community-any/PKGBUILD (from rev 94429, python-dateutil/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2013-07-24 18:17:32 UTC (rev 94430)
@@ -0,0 +1,58 @@
+#Maintainer: Jelle van der Waa <jelle at vdwaa.nl>
+#Contributor: lilydjwg <lilydjwg at gmail.com>
+
+pkgbase=python-dateutil
+pkgname=('python-dateutil' 'python2-dateutil')
+pkgver=2.1
+pkgrel=7
+pkgdesc="Provides powerful extensions to the standard datetime module"
+arch=('any')
+license=('custom:PYTHON')
+url="http://labix.org/python-dateutil"
+makedepends=('python-distribute' 'python2-distribute' 'python-six' 'python2-six')
+source=(http://pypi.python.org/packages/source/p/python-dateutil/python-dateutil-$pkgver.tar.gz{,.asc} python-dateutil-2.1-open-utf-8.patch)
+md5sums=('1534bb15cf311f07afaa3aacba1c028b'
+         '4aa0ba908299d983781c58ec0640ef2b'
+         '4b780c62fc03be161629ee08e35eba6a')
+
+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' '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.3/
+
+  # Remove data files
+  rm $pkgdir/usr/lib/python3.3/site-packages/dateutil/zoneinfo/zoneinfo--latest.tar.gz
+
+}
+
+package_python2-dateutil()
+{
+depends=('python2' '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/
+  rm $pkgdir/usr/lib/python2.7/site-packages/dateutil/zoneinfo/zoneinfo--latest.tar.gz
+
+}
+
+check() {
+  cd $srcdir/python-dateutil-$pkgver
+  python3 test.py
+
+  cd $srcdir/python2-dateutil-$pkgver
+  python2 test.py
+}

Deleted: python-dateutil-2.1-open-utf-8.patch
===================================================================
--- python-dateutil-2.1-open-utf-8.patch	2013-07-24 18:16:54 UTC (rev 94429)
+++ python-dateutil-2.1-open-utf-8.patch	2013-07-24 18:17:32 UTC (rev 94430)
@@ -1,21 +0,0 @@
-Fix UnicodeDecodeError in setup.py.
-
-https://bugs.gentoo.org/show_bug.cgi?id=410725
---- setup.py
-+++ setup.py
-@@ -1,5 +1,6 @@
- #!/usr/bin/python
- from os.path import isfile, join
-+import codecs
- import glob
- import os
- import re
-@@ -13,7 +14,7 @@
- 
- TOPDIR = os.path.dirname(__file__) or "."
- VERSION = re.search('__version__ = "([^"]+)"',
--                    open(TOPDIR + "/dateutil/__init__.py").read()).group(1)
-+                    codecs.open(TOPDIR + "/dateutil/__init__.py", encoding='utf-8').read()).group(1)
- 
- 
- setup(name="python-dateutil",

Copied: python-dateutil/repos/community-any/python-dateutil-2.1-open-utf-8.patch (from rev 94429, python-dateutil/trunk/python-dateutil-2.1-open-utf-8.patch)
===================================================================
--- python-dateutil-2.1-open-utf-8.patch	                        (rev 0)
+++ python-dateutil-2.1-open-utf-8.patch	2013-07-24 18:17:32 UTC (rev 94430)
@@ -0,0 +1,21 @@
+Fix UnicodeDecodeError in setup.py.
+
+https://bugs.gentoo.org/show_bug.cgi?id=410725
+--- setup.py
++++ setup.py
+@@ -1,5 +1,6 @@
+ #!/usr/bin/python
+ from os.path import isfile, join
++import codecs
+ import glob
+ import os
+ import re
+@@ -13,7 +14,7 @@
+ 
+ TOPDIR = os.path.dirname(__file__) or "."
+ VERSION = re.search('__version__ = "([^"]+)"',
+-                    open(TOPDIR + "/dateutil/__init__.py").read()).group(1)
++                    codecs.open(TOPDIR + "/dateutil/__init__.py", encoding='utf-8').read()).group(1)
+ 
+ 
+ setup(name="python-dateutil",




More information about the arch-commits mailing list