Github messages for voidlinux
 help / color / mirror / Atom feed
From: icp1994 <icp1994@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] py-spy: update to 0.3.14.
Date: Sun, 11 Dec 2022 07:34:06 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-41009@inbox.vuxu.org> (raw)

[-- 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
+}

             reply	other threads:[~2022-12-11  6:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-11  6:34 icp1994 [this message]
2022-12-11  6:49 ` [PR PATCH] [Updated] " icp1994
2022-12-11  7:05 ` icp1994
2022-12-12  4:41 ` [PR PATCH] [Merged]: " classabbyamp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-41009@inbox.vuxu.org \
    --to=icp1994@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).