From: Chocimier <Chocimier@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] python3-virtualenv: update to 20.10.0.
Date: Sat, 27 Nov 2021 00:08:40 +0100 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-34265@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 1316 bytes --]
There is a new pull request by Chocimier against master on the void-packages repository
https://github.com/Chocimier/void-packages-org python3-virtualenv
https://github.com/void-linux/void-packages/pull/34265
python3-virtualenv: update to 20.10.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->
Patch sent upstream, will update according to their reception.
#### Testing the changes
- I tested the changes in this PR: **briefly**
<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/34265.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-virtualenv-34265.patch --]
[-- Type: text/x-diff, Size: 2945 bytes --]
From 3f437674468c9bef6508f9a5d028bc0ba9f40aa4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= <chocimier@tlen.pl>
Date: Sat, 27 Nov 2021 00:06:55 +0100
Subject: [PATCH] python3-virtualenv: update to 20.10.0.
---
.../patches/selectable.patch | 31 +++++++++++++++++++
srcpkgs/python3-virtualenv/template | 8 ++---
2 files changed, 35 insertions(+), 4 deletions(-)
create mode 100644 srcpkgs/python3-virtualenv/patches/selectable.patch
diff --git a/srcpkgs/python3-virtualenv/patches/selectable.patch b/srcpkgs/python3-virtualenv/patches/selectable.patch
new file mode 100644
index 000000000000..37f3d18f3a51
--- /dev/null
+++ b/srcpkgs/python3-virtualenv/patches/selectable.patch
@@ -0,0 +1,31 @@
+diff --git a/setup.cfg b/setup.cfg
+index 2b48a54..5b5753b 100644
+--- a/setup.cfg
++++ b/setup.cfg
+@@ -40,7 +40,7 @@ project_urls =
+ [options]
+ packages = find:
+ install_requires =
+- backports.entry_points_selectable>=1.0.4
++ backports.entry-points-selectable>=1.0.4;python_version<"3.10"
+ distlib>=0.3.1,<1
+ filelock>=3.2,<4
+ platformdirs>=2,<3
+diff --git a/src/virtualenv/run/plugin/base.py b/src/virtualenv/run/plugin/base.py
+index f1f4ee0..c667e8d 100644
+--- a/src/virtualenv/run/plugin/base.py
++++ b/src/virtualenv/run/plugin/base.py
+@@ -1,8 +1,12 @@
+ from __future__ import absolute_import, unicode_literals
+
++import sys
+ from collections import OrderedDict
+
+-from backports.entry_points_selectable import entry_points
++if sys.version_info >= (3, 10):
++ from importlib.metadata import entry_points
++else:
++ from backports.entry_points_selectable import entry_points
+
+
+ class PluginLoader(object):
diff --git a/srcpkgs/python3-virtualenv/template b/srcpkgs/python3-virtualenv/template
index 2bca84fb2ded..be21bcfa055d 100644
--- a/srcpkgs/python3-virtualenv/template
+++ b/srcpkgs/python3-virtualenv/template
@@ -1,11 +1,11 @@
# Template file for 'python3-virtualenv'
pkgname=python3-virtualenv
-version=20.4.7
-revision=2
+version=20.10.0
+revision=1
wrksrc="virtualenv-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools_scm"
-depends="python3-setuptools python3-appdirs python3-distlib python3-filelock python3-six"
+depends="python3-setuptools python3-platformdirs python3-distlib python3-filelock python3-six"
checkdepends="python3-pytest-mock python3-flaky python3-devel python3-pip $depends"
short_desc="Virtual Python environment builder"
maintainer="Orphaned <orphan@voidlinux.org>"
@@ -13,7 +13,7 @@ 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=14fdf849f80dbb29a4eb6caa9875d476ee2a5cf76a5f5415fa2f1606010ab467
+checksum=576d05b46eace16a9c348085f7d0dc8ef28713a2cabaa1cf0aea41e8f12c9218
alternatives="virtualenv:virtualenv:/usr/bin/virtualenv3"
do_check() {
next reply other threads:[~2021-11-26 23:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-26 23:08 Chocimier [this message]
2021-12-30 17:02 ` [PR PATCH] [Updated] " Chocimier
2021-12-30 17:07 ` [PR PATCH] [Merged]: " Chocimier
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-34265@inbox.vuxu.org \
--to=chocimier@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).