[arch-commits] Commit in python-repoze.profile/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Thu Nov 12 17:04:04 UTC 2020


    Date: Thursday, November 12, 2020 @ 17:04:03
  Author: foutrelis
Revision: 752219

archrelease: copy trunk to community-staging-any

Added:
  python-repoze.profile/repos/community-staging-any/
  python-repoze.profile/repos/community-staging-any/PKGBUILD
    (from rev 752218, python-repoze.profile/trunk/PKGBUILD)

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

Copied: python-repoze.profile/repos/community-staging-any/PKGBUILD (from rev 752218, python-repoze.profile/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-12 17:04:03 UTC (rev 752219)
@@ -0,0 +1,32 @@
+# Maintainer : Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-repoze.profile
+pkgver=2.3
+pkgrel=4
+pkgdesc="Aggregate profiling for WSGI requests"
+arch=('any')
+license=('BSD')
+url="http://docs.repoze.org/profile/"
+depends=('python')
+optdepends=('pyprof2calltree')
+makedepends=('python-setuptools' 'pyprof2calltree')
+checkdepends=('python-nose')
+source=("https://pypi.io/packages/source/r/repoze.profile/repoze.profile-$pkgver.tar.gz")
+md5sums=('65e87b8ef5ac7e6b2074decdb89a180b')
+
+build() {
+  cd repoze.profile-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd repoze.profile-$pkgver
+  nosetests3
+}
+
+package() {
+  cd repoze.profile-$pkgver
+  python setup.py install --root="$pkgdir"
+
+  install -Dm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname
+}



More information about the arch-commits mailing list