summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClayton Craft2018-11-16 13:27:58 -0800
committerClayton Craft2018-11-16 13:27:58 -0800
commit530bb92e1fcb2588d5ae028aaaa0c59e74aff72c (patch)
tree5d984fdc1c3854aa4174c15a46fc9cb63be30494
downloadpackages-530bb92e1fcb2588d5ae028aaaa0c59e74aff72c.tar.gz
packages-530bb92e1fcb2588d5ae028aaaa0c59e74aff72c.tar.bz2
packages-530bb92e1fcb2588d5ae028aaaa0c59e74aff72c.zip
Update to 0.1.8
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD26
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 0000000..efad4e6
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
1pkgbase = py-spy
2 pkgdesc = Sampling profiler for Python programs
3 pkgver = 0.1.8
4 pkgrel = 1
5 url = https://github.com/benfred/py-spy
6 arch = x86_64
7 license = GPL3
8 makedepends = rust
9 makedepends = cargo
10 depends = python
11 depends = python-setuptools-rust
12 depends = rust
13 provides = py-spy
14 conflicts = py-spy
15 source = py-spy-0.1.8.tar.gz::https://github.com/benfred/py-spy/archive/v0.1.8.tar.gz
16 sha512sums = 68831d1c066887f3473e9eef1a773c0f9e1eb9252f929b0884b1d04faede90a72d7e3eb949d14e2e75c12e2645bf6b57ea5f94d5514491f46594231ad68ad1d1
17
18pkgname = py-spy
19
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 0000000..11eae1d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
1# Maintainer: Clayton Craft <clayton at craftyguy dot net>
2pkgname=py-spy
3pkgver=0.1.8
4pkgrel=1
5pkgdesc="Sampling profiler for Python programs"
6arch=('x86_64')
7license=('GPL3')
8url="https://github.com/benfred/py-spy"
9depends=('python' 'python-setuptools-rust' 'rust')
10makedepends=('rust' 'cargo')
11provides=('py-spy')
12conflicts=('py-spy')
13source=("$pkgname-$pkgver.tar.gz::https://github.com/benfred/py-spy/archive/v$pkgver.tar.gz")
14sha512sums=('68831d1c066887f3473e9eef1a773c0f9e1eb9252f929b0884b1d04faede90a72d7e3eb949d14e2e75c12e2645bf6b57ea5f94d5514491f46594231ad68ad1d1')
15
16build() {
17 cd ${srcdir}/${pkgname}-${pkgver}
18 cargo build --release
19}
20
21package() {
22 cd ${srcdir}/${pkgname}-${pkgver}
23 install -Dm755 "target/release/py-spy" "${pkgdir}/usr/bin/py-spy"
24 install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
25 install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
26}