aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorlarryhaja <larryhaja@gmail.com>2013-11-13 19:13:30 -0800
committerRobby Workman <rworkman@slackbuilds.org>2013-11-14 00:06:28 -0600
commit678dc5fb20d5dabbef80f2b7ce07d00a263d8ee9 (patch)
tree63fac2d7ace645276c88f5ccf19a7178fea9a129 /python
parentddedcc51046dcc3cf806580ca940fb14a5690288 (diff)
python/python-dateutil: Upgraded to 2.2
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r--python/python-dateutil/python-dateutil-2.1-open-utf-8.patch20
-rw-r--r--python/python-dateutil/python-dateutil.SlackBuild5
-rw-r--r--python/python-dateutil/python-dateutil.info6
3 files changed, 4 insertions, 27 deletions
diff --git a/python/python-dateutil/python-dateutil-2.1-open-utf-8.patch b/python/python-dateutil/python-dateutil-2.1-open-utf-8.patch
deleted file mode 100644
index 7b1784378f5d..000000000000
--- a/python/python-dateutil/python-dateutil-2.1-open-utf-8.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-=== modified file 'setup.py'
---- setup.py 2012-04-29 13:32:22 +0000
-+++ setup.py 2012-04-29 13:34:16 +0000
-@@ -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",
-
diff --git a/python/python-dateutil/python-dateutil.SlackBuild b/python/python-dateutil/python-dateutil.SlackBuild
index b0e6e3e7c68f..5441d6174ad2 100644
--- a/python/python-dateutil/python-dateutil.SlackBuild
+++ b/python/python-dateutil/python-dateutil.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=python-dateutil
-VERSION=${VERSION:-2.1}
+VERSION=${VERSION:-2.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -55,9 +55,6 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# Fix UnicodeDecodeError in setup.py. From upstream.
-patch -p0 < $CWD/python-dateutil-2.1-open-utf-8.patch
-
python setup.py install --root=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
diff --git a/python/python-dateutil/python-dateutil.info b/python/python-dateutil/python-dateutil.info
index 0c4f0c0b6ec3..e44ef4c580ac 100644
--- a/python/python-dateutil/python-dateutil.info
+++ b/python/python-dateutil/python-dateutil.info
@@ -1,8 +1,8 @@
PRGNAM="python-dateutil"
-VERSION="2.1"
+VERSION="2.2"
HOMEPAGE="http://labix.org/python-dateutil"
-DOWNLOAD="http://pypi.python.org/packages/source/p/python-dateutil/python-dateutil-2.1.tar.gz"
-MD5SUM="1534bb15cf311f07afaa3aacba1c028b"
+DOWNLOAD="http://pypi.python.org/packages/source/p/python-dateutil/python-dateutil-2.2.tar.gz"
+MD5SUM="c1f654d0ff7e33999380a8ba9783fd5c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="pysetuptools six"