summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--py-spy/.SRCINFO8
-rw-r--r--py-spy/PKGBUILD15
2 files changed, 12 insertions, 11 deletions
diff --git a/py-spy/.SRCINFO b/py-spy/.SRCINFO
index 5de7bfb..0054d33 100644
--- a/py-spy/.SRCINFO
+++ b/py-spy/.SRCINFO
@@ -1,14 +1,14 @@
1pkgbase = py-spy 1pkgbase = py-spy
2 pkgdesc = Sampling profiler for Python programs 2 pkgdesc = Sampling profiler for Python programs
3 pkgver = 0.3.14 3 pkgver = 0.4.0
4 pkgrel = 1 4 pkgrel = 1
5 url = https://github.com/benfred/py-spy 5 url = https://github.com/benfred/py-spy
6 arch = x86_64 6 arch = x86_64
7 license = GPL3 7 license = MIT
8 makedepends = rust 8 makedepends = rust
9 makedepends = cargo 9 makedepends = cargo
10 makedepends = libunwind 10 makedepends = libunwind
11 source = https://github.com/benfred/py-spy/archive/refs/tags/v0.3.14.tar.gz 11 source = py-spy-0.4.0.tar.gz::https://github.com/benfred/py-spy/archive/refs/tags/v0.4.0.tar.gz
12 sha512sums = f079b002248a033eac3b93723fd267e6cbdb415ac3172ace0d14eb9cd87a1e4adf471eeec641f9644abe8a4fab43b48db7440b4b1242ea18e02bcc574104d303 12 sha256sums = 13a5c4b949947425670eedac05b6dd27edbc736b75f1587899efca1a7ef79ac3
13 13
14pkgname = py-spy 14pkgname = py-spy
diff --git a/py-spy/PKGBUILD b/py-spy/PKGBUILD
index 3534b8e..23cb8cf 100644
--- a/py-spy/PKGBUILD
+++ b/py-spy/PKGBUILD
@@ -1,23 +1,24 @@
1# Maintainer: lilydjwg <lilydjwg@gmail.com> 1# Maintainer: Yigit Sever <yigit at yigitsever dot com>
2# Contributor: lilydjwg <lilydjwg@gmail.com>
2# Contributor: Clayton Craft <clayton@craftyguy.net> 3# Contributor: Clayton Craft <clayton@craftyguy.net>
3pkgname=py-spy 4pkgname=py-spy
4pkgver=0.3.14 5pkgver=0.4.0
5pkgrel=1 6pkgrel=1
6pkgdesc="Sampling profiler for Python programs" 7pkgdesc="Sampling profiler for Python programs"
7arch=('x86_64') 8arch=('x86_64')
8license=('GPL3') 9license=('MIT')
9url="https://github.com/benfred/py-spy" 10url="https://github.com/benfred/py-spy"
10makedepends=('rust' 'cargo' 'libunwind') 11makedepends=('rust' 'cargo' 'libunwind')
11source=("https://github.com/benfred/py-spy/archive/refs/tags/v${pkgver}.tar.gz") 12source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz")
12sha512sums=('f079b002248a033eac3b93723fd267e6cbdb415ac3172ace0d14eb9cd87a1e4adf471eeec641f9644abe8a4fab43b48db7440b4b1242ea18e02bcc574104d303') 13sha256sums=('13a5c4b949947425670eedac05b6dd27edbc736b75f1587899efca1a7ef79ac3')
13 14
14build() { 15build() {
15 cd "${srcdir}/${pkgname}-${pkgver}" 16 cd "${pkgname}-${pkgver}"
16 cargo build --release 17 cargo build --release
17} 18}
18 19
19package() { 20package() {
20 cd "${srcdir}/${pkgname}-${pkgver}" 21 cd "${pkgname}-${pkgver}"
21 install -Dm755 "target/release/py-spy" "${pkgdir}/usr/bin/py-spy" 22 install -Dm755 "target/release/py-spy" "${pkgdir}/usr/bin/py-spy"
22 install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" 23 install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
23 install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md" 24 install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"