Date: Tuesday, November 10, 2015 @ 04:18:42 Author: fyan Revision: 146461
archrelease: copy trunk to community-any Added: python-hpack/repos/community-any/PKGBUILD (from rev 146460, python-hpack/trunk/PKGBUILD) Deleted: python-hpack/repos/community-any/PKGBUILD ----------+ PKGBUILD | 110 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 55 insertions(+), 55 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2015-11-10 03:18:13 UTC (rev 146460) +++ PKGBUILD 2015-11-10 03:18:42 UTC (rev 146461) @@ -1,55 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@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" -} - Copied: python-hpack/repos/community-any/PKGBUILD (from rev 146460, python-hpack/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2015-11-10 03:18:42 UTC (rev 146461) @@ -0,0 +1,55 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@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" +} +