Date: Thursday, May 14, 2020 @ 12:57:10 Author: jelle Revision: 627928
archrelease: copy trunk to community-any Added: python-profilestats/repos/community-any/PKGBUILD (from rev 627927, python-profilestats/trunk/PKGBUILD) Deleted: python-profilestats/repos/community-any/PKGBUILD ----------+ PKGBUILD | 62 ++++++++++++++++++++++--------------------------------------- 1 file changed, 23 insertions(+), 39 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-05-14 12:56:58 UTC (rev 627927) +++ PKGBUILD 2020-05-14 12:57:10 UTC (rev 627928) @@ -1,39 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgbase=python-profilestats -pkgname=('python-profilestats' 'python2-profilestats') -pkgver=2.0 -pkgrel=5 -pkgdesc="Decorator for profiling individual functions and converting profiling data to the kcachegrind/qcachegrind format." -arch=('any') -license=('BSD') -url="https://pypi.python.org/pypi/profilestats" -makedepends=('python-setuptools' 'python2-setuptools' 'pyprof2calltree' 'python2-pyprof2calltree' 'git') -source=("git+https://github.com/hannosch/profilestats.git#tag=$pkgver") -sha512sums=('SKIP') - -prepare() { - cp -a profilestats{,-py2} -} - -build() { - cd "$srcdir"/profilestats - python setup.py build - - cd "$srcdir"/profilestats-py2 - python2 setup.py build -} - -package_python-profilestats() { - depends=('python-setuptools' 'pyprof2calltree') - - cd profilestats - python setup.py install --root="$pkgdir" --optimize=1 -} - -package_python2-profilestats() { - depends=('python2-setuptools' 'python2-pyprof2calltree') - - cd profilestats-py2 - python2 setup.py install --root="$pkgdir" --optimize=1 -} Copied: python-profilestats/repos/community-any/PKGBUILD (from rev 627927, python-profilestats/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-05-14 12:57:10 UTC (rev 627928) @@ -0,0 +1,23 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-profilestats +pkgver=2.0 +pkgrel=6 +pkgdesc="Decorator for profiling individual functions and converting profiling data to the kcachegrind/qcachegrind format." +arch=('any') +license=('BSD') +url="https://pypi.python.org/pypi/profilestats" +depends=('python-setuptools' 'pyprof2calltree') +makedepends=('git') +source=("git+https://github.com/hannosch/profilestats.git#tag=$pkgver") +sha512sums=('SKIP') + +build() { + cd "$srcdir"/profilestats + python setup.py build +} + +package() { + cd profilestats + python setup.py install --root="$pkgdir" --optimize=1 +}