Date: Friday, October 8, 2021 @ 17:50:08 Author: dvzrv Revision: 1028054
archrelease: copy trunk to community-any Added: python-pprofile/repos/community-any/PKGBUILD (from rev 1028053, python-pprofile/trunk/PKGBUILD) Deleted: python-pprofile/repos/community-any/PKGBUILD ----------+ PKGBUILD | 63 +++++++++++++++++++++++++++++-------------------------------- 1 file changed, 30 insertions(+), 33 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-10-08 17:50:00 UTC (rev 1028053) +++ PKGBUILD 2021-10-08 17:50:08 UTC (rev 1028054) @@ -1,33 +0,0 @@ -# Maintainer: David Runge <dv...@archlinux.org> - -_name=pprofile -pkgname=python-pprofile -pkgver=2.0.5 -pkgrel=2 -pkgdesc="Line-granularity, thread-aware deterministic and statistic pure-python profiler" -arch=('any') -url="https://github.com/vpelletier/pprofile" -license=('GPL2') -depends=('python') -makedepends=('python-setuptools') -source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz") -sha512sums=('130489d9099bb97ec04d36c2dadc26e791ba1ed6b7fecbb125e4611582e5f2999650017d01d05d326db12991b817ca29eaedfa9f6c9d8783f4b08765ae4b32ad') - -prepare() { - mv -v "${_name}-$pkgver" "$pkgname-$pkgver" - cd "$pkgname-$pkgver" -} - -build() { - cd "$pkgname-$pkgver" - python setup.py build -} - -package() { - cd "$pkgname-$pkgver" - python setup.py install --skip-build \ - --optimize=1 \ - --prefix=/usr \ - --root="${pkgdir}" - install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}" -} Copied: python-pprofile/repos/community-any/PKGBUILD (from rev 1028053, python-pprofile/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-10-08 17:50:08 UTC (rev 1028054) @@ -0,0 +1,30 @@ +# Maintainer: David Runge <dv...@archlinux.org> + +_name=pprofile +pkgname=python-pprofile +pkgver=2.1.0 +pkgrel=1 +pkgdesc="Line-granularity, thread-aware deterministic and statistic pure-python profiler" +arch=('any') +url="https://github.com/vpelletier/pprofile" +license=('GPL2') +depends=('python') +makedepends=('python-setuptools') +source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz") +sha512sums=('1cfea7bc89258f8a94c4c08cdbe84089e7417c17fe662014df33e315c86432830a100c367076ddb00b153e6a7b0d7394670190538fcbe85077c16bfe3dbb8545') +b2sums=('c5d94585f8a56e199cfe6ac73ad0528ca6de6bc252996989f07d29d9fea6bfeda4809f8806c00a710396b0a27518a0a02908e887b473e306612754dcb0ae8ccf') + +prepare() { + mv -v "${_name}-$pkgver" "$pkgname-$pkgver" +} + +build() { + cd "$pkgname-$pkgver" + python setup.py build +} + +package() { + cd "$pkgname-$pkgver" + python setup.py install --optimize=1 --root="${pkgdir}" + install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}" +}