Date: Friday, April 7, 2023 @ 05:50:27
  Author: felixonmars
Revision: 1440652

archrelease: copy trunk to community-staging-any

Added:
  python-profilestats/repos/community-staging-any/
  python-profilestats/repos/community-staging-any/PKGBUILD
    (from rev 1440646, python-profilestats/trunk/PKGBUILD)

----------+
 PKGBUILD |   22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

Copied: python-profilestats/repos/community-staging-any/PKGBUILD (from rev 
1440646, python-profilestats/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-07 05:50:27 UTC (rev 1440652)
@@ -0,0 +1,22 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-profilestats
+pkgver=2.0
+pkgrel=12
+pkgdesc="Decorator for profiling individual functions and converting profiling 
data to the kcachegrind/qcachegrind format."
+arch=('any')
+license=('BSD')
+url="https://github.com/hannosch/profilestats";
+depends=('python-setuptools' 'pyprof2calltree')
+source=("https://github.com/hannosch/profilestats/archive/$pkgver/$pkgname-$pkgver.tar.gz";)
+sha512sums=('918d23df8f076dc6b0be0dc70e8899f638d6a911472193624e6a7594a1b1c82975f0090dddbcdadcb0c6a0c11b2bb6f22fad11561322cdf962c719854663b23a')
+
+build() {
+  cd profilestats-$pkgver
+  python setup.py build
+}
+
+package() {
+  cd profilestats-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}

Reply via email to