summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD24
2 files changed, 17 insertions, 16 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3f5dc83..9cc495f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +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.7 3 pkgver = 0.3.10
4 pkgrel = 0 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 = GPL3
8 makedepends = rust 8 makedepends = rust
9 makedepends = cargo 9 makedepends = cargo
10 makedepends = libunwind 10 makedepends = libunwind
11 source = py-spy-0.3.7.tar.gz::https://github.com/benfred/py-spy/archive/v0.3.7.tar.gz 11 source = https://files.pythonhosted.org/packages/source/p/py_spy/py_spy-0.3.10.tar.gz
12 sha512sums = 94c1f22a0d6c5771b11ea911ba338fba5445d296b1a7c6353b59f44cacdce676b0b224b36a059b952a967f6688ab827e5ff7dd0a671e01a6e9c45274cde0a98d 12 sha512sums = c3ddeffe645b6f04ed9384bcb349d215db21c9011842b3a1f09ec727e8f0724d0e270a2a31a7a3f94a3f4d91bef90a498a248e70472fdf72e148835c89417bc0
13 13
14pkgname = py-spy 14pkgname = py-spy
15
diff --git a/PKGBUILD b/PKGBUILD
index f6b74a9..b178428 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,23 +1,25 @@
1# Maintainer: Clayton Craft <clayton@craftyguy.net> 1# Maintainer: lilydjwg <lilydjwg@gmail.com>
2# Contributor: Clayton Craft <clayton@craftyguy.net>
3_name=py_spy
2pkgname=py-spy 4pkgname=py-spy
3pkgver=0.3.7 5pkgver=0.3.10
4pkgrel=0 6pkgrel=1
5pkgdesc="Sampling profiler for Python programs" 7pkgdesc="Sampling profiler for Python programs"
6arch=('x86_64') 8arch=('x86_64')
7license=('GPL3') 9license=('GPL3')
8url="https://github.com/benfred/py-spy" 10url="https://github.com/benfred/py-spy"
9makedepends=('rust' 'cargo' 'libunwind') 11makedepends=('rust' 'cargo' 'libunwind')
10source=("$pkgname-$pkgver.tar.gz::https://github.com/benfred/py-spy/archive/v$pkgver.tar.gz") 12source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
11sha512sums=('94c1f22a0d6c5771b11ea911ba338fba5445d296b1a7c6353b59f44cacdce676b0b224b36a059b952a967f6688ab827e5ff7dd0a671e01a6e9c45274cde0a98d') 13sha512sums=('c3ddeffe645b6f04ed9384bcb349d215db21c9011842b3a1f09ec727e8f0724d0e270a2a31a7a3f94a3f4d91bef90a498a248e70472fdf72e148835c89417bc0')
12 14
13build() { 15build() {
14 cd "${srcdir}/${pkgname}-${pkgver}" 16 cd "${srcdir}/${_name}-${pkgver}"
15 cargo build --release 17 cargo build --release
16} 18}
17 19
18package() { 20package() {
19 cd "${srcdir}/${pkgname}-${pkgver}" 21 cd "${srcdir}/${_name}-${pkgver}"
20 install -Dm755 "target/release/py-spy" "${pkgdir}/usr/bin/py-spy" 22 install -Dm755 "target/release/py-spy" "${pkgdir}/usr/bin/py-spy"
21 install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" 23 install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
22 install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md" 24 install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
23} 25}