diff mbox series

[2/7] package/python-editables: new package

Message ID 20221019215348.3262192-2-james.hilliard1@gmail.com
State Accepted
Headers show
Series [1/7] package/python-pluggy: enable host package build | expand

Commit Message

James Hilliard Oct. 19, 2022, 9:53 p.m. UTC
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
 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
diff mbox series

Patch

diff --git a/DEVELOPERS b/DEVELOPERS
index c0e6f8bbef..5784c4bca2 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -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/
diff --git a/package/python-editables/python-editables.hash b/package/python-editables/python-editables.hash
new file mode 100644
index 0000000000..3c28c44cc3
--- /dev/null
+++ b/package/python-editables/python-editables.hash
@@ -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
diff --git a/package/python-editables/python-editables.mk b/package/python-editables/python-editables.mk
new file mode 100644
index 0000000000..db67e7a16d
--- /dev/null
+++ b/package/python-editables/python-editables.mk
@@ -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))