[arch-commits] Commit in python-pytz/repos/community-any (PKGBUILD PKGBUILD)

Jelle van der Waa jelle at archlinux.org
Tue Oct 31 19:35:48 UTC 2017


    Date: Tuesday, October 31, 2017 @ 19:35:47
  Author: jelle
Revision: 264935

archrelease: copy trunk to community-any

Added:
  python-pytz/repos/community-any/PKGBUILD
    (from rev 264934, python-pytz/trunk/PKGBUILD)
Deleted:
  python-pytz/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  115 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 57 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-10-31 19:35:36 UTC (rev 264934)
+++ PKGBUILD	2017-10-31 19:35:47 UTC (rev 264935)
@@ -1,58 +0,0 @@
-# Maintainer: Stefan Husmann <stefan-husmann at t-online.de>
-# Maintainer: Jelle van der Waa <jelle at vdwaa.nl>
-# Contributor: Douglas Soares de Andrade <dsa at aur.archlinux.org>
-# Contributor: William Rea <sillywilly at gmail.com>
-
-pkgname=('python-pytz' 'python2-pytz')
-pkgver=2017.2
-pkgrel=1
-arch=('any')
-url="http://pypi.python.org/pypi/pytz"
-license=("MIT")
-makedepends=('python' 'python2')
-source=(https://pypi.python.org/packages/a4/09/c47e57fc9c7062b4e83b075d418800d322caa87ec0ac21e6308bd3a2d519/pytz-2017.2.zip{,.asc})
-md5sums=('f89bde8a811c8a1a5bac17eaaa94383c'
-         'SKIP')
-validpgpkeys=('C7ECC365AB6F255E1EB9BA1701FA998FBAC6374A')
-
-build(){
-    cd $srcdir
-    cp -rf pytz-$pkgver pytz2-$pkgver
-}
-
-check(){
-    cd $srcdir/pytz-$pkgver/pytz/tests
-
-    python3 test_tzinfo.py
-
-    python2 test_tzinfo.py
-}
-
-package_python-pytz(){
-    depends=('python')
-    pkgdesc="Cross platform time zone library for Python"
-
-    cd $srcdir/pytz-$pkgver
-
-    # Fix locale https://github.com/ipython/ipython/issues/2057
-    export LC_ALL=en_US.UTF-8
-
-    python3 setup.py install --root=$pkgdir/
-
-    install -D LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE
-}
-
-
-package_python2-pytz(){
-    depends=('python2')
-    pkgdesc="Cross platform time zone library for Python"
-
-    cd $srcdir/pytz2-$pkgver
-
-    # python 2 fix
-    sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' pytz/tzfile.py
-
-    python2 setup.py install --root="$pkgdir/"
-
-    install -D LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}

Copied: python-pytz/repos/community-any/PKGBUILD (from rev 264934, python-pytz/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-10-31 19:35:47 UTC (rev 264935)
@@ -0,0 +1,57 @@
+# Maintainer: Stefan Husmann <stefan-husmann at t-online.de>
+# Maintainer: Jelle van der Waa <jelle at vdwaa.nl>
+# Contributor: Douglas Soares de Andrade <dsa at aur.archlinux.org>
+# Contributor: William Rea <sillywilly at gmail.com>
+
+pkgname=('python-pytz' 'python2-pytz')
+pkgver=2017.3
+pkgrel=1
+arch=('any')
+url="http://pypi.python.org/pypi/pytz"
+license=("MIT")
+makedepends=('python' 'python2')
+source=(https://pypi.python.org/packages/60/88/d3152c234da4b2a1f7a989f89609ea488225eaea015bc16fbde2b3fdfefa/pytz-2017.3.zip{,.asc})
+md5sums=('7006b56c0d68a162d9fe57d4249c3171'
+         'SKIP')
+validpgpkeys=('C7ECC365AB6F255E1EB9BA1701FA998FBAC6374A')
+
+build(){
+    cd $srcdir
+    cp -rf pytz-$pkgver pytz2-$pkgver
+}
+
+check(){
+    cd $srcdir/pytz-$pkgver/pytz/tests
+
+    python3 test_tzinfo.py
+    python2 test_tzinfo.py
+}
+
+package_python-pytz(){
+    depends=('python')
+    pkgdesc="Cross platform time zone library for Python"
+
+    cd $srcdir/pytz-$pkgver
+
+    # Fix locale https://github.com/ipython/ipython/issues/2057
+    export LC_ALL=en_US.UTF-8
+
+    python3 setup.py install --root=$pkgdir/
+
+    install -D LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE
+}
+
+
+package_python2-pytz(){
+    depends=('python2')
+    pkgdesc="Cross platform time zone library for Python"
+
+    cd $srcdir/pytz2-$pkgver
+
+    # python 2 fix
+#    sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' pytz/tzfile.py
+
+    python2 setup.py install --root="$pkgdir/"
+
+    install -D LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



More information about the arch-commits mailing list