Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 702436 - dev-libs/newt: Please add Python 3.7
Summary: dev-libs/newt: Please add Python 3.7
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ben Kohler
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-10 11:42 UTC by David Seifert
Modified: 2019-12-14 13:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
0001-dev-libs-newt-Add-py3.7-and-3.8.patch (0001-dev-libs-newt-Add-py3.7-and-3.8.patch,2.78 KB, patch)
2019-12-14 11:25 UTC, David Seifert
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Seifert gentoo-dev 2019-12-10 11:42:32 UTC
Dear maintainer,
please add support for Python 3.7 to dev-libs/newt, and if possible, also Python 3.8.

Reproducible: Always
Comment 1 Andreas Sturmlechner gentoo-dev 2019-12-10 12:17:54 UTC
See also commit cbadb28169dcfdf182f721fba55ac2d51dbc4f1b and bug 702016.
Comment 2 David Seifert gentoo-dev 2019-12-14 11:25:07 UTC
Created attachment 599506 [details, diff]
0001-dev-libs-newt-Add-py3.7-and-3.8.patch
Comment 3 David Seifert gentoo-dev 2019-12-14 11:25:40 UTC
The diff before and after:

--- Old-Tree
+++ New-Tree
@@ -4,6 +4,21 @@
     │   └── whiptail
     ├── include
     │   └── newt.h
+    ├── lib
+    │   ├── python3.7
+    │   │   └── site-packages
+    │   │       ├── __pycache__
+    │   │       │   ├── snack.cpython-37.opt-1.pyc
+    │   │       │   ├── snack.cpython-37.opt-2.pyc
+    │   │       │   └── snack.cpython-37.pyc
+    │   │       └── snack.py
+    │   └── python3.8
+    │       └── site-packages
+    │           ├── __pycache__
+    │           │   ├── snack.cpython-38.opt-1.pyc
+    │           │   ├── snack.cpython-38.opt-2.pyc
+    │           │   └── snack.cpython-38.pyc
+    │           └── snack.py
     ├── lib64
     │   ├── libnewt.a
     │   ├── libnewt.so -> libnewt.so.0.52
@@ -260,4 +275,4 @@
             └── man1
                 └── whiptail.1.bz2
 
-164 directories, 96 files
+171 directories, 104 files
Comment 4 Larry the Git Cow gentoo-dev 2019-12-14 13:03:31 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=642f9f19fac3771ff46a7eddbc540d4381a7564c

commit 642f9f19fac3771ff46a7eddbc540d4381a7564c
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2019-12-14 13:03:15 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2019-12-14 13:03:15 +0000

    dev-libs/newt: Add py3.7 and 3.8
    
    * Use the python sitedir, not just $(libdir), as the python
      sitedir is not guaranteed to be nested in $(libdir).
    
    Closes: https://bugs.gentoo.org/702436
    Closes: https://github.com/gentoo/gentoo/pull/13980
    Package-Manager: Portage-2.3.81, Repoman-2.3.20
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../newt/files/newt-0.52.21-python-sitedir.patch   |  18 ++++
 dev-libs/newt/newt-0.52.21-r1.ebuild               | 100 +++++++++++++++++++++
 2 files changed, 118 insertions(+)