From 9fd7e52edd70b90f60a895784eb33b0f0add002e Mon Sep 17 00:00:00 2001 From: lilac Date: Sat, 16 Oct 2021 04:22:32 +0800 Subject: [lilac] updated to 0.3.10-1 --- .SRCINFO | 9 ++++----- PKGBUILD | 24 +++++++++++++----------- 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 @@ pkgbase = py-spy pkgdesc = Sampling profiler for Python programs - pkgver = 0.3.7 - pkgrel = 0 + pkgver = 0.3.10 + pkgrel = 1 url = https://github.com/benfred/py-spy arch = x86_64 license = GPL3 makedepends = rust makedepends = cargo makedepends = libunwind - source = py-spy-0.3.7.tar.gz::https://github.com/benfred/py-spy/archive/v0.3.7.tar.gz - sha512sums = 94c1f22a0d6c5771b11ea911ba338fba5445d296b1a7c6353b59f44cacdce676b0b224b36a059b952a967f6688ab827e5ff7dd0a671e01a6e9c45274cde0a98d + source = https://files.pythonhosted.org/packages/source/p/py_spy/py_spy-0.3.10.tar.gz + sha512sums = c3ddeffe645b6f04ed9384bcb349d215db21c9011842b3a1f09ec727e8f0724d0e270a2a31a7a3f94a3f4d91bef90a498a248e70472fdf72e148835c89417bc0 pkgname = py-spy - diff --git a/PKGBUILD b/PKGBUILD index f6b74a9..b178428 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,23 +1,25 @@ -# Maintainer: Clayton Craft +# Maintainer: lilydjwg +# Contributor: Clayton Craft +_name=py_spy pkgname=py-spy -pkgver=0.3.7 -pkgrel=0 +pkgver=0.3.10 +pkgrel=1 pkgdesc="Sampling profiler for Python programs" arch=('x86_64') license=('GPL3') url="https://github.com/benfred/py-spy" makedepends=('rust' 'cargo' 'libunwind') -source=("$pkgname-$pkgver.tar.gz::https://github.com/benfred/py-spy/archive/v$pkgver.tar.gz") -sha512sums=('94c1f22a0d6c5771b11ea911ba338fba5445d296b1a7c6353b59f44cacdce676b0b224b36a059b952a967f6688ab827e5ff7dd0a671e01a6e9c45274cde0a98d') +source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz") +sha512sums=('c3ddeffe645b6f04ed9384bcb349d215db21c9011842b3a1f09ec727e8f0724d0e270a2a31a7a3f94a3f4d91bef90a498a248e70472fdf72e148835c89417bc0') build() { - cd "${srcdir}/${pkgname}-${pkgver}" - cargo build --release + cd "${srcdir}/${_name}-${pkgver}" + cargo build --release } package() { - cd "${srcdir}/${pkgname}-${pkgver}" - install -Dm755 "target/release/py-spy" "${pkgdir}/usr/bin/py-spy" - install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md" + cd "${srcdir}/${_name}-${pkgver}" + install -Dm755 "target/release/py-spy" "${pkgdir}/usr/bin/py-spy" + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md" } -- cgit v1.2.3-70-g09d2