[arch-commits] Commit in python-profilestats/trunk (PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Thu May 14 12:56:59 UTC 2020
Date: Thursday, May 14, 2020 @ 12:56:58
Author: jelle
Revision: 627927
remove unused python2 module
Modified:
python-profilestats/trunk/PKGBUILD
----------+
PKGBUILD | 26 +++++---------------------
1 file changed, 5 insertions(+), 21 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-05-14 12:30:43 UTC (rev 627926)
+++ PKGBUILD 2020-05-14 12:56:58 UTC (rev 627927)
@@ -1,39 +1,23 @@
# Maintainer: Felix Yan <felixonmars at archlinux.org>
-pkgbase=python-profilestats
-pkgname=('python-profilestats' 'python2-profilestats')
+pkgname=python-profilestats
pkgver=2.0
-pkgrel=5
+pkgrel=6
pkgdesc="Decorator for profiling individual functions and converting profiling data to the kcachegrind/qcachegrind format."
arch=('any')
license=('BSD')
url="https://pypi.python.org/pypi/profilestats"
-makedepends=('python-setuptools' 'python2-setuptools' 'pyprof2calltree' 'python2-pyprof2calltree' 'git')
+depends=('python-setuptools' 'pyprof2calltree')
+makedepends=('git')
source=("git+https://github.com/hannosch/profilestats.git#tag=$pkgver")
sha512sums=('SKIP')
-prepare() {
- cp -a profilestats{,-py2}
-}
-
build() {
cd "$srcdir"/profilestats
python setup.py build
-
- cd "$srcdir"/profilestats-py2
- python2 setup.py build
}
-package_python-profilestats() {
- depends=('python-setuptools' 'pyprof2calltree')
-
+package() {
cd profilestats
python setup.py install --root="$pkgdir" --optimize=1
}
-
-package_python2-profilestats() {
- depends=('python2-setuptools' 'python2-pyprof2calltree')
-
- cd profilestats-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
-}
More information about the arch-commits
mailing list