[arch-commits] Commit in python-h11/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Apr 16 08:17:03 UTC 2018
Date: Monday, April 16, 2018 @ 08:17:02
Author: felixonmars
Revision: 316479
archrelease: copy trunk to community-any
Added:
python-h11/repos/community-any/PKGBUILD
(from rev 316478, python-h11/trunk/PKGBUILD)
Deleted:
python-h11/repos/community-any/PKGBUILD
----------+
PKGBUILD | 106 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 53 insertions(+), 53 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-04-16 08:16:37 UTC (rev 316478)
+++ PKGBUILD 2018-04-16 08:17:02 UTC (rev 316479)
@@ -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.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
-}
Copied: python-h11/repos/community-any/PKGBUILD (from rev 316478, python-h11/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-04-16 08:17:02 UTC (rev 316479)
@@ -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.1
+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=('3310dcd8552de4440ed9669fd37b3fc4d76073a9801decb705bceee3c1e98ff83470bd124ecf36e1ec3457ff2fb4da6f4fbf077daa810c28ab73044dfab709d4')
+
+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