diff options
author | lilac | 2021-10-16 04:22:32 +0800 |
---|---|---|
committer | lilac | 2021-10-16 04:22:32 +0800 |
commit | 9fd7e52edd70b90f60a895784eb33b0f0add002e (patch) | |
tree | c9b4b205dd880a0f88409f11204b61d99c770e90 | |
parent | a38518f472788d3b54f51452e7800019af591d3c (diff) | |
download | packages-9fd7e52edd70b90f60a895784eb33b0f0add002e.tar.gz packages-9fd7e52edd70b90f60a895784eb33b0f0add002e.tar.bz2 packages-9fd7e52edd70b90f60a895784eb33b0f0add002e.zip |
[lilac] updated to 0.3.10-1
-rw-r--r-- | .SRCINFO | 9 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 17 insertions, 16 deletions
@@ -1,15 +1,14 @@ | |||
1 | pkgbase = py-spy | 1 | pkgbase = 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 | ||
14 | pkgname = py-spy | 14 | pkgname = py-spy |
15 | |||
@@ -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 | ||
2 | pkgname=py-spy | 4 | pkgname=py-spy |
3 | pkgver=0.3.7 | 5 | pkgver=0.3.10 |
4 | pkgrel=0 | 6 | pkgrel=1 |
5 | pkgdesc="Sampling profiler for Python programs" | 7 | pkgdesc="Sampling profiler for Python programs" |
6 | arch=('x86_64') | 8 | arch=('x86_64') |
7 | license=('GPL3') | 9 | license=('GPL3') |
8 | url="https://github.com/benfred/py-spy" | 10 | url="https://github.com/benfred/py-spy" |
9 | makedepends=('rust' 'cargo' 'libunwind') | 11 | makedepends=('rust' 'cargo' 'libunwind') |
10 | source=("$pkgname-$pkgver.tar.gz::https://github.com/benfred/py-spy/archive/v$pkgver.tar.gz") | 12 | source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz") |
11 | sha512sums=('94c1f22a0d6c5771b11ea911ba338fba5445d296b1a7c6353b59f44cacdce676b0b224b36a059b952a967f6688ab827e5ff7dd0a671e01a6e9c45274cde0a98d') | 13 | sha512sums=('c3ddeffe645b6f04ed9384bcb349d215db21c9011842b3a1f09ec727e8f0724d0e270a2a31a7a3f94a3f4d91bef90a498a248e70472fdf72e148835c89417bc0') |
12 | 14 | ||
13 | build() { | 15 | build() { |
14 | cd "${srcdir}/${pkgname}-${pkgver}" | 16 | cd "${srcdir}/${_name}-${pkgver}" |
15 | cargo build --release | 17 | cargo build --release |
16 | } | 18 | } |
17 | 19 | ||
18 | package() { | 20 | package() { |
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 | } |