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

Jelle van der Waa jelle at archlinux.org
Wed Apr 27 10:11:14 UTC 2016


    Date: Wednesday, April 27, 2016 @ 12:11:14
  Author: jelle
Revision: 172022

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-04-27 10:11:05 UTC (rev 172021)
+++ PKGBUILD	2016-04-27 10:11:14 UTC (rev 172022)
@@ -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.3
-pkgrel=1
-arch=('any')
-url="http://pypi.python.org/pypi/pytz"
-license=("MIT")
-makedepends=('python' 'python2')
-source=(http://pypi.python.org/packages/source/p/pytz/pytz-$pkgver.tar.gz{,.asc})
-validpgpkeys=('C7ECC365AB6F255E1EB9BA1701FA998FBAC6374A')
-md5sums=('abae92c3301b27bd8a9f56b14f52cb29'
-         '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 172021, python-pytz/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-04-27 10:11:14 UTC (rev 172022)
@@ -0,0 +1,58 @@
+# 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.4
+pkgrel=1
+arch=('any')
+url="http://pypi.python.org/pypi/pytz"
+license=("MIT")
+makedepends=('python' 'python2')
+source=(https://pypi.python.org/packages/ad/30/5ab2298c902ac92fdf649cc07d1b7d491a241c5cac8be84dd84464db7d8b/pytz-2016.4.tar.gz{,.asc})
+validpgpkeys=('C7ECC365AB6F255E1EB9BA1701FA998FBAC6374A')
+md5sums=('a3316cf3842ed0375ba5931914239d97'
+         '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"
+}



More information about the arch-commits mailing list