diff options
author | Jonathon Fernyhough | 2020-09-23 18:52:03 +0100 |
---|---|---|
committer | Jonathon Fernyhough | 2020-09-23 18:52:03 +0100 |
commit | 0bfce60d506299a586efe6c9e2689798775ec05f (patch) | |
tree | 35281fd9cb5715ddc8f0d56bb0642f0033f61603 | |
parent | ecfa96680fb860333abd0cd084a619d963787193 (diff) | |
download | aur-0bfce60d506299a586efe6c9e2689798775ec05f.tar.gz |
Package 0.2.2 using coz-git as base
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 41 | ||||
-rw-r--r-- | python3.diff | 10 |
3 files changed, 41 insertions, 30 deletions
@@ -1,17 +1,17 @@ -pkgbase = coz-git - pkgdesc = a new kind of profiler that measures optimization potential - pkgver = r424.d87e924 +pkgbase = coz + pkgdesc = A new kind of profiler that measures optimization potential + pkgver = 0.2.2 pkgrel = 1 url = https://github.com/plasma-umass/coz arch = x86_64 license = BSD - makedepends = git makedepends = python-docutils - depends = python3 - depends = libelfin-git - depends = npm - source = coz-git::git+https://github.com/plasma-umass/coz.git - md5sums = SKIP + depends = libelfin + depends = python + source = coz-0.2.2.tar.gz::https://github.com/plasma-umass/coz/archive/0.2.2.tar.gz + source = python3.diff + b2sums = 7fca65148f0542c939ea7aae0a9711435f75fb0afebf1b8b0db0a2a5783be9c29236f970c4a3b11bf0583ae3c5f695c4222b3b705c404d97255fc2bba963731f + b2sums = 06a5e526ac7da3b4aec10664b296193faeef0e9c53cfcb9004696ed9fd008a7fb0f8f7310bdf9fc2fbef0239b189f7cecfdf793dbfccf9deee3ed767e2b67671 -pkgname = coz-git +pkgname = coz @@ -1,36 +1,37 @@ -# Maintainer: Jon Gjengset <jon@thesquareplanet.com> -pkgname=coz-git -pkgver=r424.d87e924 +# Maintainer: Jonathon Fernyhough <jonathon+m2x dev> +# Contributor: Jon Gjengset <jon@thesquareplanet.com> (coz-git) + +pkgname=coz +pkgver=0.2.2 pkgrel=1 -pkgdesc="a new kind of profiler that measures optimization potential" +pkgdesc="A new kind of profiler that measures optimization potential" arch=('x86_64') url="https://github.com/plasma-umass/coz" license=('BSD') -depends=('python3' 'libelfin-git' 'npm') -makedepends=('git' 'python-docutils') -options=() -install= -source=('coz-git::git+https://github.com/plasma-umass/coz.git') -md5sums=('SKIP') - -pkgver() { - cd "$srcdir/$pkgname" - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" -} +depends=(libelfin python) +makedepends=(python-docutils) +source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz" + python3.diff) +b2sums=('7fca65148f0542c939ea7aae0a9711435f75fb0afebf1b8b0db0a2a5783be9c29236f970c4a3b11bf0583ae3c5f695c4222b3b705c404d97255fc2bba963731f' + '06a5e526ac7da3b4aec10664b296193faeef0e9c53cfcb9004696ed9fd008a7fb0f8f7310bdf9fc2fbef0239b189f7cecfdf793dbfccf9deee3ed767e2b67671') prepare() { - cd "$srcdir/$pkgname" + cd $pkgname-$pkgver + patch -Np1 -i ../python3.diff } build() { - cd "$srcdir/$pkgname" + cd $pkgname-$pkgver make } -package() { - cd $pkgname +#check() { +# cd $pkgname-$pkgver +# make bench_small +#} - mkdir -p "$pkgdir/usr/share/man/man1" +package() { + cd $pkgname-$pkgver make prefix="$pkgdir/usr" install } diff --git a/python3.diff b/python3.diff new file mode 100644 index 000000000000..a0c76906f930 --- /dev/null +++ b/python3.diff @@ -0,0 +1,10 @@ +diff --git a/coz b/coz +index eb7f29b..313e8c4 100755 +--- a/coz ++++ b/coz +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python2.7 ++#!/usr/bin/env python + + # Copyright (c) 2019, Charlie Curtsinger and Emery Berger, + # University of Massachusetts Amherst |