From 29b3618360258c9bd804a1d8e03a9c5b1d127878 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Sat, 2 Nov 2024 14:32:04 +0100 Subject: upgpkg: py-spy 0.4.0-1 upstream release --- py-spy/.SRCINFO | 8 ++++---- py-spy/PKGBUILD | 15 ++++++++------- 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 @@ pkgbase = py-spy pkgdesc = Sampling profiler for Python programs - pkgver = 0.3.14 + pkgver = 0.4.0 pkgrel = 1 url = https://github.com/benfred/py-spy arch = x86_64 - license = GPL3 + license = MIT makedepends = rust makedepends = cargo makedepends = libunwind - source = https://github.com/benfred/py-spy/archive/refs/tags/v0.3.14.tar.gz - sha512sums = f079b002248a033eac3b93723fd267e6cbdb415ac3172ace0d14eb9cd87a1e4adf471eeec641f9644abe8a4fab43b48db7440b4b1242ea18e02bcc574104d303 + source = py-spy-0.4.0.tar.gz::https://github.com/benfred/py-spy/archive/refs/tags/v0.4.0.tar.gz + sha256sums = 13a5c4b949947425670eedac05b6dd27edbc736b75f1587899efca1a7ef79ac3 pkgname = 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 @@ -# Maintainer: lilydjwg +# Maintainer: Yigit Sever +# Contributor: lilydjwg # Contributor: Clayton Craft pkgname=py-spy -pkgver=0.3.14 +pkgver=0.4.0 pkgrel=1 pkgdesc="Sampling profiler for Python programs" arch=('x86_64') -license=('GPL3') +license=('MIT') url="https://github.com/benfred/py-spy" makedepends=('rust' 'cargo' 'libunwind') -source=("https://github.com/benfred/py-spy/archive/refs/tags/v${pkgver}.tar.gz") -sha512sums=('f079b002248a033eac3b93723fd267e6cbdb415ac3172ace0d14eb9cd87a1e4adf471eeec641f9644abe8a4fab43b48db7440b4b1242ea18e02bcc574104d303') +source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz") +sha256sums=('13a5c4b949947425670eedac05b6dd27edbc736b75f1587899efca1a7ef79ac3') build() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd "${pkgname}-${pkgver}" cargo build --release } package() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd "${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