From f6b814bb884dbfede25a34b6a402f1aae8384ab0 Mon Sep 17 00:00:00 2001 From: lilac Date: Tue, 6 Sep 2022 20:26:00 +0800 Subject: [lilac] updated to 0.3.13-2 --- .SRCINFO | 8 ++++---- PKGBUILD | 13 ++++++------- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 2c9e230..2c663dd 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,14 +1,14 @@ pkgbase = py-spy pkgdesc = Sampling profiler for Python programs - pkgver = 0.3.12 - pkgrel = 1 + pkgver = 0.3.13 + pkgrel = 2 url = https://github.com/benfred/py-spy arch = x86_64 license = GPL3 makedepends = rust makedepends = cargo makedepends = libunwind - source = https://files.pythonhosted.org/packages/source/p/py_spy/py_spy-0.3.12.tar.gz - sha512sums = 4583de4ccfbb2db1a74a00c98ed90b2d1a5b57700ee00937bb18d3da8e9101b49480e558248acfcb03892158c74d4f6a1f965289070f6a4a8ad8ceda09e304cb + source = https://github.com/benfred/py-spy/archive/refs/tags/v0.3.13.tar.gz + sha512sums = 83d4f76672002edf8189ed2917046cfea035c9e6a24b4e25eb04614340c361b459e44ec2edd658969a629743953791f880ce3728e93e732793e6815932d38838 pkgname = py-spy diff --git a/PKGBUILD b/PKGBUILD index 0ac8b16..02dca3d 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,24 +1,23 @@ # Maintainer: lilydjwg # Contributor: Clayton Craft -_name=py_spy pkgname=py-spy -pkgver=0.3.12 -pkgrel=1 +pkgver=0.3.13 +pkgrel=2 pkgdesc="Sampling profiler for Python programs" arch=('x86_64') license=('GPL3') url="https://github.com/benfred/py-spy" makedepends=('rust' 'cargo' 'libunwind') -source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz") -sha512sums=('4583de4ccfbb2db1a74a00c98ed90b2d1a5b57700ee00937bb18d3da8e9101b49480e558248acfcb03892158c74d4f6a1f965289070f6a4a8ad8ceda09e304cb') +source=("https://github.com/benfred/py-spy/archive/refs/tags/v${pkgver}.tar.gz") +sha512sums=('83d4f76672002edf8189ed2917046cfea035c9e6a24b4e25eb04614340c361b459e44ec2edd658969a629743953791f880ce3728e93e732793e6815932d38838') build() { - cd "${srcdir}/${_name}-${pkgver}" + cd "${srcdir}/${pkgname}-${pkgver}" cargo build --release } package() { - cd "${srcdir}/${_name}-${pkgver}" + 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" -- cgit v1.2.3-70-g09d2