Skip to contentSkip to conversation

package/python-weasyprint: bump to version 54.2

PATCH Applied James Hilliard 2 participants 3 messages Mar 11, 2022 – Mar 13, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/python-weasyprint: bump to version 54.2

Migrate from distutils to flit package infrastructure.

---
 package/python-weasyprint/python-weasyprint.hash | 4 ++--
 package/python-weasyprint/python-weasyprint.mk   | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)
package/python-weasyprint/python-weasyprint.hash +2 -2
index 8d231c50ba..90ccc1d057 100644
@@ -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
package/python-weasyprint/python-weasyprint.mk +3 -3
index 0a944825bb..925de855bc 100644
@@ -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
 
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

Kames, All,

On 2022-03-11 12:17 -0700, James Hilliard spake thusly:

Quoted 3 lines

Migrate from distutils to flit package infrastructure.

Applied to master, thanks.

But see below, please...

[--SNIP--]

Quoted 5 lines
package/python-weasyprint/python-weasyprint.mk +0 -0
index 0a944825bb..925de855bc 100644

package/python-weasyprint/python-weasyprint.mk line 10

Quoted 10 lines
package/python-weasyprint/python-weasyprint.mk +3 -3
@@ -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.

Quoted 10 lines
package/python-weasyprint/python-weasyprint.mk +0 -0
 PYTHON_WEASYPRINT_LICENSE = BSD-3-Clause
 PYTHON_WEASYPRINT_LICENSE_FILES = LICENSE
 
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------.
|  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
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw
Quoted 32 lines · Yann E. MORIN

Kames, All,

On 2022-03-11 12:17 -0700, James Hilliard spake thusly:

Quoted 3 lines

Migrate from distutils to flit package infrastructure.

Applied to master, thanks.

But see below, please...

[--SNIP--]

Quoted 5 lines
package/python-weasyprint/python-weasyprint.mk +0 -0
index 0a944825bb..925de855bc 100644

package/python-weasyprint/python-weasyprint.mk line 10

Quoted 10 lines
package/python-weasyprint/python-weasyprint.mk +3 -3
@@ -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

Quoted 1 line

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/[email protected]/

I've added flit/pep517 support in scanpypi as well in:
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/

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

Quoted 15 lines

Regards,
Yann E. MORIN.

Quoted 10 lines
package/python-weasyprint/python-weasyprint.mk +0 -1
 PYTHON_WEASYPRINT_LICENSE = BSD-3-Clause
 PYTHON_WEASYPRINT_LICENSE_FILES = LICENSE
 
--

2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

Quoted 7 lines

--
.-----------------.--------------------.------------------.--------------------.

|  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
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot