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

Felix Yan felixonmars at archlinux.org
Thu Mar 22 18:08:33 UTC 2018


    Date: Thursday, March 22, 2018 @ 18:08:33
  Author: felixonmars
Revision: 310698

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  106 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 53 insertions(+), 53 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-03-22 18:08:10 UTC (rev 310697)
+++ PKGBUILD	2018-03-22 18:08:33 UTC (rev 310698)
@@ -1,53 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Simon Sapin <simon dot sapin at exyr dot org>
-# Contributor: Kyle Keen <keenerd at gmail.com>
-
-pkgbase=python-h11
-pkgname=(python-h11 python2-h11)
-pkgver=0.7.0
-pkgrel=1
-pkgdesc="A pure-Python, bring-your-own-I/O implementation of HTTP/1.1"
-url="https://github.com/njsmith/h11"
-license=('MIT')
-arch=('any')
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner')
-source=("https://pypi.io/packages/source/h/h11/h11-$pkgver.zip")
-sha512sums=('abf9b8f7f12870804539049c3bfebbbe476e394636aed9967aa725d501fff983f28c7f14b4b882c17914d00fe3e74417ff8922128d0e4e07bf042a7db6d0b100')
-
-prepare() {
-  cp -a h11-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/h11-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/h11-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/h11-$pkgver
-  python setup.py pytest
-
-  cd "$srcdir"/h11-$pkgver-py2
-  python2 setup.py pytest
-}
-
-package_python-h11() {
-  depends=('python')
-
-  cd h11-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
-}
-
-package_python2-h11() {
-  depends=('python2')
-
-  cd h11-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
-}

Copied: python-h11/repos/community-any/PKGBUILD (from rev 310697, python-h11/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-03-22 18:08:33 UTC (rev 310698)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Simon Sapin <simon dot sapin at exyr dot org>
+# Contributor: Kyle Keen <keenerd at gmail.com>
+
+pkgbase=python-h11
+pkgname=(python-h11 python2-h11)
+pkgver=0.8.0
+pkgrel=1
+pkgdesc="A pure-Python, bring-your-own-I/O implementation of HTTP/1.1"
+url="https://github.com/njsmith/h11"
+license=('MIT')
+arch=('any')
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner')
+source=("https://pypi.io/packages/source/h/h11/h11-$pkgver.tar.gz")
+sha512sums=('edd440dd74c03ce4fb7fd9e6b88e7c9550eb7c50b70676b506a8dafaf1469d9830de01300536128f0e7c61ae09d5256d15875dd5e6a9b99b89470bf70ee343b8')
+
+prepare() {
+  cp -a h11-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/h11-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/h11-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/h11-$pkgver
+  python setup.py pytest
+
+  cd "$srcdir"/h11-$pkgver-py2
+  python2 setup.py pytest
+}
+
+package_python-h11() {
+  depends=('python')
+
+  cd h11-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}
+
+package_python2-h11() {
+  depends=('python2')
+
+  cd h11-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}



More information about the arch-commits mailing list