[Buildroot] [PATCH 3/4] package/python-pypika-tortoise: new package

James Hilliard james.hilliard1 at gmail.com
Wed Jan 3 06:37:24 UTC 2024


On Sat, Dec 16, 2023 at 2:59 PM Yann E. MORIN <yann.morin.1998 at free.fr> wrote:
>
> James, All,
>
> On 2023-12-14 02:15 -0700, James Hilliard spake thusly:
> > Signed-off-by: James Hilliard <james.hilliard1 at gmail.com>
> > ---
> [--SNIP--]
> > diff --git a/package/python-pypika-tortoise/python-pypika-tortoise.mk b/package/python-pypika-tortoise/python-pypika-tortoise.mk
> > new file mode 100644
> > index 0000000000..84aa19cfbb
> > --- /dev/null
> > +++ b/package/python-pypika-tortoise/python-pypika-tortoise.mk
> > @@ -0,0 +1,15 @@
> > +################################################################################
> > +#
> > +# python-pypika-tortoise
> > +#
> > +################################################################################
> > +
> > +PYTHON_PYPIKA_TORTOISE_VERSION = 0.1.6
> > +PYTHON_PYPIKA_TORTOISE_SOURCE = pypika-tortoise-$(PYTHON_PYPIKA_TORTOISE_VERSION).tar.gz
> > +PYTHON_PYPIKA_TORTOISE_SITE = https://files.pythonhosted.org/packages/86/55/1bfd4150f664d2e07b36c8f442178cc1f717bb9ae6cae20f21e851c208c6
> > +PYTHON_PYPIKA_TORTOISE_SETUP_TYPE = pep517
> > +PYTHON_PYPIKA_TORTOISE_LICENSE = Apache-2.0
> > +PYTHON_PYPIKA_TORTOISE_LICENSE_FILES = LICENSE
> > +PYTHON_PYPIKA_TORTOISE_DEPENDENCIES = host-python-poetry-core
>
> Shouldn't we start handling all the various backends as setup types,
> instead?

Yeah, I've been planning to do that once all our python build backends are
pep517 based(we're pretty close) along with adding a hatch setup type.

>
> For example, we already handle flit and maturin as setup types, so why
> don't we do the same for poetry?

Well we should probably migrate setuptools to pep517 first as adding poetry
support will conflict with that patch.

I was also planning to remove distutils after setuptools is migrated which
should be the last non-pep517 python build backend we support.

https://patchwork.ozlabs.org/project/buildroot/patch/20231126180840.2081945-5-james.hilliard1@gmail.com/

>
> Regards,
> Yann E. MORIN.
>
> > +$(eval $(python-package))
> > --
> > 2.34.1
> >
> > _______________________________________________
> > buildroot mailing list
> > buildroot at buildroot.org
> > https://lists.buildroot.org/mailman/listinfo/buildroot
>
> --
> .-----------------.--------------------.------------------.--------------------.
> |  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
> | +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
> | +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
> | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
> '------------------------------^-------^------------------^--------------------'



More information about the buildroot mailing list