Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] python3-virtualenv: update to 20.18.0.
@ 2023-02-07 19:24 icp1994
  2023-02-08  6:16 ` [PR PATCH] [Updated] " icp1994
  2023-02-14 20:04 ` [PR PATCH] [Merged]: python3-virtualenv: update to 20.19.0 paper42
  0 siblings, 2 replies; 3+ messages in thread
From: icp1994 @ 2023-02-07 19:24 UTC (permalink / raw)
  To: ml

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

There is a new pull request by icp1994 against master on the void-packages repository

https://github.com/icp1994/void-packages python3-virtualenv
https://github.com/void-linux/void-packages/pull/42134

python3-virtualenv: update to 20.18.0.
#### 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**

Upstream changed to pep517 build system and requires the package to be installed for some tests to run.

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

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

From 777891bf281b108f12580124d55cbe9aaafda798 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Tue, 7 Feb 2023 23:00:22 +0530
Subject: [PATCH] python3-virtualenv: update to 20.18.0.

---
 srcpkgs/python3-virtualenv/template | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/python3-virtualenv/template b/srcpkgs/python3-virtualenv/template
index a9dc97f5549d..e8f230b2a3d2 100644
--- a/srcpkgs/python3-virtualenv/template
+++ b/srcpkgs/python3-virtualenv/template
@@ -1,25 +1,26 @@
 # Template file for 'python3-virtualenv'
 pkgname=python3-virtualenv
-version=20.17.1
+version=20.18.0
 revision=1
-build_style=python3-module
-hostmakedepends="python3-setuptools_scm"
+build_style=python3-pep517
+hostmakedepends="hatchling hatch-vcs"
 depends="python3-platformdirs python3-distlib python3-filelock"
-checkdepends="python3-pytest-mock python3-flaky python3-devel python3-pip $depends"
+checkdepends="${depends} python3-pytest-mock python3-flaky python3-devel
+ python3-pip python3-packaging"
 short_desc="Virtual Python environment builder"
 maintainer="icp <pangolin@vivaldi.net>"
 license="MIT"
 homepage="https://virtualenv.pypa.io/"
 changelog="https://virtualenv.pypa.io/en/latest/changelog.html"
 distfiles="${PYPI_SITE}/v/virtualenv/virtualenv-${version}.tar.gz"
-checksum=f8b927684efc6f1cc206c9db297a570ab9ad0e51c16fa9e45487d36d1905c058
+checksum=f262457a4d7298a6b733b920a196bf8b46c8af15bf1fd9da7142995eff15118e
 alternatives="virtualenv:virtualenv:/usr/bin/virtualenv3"
 
 do_check() {
-	# excluded tests depend on pytest-freezegun, not packaged in Void, or python2
-	vsed -e '/addopts/d' -i setup.cfg
+	local testdir="tmp/$(date +%s)"
+	python3 -m installer --destdir ${testdir} dist/virtualenv-${version}-*-*-*.whl
 	_skip="test_periodic_update or test_get_wheel_download_cached or test_py_pyc_missing or test_py_info_setuptools"
-	PYTHONPATH=src python3 -m pytest -k "not ($_skip)"
+	PATH="${testdir}/usr/bin:${PATH}" PYTHONPATH="${testdir}/${py3_sitelib}" pytest3 -k "not(${_skip})"
 }
 
 post_install() {

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PR PATCH] [Updated] python3-virtualenv: update to 20.18.0.
  2023-02-07 19:24 [PR PATCH] python3-virtualenv: update to 20.18.0 icp1994
@ 2023-02-08  6:16 ` icp1994
  2023-02-14 20:04 ` [PR PATCH] [Merged]: python3-virtualenv: update to 20.19.0 paper42
  1 sibling, 0 replies; 3+ messages in thread
From: icp1994 @ 2023-02-08  6:16 UTC (permalink / raw)
  To: ml

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

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

https://github.com/icp1994/void-packages python3-virtualenv
https://github.com/void-linux/void-packages/pull/42134

python3-virtualenv: update to 20.18.0.
#### 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**

Upstream changed to pep517 build system and requires the package to be installed for some tests to run.

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

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

From 2430a950d7dd8705bcddcfdd0df79d4eacb3467e Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Tue, 7 Feb 2023 23:00:22 +0530
Subject: [PATCH] python3-virtualenv: update to 20.19.0.

---
 srcpkgs/python3-virtualenv/template | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/python3-virtualenv/template b/srcpkgs/python3-virtualenv/template
index a9dc97f5549d..48aa71e1002a 100644
--- a/srcpkgs/python3-virtualenv/template
+++ b/srcpkgs/python3-virtualenv/template
@@ -1,25 +1,26 @@
 # Template file for 'python3-virtualenv'
 pkgname=python3-virtualenv
-version=20.17.1
+version=20.19.0
 revision=1
-build_style=python3-module
-hostmakedepends="python3-setuptools_scm"
+build_style=python3-pep517
+hostmakedepends="hatchling hatch-vcs"
 depends="python3-platformdirs python3-distlib python3-filelock"
-checkdepends="python3-pytest-mock python3-flaky python3-devel python3-pip $depends"
+checkdepends="${depends} python3-pytest-mock python3-flaky python3-devel
+ python3-pip python3-packaging"
 short_desc="Virtual Python environment builder"
 maintainer="icp <pangolin@vivaldi.net>"
 license="MIT"
 homepage="https://virtualenv.pypa.io/"
 changelog="https://virtualenv.pypa.io/en/latest/changelog.html"
 distfiles="${PYPI_SITE}/v/virtualenv/virtualenv-${version}.tar.gz"
-checksum=f8b927684efc6f1cc206c9db297a570ab9ad0e51c16fa9e45487d36d1905c058
+checksum=37a640ba82ed40b226599c522d411e4be5edb339a0c0de030c0dc7b646d61590
 alternatives="virtualenv:virtualenv:/usr/bin/virtualenv3"
 
 do_check() {
-	# excluded tests depend on pytest-freezegun, not packaged in Void, or python2
-	vsed -e '/addopts/d' -i setup.cfg
+	local testdir="tmp/$(date +%s)"
+	python3 -m installer --destdir ${testdir} dist/virtualenv-${version}-*-*-*.whl
 	_skip="test_periodic_update or test_get_wheel_download_cached or test_py_pyc_missing or test_py_info_setuptools"
-	PYTHONPATH=src python3 -m pytest -k "not ($_skip)"
+	PATH="${testdir}/usr/bin:${PATH}" PYTHONPATH="${testdir}/${py3_sitelib}" pytest3 -k "not(${_skip})"
 }
 
 post_install() {

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PR PATCH] [Merged]: python3-virtualenv: update to 20.19.0.
  2023-02-07 19:24 [PR PATCH] python3-virtualenv: update to 20.18.0 icp1994
  2023-02-08  6:16 ` [PR PATCH] [Updated] " icp1994
@ 2023-02-14 20:04 ` paper42
  1 sibling, 0 replies; 3+ messages in thread
From: paper42 @ 2023-02-14 20:04 UTC (permalink / raw)
  To: ml

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

There's a merged pull request on the void-packages repository

python3-virtualenv: update to 20.19.0.
https://github.com/void-linux/void-packages/pull/42134

Description:
#### 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**

Upstream changed to pep517 build system and requires the package to be installed for some tests to run.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-02-14 20:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-07 19:24 [PR PATCH] python3-virtualenv: update to 20.18.0 icp1994
2023-02-08  6:16 ` [PR PATCH] [Updated] " icp1994
2023-02-14 20:04 ` [PR PATCH] [Merged]: python3-virtualenv: update to 20.19.0 paper42

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).