[arch-commits] Commit in (4 files)

David Runge dvzrv at archlinux.org
Fri Jan 10 18:00:08 UTC 2020


    Date: Friday, January 10, 2020 @ 18:00:08
  Author: dvzrv
Revision: 551778

Adding python-pprofile as depends for python-falcon (a depends for mailman3).

Added:
  python-pprofile/
  python-pprofile/repos/
  python-pprofile/trunk/
  python-pprofile/trunk/PKGBUILD

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

Added: python-pprofile/trunk/PKGBUILD
===================================================================
--- python-pprofile/trunk/PKGBUILD	                        (rev 0)
+++ python-pprofile/trunk/PKGBUILD	2020-01-10 18:00:08 UTC (rev 551778)
@@ -0,0 +1,33 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=pprofile
+pkgname=python-pprofile
+pkgver=2.0.2
+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=('1abde08b611bab63bbe3d8a7257b6753add0e74ac0b87c07bf390bd2620dc2115910d79615c05e8bbb2ab200f8fa53fdf8ccea6ce5555a31d460a44ddf6a0a3f')
+
+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}"
+}



More information about the arch-commits mailing list