[arch-commits] Commit in python-repoze.profile/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue Mar 19 06:02:37 UTC 2019


    Date: Tuesday, March 19, 2019 @ 06:02:36
  Author: felixonmars
Revision: 442549

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-19 06:02:21 UTC (rev 442548)
+++ PKGBUILD	2019-03-19 06:02:36 UTC (rev 442549)
@@ -1,52 +0,0 @@
-# Maintainer : Felix Yan <felixonmars at archlinux.org>
-
-pkgname=(python-repoze.profile python2-repoze.profile)
-pkgver=2.3
-pkgrel=1
-pkgdesc="Aggregate profiling for WSGI requests"
-arch=('any')
-license=('custom:BSD')
-url="http://docs.repoze.org/profile/"
-makedepends=('python-setuptools' 'python2-setuptools' 'pyprof2calltree' 'python2-pyprof2calltree')
-checkdepends=('python-nose' 'python2-nose')
-source=("https://pypi.io/packages/source/r/repoze.profile/repoze.profile-$pkgver.tar.gz")
-md5sums=('65e87b8ef5ac7e6b2074decdb89a180b')
-
-prepare() {
-  cp -a repoze.profile-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/repoze.profile-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/repoze.profile-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/repoze.profile-$pkgver
-  nosetests3
-
-  cd "$srcdir"/repoze.profile-$pkgver-py2
-  nosetests2
-}
-
-package_python-repoze.profile() {
-  depends=('python')
-  optdepends=('pyprof2calltree')
-
-  cd repoze.profile-$pkgver
-  python setup.py install --root="$pkgdir"
-  
-  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
-}
-
-package_python2-repoze.profile() {
-  depends=('python2-pyprof2calltree')
-
-  cd repoze.profile-$pkgver-py2
-  python2 setup.py install --root="$pkgdir"
-
-  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
-}

Copied: python-repoze.profile/repos/community-any/PKGBUILD (from rev 442548, python-repoze.profile/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-03-19 06:02:36 UTC (rev 442549)
@@ -0,0 +1,32 @@
+# Maintainer : Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-repoze.profile
+pkgver=2.3
+pkgrel=2
+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