All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/python-weasyprint: bump to version 54.2
@ 2022-03-11 19:17 James Hilliard
  2022-03-13  9:09 ` Yann E. MORIN
  0 siblings, 1 reply; 3+ messages in thread
From: James Hilliard @ 2022-03-11 19:17 UTC (permalink / raw)
  To: buildroot; +Cc: James Hilliard, Asaf Kahlon

Migrate from distutils to flit package infrastructure.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
 package/python-weasyprint/python-weasyprint.hash | 4 ++--
 package/python-weasyprint/python-weasyprint.mk   | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/package/python-weasyprint/python-weasyprint.hash b/package/python-weasyprint/python-weasyprint.hash
index 8d231c50ba..90ccc1d057 100644
--- a/package/python-weasyprint/python-weasyprint.hash
+++ b/package/python-weasyprint/python-weasyprint.hash
@@ -1,5 +1,5 @@
 # md5, sha256 from https://pypi.org/pypi/weasyprint/json
-md5  a90fd2d5a581a0e218943af3a8b64a31  weasyprint-53.4.tar.gz
-sha256  10ccb17d55c73096bdf1edd3efe58cb855b07e4c307d9bad4ebc9a3f13ff4580  weasyprint-53.4.tar.gz
+md5  3917447c277db6931b8370f1d725db49  weasyprint-54.2.tar.gz
+sha256  d5e8aa82e3e2a2477a4543f0646d9fb14080c9ba34a0859751eb23757cc00466  weasyprint-54.2.tar.gz
 # Locally computed sha256 checksums
 sha256  bfd14eccfa6100575460e685556b183399d4bd335904e3c9521b0116d21c54da  LICENSE
diff --git a/package/python-weasyprint/python-weasyprint.mk b/package/python-weasyprint/python-weasyprint.mk
index 0a944825bb..925de855bc 100644
--- a/package/python-weasyprint/python-weasyprint.mk
+++ b/package/python-weasyprint/python-weasyprint.mk
@@ -4,10 +4,10 @@
 #
 ################################################################################
 
-PYTHON_WEASYPRINT_VERSION = 53.4
+PYTHON_WEASYPRINT_VERSION = 54.2
 PYTHON_WEASYPRINT_SOURCE = weasyprint-$(PYTHON_WEASYPRINT_VERSION).tar.gz
-PYTHON_WEASYPRINT_SITE = https://files.pythonhosted.org/packages/72/25/336e274fde0e48cf9979d44667411fbcfa55d323fd7672068807b6de2f89
-PYTHON_WEASYPRINT_SETUP_TYPE = distutils
+PYTHON_WEASYPRINT_SITE = https://files.pythonhosted.org/packages/f3/dc/d3d6f1d87a0a0b09637a1f5076790e229cc803c3584ed4edb76553844001
+PYTHON_WEASYPRINT_SETUP_TYPE = flit
 PYTHON_WEASYPRINT_LICENSE = BSD-3-Clause
 PYTHON_WEASYPRINT_LICENSE_FILES = LICENSE
 
-- 
2.25.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/python-weasyprint: bump to version 54.2
  2022-03-11 19:17 [Buildroot] [PATCH 1/1] package/python-weasyprint: bump to version 54.2 James Hilliard
@ 2022-03-13  9:09 ` Yann E. MORIN
  2022-03-13 14:45   ` James Hilliard
  0 siblings, 1 reply; 3+ messages in thread
From: Yann E. MORIN @ 2022-03-13  9:09 UTC (permalink / raw)
  To: James Hilliard; +Cc: Asaf Kahlon, buildroot

Kames, All,

On 2022-03-11 12:17 -0700, James Hilliard spake thusly:
> Migrate from distutils to flit package infrastructure.
> 
> Signed-off-by: James Hilliard <james.hilliard1@gmail.com>

Applied to master, thanks.

But see below, please...

[--SNIP--]
> diff --git a/package/python-weasyprint/python-weasyprint.mk b/package/python-weasyprint/python-weasyprint.mk
> index 0a944825bb..925de855bc 100644
> --- a/package/python-weasyprint/python-weasyprint.mk
> +++ b/package/python-weasyprint/python-weasyprint.mk
> @@ -4,10 +4,10 @@
>  #
>  ################################################################################
>  
> -PYTHON_WEASYPRINT_VERSION = 53.4
> +PYTHON_WEASYPRINT_VERSION = 54.2
>  PYTHON_WEASYPRINT_SOURCE = weasyprint-$(PYTHON_WEASYPRINT_VERSION).tar.gz
> -PYTHON_WEASYPRINT_SITE = https://files.pythonhosted.org/packages/72/25/336e274fde0e48cf9979d44667411fbcfa55d323fd7672068807b6de2f89
> -PYTHON_WEASYPRINT_SETUP_TYPE = distutils
> +PYTHON_WEASYPRINT_SITE = https://files.pythonhosted.org/packages/f3/dc/d3d6f1d87a0a0b09637a1f5076790e229cc803c3584ed4edb76553844001
> +PYTHON_WEASYPRINT_SETUP_TYPE = flit

'flit', as well as 'pep5127', are not documented in the manual:
    https://buildroot.org/downloads/manual/manual.html#_infrastructure_for_python_packages

Can you please send updates to fix that, now? ;-)

Regards,
Yann E. MORIN.

>  PYTHON_WEASYPRINT_LICENSE = BSD-3-Clause
>  PYTHON_WEASYPRINT_LICENSE_FILES = LICENSE
>  
> -- 
> 2.25.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot@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.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/python-weasyprint: bump to version 54.2
  2022-03-13  9:09 ` Yann E. MORIN
@ 2022-03-13 14:45   ` James Hilliard
  0 siblings, 0 replies; 3+ messages in thread
From: James Hilliard @ 2022-03-13 14:45 UTC (permalink / raw)
  To: Yann E. MORIN; +Cc: Asaf Kahlon, buildroot

On Sun, Mar 13, 2022 at 3:09 AM Yann E. MORIN <yann.morin.1998@free.fr> wrote:
>
> Kames, All,
>
> On 2022-03-11 12:17 -0700, James Hilliard spake thusly:
> > Migrate from distutils to flit package infrastructure.
> >
> > Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
>
> Applied to master, thanks.
>
> But see below, please...
>
> [--SNIP--]
> > diff --git a/package/python-weasyprint/python-weasyprint.mk b/package/python-weasyprint/python-weasyprint.mk
> > index 0a944825bb..925de855bc 100644
> > --- a/package/python-weasyprint/python-weasyprint.mk
> > +++ b/package/python-weasyprint/python-weasyprint.mk
> > @@ -4,10 +4,10 @@
> >  #
> >  ################################################################################
> >
> > -PYTHON_WEASYPRINT_VERSION = 53.4
> > +PYTHON_WEASYPRINT_VERSION = 54.2
> >  PYTHON_WEASYPRINT_SOURCE = weasyprint-$(PYTHON_WEASYPRINT_VERSION).tar.gz
> > -PYTHON_WEASYPRINT_SITE = https://files.pythonhosted.org/packages/72/25/336e274fde0e48cf9979d44667411fbcfa55d323fd7672068807b6de2f89
> > -PYTHON_WEASYPRINT_SETUP_TYPE = distutils
> > +PYTHON_WEASYPRINT_SITE = https://files.pythonhosted.org/packages/f3/dc/d3d6f1d87a0a0b09637a1f5076790e229cc803c3584ed4edb76553844001
> > +PYTHON_WEASYPRINT_SETUP_TYPE = flit
>
> 'flit', as well as 'pep5127', are not documented in the manual:
>     https://buildroot.org/downloads/manual/manual.html#_infrastructure_for_python_packages
>
> Can you please send updates to fix that, now? ;-)

Yeah, cleaning flit/pep517 support up a bit more first, the pep517
option may not
be needed except for in tree backends, I guess we should keep it around for now
but not sure if any packages are going to be using it:
https://peps.python.org/pep-0517/#in-tree-build-backends

No packages use direct pep517 anymore as of this refactor:
https://patchwork.ozlabs.org/project/buildroot/patch/20220313122112.261290-1-james.hilliard1@gmail.com/

I've added flit/pep517 support in scanpypi as well in:
https://patchwork.ozlabs.org/project/buildroot/patch/20220313143726.267306-1-james.hilliard1@gmail.com/

Will send a docs update after those are reviewed+merged since there
are potential
docs implications with those changes.

>
> Regards,
> Yann E. MORIN.
>
> >  PYTHON_WEASYPRINT_LICENSE = BSD-3-Clause
> >  PYTHON_WEASYPRINT_LICENSE_FILES = LICENSE
> >
> > --
> > 2.25.1
> >
> > _______________________________________________
> > buildroot mailing list
> > buildroot@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.  |
> '------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-03-13 14:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-11 19:17 [Buildroot] [PATCH 1/1] package/python-weasyprint: bump to version 54.2 James Hilliard
2022-03-13  9:09 ` Yann E. MORIN
2022-03-13 14:45   ` James Hilliard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.