Skip to contentSkip to conversation

package/python-outcome: new package

Buildroot Yann E. MORIN 1 participant 1 message Feb 21, 2023

lore
Share & tools
lore
#0 lore raw

commit: https://git.buildroot.net/buildroot/commit/?id=675fdc08f673bc992e9b169363c49fbd18662555
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/next

---
 DEVELOPERS                                 |  1 +
 package/Config.in                          |  1 +
 package/python-outcome/Config.in           |  7 +++++++
 package/python-outcome/python-outcome.hash |  7 +++++++
 package/python-outcome/python-outcome.mk   | 14 ++++++++++++++
 5 files changed, 30 insertions(+)
DEVELOPERS +1 -0
index 608512a4bb..b686dbd87a 100644
@@ -1388,6 +1388,7 @@ F:	package/python-logstash/
 F:	package/python-maturin/
 F:	package/python-multidict/
 F:	package/python-mypy-extensions/
+F:	package/python-outcome/
 F:	package/python-pathspec/
 F:	package/python-pep517/
 F:	package/python-pycares/
package/Config.in +1 -0
index 594590a52a..195398b844 100644
@@ -1148,6 +1148,7 @@ menu "External python modules"
 	source "package/python-oauthlib/Config.in"
 	source "package/python-opcua-asyncio/Config.in"
 	source "package/python-orjson/Config.in"
+	source "package/python-outcome/Config.in"
 	source "package/python-packaging/Config.in"
 	source "package/python-paho-mqtt/Config.in"
 	source "package/python-paramiko/Config.in"
package/python-outcome/Config.in new file +7 -0
new file mode 100644
index 0000000000..bd51f3daea
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_OUTCOME
+	bool "python-outcome"
+	select BR2_PACKAGE_PYTHON_ATTRS # runtime
+	help
+	  Capture the outcome of Python function calls.
+
+	  https://github.com/python-trio/outcome
package/python-outcome/python-outcome.hash new file +7 -0
new file mode 100644
index 0000000000..43796e89ac
@@ -0,0 +1,7 @@
+# md5, sha256 from https://pypi.org/pypi/outcome/json
+md5  58612ee4407901985f85ad3869dd83b8  outcome-1.2.0.tar.gz
+sha256  6f82bd3de45da303cf1f771ecafa1633750a358436a8bb60e06a1ceb745d2672  outcome-1.2.0.tar.gz
+# Locally computed sha256 checksums
+sha256  652c878488d1456361e08c3f8607fd7ba59892a14103d15cce4ff93c85b5cc8b  LICENSE
+sha256  cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30  LICENSE.APACHE2
+sha256  3e6dae555eb92787fc82d1d48355677f454c7f65aeb38d3f9e72bf9a3daf034b  LICENSE.MIT
package/python-outcome/python-outcome.mk new file +14 -0
new file mode 100644
index 0000000000..27d7fdede3
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-outcome
+#
+################################################################################
+
+PYTHON_OUTCOME_VERSION = 1.2.0
+PYTHON_OUTCOME_SOURCE = outcome-$(PYTHON_OUTCOME_VERSION).tar.gz
+PYTHON_OUTCOME_SITE = https://files.pythonhosted.org/packages/dd/91/741e1626e89fdc3664169e16300c59eefa4b23540cc6d6c70450f885098f
+PYTHON_OUTCOME_SETUP_TYPE = setuptools
+PYTHON_OUTCOME_LICENSE = Apache-2.0 or MIT
+PYTHON_OUTCOME_LICENSE_FILES = LICENSE LICENSE.APACHE2 LICENSE.MIT
+
+$(eval $(python-package))

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