Date: Saturday, June 4, 2016 @ 06:40:35 Author: fyan Revision: 177843
archrelease: copy trunk to community-any Added: python-repoze.profile/repos/community-any/PKGBUILD (from rev 177842, python-repoze.profile/trunk/PKGBUILD) Deleted: python-repoze.profile/repos/community-any/PKGBUILD ----------+ PKGBUILD | 107 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 53 insertions(+), 54 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2016-06-04 04:40:01 UTC (rev 177842) +++ PKGBUILD 2016-06-04 04:40:35 UTC (rev 177843) @@ -1,54 +0,0 @@ -# $Id$ -# Maintainer : Felix Yan <felixonm...@archlinux.org> - -_name=repoze.profile -pkgname=(python-$_name python2-$_name) -pkgver=2.1 -pkgrel=2 -pkgdesc="Aggregate profiling for WSGI requests" -arch=('any') -license=('custom:BSD') -url="http://docs.repoze.org/profile/" -makedepends=('python-setuptools' 'python2-setuptools' 'pyprof2calltree' 'python2-pyprof2calltree') -checkdepends=('python-nose' 'python2-nose') -source=("http://pypi.python.org/packages/source/r/$_name/$_name-$pkgver.tar.gz") -md5sums=('50043eb6347f3f024d852062084a02b5') - -prepare() { - cp -a $_name-$pkgver{,-py2} -} - -build() { - cd "$srcdir/$_name-$pkgver" - python setup.py build - - cd "$srcdir/$_name-$pkgver-py2" - python2 setup.py build -} - -check() { - cd "$srcdir/$_name-$pkgver" - nosetests3 - - cd "$srcdir/$_name-$pkgver-py2" - nosetests2 -} - -package_python-repoze.profile() { - depends=('python') - optdepends=('pyprof2calltree') - - cd $_name-$pkgver - python setup.py install --root="${pkgdir}" - - install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt" -} - -package_python2-repoze.profile() { - depends=('python2-pyprof2calltree') - - cd $_name-$pkgver-py2 - python2 setup.py install --root="${pkgdir}" - - install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt" -} Copied: python-repoze.profile/repos/community-any/PKGBUILD (from rev 177842, python-repoze.profile/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2016-06-04 04:40:35 UTC (rev 177843) @@ -0,0 +1,53 @@ +# $Id$ +# Maintainer : Felix Yan <felixonm...@archlinux.org> + +pkgname=(python-repoze.profile python2-repoze.profile) +pkgver=2.2 +pkgrel=1 +pkgdesc="Aggregate profiling for WSGI requests" +arch=('any') +license=('custom:BSD') +url="http://docs.repoze.org/profile/" +makedepends=('python-setuptools' 'python2-setuptools' 'pyprof2calltree' 'python2-pyprof2calltree') +checkdepends=('python-nose' 'python2-nose') +source=("https://pypi.io/packages/source/r/repoze.profile/repoze.profile-$pkgver.tar.gz") +md5sums=('565bd64ae4930e41d3e0839b309081bd') + +prepare() { + cp -a repoze.profile-$pkgver{,-py2} +} + +build() { + cd "$srcdir"/repoze.profile-$pkgver + python setup.py build + + cd "$srcdir"/repoze.profile-$pkgver-py2 + python2 setup.py build +} + +check() { + cd "$srcdir"/repoze.profile-$pkgver + nosetests3 + + cd "$srcdir"/repoze.profile-$pkgver-py2 + nosetests2 +} + +package_python-repoze.profile() { + depends=('python') + optdepends=('pyprof2calltree') + + cd repoze.profile-$pkgver + python setup.py install --root="$pkgdir" + + install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt +} + +package_python2-repoze.profile() { + depends=('python2-pyprof2calltree') + + cd repoze.profile-$pkgver-py2 + python2 setup.py install --root="$pkgdir" + + install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt +}