diff options
author | Yigit Sever | 2024-11-02 14:32:04 +0100 |
---|---|---|
committer | Yigit Sever | 2024-11-02 14:32:04 +0100 |
commit | 29b3618360258c9bd804a1d8e03a9c5b1d127878 (patch) | |
tree | 5a2b12e383ac1c8997091dc45a5439031c88ba60 /py-spy/PKGBUILD | |
parent | 20c863100793b33568c6535f4cdfd1db0b57bbf8 (diff) | |
download | packages-29b3618360258c9bd804a1d8e03a9c5b1d127878.tar.gz packages-29b3618360258c9bd804a1d8e03a9c5b1d127878.tar.bz2 packages-29b3618360258c9bd804a1d8e03a9c5b1d127878.zip |
upgpkg: py-spy 0.4.0-1
upstream release
Diffstat (limited to 'py-spy/PKGBUILD')
-rw-r--r-- | py-spy/PKGBUILD | 15 |
1 files changed, 8 insertions, 7 deletions
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 @@ | |||
1 | # Maintainer: lilydjwg <lilydjwg@gmail.com> | 1 | # Maintainer: Yigit Sever <yigit at yigitsever dot com> |
2 | # Contributor: lilydjwg <lilydjwg@gmail.com> | ||
2 | # Contributor: Clayton Craft <clayton@craftyguy.net> | 3 | # Contributor: Clayton Craft <clayton@craftyguy.net> |
3 | pkgname=py-spy | 4 | pkgname=py-spy |
4 | pkgver=0.3.14 | 5 | pkgver=0.4.0 |
5 | pkgrel=1 | 6 | pkgrel=1 |
6 | pkgdesc="Sampling profiler for Python programs" | 7 | pkgdesc="Sampling profiler for Python programs" |
7 | arch=('x86_64') | 8 | arch=('x86_64') |
8 | license=('GPL3') | 9 | license=('MIT') |
9 | url="https://github.com/benfred/py-spy" | 10 | url="https://github.com/benfred/py-spy" |
10 | makedepends=('rust' 'cargo' 'libunwind') | 11 | makedepends=('rust' 'cargo' 'libunwind') |
11 | source=("https://github.com/benfred/py-spy/archive/refs/tags/v${pkgver}.tar.gz") | 12 | source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz") |
12 | sha512sums=('f079b002248a033eac3b93723fd267e6cbdb415ac3172ace0d14eb9cd87a1e4adf471eeec641f9644abe8a4fab43b48db7440b4b1242ea18e02bcc574104d303') | 13 | sha256sums=('13a5c4b949947425670eedac05b6dd27edbc736b75f1587899efca1a7ef79ac3') |
13 | 14 | ||
14 | build() { | 15 | build() { |
15 | cd "${srcdir}/${pkgname}-${pkgver}" | 16 | cd "${pkgname}-${pkgver}" |
16 | cargo build --release | 17 | cargo build --release |
17 | } | 18 | } |
18 | 19 | ||
19 | package() { | 20 | package() { |
20 | cd "${srcdir}/${pkgname}-${pkgver}" | 21 | cd "${pkgname}-${pkgver}" |
21 | install -Dm755 "target/release/py-spy" "${pkgdir}/usr/bin/py-spy" | 22 | install -Dm755 "target/release/py-spy" "${pkgdir}/usr/bin/py-spy" |
22 | install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" | 23 | install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" |
23 | install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md" | 24 | install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md" |