* [Buildroot] [PATCH 1/1] package/python-pyext: new package
@ 2021-02-13 10:20 guillaume.bressaix at gmail.com
2022-01-08 19:42 ` Thomas Petazzoni
0 siblings, 1 reply; 3+ messages in thread
From: guillaume.bressaix at gmail.com @ 2021-02-13 10:20 UTC (permalink / raw)
To: buildroot
From: "Guillaume W. Bres" <guillaume.bressaix@gmail.com>
Python-pyext is a set of scripts to enhance python.
This includes features such as function overloading,
the "switch" statement..
Signed-off-by: Guillaume W. Bres <guillaume.bressaix@gmail.com>
---
No license file is currently delivered with the package sources.
You can see on "pypi.org" that it is under MIT license though.
I asked confirmation to the author & we might get a license
file in a next release. Here's a copy of that email:
Hello,
I just pushed a contribution to "Buildroot",
a tool to generate embedded linux image easily,
to have your package available in the general interface.
I saw on "pypi.org" that your package is under MIT license,
that is what I declared in Buildroot. However,
since no license file is provided, the license verification is turned off.
* Can you confirm your package is under MIT license?
* Do you plan on delivering a license file in the next release
Thank you
Signed-off-by: Guillaume W. Bres <guillaume.bressaix@gmail.com>
---
DEVELOPERS | 1 +
package/Config.in | 1 +
package/python-pyext/Config.in | 8 ++++++++
package/python-pyext/python-pyext.hash | 2 ++
package/python-pyext/python-pyext.mk | 16 ++++++++++++++++
5 files changed, 28 insertions(+)
create mode 100644 package/python-pyext/Config.in
create mode 100644 package/python-pyext/python-pyext.hash
create mode 100644 package/python-pyext/python-pyext.mk
diff --git a/DEVELOPERS b/DEVELOPERS
index 361ee2f35a..40ac0b2d7e 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -1061,6 +1061,7 @@ N: Guillaume William Brs <guillaume.bressaix@gmail.com>
F: package/libnids/
F: package/liquid-dsp/
F: package/pixiewps/
+F: package/pyext/
F: package/python-pybind/
F: package/reaver/
diff --git a/package/Config.in b/package/Config.in
index 5304ab141c..bc72708d1d 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1117,6 +1117,7 @@ menu "External python modules"
source "package/python-pydal/Config.in"
source "package/python-pydantic/Config.in"
source "package/python-pyelftools/Config.in"
+ source "package/python-pyext/Config.in"
source "package/python-pyftpdlib/Config.in"
source "package/python-pygame/Config.in"
source "package/python-pygments/Config.in"
diff --git a/package/python-pyext/Config.in b/package/python-pyext/Config.in
new file mode 100644
index 0000000000..3f830344ba
--- /dev/null
+++ b/package/python-pyext/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_PYTHON_PYEXT
+ bool "python-pyext"
+ help
+ python-pyext is a set of extensions to enhance python.
+ This includes features such as function overloading,
+ the 'switch' statement, python 2 safe tuple unpacking..
+
+ https://pypi.org/project/pyext/
diff --git a/package/python-pyext/python-pyext.hash b/package/python-pyext/python-pyext.hash
new file mode 100644
index 0000000000..55ecee1317
--- /dev/null
+++ b/package/python-pyext/python-pyext.hash
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256 e618a635be4e8c4a84b443cc27186601ad052efe35f01839815f2a2cf3947cdf pyext-0.7.tar.gz
diff --git a/package/python-pyext/python-pyext.mk b/package/python-pyext/python-pyext.mk
new file mode 100644
index 0000000000..98e4fa5585
--- /dev/null
+++ b/package/python-pyext/python-pyext.mk
@@ -0,0 +1,16 @@
+################################################################################
+#
+# python-pyext
+#
+################################################################################
+
+PYTHON_PYEXT_VERSION = 0.7
+PYTHON_PYEXT_SOURCE = pyext-$(PYTHON_PYEXT_VERSION).tar.gz
+PYTHON_PYEXT_SITE = https://files.pythonhosted.org/packages/b0/be/9b6005ac644aaef022527ce49617263379e49dbdbd433d1d3dd66d71f570
+# pyext is not delivered with a license file, however
+# pypi.org clearly says this package is under MIT license.
+# I asked confirmation and we might have a license file in the next release
+PYTHON_PYEXT_LICENSE = Unknown (clarification has been asked to authors)
+PYTHON_PYEXT_SETUP_TYPE = setuptools
+
+$(eval $(python-package))
--
2.20.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/python-pyext: new package
2021-02-13 10:20 [Buildroot] [PATCH 1/1] package/python-pyext: new package guillaume.bressaix at gmail.com
@ 2022-01-08 19:42 ` Thomas Petazzoni
2022-01-08 21:14 ` Guillaume Bres
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2022-01-08 19:42 UTC (permalink / raw)
To: guillaume.bressaix; +Cc: buildroot
Hello Guillaume,
On Sat, 13 Feb 2021 11:20:55 +0100
guillaume.bressaix@gmail.com wrote:
> From: "Guillaume W. Bres" <guillaume.bressaix@gmail.com>
>
> Python-pyext is a set of scripts to enhance python.
> This includes features such as function overloading,
> the "switch" statement..
>
> Signed-off-by: Guillaume W. Bres <guillaume.bressaix@gmail.com>
> ---
We looked at this package, and upstream has not made any release since
2014, and there is apparently no publicly available version control
system. With python moving so fast, a package that hasn't been touched
since 2014 doesn't seem like a good idea.
So I'll mark this patch as Rejected. If you have a reason to think this
is still maintained, could you provide some more details?
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/python-pyext: new package
2022-01-08 19:42 ` Thomas Petazzoni
@ 2022-01-08 21:14 ` Guillaume Bres
0 siblings, 0 replies; 3+ messages in thread
From: Guillaume Bres @ 2022-01-08 21:14 UTC (permalink / raw)
To: Thomas Petazzoni; +Cc: buildroot, Peter Seiderer
[-- Attachment #1.1: Type: text/plain, Size: 1424 bytes --]
> If you have a reason to think this is still maintained, could you
provide some more details?
Hello Thomas,
Please discard this package.
I thought it was a requirement for ntpsec that i was about to submit at the
time.
But it turns out ntpsec does not require it, or at least, not in modern
versions
Guillaume W. Bres
Software engineer
<guillaume.bressaix@gmail.com>
Le sam. 8 janv. 2022 à 20:42, Thomas Petazzoni <thomas.petazzoni@bootlin.com>
a écrit :
> Hello Guillaume,
>
> On Sat, 13 Feb 2021 11:20:55 +0100
> guillaume.bressaix@gmail.com wrote:
>
> > From: "Guillaume W. Bres" <guillaume.bressaix@gmail.com>
> >
> > Python-pyext is a set of scripts to enhance python.
> > This includes features such as function overloading,
> > the "switch" statement..
> >
> > Signed-off-by: Guillaume W. Bres <guillaume.bressaix@gmail.com>
> > ---
>
> We looked at this package, and upstream has not made any release since
> 2014, and there is apparently no publicly available version control
> system. With python moving so fast, a package that hasn't been touched
> since 2014 doesn't seem like a good idea.
>
> So I'll mark this patch as Rejected. If you have a reason to think this
> is still maintained, could you provide some more details?
>
> Best regards,
>
> Thomas
> --
> Thomas Petazzoni, CTO, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com
>
[-- Attachment #1.2: Type: text/html, Size: 2612 bytes --]
[-- Attachment #2: Type: text/plain, Size: 150 bytes --]
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-01-08 21:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-13 10:20 [Buildroot] [PATCH 1/1] package/python-pyext: new package guillaume.bressaix at gmail.com
2022-01-08 19:42 ` Thomas Petazzoni
2022-01-08 21:14 ` Guillaume Bres
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox