Github messages for voidlinux
 help / color / mirror / Atom feed
From: andrelcmoreira <andrelcmoreira@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] python3-nose2: update to 0.14.1
Date: Sun, 31 Mar 2024 05:55:13 +0200	[thread overview]
Message-ID: <20240331035513.245F9215BE@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-49611@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 514 bytes --]

There is an updated pull request by andrelcmoreira against master on the void-packages repository

https://github.com/andrelcmoreira/void-packages update_python3_nose2
https://github.com/void-linux/void-packages/pull/49611

python3-nose2: update to 0.14.1
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

A patch file from https://github.com/void-linux/void-packages/pull/49611.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-update_python3_nose2-49611.patch --]
[-- Type: text/x-diff, Size: 2821 bytes --]

From e1b2a7ad6e4f2ee49ce6b85c9304226aedc629d0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20L=2E=20C=2E=20Moreira?=
 <andrelcmoreira@disroot.org>
Date: Sat, 30 Mar 2024 15:47:23 -0300
Subject: [PATCH] python3-nose2: update to 0.14.1

---
 .../python3-nose2/patches/disable-coverage.patch    | 12 ++++++++++++
 .../python3-nose2/patches/no-versioned-nose2.patch  | 10 ----------
 srcpkgs/python3-nose2/template                      | 13 +++++++++----
 3 files changed, 21 insertions(+), 14 deletions(-)
 create mode 100644 srcpkgs/python3-nose2/patches/disable-coverage.patch
 delete mode 100644 srcpkgs/python3-nose2/patches/no-versioned-nose2.patch

diff --git a/srcpkgs/python3-nose2/patches/disable-coverage.patch b/srcpkgs/python3-nose2/patches/disable-coverage.patch
new file mode 100644
index 00000000000000..fc9dd2184539f6
--- /dev/null
+++ b/srcpkgs/python3-nose2/patches/disable-coverage.patch
@@ -0,0 +1,12 @@
+diff --git a/tox.ini b/tox.ini
+index d644570..1c50f7c 100644
+--- a/tox.ini
++++ b/tox.ini
+@@ -10,7 +10,6 @@ commands =
+     nocov: nose2 -v --pretty-assert {posargs}
+     !nocov: coverage erase
+     !nocov: coverage run nose2 -v --pretty-assert {posargs}
+-    !nocov: coverage report
+ 
+ [testenv:lint]
+ deps = pre-commit~=2.9.3
diff --git a/srcpkgs/python3-nose2/patches/no-versioned-nose2.patch b/srcpkgs/python3-nose2/patches/no-versioned-nose2.patch
deleted file mode 100644
index dbd8b0a7867b3a..00000000000000
--- a/srcpkgs/python3-nose2/patches/no-versioned-nose2.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/setup.py
-+++ b/setup.py
-@@ -89,7 +89,6 @@ else:
-     params['entry_points'] = {
-         'console_scripts': [
-             '%s = nose2:discover' % SCRIPT1,
--            '%s = nose2:discover' % SCRIPT2,
-         ],
-     }
-     params['install_requires'] = parse_requirements('requirements.txt')
diff --git a/srcpkgs/python3-nose2/template b/srcpkgs/python3-nose2/template
index 067b712d2c9410..1ac196dc43cf93 100644
--- a/srcpkgs/python3-nose2/template
+++ b/srcpkgs/python3-nose2/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-nose2'
 pkgname=python3-nose2
-version=0.8.0
-revision=7
+version=0.14.1
+revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-setuptools python3-coverage python3-six"
@@ -10,9 +10,14 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="BSD-2-Clause"
 homepage="https://github.com/nose-devs/nose2"
 distfiles="${PYPI_SITE}/n/nose2/nose2-${version}.tar.gz"
-checksum=9052f2b46807b63d9bdf68e0768da1f8386368889b50043fd5d0889c470258f3
+checksum=7f8f03a21c9de2c33015933afcef72bf8e4a2d5dfec3b40092287de6e41b093a
 conflicts="python-nose2>=0"
+checkdepends="python3-pluggy tox"
 
 post_install() {
-	vlicense license.txt
+	vlicense LICENSE
+}
+
+do_check() {
+	python3 -m tox -e py
 }

  reply	other threads:[~2024-03-31  3:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-30 19:47 [PR PATCH] " andrelcmoreira
2024-03-31  3:55 ` andrelcmoreira [this message]
2024-03-31  3:57 ` [PR PATCH] [Updated] " andrelcmoreira
2024-03-31  4:01 ` andrelcmoreira
2024-04-13 21:53 ` [PR PATCH] [Merged]: " cinerea0

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=20240331035513.245F9215BE@inbox.vuxu.org \
    --to=andrelcmoreira@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).