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

Jelle van der Waa jelle at nymeria.archlinux.org
Mon Mar 17 10:52:38 UTC 2014


    Date: Monday, March 17, 2014 @ 11:52:38
  Author: jelle
Revision: 107434

archrelease: copy trunk to community-staging-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2014-03-17 10:52:33 UTC (rev 107433)
+++ PKGBUILD	2014-03-17 10:52:38 UTC (rev 107434)
@@ -1,56 +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.2
-pkgrel=1
-pkgdesc="Provides powerful extensions to the standard datetime module"
-arch=('any')
-license=('custom:PYTHON')
-url="http://labix.org/python-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=('c1f654d0ff7e33999380a8ba9783fd5c')
-
-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.4/
-
-  # Remove data files
-  rm $pkgdir/usr/lib/python3.4/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
-}

Copied: python-dateutil/repos/community-staging-any/PKGBUILD (from rev 107433, python-dateutil/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2014-03-17 10:52:38 UTC (rev 107434)
@@ -0,0 +1,56 @@
+#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.2
+pkgrel=2
+pkgdesc="Provides powerful extensions to the standard datetime module"
+arch=('any')
+license=('custom:PYTHON')
+url="http://labix.org/python-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=('c1f654d0ff7e33999380a8ba9783fd5c')
+
+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.4/
+
+  # Remove data files
+  rm $pkgdir/usr/lib/python3.4/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	2014-03-17 10:52:33 UTC (rev 107433)
+++ python-dateutil-2.1-open-utf-8.patch	2014-03-17 10:52:38 UTC (rev 107434)
@@ -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-staging-any/python-dateutil-2.1-open-utf-8.patch (from rev 107433, 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	2014-03-17 10:52:38 UTC (rev 107434)
@@ -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