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

Jelle van der Waa jelle at archlinux.org
Mon Oct 10 18:11:58 UTC 2016


    Date: Monday, October 10, 2016 @ 18:11:57
  Author: jelle
Revision: 191890

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-10-10 18:11:47 UTC (rev 191889)
+++ PKGBUILD	2016-10-10 18:11:57 UTC (rev 191890)
@@ -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=2016.6.1
-pkgrel=1
-arch=('any')
-url="http://pypi.python.org/pypi/pytz"
-license=("MIT")
-makedepends=('python' 'python2')
-source=(https://pypi.python.org/packages/5d/8e/6635d8f3f9f48c03bb925fab543383089858271f9cfd1216b83247e8df94/pytz-2016.6.1.tar.gz{,.asc})
-validpgpkeys=('C7ECC365AB6F255E1EB9BA1701FA998FBAC6374A')
-md5sums=('b6c28a3b968bc1d8badfb61b93874e03'
-         'SKIP')
-
-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 191889, python-pytz/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-10-10 18:11:57 UTC (rev 191890)
@@ -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=2016.7
+pkgrel=1
+arch=('any')
+url="http://pypi.python.org/pypi/pytz"
+license=("MIT")
+makedepends=('python' 'python2')
+source=(https://pypi.python.org/packages/62/de/3ec428a9a656c4568f8a01b93bda4aff43c3fadfa50356048a62de9ee3b7/pytz-2016.7.tar.gz)
+validpgpkeys=('C7ECC365AB6F255E1EB9BA1701FA998FBAC6374A')
+md5sums=('8660ba7c3c0abd23e6e4efa493b02966')
+
+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