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

Jelle van der Waa jelle at archlinux.org
Sun Oct 28 20:56:29 UTC 2018


    Date: Sunday, October 28, 2018 @ 20:56:29
  Author: jelle
Revision: 399347

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  105 ++++++++++++++++++++++++++++---------------------------------
 1 file changed, 49 insertions(+), 56 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-10-28 20:56:18 UTC (rev 399346)
+++ PKGBUILD	2018-10-28 20:56:29 UTC (rev 399347)
@@ -1,56 +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=2018.5
-pkgrel=2
-arch=('any')
-url="http://pypi.python.org/pypi/pytz"
-license=("MIT")
-makedepends=('python' 'python2')
-source=("https://pypi.io/packages/source/p/pytz/pytz-${pkgver}.tar.gz")
-md5sums=('45409cbfa3927bdd2f3ee914dd5b1060')
-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 399346, python-pytz/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-10-28 20:56:29 UTC (rev 399347)
@@ -0,0 +1,49 @@
+# 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=2018.6
+pkgrel=1
+arch=('any')
+url="http://pypi.python.org/pypi/pytz"
+license=("MIT")
+makedepends=('python' 'python2')
+source=("https://pypi.io/packages/source/p/pytz/pytz-${pkgver}.tar.gz")
+md5sums=('6c92d86f9e92e71c561b1adc213feba0')
+validpgpkeys=('C7ECC365AB6F255E1EB9BA1701FA998FBAC6374A')
+
+build(){
+    cp -rf pytz-$pkgver pytz2-$pkgver
+}
+
+check(){
+    cd 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 pytz-$pkgver
+
+    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 pytz2-$pkgver
+
+    python2 setup.py install --root="$pkgdir/"
+
+    install -D LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



More information about the arch-commits mailing list