Date: Tuesday, May 9, 2017 @ 07:55:13 Author: felixonmars Revision: 227414
archrelease: copy trunk to community-any Added: python-sure/repos/community-any/PKGBUILD (from rev 227413, python-sure/trunk/PKGBUILD) Deleted: python-sure/repos/community-any/PKGBUILD ----------+ PKGBUILD | 104 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 52 insertions(+), 52 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2017-05-09 07:54:39 UTC (rev 227413) +++ PKGBUILD 2017-05-09 07:55:13 UTC (rev 227414) @@ -1,52 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgbase=python-sure -pkgname=("python-sure" "python2-sure") -pkgver=1.4.5 -pkgrel=1 -pkgdesc="HTTP client mock for Python" -arch=('any') -url="http://github.com/gabrielfalcao/sure" -license=('GPL') -makedepends=('python-six' 'python2-six' 'python-mock' 'python2-mock' 'python-setuptools' - 'python2-setuptools' 'git') -checkdepends=('python-nose' 'python2-nose') -source=("$pkgbase-$pkgver.tar.gz::https://github.com/gabrielfalcao/sure/archive/v$pkgver.tar.gz") -sha512sums=('20999ea7d0b7f7502a8b3cdd0022857f6d0904e5cd91c95555e29716e2a4870f8dd04f268d984320211986f3cfe800f910dd9019d8d2cfa3aa0ca74fd6830de5') - -prepare() { - cp -a sure-$pkgver{,-py2} - - export LC_CTYPE=en_US.UTF-8 -} - -build() { - cd "$srcdir"/sure-$pkgver - python setup.py build - - cd "$srcdir"/sure-$pkgver-py2 - python2 setup.py build -} - -check() { - cd "$srcdir"/sure-$pkgver - python setup.py test - - cd "$srcdir"/sure-$pkgver-py2 - python2 setup.py test -} - -package_python-sure() { - depends=('python-six' 'python-mock') - - cd sure-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 -} - -package_python2-sure() { - depends=('python2-six' 'python2-mock') - - cd sure-$pkgver-py2 - python2 setup.py install --root="$pkgdir" --optimize=1 -} Copied: python-sure/repos/community-any/PKGBUILD (from rev 227413, python-sure/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2017-05-09 07:55:13 UTC (rev 227414) @@ -0,0 +1,52 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgbase=python-sure +pkgname=("python-sure" "python2-sure") +pkgver=1.4.6 +pkgrel=1 +pkgdesc="HTTP client mock for Python" +arch=('any') +url="http://github.com/gabrielfalcao/sure" +license=('GPL') +makedepends=('python-six' 'python2-six' 'python-mock' 'python2-mock' 'python-setuptools' + 'python2-setuptools' 'git') +checkdepends=('python-nose' 'python2-nose') +source=("$pkgbase-$pkgver.tar.gz::https://github.com/gabrielfalcao/sure/archive/v$pkgver.tar.gz") +sha512sums=('5da5ff2d2629afaff0327af4cf94717c4097fcf102094fcd33d04cc23df8dc16b52fd4c6c524583dfc0f1b85150d73651f4fbb62814575ea67b5477db8c35291') + +prepare() { + cp -a sure-$pkgver{,-py2} + + export LC_CTYPE=en_US.UTF-8 +} + +build() { + cd "$srcdir"/sure-$pkgver + python setup.py build + + cd "$srcdir"/sure-$pkgver-py2 + python2 setup.py build +} + +check() { + cd "$srcdir"/sure-$pkgver + python setup.py test + + cd "$srcdir"/sure-$pkgver-py2 + python2 setup.py test +} + +package_python-sure() { + depends=('python-six' 'python-mock') + + cd sure-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 +} + +package_python2-sure() { + depends=('python2-six' 'python2-mock') + + cd sure-$pkgver-py2 + python2 setup.py install --root="$pkgdir" --optimize=1 +}