Github messages for voidlinux
 help / color / mirror / Atom feed
From: Chocimier <Chocimier@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] Manual.md: python_version does not default to 2 anymore.
Date: Tue, 09 Aug 2022 21:41:59 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-38561@inbox.vuxu.org> (raw)

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

             reply	other threads:[~2022-08-09 19:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-09 19:41 Chocimier [this message]
2022-08-10 15:38 ` [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-38561@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).