Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] Manual.md: python_version does not default to 2 anymore.
@ 2022-08-09 19:41 Chocimier
  2022-08-10 15:38 ` [PR PATCH] [Merged]: " Chocimier
  0 siblings, 1 reply; 2+ messages in thread
From: Chocimier @ 2022-08-09 19:41 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Chocimier/void-packages-org manual-python_version-2
https://github.com/void-linux/void-packages/pull/38561

Manual.md: python_version does not default to 2 anymore.
None

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

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

From f39a5b3a096037eb9f1843046dc520c4a158ad5c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= <chocimier@tlen.pl>
Date: Tue, 9 Aug 2022 21:39:56 +0200
Subject: [PATCH] Manual.md: python_version does not default to 2 anymore.

---
 Manual.md | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/Manual.md b/Manual.md
index 89fbc4eb8c83..3b0d85e78abc 100644
--- a/Manual.md
+++ b/Manual.md
@@ -1602,12 +1602,11 @@ recursively by the target python version. This differs from `pycompile_module` i
 path may be specified, Example: `pycompile_dirs="usr/share/foo"`.
 
 - `python_version`: this variable expects the supported Python major version.
-By default it's set to `2`. This variable is needed for multi-language
+In most cases version is inferred from shebang, install path or build style.
+Only required for some multi-language
 applications (e.g., the application is written in C while the command is
 written in Python) or just single Python file ones that live in `/usr/bin`.
 
-> NOTE: you need to define it *only* for non-Python modules.
-
 Also, a set of useful variables are defined to use in the templates:
 
 | Variable    | Value                            |

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

* Re: [PR PATCH] [Merged]: Manual.md: python_version does not default to 2 anymore.
  2022-08-09 19:41 [PR PATCH] Manual.md: python_version does not default to 2 anymore Chocimier
@ 2022-08-10 15:38 ` Chocimier
  0 siblings, 0 replies; 2+ messages in thread
From: Chocimier @ 2022-08-10 15:38 UTC (permalink / raw)
  To: ml

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

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

Manual.md: python_version does not default to 2 anymore.
https://github.com/void-linux/void-packages/pull/38561

Description:
None

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

end of thread, other threads:[~2022-08-10 15:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-09 19:41 [PR PATCH] Manual.md: python_version does not default to 2 anymore Chocimier
2022-08-10 15:38 ` [PR PATCH] [Merged]: " Chocimier

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