Skip to contentSkip to conversation

package/python-entrypoints: new package

PATCH New Serhii Sakhno 3 participants 4 messages May 25, 2019 – Sep 26, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/python-entrypoints: new package

---
 package/Config.in                                 |  1 +
 package/Config.in.host                            |  1 +
 package/python-entrypoints/Config.in              |  6 ++++++
 package/python-entrypoints/Config.in.host         |  6 ++++++
 .../python-entrypoints/python-entrypoints.hash    |  5 +++++
 package/python-entrypoints/python-entrypoints.mk  | 15 +++++++++++++++
 6 files changed, 34 insertions(+)
 create mode 100644 package/python-entrypoints/Config.in
 create mode 100644 package/python-entrypoints/Config.in.host
 create mode 100644 package/python-entrypoints/python-entrypoints.hash
 create mode 100644 package/python-entrypoints/python-entrypoints.mk
package/Config.in +1 -0
index f592e74a99..1e0d8d35f2 100644
@@ -877,6 +877,7 @@ menu "External python modules"
 	source "package/python-dpkt/Config.in"
 	source "package/python-ecdsa/Config.in"
 	source "package/python-engineio/Config.in"
+	source "package/python-entrypoints/Config.in"
 	source "package/python-enum/Config.in"
 	source "package/python-enum34/Config.in"
 	source "package/python-falcon/Config.in"
package/Config.in.host +1 -0
index bc7e71882b..f81f498375 100644
@@ -49,6 +49,7 @@ menu "Host utilities"
 	source "package/pru-software-support/Config.in.host"
 	source "package/pwgen/Config.in.host"
 	source "package/python-cython/Config.in.host"
+	source "package/python-entrypoints/Config.in.host"
 	source "package/python-lxml/Config.in.host"
 	source "package/python-six/Config.in.host"
 	source "package/python-xlrd/Config.in.host"
package/python-entrypoints/Config.in new file +6 -0
new file mode 100644
index 0000000000..8253a04591
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_ENTRYPOINTS
+	bool "python-entrypoints"
+	help
+	  Discover and load entry points from installed packages.
+
+	  https://github.com/takluyver/entrypoints
package/python-entrypoints/Config.in.host new file +6 -0
new file mode 100644
index 0000000000..353cbf4bdc
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_HOST_PYTHON_ENTRYPOINTS
+	bool "host python-entrypoints"
+	help
+	  Discover and load entry points from installed packages.
+
+	  https://github.com/takluyver/entrypoints
package/python-entrypoints/python-entrypoints.hash new file +5 -0
new file mode 100644
index 0000000000..c645452109
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/entrypoints/json
+md5	c5c61ea2e46a0c50ea08f4af7955a0b1  entrypoints-0.3.tar.gz
+sha256	c70dd71abe5a8c85e55e12c19bd91ccfeec11a6e99044204511f9ed547d48451  entrypoints-0.3.tar.gz
+# Locally computed sha256 checksums
+sha256	de5fcd7349cdf399b0707a2a024833c4704743650133c72d6f0ff7561a03a848  LICENSE
package/python-entrypoints/python-entrypoints.mk new file +15 -0
new file mode 100644
index 0000000000..f30fce2dfd
@@ -0,0 +1,15 @@
+################################################################################
+#
+# python-entrypoints
+#
+################################################################################
+
+PYTHON_ENTRYPOINTS_VERSION = 0.3
+PYTHON_ENTRYPOINTS_SOURCE = entrypoints-$(PYTHON_ENTRYPOINTS_VERSION).tar.gz
+PYTHON_ENTRYPOINTS_SITE = https://files.pythonhosted.org/packages/b4/ef/063484f1f9ba3081e920ec9972c96664e2edb9fdc3d8669b0e3b8fc0ad7c
+PYTHON_ENTRYPOINTS_SETUP_TYPE = distutils
+PYTHON_ENTRYPOINTS_LICENSE = MIT
+PYTHON_ENTRYPOINTS_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))
+$(eval $(host-python-package))
\ No newline at end of file
Signature · 1 line
2.21.0
#1 lore raw

PATCH 1/1 package/python-entrypoints: new package

Hello,

I'm adding Yegor Yefremov in Cc.

Quoted 1 line · On Sun, 26 May 2019 01:00:58 +0300 Serhii Sakhno <[email protected]>…

How does this compare to python-fastentrypoints that we already have ? Do we need both ?

Also, for python-fastentrypoints we only have a host variant of the package, as it's only meant to be executed during the build. Why does python-entrypoints needs both a target and host package ?

A more verbose commit log would have helped a bit to understand the use case for this package.

Also, an entry in the DEVELOPERS file should be added.

Asaf, Yegor, if you have any comments/suggestion/opinion, I'm interested :-)

Thanks,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#2 lore raw

PATCH 1/1 package/python-entrypoints: new package

Hi Thomas, Serhii,

Quoted 17 lines · Thomas Petazzoni

Hello,

I'm adding Yegor Yefremov in Cc.

Quoted 1 line · On Sun, 26 May 2019 01:00:58 +0300 Serhii Sakhno <[email protected]>…

How does this compare to python-fastentrypoints that we already have ? Do we need both ?

Also, for python-fastentrypoints we only have a host variant of the package, as it's only meant to be executed during the build. Why does python-entrypoints needs both a target and host package ?

Quoted 7 lines

A more verbose commit log would have helped a bit to understand the use case for this package.

Also, an entry in the DEVELOPERS file should be added.

Asaf, Yegor, if you have any comments/suggestion/opinion, I'm interested :-)

Looks like entrypoints packages just finds the entry_points (though I still grok what it is useful for). python-fastentrypoints speeds up the script start process.

@Serhii are there any Python packages at PyPI that are using this package? I'd like to see them in order to undestand how this package should be used and whether we need the host-, target- or both vairants.

Cheers,
Yegor

#3 lore raw

PATCH 1/1 package/python-entrypoints: new package

Hi Yegor, Thomas,

Now, i am without my PC, and i forgot for it this patch. I wanted to add connexion module. Maybe, now need to reject this patch. Later, when i restore my PC, i will review dependency and prepare right series of patches for it.

??, 26 ????. 2019 ?. ? 10:24, Yegor Yefremov <[email protected]>:

Quoted 41 lines

Hi Thomas, Serhii,

Quoted 17 lines · Thomas Petazzoni

Hello,

I'm adding Yegor Yefremov in Cc.

Quoted 1 line · On Sun, 26 May 2019 01:00:58 +0300 Serhii Sakhno <[email protected]>…

How does this compare to python-fastentrypoints that we already have ? Do we need both ?

Also, for python-fastentrypoints we only have a host variant of the package, as it's only meant to be executed during the build. Why does python-entrypoints needs both a target and host package ?

Quoted 7 lines

A more verbose commit log would have helped a bit to understand the use case for this package.

Also, an entry in the DEVELOPERS file should be added.

Asaf, Yegor, if you have any comments/suggestion/opinion, I'm interested :-)

Looks like entrypoints packages just finds the entry_points (though I still grok what it is useful for). python-fastentrypoints speeds up the script start process.

@Serhii are there any Python packages at PyPI that are using this package? I'd like to see them in order to undestand how this package should be used and whether we need the host-, target- or both vairants.

Cheers,
Yegor

Signature · 5 lines
Regards,
Sakhno Serhii
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20190926/c1e3257e/attachment.html>