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

Felix Yan fyan at archlinux.org
Wed Oct 14 01:41:05 UTC 2015


    Date: Wednesday, October 14, 2015 @ 03:41:05
  Author: fyan
Revision: 143951

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  110 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 55 insertions(+), 55 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2015-10-14 01:40:40 UTC (rev 143950)
+++ PKGBUILD	2015-10-14 01:41:05 UTC (rev 143951)
@@ -1,55 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-hpack
-pkgname=(python-hpack python2-hpack)
-_pkgname=hpack
-pkgver=1.1.0
-pkgrel=2
-pkgdesc="Pure-Python HPACK header compression"
-arch=('any')
-url="http://hyper.rtfd.org/"
-license=('MIT')
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-pytest' 'python2-pytest')
-source=("$pkgbase-$pkgver::https://github.com/Lukasa/hpack/archive/v${pkgver}.tar.gz")
-sha512sums=('2a9618b838dc8e0360e297ac0c65584c02dc0f036a49c833aac34b6950789acda145e180dd3a80b1e02e38be12ce0f829db60fa67ee306d4e8ae7a7fff8d500d')
-
-prepare() {
-  cp -a $_pkgname-$pkgver{,-py2}
-}
-
-build() {
-  cd $_pkgname-$pkgver
-  python setup.py build
-
-  cd ../$_pkgname-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd $_pkgname-$pkgver
-  py.test
-
-  cd ../$_pkgname-$pkgver-py2
-  py.test2
-}
-
-package_python-hpack() {
-  depends=('python')
-
-  cd $_pkgname-$pkgver
-  python setup.py install -O1 --root "${pkgdir}"
-
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-package_python2-hpack() {
-  depends=('python2')
-
-  cd $_pkgname-$pkgver-py2
-  python2 setup.py install -O1 --root "${pkgdir}"
-
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-

Copied: python-hpack/repos/community-any/PKGBUILD (from rev 143950, python-hpack/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2015-10-14 01:41:05 UTC (rev 143951)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-hpack
+pkgname=(python-hpack python2-hpack)
+_pkgname=hpack
+pkgver=2.0.0
+pkgrel=1
+pkgdesc="Pure-Python HPACK header compression"
+arch=('any')
+url="http://hyper.rtfd.org/"
+license=('MIT')
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner')
+source=("$pkgbase-$pkgver::https://github.com/Lukasa/hpack/archive/v${pkgver}.tar.gz")
+sha512sums=('fc88930235d9c41286e13c55f2732094740162c1fdb4f9b55b383311a5412b0a2e2ddecb232a2d9fc9b821eb80b7e305156c4f6018f3e6653d957b72c179a97b')
+
+prepare() {
+  cp -a $_pkgname-$pkgver{,-py2}
+}
+
+build() {
+  cd $_pkgname-$pkgver
+  python setup.py build
+
+  cd ../$_pkgname-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd $_pkgname-$pkgver
+  python setup.py ptr
+
+  cd ../$_pkgname-$pkgver-py2
+  python2 setup.py ptr
+}
+
+package_python-hpack() {
+  depends=('python')
+
+  cd $_pkgname-$pkgver
+  python setup.py install -O1 --root "${pkgdir}"
+
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_python2-hpack() {
+  depends=('python2')
+
+  cd $_pkgname-$pkgver-py2
+  python2 setup.py install -O1 --root "${pkgdir}"
+
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+



More information about the arch-commits mailing list