Ponce / slackbuilds

fork of master branch from git://git.slackbuilds.org/slackbuilds.git (read more on wiki). If you want to fork/pull request do it only over master (the other branches are temporary and are always rebased on master). alternative interface https://cgit.ponce.cc/slackbuilds/
https://slackware.ponce.cc
165 stars 60 forks source link

python3 3.11 broken script #221

Closed willysr closed 4 months ago

willysr commented 5 months ago

Please list all broken scripts due to python3 updates in current here

fourtysixand2 commented 5 months ago

-python3-setuptools-rust-opt is fixed in my branch on SBo -python3-maturin is fixed in my branch on SBo -cryptography is fixed in my branch as well @willysr

-python3-bcrypt builds fine here but you should probably use python3-setuptools-rust-opt instead of the old python3-setuptools-rust. Then the old slackbuild can be removed. No bother renaming my -opt version until we move to 15.1 as it needs to stay in /opt for 15.0.

fourtysixand2 commented 5 months ago

-python3-autocommand is fixed in my branch -python3-pythran I've sent a fix to the maintainer -python3-scipy I've sent a fix to the maintainer

-python3-setuptools_scm_git_archive is no longer needed and should be removed from the current repo https://github.com/Changaco/setuptools_scm_git_archive/issues/23#issuecomment-1729819917

fourtysixand2 commented 5 months ago

-gst-python needs updating to build

diff --git a/python/gst-python/gst-python.SlackBuild b/python/gst-python/gst-python.SlackBuild
index 8add0166..805527f8 100644
--- a/python/gst-python/gst-python.SlackBuild
+++ b/python/gst-python/gst-python.SlackBuild
@@ -25,7 +25,7 @@
 cd $(dirname $0) ; CWD=$(pwd)

 PRGNAM=gst-python
-VERSION=${VERSION:-1.18.5}
+VERSION=${VERSION:-1.24.1}
 BUILD=${BUILD:-1}
 TAG=${TAG:-_SBo}
 PKGTYPE=${PKGTYPE:-tgz}
@@ -101,7 +101,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
 rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la

 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog NEWS RELEASE README TODO $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING ChangeLog NEWS RELEASE README.md $PKG/usr/doc/$PRGNAM-$VERSION
 cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

 mkdir -p $PKG/install
diff --git a/python/gst-python/gst-python.info b/python/gst-python/gst-python.info
index 27d2f540..f25ce655 100644
--- a/python/gst-python/gst-python.info
+++ b/python/gst-python/gst-python.info
@@ -1,8 +1,8 @@
 PRGNAM="gst-python"
-VERSION="1.18.5"
+VERSION="1.24.1"
 HOMEPAGE="https://gstreamer.freedesktop.org/modules/gst-python.html"
-DOWNLOAD="https://gstreamer.freedesktop.org/src/gst-python/gst-python-1.18.5.tar.xz"
+DOWNLOAD="https://gstreamer.freedesktop.org/src/gst-python/gst-python-1.24.1.tar.xz"
-MD5SUM="eb19229f72f61506e33182a6fbce4a2e"
+MD5SUM="a04bf7cfc76de2096d2dfd9feb12ddba"
 DOWNLOAD_x86_64=""
 MD5SUM_x86_64=""
 REQUIRES=""
fourtysixand2 commented 5 months ago

-python3-platformdirs I've sent a fix to the maintainer -gaupol will be fixed in my branch on SBo

willysr commented 5 months ago

python3-pythran i believe i fixed it on my branch: https://git.slackbuilds.org/slackbuilds/commit/?id=85545a418

fourtysixand2 commented 5 months ago

Ahh, missed that.

willysr commented 5 months ago

@fourtysixand2 can you push the updates on your branch if you knew it is safe to use on stable?

willysr commented 5 months ago

i believe for gst-python, this is current spesific, so it should go under ponce's repo

fourtysixand2 commented 5 months ago

Sure, will push in a couple minutes. I have tested them on stable already.

And yes, gst-python update is for ponce's repo only.

fourtysixand2 commented 5 months ago

Done, and you have python3-scipy on there twice.

Does python3-bcrypt FTB for you? It works here as is.

willysr commented 5 months ago

yes, because it uses python3.9 hard-coded export PYTHONPATH=/opt/python3.9/site-packages/

fourtysixand2 commented 5 months ago

That line doesn't affect python3-bcrypt building on current unless we make the changes I was suggesting above.

However, i would like to fix all those specific PYTHONPATH lines to be dynamic. There's a little over 60 of them total. Shall I go ahead and do that?

willysr commented 5 months ago

if it works for both stable and current, why not? this will make it easier to transition for ponce once development cycle starts for 15.1 repo

willysr commented 5 months ago

Fixed python-colour

Ponce commented 5 months ago

-gst-python needs updating to build

diff --git a/python/gst-python/gst-python.SlackBuild b/python/gst-python/gst-python.SlackBuild
index 8add0166..805527f8 100644
--- a/python/gst-python/gst-python.SlackBuild
+++ b/python/gst-python/gst-python.SlackBuild
@@ -25,7 +25,7 @@
 cd $(dirname $0) ; CWD=$(pwd)

 PRGNAM=gst-python
-VERSION=${VERSION:-1.18.5}
+VERSION=${VERSION:-1.24.1}
 BUILD=${BUILD:-1}
 TAG=${TAG:-_SBo}
 PKGTYPE=${PKGTYPE:-tgz}
@@ -101,7 +101,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
 rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la

 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog NEWS RELEASE README TODO $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING ChangeLog NEWS RELEASE README.md $PKG/usr/doc/$PRGNAM-$VERSION
 cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

 mkdir -p $PKG/install
diff --git a/python/gst-python/gst-python.info b/python/gst-python/gst-python.info
index 27d2f540..f25ce655 100644
--- a/python/gst-python/gst-python.info
+++ b/python/gst-python/gst-python.info
@@ -1,8 +1,8 @@
 PRGNAM="gst-python"
-VERSION="1.18.5"
+VERSION="1.24.1"
 HOMEPAGE="https://gstreamer.freedesktop.org/modules/gst-python.html"
-DOWNLOAD="https://gstreamer.freedesktop.org/src/gst-python/gst-python-1.18.5.tar.xz"
+DOWNLOAD="https://gstreamer.freedesktop.org/src/gst-python/gst-python-1.24.1.tar.xz"
-MD5SUM="eb19229f72f61506e33182a6fbce4a2e"
+MD5SUM="a04bf7cfc76de2096d2dfd9feb12ddba"
 DOWNLOAD_x86_64=""
 MD5SUM_x86_64=""
 REQUIRES=""

thanks, pushed in its own branch!

fourtysixand2 commented 5 months ago

python3-bcrypt fixed in my branch. @willysr python3-setuptools-rust can be removed from stable

All of the builds using PYTHONPATH=/opt/python... have been fixed as well.

willysr commented 5 months ago

@fourtysixand2 thanks for the efforts does it work well on stable as well?

willysr commented 5 months ago

@fourtysixand2 you missed python3-setuptools-opt i mean you only edit the README, but the actual script is still failing to build

willysr commented 5 months ago

can you check this commit? https://git.slackbuilds.org/slackbuilds/commit/?id=757daece4

fourtysixand2 commented 5 months ago

Yes (python3-bcrypt), I tested on both.

Thanks I did miss that, but I've had ponce remove from this repo once Pat added it to -current so it's not too big a deal.

I'm going to rebase my branch and do a couple fixups, if you can remove that commit I'll fix it in mine.

willysr commented 5 months ago

sure no problem

willysr commented 4 months ago

it's now all fixed, so closing this issue