ports/contrib (3.5): libnewt: drops python2 dependency and uses python3
commit 0d67246e2d5f06f78e2668228f360be28377b8bd Author: Tim Biermann <tbier@posteo.de> Date: Wed Apr 1 15:40:12 2020 +0000 libnewt: drops python2 dependency and uses python3 diff --git a/libnewt/.footprint b/libnewt/.footprint index 827c7d925..a452dd6f8 100644 --- a/libnewt/.footprint +++ b/libnewt/.footprint @@ -10,16 +10,10 @@ lrwxrwxrwx root/root usr/lib/libnewt.so.0.52 -> libnewt.so.0.52.21 -rwxr-xr-x root/root usr/lib/libnewt.so.0.52.21 drwxr-xr-x root/root usr/lib/pkgconfig/ -rw-r--r-- root/root usr/lib/pkgconfig/libnewt.pc -drwxr-xr-x root/root usr/lib/python2.7/ -drwxr-xr-x root/root usr/lib/python2.7/site-packages/ --rwxr-xr-x root/root usr/lib/python2.7/site-packages/_snack.so --rw-r--r-- root/root usr/lib/python2.7/site-packages/snack.py -drwxr-xr-x root/root usr/lib/usr/ -drwxr-xr-x root/root usr/lib/usr/include/ -drwxr-xr-x root/root usr/lib/usr/include/python/ -drwxr-xr-x root/root usr/lib/usr/include/python/Python.h/ -drwxr-xr-x root/root usr/lib/usr/include/python/Python.h/site-packages/ --rw-r--r-- root/root usr/lib/usr/include/python/Python.h/site-packages/snack.py +drwxr-xr-x root/root usr/lib/python3.7/ +drwxr-xr-x root/root usr/lib/python3.7/site-packages/ +-rwxr-xr-x root/root usr/lib/python3.7/site-packages/_snack.so +-rw-r--r-- root/root usr/lib/python3.7/site-packages/snack.py drwxr-xr-x root/root usr/share/ drwxr-xr-x root/root usr/share/man/ drwxr-xr-x root/root usr/share/man/man1/ diff --git a/libnewt/.signature b/libnewt/.signature index 954db65bb..4e0900529 100644 --- a/libnewt/.signature +++ b/libnewt/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF33dJryKb/9KwLEA/6qEJFFkiyl1WWspUGQqnJFIsefeqYHsqyJ4F1c9pdW1XbQX6SlmCRx1wyRyzSYMQZVzhIQ0= -SHA256 (Pkgfile) = f8ea58f17efd1f16829c0239669e9153ac252f9350bc667201d37df588cfd532 -SHA256 (.footprint) = 91d1b4260b0d4376a1811c969455077ba1383038773ac21902ad9802b1953757 +RWSagIOpLGJF36GC4oQvbCSPb1lj4yqcoIFR7gZEL9FoEd0OAF19bsZJxeIVfJQ+5PLNaGrcdDG+H3uhNPQYZFWp+Ut5Ewj4vwk= +SHA256 (Pkgfile) = c13fda1df4ec02dd9dc9b04cc234545b71608b31b57f8a321d8509c490753520 +SHA256 (.footprint) = f153acd27a8ec7af7463db8a09261941a6e922152edd32d1650284a1e6904ba5 SHA256 (newt-0.52.21.tar.gz) = 265eb46b55d7eaeb887fca7a1d51fe115658882dfe148164b6c49fccac5abb31 diff --git a/libnewt/Pkgfile b/libnewt/Pkgfile index 9b0f17816..9bb78ff08 100644 --- a/libnewt/Pkgfile +++ b/libnewt/Pkgfile @@ -1,11 +1,11 @@ # Description: a programming library for color text mode # URL: https://pagure.io/newt # Maintainer: Tim Biermann, tbier at posteo dot de -# Depends on: slang python popt +# Depends on: slang popt python3 name=libnewt version=0.52.21 -release=1 +release=2 source=(https://releases.pagure.org/newt/newt-$version.tar.gz) git=(https://pagure.io/newt.git) @@ -15,5 +15,7 @@ build() { ./configure --prefix=/usr --disable-nls make make DESTDIR=$PKG install - rm -fr $PKG/usr/share/locale + rm -r $PKG/usr/share/locale + # with python2 around, it populates this weird path + rm -r $PKG/usr/lib/usr || true }
participants (1)
-
crux@crux.nu