diff options
author | Larry Hajali <larryhaja@gmail.com> | 2017-07-12 22:23:24 -0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-07-15 07:33:52 +0700 |
commit | 8c1ea986acd573737fc0cfe582fdf6d8ae6552fc (patch) | |
tree | 13658c833b0f8bde820a197d069788e2cf2e1efc | |
parent | 913c251e0ef10061899c1d586bb14279b4625a75 (diff) | |
download | slackbuilds-8c1ea986acd573737fc0cfe582fdf6d8ae6552fc.tar.gz |
python/python-dateutil: Updated for version 2.6.1
Signed-off-by: Larry Hajali <larryhaja[at]gmail[dot]com>
-rw-r--r-- | python/python-dateutil/README | 5 | ||||
-rw-r--r-- | python/python-dateutil/python-dateutil.SlackBuild | 9 | ||||
-rw-r--r-- | python/python-dateutil/python-dateutil.info | 6 |
3 files changed, 5 insertions, 15 deletions
diff --git a/python/python-dateutil/README b/python/python-dateutil/README index c3c1c52e58..5f9b6697e0 100644 --- a/python/python-dateutil/README +++ b/python/python-dateutil/README @@ -1,7 +1,2 @@ The dateutil module provides powerful extensions to the standard datetime module. - -Note: To install python3 bindings install six with python3 -bindings and pass PYTHON3=yes to the slackbuild. - - # PYTHON3=yes ./python-dateutil.SlackBuild diff --git a/python/python-dateutil/python-dateutil.SlackBuild b/python/python-dateutil/python-dateutil.SlackBuild index 594c674cee..972536df20 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.6.0} +VERSION=${VERSION:-2.6.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -64,16 +64,11 @@ done python setup.py install --root=$PKG -# Install python3 bindings. Default is no. -if [ "${PYTHON3:-no}" == "yes" ]; then - python3 setup.py install --root=$PKG -fi - find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a LICENSE NEWS README.rst RELEASING $PKG/usr/doc/$PRGNAM-$VERSION +cp -a LICENSE NEWS README.rst $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/python/python-dateutil/python-dateutil.info b/python/python-dateutil/python-dateutil.info index a85d3bac17..516a06b185 100644 --- a/python/python-dateutil/python-dateutil.info +++ b/python/python-dateutil/python-dateutil.info @@ -1,8 +1,8 @@ PRGNAM="python-dateutil" -VERSION="2.6.0" +VERSION="2.6.1" HOMEPAGE="http://labix.org/python-dateutil" -DOWNLOAD="https://pypi.python.org/packages/51/fc/39a3fbde6864942e8bb24c93663734b74e281b984d1b8c4f95d64b0c21f6/python-dateutil-2.6.0.tar.gz" -MD5SUM="6e38f91e8c94c15a79ce22768dfeca87" +DOWNLOAD="https://pypi.python.org/packages/54/bb/f1db86504f7a49e1d9b9301531181b00a1c7325dc85a29160ee3eaa73a54/python-dateutil-2.6.1.tar.gz" +MD5SUM="db38f6b4511cefd76014745bb0cc45a4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="six" |