[arch-commits] Commit in python-h2/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Mar 17 08:49:41 UTC 2017
Date: Friday, March 17, 2017 @ 08:49:41
Author: felixonmars
Revision: 216900
archrelease: copy trunk to community-any
Added:
python-h2/repos/community-any/PKGBUILD
(from rev 216899, python-h2/trunk/PKGBUILD)
Deleted:
python-h2/repos/community-any/PKGBUILD
----------+
PKGBUILD | 110 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 55 insertions(+), 55 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-03-17 08:49:05 UTC (rev 216899)
+++ PKGBUILD 2017-03-17 08:49:41 UTC (rev 216900)
@@ -1,55 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-h2
-pkgname=('python-h2' 'python2-h2')
-pkgver=2.6.0
-pkgrel=1
-pkgdesc="HTTP/2 State-Machine based protocol implementation"
-arch=('any')
-license=('MIT')
-url="http://hyper.rtfd.org"
-makedepends=('python-setuptools' 'python2-setuptools' 'python-hpack' 'python2-hpack'
- 'python-hyperframe' 'python2-hyperframe' 'python2-enum34' 'git')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-hypothesis'
- 'python2-hypothesis')
-source=("git+https://github.com/python-hyper/hyper-h2.git#tag=v$pkgver")
-sha512sums=('SKIP')
-
-prepare() {
- cp -a hyper-h2{,-py2}
-
- export LC_CTYPE=en_US.UTF-8
-}
-
-build() {
- cd "$srcdir"/hyper-h2
- python setup.py build
-
- cd "$srcdir"/hyper-h2-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/hyper-h2
- python setup.py pytest
-
- cd "$srcdir"/hyper-h2-py2
- python2 setup.py pytest
-}
-
-package_python-h2() {
- depends=('python-hpack' 'python-hyperframe')
-
- cd hyper-h2
- python setup.py install --root="$pkgdir" --optimize=1
- install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-h2() {
- depends=('python2-hpack' 'python2-hyperframe' 'python2-enum34')
-
- cd hyper-h2-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
- install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
Copied: python-h2/repos/community-any/PKGBUILD (from rev 216899, python-h2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-03-17 08:49:41 UTC (rev 216900)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-h2
+pkgname=('python-h2' 'python2-h2')
+pkgver=2.6.1
+pkgrel=1
+pkgdesc="HTTP/2 State-Machine based protocol implementation"
+arch=('any')
+license=('MIT')
+url="http://hyper.rtfd.org"
+makedepends=('python-setuptools' 'python2-setuptools' 'python-hpack' 'python2-hpack'
+ 'python-hyperframe' 'python2-hyperframe' 'python2-enum34' 'git')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-hypothesis'
+ 'python2-hypothesis')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/python-hyper/hyper-h2/archive/v$pkgver.tar.gz")
+sha512sums=('88bff9e893b04cff52bf7ce850718a3e690206834d77a81f692a9f361ef24b9833cec5fe12650a50744eef8e3450930fb12f1b119fe1b39de9e06ef15df6a2c5')
+
+prepare() {
+ cp -a hyper-h2-$pkgver{,-py2}
+
+ export LC_CTYPE=en_US.UTF-8
+}
+
+build() {
+ cd "$srcdir"/hyper-h2-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/hyper-h2-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/hyper-h2-$pkgver
+ python setup.py pytest
+
+ cd "$srcdir"/hyper-h2-$pkgver-py2
+ python2 setup.py pytest
+}
+
+package_python-h2() {
+ depends=('python-hpack' 'python-hyperframe')
+
+ cd hyper-h2-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-h2() {
+ depends=('python2-hpack' 'python2-hyperframe' 'python2-enum34')
+
+ cd hyper-h2-$pkgver-py2
+ python2 setup.py install --root="$pkgdir" --optimize=1
+ install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list