aboutsummaryrefslogtreecommitdiff
path: root/doc/contributing.texi
diff options
context:
space:
mode:
authorLeo Famulari <leo@famulari.name>2020-03-11 15:31:59 -0400
committerLeo Famulari <leo@famulari.name>2020-03-13 19:27:33 -0400
commit39356057bce20f74120b6d227567a943556717cc (patch)
treed5de49883a4122a4ed1b8d12cc3083ccf39b4da1 /doc/contributing.texi
parent364a1374ad5e04a91cdc29203f0c8073eede72d4 (diff)
downloadpatches-39356057bce20f74120b6d227567a943556717cc.tar
patches-39356057bce20f74120b6d227567a943556717cc.tar.gz
doc: Update guidance about Python 2 package variants.
* doc/contributing.texi (Python Modules): Don't recommend adding Python-2 package variants by default.
Diffstat (limited to 'doc/contributing.texi')
-rw-r--r--doc/contributing.texi11
1 files changed, 6 insertions, 5 deletions
diff --git a/doc/contributing.texi b/doc/contributing.texi
index afcc030b4f..31b875f817 100644
--- a/doc/contributing.texi
+++ b/doc/contributing.texi
@@ -612,11 +612,12 @@ To avoid confusion and naming clashes with other programming languages, it
seems desirable that the name of a package for a Python module contains
the word @code{python}.
-Some modules are compatible with only one version of Python, others with both.
-If the package Foo compiles only with Python 3, we name it
-@code{python-foo}; if it compiles only with Python 2, we name it
-@code{python2-foo}. If it is compatible with both versions, we create two
-packages with the corresponding names.
+Some modules are compatible with only one version of Python, others with
+both. If the package Foo is compiled with Python 3, we name it
+@code{python-foo}. If it is compiled with Python 2, we name it
+@code{python2-foo}. Packages should be added when they are necessary;
+we don't add Python 2 variants of the package unless we are going to use
+them.
If a project already contains the word @code{python}, we drop this;
for instance, the module python-dateutil is packaged under the names