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

Felix Yan fyan at archlinux.org
Tue Feb 2 16:03:10 UTC 2016


    Date: Tuesday, February 2, 2016 @ 17:03:10
  Author: fyan
Revision: 159990

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-02-02 16:02:51 UTC (rev 159989)
+++ PKGBUILD	2016-02-02 16:03:10 UTC (rev 159990)
@@ -1,55 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-hpack
-pkgname=(python-hpack python2-hpack)
-_pkgname=hpack
-pkgver=2.0.1
-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=('dd014e2e08c3d7cc0e216cc1d18c95e55838e2bf4b7e706b54b0093140750c2cdb76944d14b78dae1320e27028c0be9dd73b66535bf8b02ca78615e4fe241133')
-
-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"
-}
-

Copied: python-hpack/repos/community-any/PKGBUILD (from rev 159989, python-hpack/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-02-02 16:03:10 UTC (rev 159990)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-hpack
+pkgname=(python-hpack python2-hpack)
+pkgver=2.1.0
+pkgrel=1
+pkgdesc="Pure-Python HPACK header compression"
+arch=('any')
+url="http://hyper.rtfd.org/"
+license=('MIT')
+makedepends=('python-setuptools' 'python2-setuptools' 'git')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner')
+source=("git+https://github.com/Lukasa/hpack.git#tag=v$pkgver")
+sha512sums=('SKIP')
+
+prepare() {
+  cp -a hpack{,-py2}
+}
+
+build() {
+  cd hpack
+  python setup.py build
+
+  cd ../hpack-py2
+  python2 setup.py build
+}
+
+check() {
+  cd hpack
+  python setup.py ptr
+
+  cd ../hpack-py2
+  python2 setup.py ptr
+}
+
+package_python-hpack() {
+  depends=('python')
+
+  cd hpack
+  python setup.py install -O1 --root "${pkgdir}"
+
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_python2-hpack() {
+  depends=('python2')
+
+  cd hpack-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