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

2020-01-02 Thread Andrzej Giniewicz via arch-commits
Date: Thursday, January 2, 2020 @ 16:22:48
  Author: aginiewicz
Revision: 546330

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2020-01-02 16:22:45 UTC (rev 546329)
+++ PKGBUILD2020-01-02 16:22:48 UTC (rev 546330)
@@ -1,56 +0,0 @@
-# Maintainer: Andrzej Giniewicz 
-
-pkgbase=python-uritemplate
-pkgname=('python2-uritemplate' 'python-uritemplate')
-pkgver=3.0.0
-pkgrel=6
-pkgdesc="a Python implementation of RFC6570"
-arch=('any')
-url="https://uritemplate.readthedocs.io/";
-license=('Apache' 'BSD')
-makedepends=('python2-setuptools' 'python-setuptools')
-source=("https://github.com/sigmavirus24/uritemplate/archive/${pkgver}.tar.gz";)
-sha1sums=('d8f42a4b67eecfda9bcb22f27c5d9509bf803165')
-
-prepare() {
-  cd "$srcdir"
-  cp -a uritemplate-${pkgver} uritemplate-py2-${pkgver}
-  cd uritemplate-py2-${pkgver}
-
-  sed -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
-  -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
-  -e "s|#![ ]*/bin/env python$|#!/usr/bin/env python2|" \
-  -i $(find . -name '*.py' | grep -v old)
-}
-
-build() {
-  # "Building Python2"
-  cd "$srcdir"/uritemplate-py2-${pkgver}
-  python2 setup.py build
-
-  # "Building Python3"
-  cd "$srcdir"/uritemplate-${pkgver}
-  python setup.py build
-}
-
-package_python2-uritemplate() {
-  depends=('python2')
-
-  cd "$srcdir"/uritemplate-py2-${pkgver}
-
-  python2 setup.py install --skip-build --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-  install -Dm644 LICENSE.APACHE 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE.APACHE
-  install -Dm644 LICENSE.BSD "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.BSD
-}
-
-package_python-uritemplate() {
-  depends=('python')
-
-  cd "$srcdir"/uritemplate-${pkgver}
-
-  python setup.py install --skip-build --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-  install -Dm644 LICENSE.APACHE 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE.APACHE
-  install -Dm644 LICENSE.BSD "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.BSD
-}

Copied: python-uritemplate/repos/community-any/PKGBUILD (from rev 546329, 
python-uritemplate/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-01-02 16:22:48 UTC (rev 546330)
@@ -0,0 +1,56 @@
+# Maintainer: Andrzej Giniewicz 
+
+pkgbase=python-uritemplate
+pkgname=('python2-uritemplate' 'python-uritemplate')
+pkgver=3.0.1
+pkgrel=1
+pkgdesc="a Python implementation of RFC6570"
+arch=('any')
+url="https://uritemplate.readthedocs.io/";
+license=('Apache' 'BSD')
+makedepends=('python2-setuptools' 'python-setuptools')
+source=("https://github.com/sigmavirus24/uritemplate/archive/${pkgver}.tar.gz";)
+sha1sums=('5478f460fd61838328c1916bb6bdb54bcc4677f6')
+
+prepare() {
+  cd "$srcdir"
+  cp -a uritemplate-${pkgver} uritemplate-py2-${pkgver}
+  cd uritemplate-py2-${pkgver}
+
+  sed -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
+  -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
+  -e "s|#![ ]*/bin/env python$|#!/usr/bin/env python2|" \
+  -i $(find . -name '*.py' | grep -v old)
+}
+
+build() {
+  # "Building Python2"
+  cd "$srcdir"/uritemplate-py2-${pkgver}
+  python2 setup.py build
+
+  # "Building Python3"
+  cd "$srcdir"/uritemplate-${pkgver}
+  python setup.py build
+}
+
+package_python2-uritemplate() {
+  depends=('python2')
+
+  cd "$srcdir"/uritemplate-py2-${pkgver}
+
+  python2 setup.py install --skip-build --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  install -Dm644 LICENSE.APACHE 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE.APACHE
+  install -Dm644 LICENSE.BSD "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.BSD
+}
+
+package_python-uritemplate() {
+  depends=('python')
+
+  cd "$srcdir"/uritemplate-${pkgver}
+
+  python setup.py install --skip-build --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  install -Dm644 LICENSE.APACHE 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE.APACHE
+  install -Dm644 LICENSE.BSD "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.BSD
+}


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

2019-02-10 Thread Andrzej Giniewicz via arch-commits
Date: Sunday, February 10, 2019 @ 15:50:22
  Author: aginiewicz
Revision: 431486

archrelease: copy trunk to community-any

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

--+
 PKGBUILD |  113 ++---
 1 file changed, 56 insertions(+), 57 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2019-02-10 15:50:18 UTC (rev 431485)
+++ PKGBUILD2019-02-10 15:50:22 UTC (rev 431486)
@@ -1,57 +0,0 @@
-# $Id$
-# Maintainer: Andrzej Giniewicz 
-
-pkgbase=python-uritemplate
-pkgname=('python2-uritemplate' 'python-uritemplate')
-pkgver=3.0.0
-pkgrel=3
-pkgdesc="a Python implementation of RFC6570"
-arch=('any')
-url="http://uritemplate.rtfd.org/";
-license=('Apache' 'BSD')
-makedepends=('python2-setuptools' 'python-setuptools')
-source=("https://github.com/sigmavirus24/uritemplate/archive/${pkgver}.tar.gz";)
-md5sums=('e4c7f960a3e768b094e98c2c4cf77371')
-
-prepare() {
-  cd "$srcdir"
-  cp -a uritemplate-${pkgver} uritemplate-py2-${pkgver}
-  cd uritemplate-py2-${pkgver}
-
-  sed -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
-  -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
-  -e "s|#![ ]*/bin/env python$|#!/usr/bin/env python2|" \
-  -i $(find . -name '*.py' | grep -v old)
-}
-
-build() {
-  msg "Building Python2"
-  cd "$srcdir"/uritemplate-py2-${pkgver}
-  python2 setup.py build
-
-  msg "Building Python3"
-  cd "$srcdir"/uritemplate-${pkgver}
-  python setup.py build
-}
-
-package_python2-uritemplate() {
-  depends=('python2')
-
-  cd "$srcdir"/uritemplate-py2-${pkgver}
-
-  python2 setup.py install --skip-build --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-  install -Dm644 LICENSE.APACHE 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE.APACHE
-  install -Dm644 LICENSE.BSD "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.BSD
-}
-
-package_python-uritemplate() {
-  depends=('python')
-
-  cd "$srcdir"/uritemplate-${pkgver}
-
-  python setup.py install --skip-build --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-  install -Dm644 LICENSE.APACHE 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE.APACHE
-  install -Dm644 LICENSE.BSD "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.BSD
-}

Copied: python-uritemplate/repos/community-any/PKGBUILD (from rev 431485, 
python-uritemplate/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2019-02-10 15:50:22 UTC (rev 431486)
@@ -0,0 +1,56 @@
+# Maintainer: Andrzej Giniewicz 
+
+pkgbase=python-uritemplate
+pkgname=('python2-uritemplate' 'python-uritemplate')
+pkgver=3.0.0
+pkgrel=4
+pkgdesc="a Python implementation of RFC6570"
+arch=('any')
+url="https://uritemplate.readthedocs.io/";
+license=('Apache' 'BSD')
+makedepends=('python2-setuptools' 'python-setuptools')
+source=("https://github.com/sigmavirus24/uritemplate/archive/${pkgver}.tar.gz";)
+sha1sums=('d8f42a4b67eecfda9bcb22f27c5d9509bf803165')
+
+prepare() {
+  cd "$srcdir"
+  cp -a uritemplate-${pkgver} uritemplate-py2-${pkgver}
+  cd uritemplate-py2-${pkgver}
+
+  sed -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
+  -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
+  -e "s|#![ ]*/bin/env python$|#!/usr/bin/env python2|" \
+  -i $(find . -name '*.py' | grep -v old)
+}
+
+build() {
+  # "Building Python2"
+  cd "$srcdir"/uritemplate-py2-${pkgver}
+  python2 setup.py build
+
+  # "Building Python3"
+  cd "$srcdir"/uritemplate-${pkgver}
+  python setup.py build
+}
+
+package_python2-uritemplate() {
+  depends=('python2')
+
+  cd "$srcdir"/uritemplate-py2-${pkgver}
+
+  python2 setup.py install --skip-build --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  install -Dm644 LICENSE.APACHE 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE.APACHE
+  install -Dm644 LICENSE.BSD "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.BSD
+}
+
+package_python-uritemplate() {
+  depends=('python')
+
+  cd "$srcdir"/uritemplate-${pkgver}
+
+  python setup.py install --skip-build --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  install -Dm644 LICENSE.APACHE 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE.APACHE
+  install -Dm644 LICENSE.BSD "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.BSD
+}


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

2016-10-28 Thread Andrzej Giniewicz
Date: Friday, October 28, 2016 @ 13:00:15
  Author: aginiewicz
Revision: 193899

archrelease: copy trunk to community-any

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

--+
 PKGBUILD |  109 +++--
 1 file changed, 57 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2016-10-28 13:00:05 UTC (rev 193898)
+++ PKGBUILD2016-10-28 13:00:15 UTC (rev 193899)
@@ -1,52 +0,0 @@
-# $Id$
-# Maintainer: Andrzej Giniewicz 
-
-pkgbase=python-uritemplate
-pkgname=('python2-uritemplate' 'python-uritemplate')
-pkgver=0.6
-pkgrel=2
-pkgdesc="a Python implementation of RFC6570"
-arch=('any')
-url="https://github.com/uri-templates/uritemplate-py/";
-license=('Apache')
-makedepends=('python2-setuptools' 'python-setuptools')
-source=("https://pypi.python.org/packages/source/u/uritemplate/uritemplate-${pkgver}.tar.gz";)
-md5sums=('ecfc1ea8d62c7f2b47aad625afae6173')
-
-prepare() {
-  cd "$srcdir"
-  cp -a uritemplate-${pkgver} uritemplate-py2-${pkgver}
-  cd uritemplate-py2-${pkgver}
-
-  sed -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
-  -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
-  -e "s|#![ ]*/bin/env python$|#!/usr/bin/env python2|" \
-  -i $(find . -name '*.py')
-}
-
-build() {
-  msg "Building Python2"
-  cd "$srcdir"/uritemplate-py2-${pkgver}
-  python2 setup.py build
-
-  msg "Building Python3"
-  cd "$srcdir"/uritemplate-${pkgver}
-  python setup.py build
-}
-
-package_python2-uritemplate() {
-  depends=('python2')
-
-  cd "$srcdir"/uritemplate-py2-${pkgver}
-
-  python2 setup.py install --skip-build --root="$pkgdir" --optimize=1
-}
-
-package_python-uritemplate() {
-  depends=('python')
-
-  cd "$srcdir"/uritemplate-${pkgver}
-
-  python setup.py install --skip-build --root="$pkgdir" --optimize=1
-}
-

Copied: python-uritemplate/repos/community-any/PKGBUILD (from rev 193898, 
python-uritemplate/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2016-10-28 13:00:15 UTC (rev 193899)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Andrzej Giniewicz 
+
+pkgbase=python-uritemplate
+pkgname=('python2-uritemplate' 'python-uritemplate')
+pkgver=3.0.0
+pkgrel=1
+pkgdesc="a Python implementation of RFC6570"
+arch=('any')
+url="http://uritemplate.rtfd.org/";
+license=('Apache' 'BSD')
+makedepends=('python2-setuptools' 'python-setuptools')
+source=("https://github.com/sigmavirus24/uritemplate/archive/${pkgver}.tar.gz";)
+md5sums=('e4c7f960a3e768b094e98c2c4cf77371')
+
+prepare() {
+  cd "$srcdir"
+  cp -a uritemplate-${pkgver} uritemplate-py2-${pkgver}
+  cd uritemplate-py2-${pkgver}
+
+  sed -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
+  -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
+  -e "s|#![ ]*/bin/env python$|#!/usr/bin/env python2|" \
+  -i $(find . -name '*.py' | grep -v old)
+}
+
+build() {
+  msg "Building Python2"
+  cd "$srcdir"/uritemplate-py2-${pkgver}
+  python2 setup.py build
+
+  msg "Building Python3"
+  cd "$srcdir"/uritemplate-${pkgver}
+  python setup.py build
+}
+
+package_python2-uritemplate() {
+  depends=('python2')
+
+  cd "$srcdir"/uritemplate-py2-${pkgver}
+
+  python2 setup.py install --skip-build --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  install -Dm644 LICENSE.APACHE 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE.APACHE
+  install -Dm644 LICENSE.BSD "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.BSD
+}
+
+package_python-uritemplate() {
+  depends=('python')
+
+  cd "$srcdir"/uritemplate-${pkgver}
+
+  python setup.py install --skip-build --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  install -Dm644 LICENSE.APACHE 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE.APACHE
+  install -Dm644 LICENSE.BSD "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.BSD
+}