* [PR PATCH] py-spy: update to 0.3.14.
@ 2022-12-11 6:34 icp1994
2022-12-11 6:49 ` [PR PATCH] [Updated] " icp1994
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: icp1994 @ 2022-12-11 6:34 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 615 bytes --]
There is a new pull request by icp1994 against master on the void-packages repository
https://github.com/icp1994/void-packages py-spy
https://github.com/void-linux/void-packages/pull/41009
py-spy: update to 0.3.14.
#### Testing the changes
- I tested the changes in this PR: **briefly**
#### Local build testing
- I built this PR locally for my native architecture, x86_64
I tested the binary locally with `make_check=no` but for some reason the packaging hangs after the tests are done and don't proceed further.
A patch file from https://github.com/void-linux/void-packages/pull/41009.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-py-spy-41009.patch --]
[-- Type: text/x-diff, Size: 1614 bytes --]
From 9e383388864c4a9d9597c9358a0594dedbdb771e Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sun, 11 Dec 2022 01:29:40 +0530
Subject: [PATCH] py-spy: update to 0.3.14.
---
srcpkgs/py-spy/template | 26 ++++++++++++++++++++------
1 file changed, 20 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/py-spy/template b/srcpkgs/py-spy/template
index fcedf8091027..5d5be8426511 100644
--- a/srcpkgs/py-spy/template
+++ b/srcpkgs/py-spy/template
@@ -1,13 +1,27 @@
# Template file for 'py-spy'
pkgname=py-spy
-version=0.1.11
-# other archs can't compile remoteprocess
-archs="x86_64* i686*"
+version=0.3.14
revision=1
+# other archs can't compile remoteprocess
+# archs="x86_64* i686*"
build_style=cargo
+make_check_args="-- --skip test_thread_reuse
+ --skip test_subprocesses_zombiechild
+ --skip test_subprocesses"
+makedepends="libunwind-devel"
+checkdepends="python3"
short_desc="Sampling profiler for Python programs"
maintainer="Wilson Birney <wpb@360scada.com>"
-license="GPL-3.0-or-later"
+license="MIT"
homepage="https://github.com/benfred/py-spy"
-distfiles="https://github.com/benfred/py-spy/archive/v${version}.tar.gz"
-checksum=399a1be66414c2f1a3d57b20d1b219393e0dfd5370815b2c0d1406fa0886917e
+distfiles="https://github.com/benfred/py-spy/archive/refs/tags/v${version}.tar.gz"
+checksum=c01da8b74be0daba79781cfc125ffcd3df3a0d090157fe0081c71da2f6057905
+
+post_install() {
+ local py_spy="${DESTDIR}/usr/bin/py-spy"
+ for shell in bash fish zsh; do
+ vtargetrun ${py_spy} completions ${shell} > py_spy.${shell}
+ vcompletion py_spy.${shell} ${shell}
+ done
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PR PATCH] [Updated] py-spy: update to 0.3.14.
2022-12-11 6:34 [PR PATCH] py-spy: update to 0.3.14 icp1994
@ 2022-12-11 6:49 ` icp1994
2022-12-11 7:05 ` icp1994
2022-12-12 4:41 ` [PR PATCH] [Merged]: " classabbyamp
2 siblings, 0 replies; 4+ messages in thread
From: icp1994 @ 2022-12-11 6:49 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 620 bytes --]
There is an updated pull request by icp1994 against master on the void-packages repository
https://github.com/icp1994/void-packages py-spy
https://github.com/void-linux/void-packages/pull/41009
py-spy: update to 0.3.14.
#### Testing the changes
- I tested the changes in this PR: **briefly**
#### Local build testing
- I built this PR locally for my native architecture, x86_64
I tested the binary locally with `make_check=no` but for some reason the packaging hangs after the tests are done and don't proceed further.
A patch file from https://github.com/void-linux/void-packages/pull/41009.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-py-spy-41009.patch --]
[-- Type: text/x-diff, Size: 1556 bytes --]
From 3b5fe15e803d0b3adebf248c21fe204d291174a4 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sun, 11 Dec 2022 01:29:40 +0530
Subject: [PATCH] py-spy: update to 0.3.14.
---
srcpkgs/py-spy/template | 27 +++++++++++++++++++++------
1 file changed, 21 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/py-spy/template b/srcpkgs/py-spy/template
index fcedf8091027..d6a0cb76d4fb 100644
--- a/srcpkgs/py-spy/template
+++ b/srcpkgs/py-spy/template
@@ -1,13 +1,28 @@
# Template file for 'py-spy'
pkgname=py-spy
-version=0.1.11
-# other archs can't compile remoteprocess
-archs="x86_64* i686*"
+version=0.3.14
revision=1
+# other archs can't compile remoteprocess
+# archs="x86_64* i686*"
build_style=cargo
+makedepends="libunwind-devel"
+checkdepends="python3"
short_desc="Sampling profiler for Python programs"
maintainer="Wilson Birney <wpb@360scada.com>"
-license="GPL-3.0-or-later"
+license="MIT"
homepage="https://github.com/benfred/py-spy"
-distfiles="https://github.com/benfred/py-spy/archive/v${version}.tar.gz"
-checksum=399a1be66414c2f1a3d57b20d1b219393e0dfd5370815b2c0d1406fa0886917e
+distfiles="https://github.com/benfred/py-spy/archive/refs/tags/v${version}.tar.gz"
+checksum=c01da8b74be0daba79781cfc125ffcd3df3a0d090157fe0081c71da2f6057905
+
+pre_check() {
+ rm -f tests/integration_test.rs
+}
+
+post_install() {
+ local py_spy="${DESTDIR}/usr/bin/py-spy"
+ for shell in bash fish zsh; do
+ vtargetrun ${py_spy} completions ${shell} > py_spy.${shell}
+ vcompletion py_spy.${shell} ${shell}
+ done
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PR PATCH] [Updated] py-spy: update to 0.3.14.
2022-12-11 6:34 [PR PATCH] py-spy: update to 0.3.14 icp1994
2022-12-11 6:49 ` [PR PATCH] [Updated] " icp1994
@ 2022-12-11 7:05 ` icp1994
2022-12-12 4:41 ` [PR PATCH] [Merged]: " classabbyamp
2 siblings, 0 replies; 4+ messages in thread
From: icp1994 @ 2022-12-11 7:05 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 620 bytes --]
There is an updated pull request by icp1994 against master on the void-packages repository
https://github.com/icp1994/void-packages py-spy
https://github.com/void-linux/void-packages/pull/41009
py-spy: update to 0.3.14.
#### Testing the changes
- I tested the changes in this PR: **briefly**
#### Local build testing
- I built this PR locally for my native architecture, x86_64
I tested the binary locally with `make_check=no` but for some reason the packaging hangs after the tests are done and don't proceed further.
A patch file from https://github.com/void-linux/void-packages/pull/41009.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-py-spy-41009.patch --]
[-- Type: text/x-diff, Size: 1700 bytes --]
From 2ec998c825c61ea7725aa89169faae7551955d1b Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sun, 11 Dec 2022 01:29:40 +0530
Subject: [PATCH] py-spy: update to 0.3.14.
---
srcpkgs/py-spy/template | 33 +++++++++++++++++++++++++++------
1 file changed, 27 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/py-spy/template b/srcpkgs/py-spy/template
index fcedf8091027..abd1dbb905d9 100644
--- a/srcpkgs/py-spy/template
+++ b/srcpkgs/py-spy/template
@@ -1,13 +1,34 @@
# Template file for 'py-spy'
pkgname=py-spy
-version=0.1.11
-# other archs can't compile remoteprocess
-archs="x86_64* i686*"
+version=0.3.14
revision=1
+# musl archs can't compile remoteprocess
+archs="~*-musl"
build_style=cargo
+build_helper=qemu
+makedepends="libunwind-devel"
+checkdepends="python3"
short_desc="Sampling profiler for Python programs"
maintainer="Wilson Birney <wpb@360scada.com>"
-license="GPL-3.0-or-later"
+license="MIT"
homepage="https://github.com/benfred/py-spy"
-distfiles="https://github.com/benfred/py-spy/archive/v${version}.tar.gz"
-checksum=399a1be66414c2f1a3d57b20d1b219393e0dfd5370815b2c0d1406fa0886917e
+distfiles="https://github.com/benfred/py-spy/archive/refs/tags/v${version}.tar.gz"
+checksum=c01da8b74be0daba79781cfc125ffcd3df3a0d090157fe0081c71da2f6057905
+
+pre_build() {
+ # fixes the usage of yanked versions of crates
+ cargo update --package quick-xml@0.23.0 --precise 0.23.1
+}
+
+pre_check() {
+ rm -f tests/integration_test.rs
+}
+
+post_install() {
+ local py_spy="${DESTDIR}/usr/bin/py-spy"
+ for shell in bash fish zsh; do
+ vtargetrun ${py_spy} completions ${shell} > py_spy.${shell}
+ vcompletion py_spy.${shell} ${shell}
+ done
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PR PATCH] [Merged]: py-spy: update to 0.3.14.
2022-12-11 6:34 [PR PATCH] py-spy: update to 0.3.14 icp1994
2022-12-11 6:49 ` [PR PATCH] [Updated] " icp1994
2022-12-11 7:05 ` icp1994
@ 2022-12-12 4:41 ` classabbyamp
2 siblings, 0 replies; 4+ messages in thread
From: classabbyamp @ 2022-12-12 4:41 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 321 bytes --]
There's a merged pull request on the void-packages repository
py-spy: update to 0.3.14.
https://github.com/void-linux/void-packages/pull/41009
Description:
#### Testing the changes
- I tested the changes in this PR: **briefly**
#### Local build testing
- I built this PR locally for my native architecture, x86_64
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-12-12 4:41 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-11 6:34 [PR PATCH] py-spy: update to 0.3.14 icp1994
2022-12-11 6:49 ` [PR PATCH] [Updated] " icp1994
2022-12-11 7:05 ` icp1994
2022-12-12 4:41 ` [PR PATCH] [Merged]: " classabbyamp
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).