summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorWil Thomason2020-05-20 10:13:51 -0400
committerWil Thomason2020-05-20 10:13:51 -0400
commitba917fa2398d9ec923bf38652b3603af9dfaffac (patch)
tree275aeb83d1d82bb17826e29772a716f88b02d7e7
parentb858cd23bdcddac952d471854d690d6458c65039 (diff)
downloadaur-ba917fa2398d9ec923bf38652b3603af9dfaffac.tar.gz
Handle Heap-Layers more appropriately as an explicit source
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD11
2 files changed, 8 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 092e40df648..6c3324cb03a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 14c7e45b21f..7b82444ecdf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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() {