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

Felix Yan felixonmars at archlinux.org
Mon Nov 4 05:37:56 UTC 2019


    Date: Monday, November 4, 2019 @ 05:37:56
  Author: felixonmars
Revision: 523222

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 523221, python-repoze.profile/trunk/PKGBUILD)

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

Copied: python-repoze.profile/repos/community-staging-any/PKGBUILD (from rev 523221, python-repoze.profile/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-11-04 05:37:56 UTC (rev 523222)
@@ -0,0 +1,32 @@
+# Maintainer : Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-repoze.profile
+pkgver=2.3
+pkgrel=3
+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