[Slackbuilds-users] python3-uv and uv-bin
Arnaud
arnaud.garcia-fernandez at laposte.net
Wed Oct 1 11:44:45 UTC 2025
Hi!
I was looking at updating pgsanity, and it also requires uv to build.
I've tested the build using this python3-uv_build, and it works fine.
So I've submitted a PR in Github, for pgsanity, but it is dependant on the
integration of python3-uv_build.
Previous uv-bin and python3-uv couldn't allow building pgsanity, but that one does.
Cheers.
On Wed, 1 Oct 2025 01:35:29 -0600
fourtysixandtwo <fourtysixandtwo at sliderr.net> wrote:
> I've submitted python3-uv_build. I've attached it if you want to test Antonio.
>
> Here's the diff for odfdo too
>
> diff --git a/python/python3-odfdo/python3-odfdo.SlackBuild
> b/python/python3-odfdo/python3-odfdo.SlackBuild
> index 980682676..30daea012 100644
> --- a/python/python3-odfdo/python3-odfdo.SlackBuild
> +++ b/python/python3-odfdo/python3-odfdo.SlackBuild
> @@ -66,7 +66,8 @@ find -L . \
>
> PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])')
> export PYTHONPATH=/opt/python$PYVER/site-packages/
> -uv build --wheel
> +
> +python3 -m build --no-isolation
> python3 -m installer --destdir "$PKG" "dist/odfdo-$VERSION-py3-none-any.whl"
>
> find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared
> object" | grep ELF \
> diff --git a/python/python3-odfdo/python3-odfdo.info
> b/python/python3-odfdo/python3-odfdo.info
> index 3682943cf..9cd2ebe63 100644
> --- a/python/python3-odfdo/python3-odfdo.info
> +++ b/python/python3-odfdo/python3-odfdo.info
> @@ -5,6 +5,6 @@
> DOWNLOAD="https://github.com/jdum/odfdo/archive/v3.16.7/odfdo-3.16.7.tar.gz"
> MD5SUM="877040cb5476310c7cc63a5d39919d28"
> DOWNLOAD_x86_64=""
> MD5SUM_x86_64=""
> -REQUIRES="python3-lxml python3-uv"
> +REQUIRES="python3-lxml python3-uv_build"
> MAINTAINER="Antonio Leal"
> EMAIL="antonioleal at yahoo.com"
>
>
>
> On Tue, Sep 30, 2025 at 1:52 AM fourtysixandtwo
> <fourtysixandtwo at sliderr.net> wrote:
> >
> > On Sat, Sep 27, 2025 at 2:56 AM Antonio Leal via SlackBuilds-users
> > <slackbuilds-users at slackbuilds.org> wrote:
> > >
> > > All good. I agree to remove python3-uv and I'll rework python3-odfdo
> > > with the existing uv-bin or otherwise. For the moment maybe its also
> > > good idea to remove python3-odfdo.
> >
> > I look to have a python3-uv_build slackbuild working which is just the
> > uv build backend and is all that is needed for odfdo (using the
> > regular python build commands).
> >
> > I just got it working and it required a change to my vendoring script.
> > This should mean we'll be able to build python3-uv properly too but I
> > haven't gotten that far yet.
> >
> > > I saw the "-bin" discussion in the list but was it finally decided to
> > > implement it?
> >
> > There are quite a few -bin's...48 to be exact!
> >
> > Cheers
--
Arnaud <arnaud.garcia-fernandez at laposte.net>
More information about the SlackBuilds-users
mailing list