diff options
author | Wil Thomason | 2020-05-20 10:13:51 -0400 |
---|---|---|
committer | Wil Thomason | 2020-05-20 10:13:51 -0400 |
commit | ba917fa2398d9ec923bf38652b3603af9dfaffac (patch) | |
tree | 275aeb83d1d82bb17826e29772a716f88b02d7e7 | |
parent | b858cd23bdcddac952d471854d690d6458c65039 (diff) | |
download | aur-ba917fa2398d9ec923bf38652b3603af9dfaffac.tar.gz |
Handle Heap-Layers more appropriately as an explicit source
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 8 insertions, 7 deletions
@@ -1,7 +1,7 @@ pkgbase = python-scalene-git pkgdesc = Scalene is a high-performance, high-precision CPU and memory profiler for Python pkgver = r461.822c83d - pkgrel = 2 + pkgrel = 3 url = https://github.com/emeryberger/scalene arch = any license = Apache-2.0 @@ -13,6 +13,8 @@ pkgbase = python-scalene-git depends = python-numpy provides = python-scalene source = python-scalene-git::git+https://github.com/emeryberger/scalene.git + source = git+https://github.com/emeryberger/Heap-Layers + sha256sums = SKIP sha256sums = SKIP pkgname = python-scalene-git @@ -2,15 +2,16 @@ pkgname='python-scalene-git' pkgver=r461.822c83d -pkgrel=2 +pkgrel=3 pkgdesc='Scalene is a high-performance, high-precision CPU and memory profiler for Python' arch=('any') url='https://github.com/emeryberger/scalene' license=('Apache-2.0') depends=('python>=3.6' 'python-numpy') makedepends=('python-setuptools' 'make' 'clang' 'git') -source=("${pkgname}::git+https://github.com/emeryberger/scalene.git") -sha256sums=('SKIP') +source=("${pkgname}::git+https://github.com/emeryberger/scalene.git" + "git+https://github.com/emeryberger/Heap-Layers") +sha256sums=('SKIP' 'SKIP') provides=('python-scalene') pkgver() { @@ -20,9 +21,7 @@ pkgver() { prepare() { cd "$srcdir/${pkgname}" - if [ ! -d Heap-Layers ] || [ -z "$(ls -A Heap-Layers)" ]; then - git clone https://github.com/emeryberger/Heap-Layers - fi + ln -s "$srcdir/Heap-Layers" Heap-Layers } build() { |