Skip to contentSkip to conversation

package/python-pluggy: enable host package build

PATCH In review James Hilliard 2 participants 9 messages Oct 19, 2022 – Oct 31, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/7 package/python-pluggy: enable host package build

This will be needed for the upcoming host-python-hatchling.

---
 package/python-pluggy/python-pluggy.mk | 2 ++
 1 file changed, 2 insertions(+)
package/python-pluggy/python-pluggy.mk +2 -0
index 59382518ed..6dc6f970ea 100644
@@ -11,5 +11,7 @@ PYTHON_PLUGGY_SETUP_TYPE = setuptools
 PYTHON_PLUGGY_LICENSE = MIT
 PYTHON_PLUGGY_LICENSE_FILES = LICENSE
 PYTHON_PLUGGY_DEPENDENCIES = host-python-setuptools-scm
+HOST_PYTHON_PLUGGY_DEPENDENCIES = host-python-setuptools-scm
 
 $(eval $(python-package))
+$(eval $(host-python-package))
Signature · 6 lines
2.34.1

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

PATCH 2/7 package/python-editables: new package

---
 DEVELOPERS                                     |  1 +
 package/python-editables/python-editables.hash |  5 +++++
 package/python-editables/python-editables.mk   | 14 ++++++++++++++
 3 files changed, 20 insertions(+)
 create mode 100644 package/python-editables/python-editables.hash
 create mode 100644 package/python-editables/python-editables.mk
DEVELOPERS +1 -0
index c0e6f8bbef..5784c4bca2 100644
@@ -1378,6 +1378,7 @@ F:	package/python-cbor2/
 F:	package/python-cchardet/
 F:	package/python-charset-normalizer/
 F:	package/python-cssselect2/
+F:	package/python-editables/
 F:	package/python-flatbuffers/
 F:	package/python-fonttools/
 F:	package/python-frozenlist/
package/python-editables/python-editables.hash new file +5 -0
new file mode 100644
index 0000000000..3c28c44cc3
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/editables/json
+md5  e91709fbb0ef586cb7b785042068ab67  editables-0.3.tar.gz
+sha256  167524e377358ed1f1374e61c268f0d7a4bf7dbd046c656f7b410cde16161b1a  editables-0.3.tar.gz
+# Locally computed sha256 checksums
+sha256  c73e08a04e1557fdb49525fb7a579f73bcab84a254910b9350ee56daf143932d  LICENSE.txt
package/python-editables/python-editables.mk new file +14 -0
new file mode 100644
index 0000000000..db67e7a16d
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-editables
+#
+################################################################################
+
+PYTHON_EDITABLES_VERSION = 0.3
+PYTHON_EDITABLES_SOURCE = editables-$(PYTHON_EDITABLES_VERSION).tar.gz
+PYTHON_EDITABLES_SITE = https://files.pythonhosted.org/packages/01/b0/a2a87db4b6cb8e7d57004b6836faa634e0747e3e39ded126cdbe5a33ba36
+PYTHON_EDITABLES_LICENSE = MIT
+PYTHON_EDITABLES_LICENSE_FILES = LICENSE.txt
+PYTHON_EDITABLES_SETUP_TYPE = setuptools
+
+$(eval $(host-python-package))
Signature · 6 lines
2.34.1

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

PATCH 3/7 package/python-pathspec: new packages

In reply to James Hilliard
---
 DEVELOPERS                                   |  1 +
 package/python-pathspec/python-pathspec.hash |  5 +++++
 package/python-pathspec/python-pathspec.mk   | 14 ++++++++++++++
 3 files changed, 20 insertions(+)
 create mode 100644 package/python-pathspec/python-pathspec.hash
 create mode 100644 package/python-pathspec/python-pathspec.mk
DEVELOPERS +1 -0
index 5784c4bca2..48d2193db6 100644
@@ -1389,6 +1389,7 @@ F:	package/python-logstash/
 F:	package/python-maturin/
 F:	package/python-multidict/
 F:	package/python-mypy-extensions/
+F:	package/python-pathspec/
 F:	package/python-pep517/
 F:	package/python-pycares/
 F:	package/python-pydyf/
package/python-pathspec/python-pathspec.hash new file +5 -0
new file mode 100644
index 0000000000..91e4fb85b7
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/pathspec/json
+md5  6f4fde5e701d328a2846d206edb63aa9  pathspec-0.10.1.tar.gz
+sha256  7ace6161b621d31e7902eb6b5ae148d12cfd23f4a249b9ffb6b9fee12084323d  pathspec-0.10.1.tar.gz
+# Locally computed sha256 checksums
+sha256  fab3dd6bdab226f1c08630b1dd917e11fcb4ec5e1e020e2c16f83a0a13863e85  LICENSE
package/python-pathspec/python-pathspec.mk new file +14 -0
new file mode 100644
index 0000000000..ccb794cce9
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-pathspec
+#
+################################################################################
+
+PYTHON_PATHSPEC_VERSION = 0.10.1
+PYTHON_PATHSPEC_SOURCE = pathspec-$(PYTHON_PATHSPEC_VERSION).tar.gz
+PYTHON_PATHSPEC_SITE = https://files.pythonhosted.org/packages/24/9f/a9ae1e6efa11992dba2c4727d94602bd2f6ee5f0dedc29ee2d5d572c20f7
+PYTHON_PATHSPEC_LICENSE = MPL-2.0
+PYTHON_PATHSPEC_LICENSE_FILES = LICENSE
+PYTHON_PATHSPEC_SETUP_TYPE = setuptools
+
+$(eval $(host-python-package))
Signature · 6 lines
2.34.1

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

PATCH 4/7 package/python-hatchling: new package

In reply to James Hilliard

This is a new pep517 based build backend.

---
 DEVELOPERS                                    |  1 +
 .../python-hatchling/python-hatchling.hash    |  5 +++++
 package/python-hatchling/python-hatchling.mk  | 19 +++++++++++++++++++
 3 files changed, 25 insertions(+)
 create mode 100644 package/python-hatchling/python-hatchling.hash
 create mode 100644 package/python-hatchling/python-hatchling.mk
DEVELOPERS +1 -0
index 48d2193db6..9e2e7a2b87 100644
@@ -1383,6 +1383,7 @@ F:	package/python-flatbuffers/
 F:	package/python-fonttools/
 F:	package/python-frozenlist/
 F:	package/python-greenlet/
+F:	package/python-hatchling/
 F:	package/python-installer/
 F:	package/python-janus/
 F:	package/python-logstash/
package/python-hatchling/python-hatchling.hash new file +5 -0
new file mode 100644
index 0000000000..41d7be977e
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/hatchling/json
+md5  e06cc65ac646f9b01df5406aa1f97022  hatchling-1.11.1.tar.gz
+sha256  9f84361f70cf3a7ab9543b0c3ecc64211ed2ba8a606a71eb6a473c1c9b08e1d0  hatchling-1.11.1.tar.gz
+# Locally computed sha256 checksums
+sha256  7f143a8127ad4873862d70854b5bd2abd0085aa73e64fd2b08704a3b9f5c07fc  LICENSE.txt
package/python-hatchling/python-hatchling.mk new file +19 -0
new file mode 100644
index 0000000000..13155a20a4
@@ -0,0 +1,19 @@
+################################################################################
+#
+# python-hatchling
+#
+################################################################################
+
+PYTHON_HATCHLING_VERSION = 1.11.1
+PYTHON_HATCHLING_SOURCE = hatchling-$(PYTHON_HATCHLING_VERSION).tar.gz
+PYTHON_HATCHLING_SITE = https://files.pythonhosted.org/packages/24/20/3e21d2bc57229822ac9fb9b314d7892c16f829f34a0eb247c55fc11e09a8
+PYTHON_HATCHLING_LICENSE = MIT
+PYTHON_HATCHLING_LICENSE_FILES = LICENSE.txt
+PYTHON_HATCHLING_SETUP_TYPE = pep517
+HOST_PYTHON_HATCHLING_DEPENDENCIES = \
+	host-python-editables \
+	host-python-packaging \
+	host-python-pathspec \
+	host-python-pluggy
+
+$(eval $(host-python-package))
Signature · 6 lines
2.34.1

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

PATCH 5/7 package/python-hatch-fancy-pypi-readme: new package

In reply to James Hilliard
---
 DEVELOPERS                                        |  1 +
 .../python-hatch-fancy-pypi-readme.hash           |  5 +++++
 .../python-hatch-fancy-pypi-readme.mk             | 15 +++++++++++++++
 3 files changed, 21 insertions(+)
 create mode 100644 package/python-hatch-fancy-pypi-readme/python-hatch-fancy-pypi-readme.hash
 create mode 100644 package/python-hatch-fancy-pypi-readme/python-hatch-fancy-pypi-readme.mk
DEVELOPERS +1 -0
index 9e2e7a2b87..df61582cd4 100644
@@ -1384,6 +1384,7 @@ F:	package/python-fonttools/
 F:	package/python-frozenlist/
 F:	package/python-greenlet/
 F:	package/python-hatchling/
+F:	package/python-hatch-fancy-pypi-readme/
 F:	package/python-installer/
 F:	package/python-janus/
 F:	package/python-logstash/
package/python-hatch-fancy-pypi-readme/python-hatch-fancy-pypi-readme.hash new file +5 -0
new file mode 100644
index 0000000000..1b287072b7
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/hatch_fancy_pypi_readme/json
+md5  588776ea8e3608714d4cbba16dffa92b  hatch_fancy_pypi_readme-22.8.0.tar.gz
+sha256  da91282ca09601c18aded8e378daf8b578c70214866f0971156ee9bb9ce6c26a  hatch_fancy_pypi_readme-22.8.0.tar.gz
+# Locally computed sha256 checksums
+sha256  e69ea57f96e599e617f61af3e85bf326b87e833994709fb5e5908a81197730a2  LICENSE.txt
package/python-hatch-fancy-pypi-readme/python-hatch-fancy-pypi-readme.mk new file +15 -0
new file mode 100644
index 0000000000..f28721181a
@@ -0,0 +1,15 @@
+################################################################################
+#
+# python-hatch-fancy-pypi-readme
+#
+################################################################################
+
+PYTHON_HATCH_FANCY_PYPI_README_VERSION = 22.8.0
+PYTHON_HATCH_FANCY_PYPI_README_SOURCE = hatch_fancy_pypi_readme-$(PYTHON_HATCH_FANCY_PYPI_README_VERSION).tar.gz
+PYTHON_HATCH_FANCY_PYPI_README_SITE = https://files.pythonhosted.org/packages/4e/ab/9b48589d6e3a2f72cc1e8f5221c28ff28fcdf116dbbd6e9beb946054212d
+PYTHON_HATCH_FANCY_PYPI_README_LICENSE = MIT
+PYTHON_HATCH_FANCY_PYPI_README_LICENSE_FILES = LICENSE.txt
+PYTHON_HATCH_FANCY_PYPI_README_SETUP_TYPE = pep517
+HOST_PYTHON_HATCH_FANCY_PYPI_README_DEPENDENCIES = host-python-hatchling
+
+$(eval $(host-python-package))
Signature · 6 lines
2.34.1

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

PATCH 6/7 package/python-hatch-vcs: new package

In reply to James Hilliard
---
 DEVELOPERS                                     |  1 +
 package/python-hatch-vcs/python-hatch-vcs.hash |  5 +++++
 package/python-hatch-vcs/python-hatch-vcs.mk   | 17 +++++++++++++++++
 3 files changed, 23 insertions(+)
 create mode 100644 package/python-hatch-vcs/python-hatch-vcs.hash
 create mode 100644 package/python-hatch-vcs/python-hatch-vcs.mk
DEVELOPERS +1 -0
index df61582cd4..c917cbe12a 100644
@@ -1385,6 +1385,7 @@ F:	package/python-frozenlist/
 F:	package/python-greenlet/
 F:	package/python-hatchling/
 F:	package/python-hatch-fancy-pypi-readme/
+F:	package/python-hatch-vcs/
 F:	package/python-installer/
 F:	package/python-janus/
 F:	package/python-logstash/
package/python-hatch-vcs/python-hatch-vcs.hash new file +5 -0
new file mode 100644
index 0000000000..e57eeddd2f
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/hatch_vcs/json
+md5  e56b6d0c05cfb9b59d493c67f94d6e48  hatch_vcs-0.2.0.tar.gz
+sha256  9913d733b34eec9bb0345d0626ca32165a4ad2de15d1ce643c36d09ca908abff  hatch_vcs-0.2.0.tar.gz
+# Locally computed sha256 checksums
+sha256  117aa5006d8475562f04442ab06dd2a4c501af3a77255eae0deef1f0c2499a1a  LICENSE.txt
package/python-hatch-vcs/python-hatch-vcs.mk new file +17 -0
new file mode 100644
index 0000000000..55c6461751
@@ -0,0 +1,17 @@
+################################################################################
+#
+# python-hatch-vcs
+#
+################################################################################
+
+PYTHON_HATCH_VCS_VERSION = 0.2.0
+PYTHON_HATCH_VCS_SOURCE = hatch_vcs-$(PYTHON_HATCH_VCS_VERSION).tar.gz
+PYTHON_HATCH_VCS_SITE = https://files.pythonhosted.org/packages/ac/13/b3d83564c0cc0f1d45b4ea2a78b87b383a8165797613fedf11f1a7e49b48
+PYTHON_HATCH_VCS_LICENSE = MIT
+PYTHON_HATCH_VCS_LICENSE_FILES = LICENSE.txt
+PYTHON_HATCH_VCS_SETUP_TYPE = pep517
+HOST_PYTHON_HATCH_VCS_DEPENDENCIES = \
+	host-python-hatchling \
+	host-python-setuptools-scm
+
+$(eval $(host-python-package))
Signature · 6 lines
2.34.1

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

PATCH 7/7 package/python-jsonschema: bump to version 4.16.0

In reply to James Hilliard

Migrate to new pep517 based hatchling build system.

---
 package/python-jsonschema/python-jsonschema.hash |  4 ++--
 package/python-jsonschema/python-jsonschema.mk   | 10 +++++++---
 2 files changed, 9 insertions(+), 5 deletions(-)
package/python-jsonschema/python-jsonschema.hash +2 -2
index a2766f78cc..d4c2759811 100644
@@ -1,6 +1,6 @@
 # md5, sha256 from https://pypi.org/pypi/jsonschema/json
-md5  c3f7a29c187bf1d038c66a5d5763eab1  jsonschema-4.5.1.tar.gz
-sha256  7c6d882619340c3347a1bf7315e147e6d3dae439033ae6383d6acb908c101dfc  jsonschema-4.5.1.tar.gz
+md5  3bc1f63a74fc61bf2847f22cadb0dfff  jsonschema-4.16.0.tar.gz
+sha256  165059f076eff6971bae5b742fc029a7b4ef3f9bcf04c14e4776a7605de14b23  jsonschema-4.16.0.tar.gz
 # Locally computed sha256 checksums
 sha256  4f92a015a13c4d1a040bef018aa13430b4f1bc73b41b16bb846c346766de7439  COPYING
 sha256  837402bd25fad9b704265801ca3f92566a98157c1f9a7acd6f446299ba1c305a  json/LICENSE
package/python-jsonschema/python-jsonschema.mk +7 -3
index 013a5c1293..68a25aed58 100644
@@ -4,11 +4,15 @@
 #
 ################################################################################
 
-PYTHON_JSONSCHEMA_VERSION = 4.5.1
+PYTHON_JSONSCHEMA_VERSION = 4.16.0
 PYTHON_JSONSCHEMA_SOURCE = jsonschema-$(PYTHON_JSONSCHEMA_VERSION).tar.gz
-PYTHON_JSONSCHEMA_SITE = https://files.pythonhosted.org/packages/9e/62/93a54db0e44c4de57868a7d638d7a8abce113c8bc43a20b10b1109b2a517
-PYTHON_JSONSCHEMA_SETUP_TYPE = setuptools
+PYTHON_JSONSCHEMA_SITE = https://files.pythonhosted.org/packages/cf/54/8923ba38b5145f2359d57e5516715392491d674c83f446cd4cd133eeb4d6
+PYTHON_JSONSCHEMA_SETUP_TYPE = pep517
 PYTHON_JSONSCHEMA_LICENSE = MIT
 PYTHON_JSONSCHEMA_LICENSE_FILES = COPYING json/LICENSE
+PYTHON_JSONSCHEMA_DEPENDENCIES = \
+	host-python-hatchling \
+	host-python-hatch-fancy-pypi-readme \
+	host-python-hatch-vcs
 
 $(eval $(python-package))
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#7 lore raw
In reply to James Hilliard

James, All,

On 2022-10-19 15:53 -0600, James Hilliard spake thusly:

Quoted 3 lines

This will be needed for the upcoming host-python-hatchling.

Whole series applied to master, thanks.

I really wonder how many pep517 buildsystems there will be, and how many packages we'll have to introduce... Fantastic...

Regards,
Yann E. MORIN.

Quoted 23 lines
---
 package/python-pluggy/python-pluggy.mk | 2 ++
 1 file changed, 2 insertions(+)
package/python-pluggy/python-pluggy.mk +2 -0
index 59382518ed..6dc6f970ea 100644
@@ -11,5 +11,7 @@ PYTHON_PLUGGY_SETUP_TYPE = setuptools
 PYTHON_PLUGGY_LICENSE = MIT
 PYTHON_PLUGGY_LICENSE_FILES = LICENSE
 PYTHON_PLUGGY_DEPENDENCIES = host-python-setuptools-scm
+HOST_PYTHON_PLUGGY_DEPENDENCIES = host-python-setuptools-scm
 
 $(eval $(python-package))
+$(eval $(host-python-package))
Signature · 6 lines
2.34.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
#8 lore raw
Quoted 4 lines · Yann E. MORIN

James, All,

On 2022-10-19 15:53 -0600, James Hilliard spake thusly:

Quoted 8 lines
Quoted 3 lines

This will be needed for the upcoming host-python-hatchling.

Whole series applied to master, thanks.

I really wonder how many pep517 buildsystems there will be, and how many packages we'll have to introduce... Fantastic...

Considering pep517 seems to have been designed to make it easy for everyone to write their own pep517 build backends...could be quite a few...yeah...

Quoted 30 lines

Regards,
Yann E. MORIN.

Quoted 19 lines
---
 package/python-pluggy/python-pluggy.mk | 2 ++
 1 file changed, 2 insertions(+)
package/python-pluggy/python-pluggy.mk +2 -1
index 59382518ed..6dc6f970ea 100644
@@ -11,5 +11,7 @@ PYTHON_PLUGGY_SETUP_TYPE = setuptools
 PYTHON_PLUGGY_LICENSE = MIT
 PYTHON_PLUGGY_LICENSE_FILES = LICENSE
 PYTHON_PLUGGY_DEPENDENCIES = host-python-setuptools-scm
+HOST_PYTHON_PLUGGY_DEPENDENCIES = host-python-setuptools-scm
 
 $(eval $(python-package))
+$(eval $(host-python-package))
--

2.34.1

Quoted 4 lines

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

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

Quoted 5 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