smem: auto updated to 1.5-6
This commit is contained in:
parent
91226bbb39
commit
aa43772431
12
repo/smem/0001-Fix-xrange-in-Python-3.patch
Normal file
12
repo/smem/0001-Fix-xrange-in-Python-3.patch
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
diff '--color=auto' -ura smem-1.5/smem smem-1.5.new/smem
|
||||||
|
--- smem-1.5/smem 2015-05-15 12:52:02.000000000 -0500
|
||||||
|
+++ smem-1.5.new/smem 2024-10-13 02:55:19.670091304 -0500
|
||||||
|
@@ -646,7 +646,7 @@
|
||||||
|
|
||||||
|
pl = []
|
||||||
|
ind = numpy.arange(len(l))
|
||||||
|
- for n in xrange(len(rc)):
|
||||||
|
+ for n in range(len(rc)):
|
||||||
|
pl.append(pylab.bar(ind + offset + width * n,
|
||||||
|
[x[1][rc[n]] for x in l], width, color=gc(n)))
|
||||||
|
|
|
@ -6,15 +6,24 @@
|
||||||
|
|
||||||
pkgname=smem
|
pkgname=smem
|
||||||
pkgver=1.5
|
pkgver=1.5
|
||||||
pkgrel=5
|
pkgrel=6
|
||||||
pkgdesc="Generate reports on memory usage."
|
pkgdesc="Generate reports on memory usage."
|
||||||
url="https://www.selenic.com/smem/"
|
url="https://www.selenic.com/smem/"
|
||||||
license=("GPL")
|
license=("GPL")
|
||||||
depends=('python')
|
depends=('python')
|
||||||
optdepends=('python-matplotlib: for chart generation')
|
optdepends=('python-matplotlib: for chart generation')
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
source=("$pkgname-$pkgver.tgz::https://www.selenic.com/repo/smem/archive/$pkgver.tar.gz")
|
source=(
|
||||||
sha256sums=('5c3907b0ac9d3252cbbc5cb9ebe93f0c2b602df67376d9050c09146871822293')
|
"$pkgname-$pkgver.tgz::https://www.selenic.com/repo/smem/archive/$pkgver.tar.gz"
|
||||||
|
"0001-Fix-xrange-in-Python-3.patch"
|
||||||
|
)
|
||||||
|
sha256sums=('5c3907b0ac9d3252cbbc5cb9ebe93f0c2b602df67376d9050c09146871822293'
|
||||||
|
'efa7c105a60d0a345aec981c534d79c8c1e35988d527bd3a8e28a728c5de8ea8')
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cd "$pkgname-$pkgver"
|
||||||
|
patch -N -p1 -i ../0001-Fix-xrange-in-Python-3.patch
|
||||||
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$srcdir/$pkgname-$pkgver"
|
cd "$srcdir/$pkgname-$pkgver"
|
||||||
|
|
Loading…
Reference in a new issue