Skip to contentSkip to conversation

package/python-pydns: new package.

PATCH In review Raphaël Mélotte 2 participants 3 messages Feb 7, 2020 – Aug 10, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/python-pydns: new package.

Python DNS library.

---
 DEVELOPERS                             |  3 +++
 package/Config.in                      |  1 +
 package/python-pydns/Config.in         |  7 +++++++
 package/python-pydns/python-pydns.hash |  5 +++++
 package/python-pydns/python-pydns.mk   | 14 ++++++++++++++
 5 files changed, 30 insertions(+)
 create mode 100644 package/python-pydns/Config.in
 create mode 100644 package/python-pydns/python-pydns.hash
 create mode 100644 package/python-pydns/python-pydns.mk
DEVELOPERS +3 -0
index d8ea23e0b3..68bd86f23e 100644
@@ -2076,6 +2076,9 @@ N:	Rahul Jain <[email protected]>
 F:	package/uhttpd/
 F:	package/ustream-ssl/
 
+N:  Rapha?l M?lotte <[email protected]>
+F:  package/python-pydns/
+
 N:	Refik Tuzakli <[email protected]>
 F:	package/paho-mqtt-cpp/
 
package/Config.in +1 -0
index bad4f9cba6..6fd2ea44be 100644
@@ -1059,6 +1059,7 @@ menu "External python modules"
 	source "package/python-pycryptodomex/Config.in"
 	source "package/python-pydal/Config.in"
 	source "package/python-pydantic/Config.in"
+	source "package/python-pydns/Config.in"
 	source "package/python-pyelftools/Config.in"
 	source "package/python-pyftpdlib/Config.in"
 	source "package/python-pygame/Config.in"
package/python-pydns/Config.in new file +7 -0
new file mode 100644
index 0000000000..55aac0d5d8
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_PYDNS
+	bool "python-pydns"
+	depends on BR2_PACKAGE_PYTHON
+	help
+	  Python DNS library.
+
+	  http://pydns.sourceforge.net/
package/python-pydns/python-pydns.hash new file +5 -0
new file mode 100644
index 0000000000..cbefbaa132
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/pydns/json
+md5	e9574b74f01111405815a5fdccec15ce  pydns-2.3.6.tar.gz
+sha256	f1960d8bff0aafad9252b9e80279748fe7ebe5e719487d132ccb1281523cdb62  pydns-2.3.6.tar.gz
+# Locally computed sha256 checksums
+sha256	c1adc2cbd2a87ea2f78b68bd677f505e806f4d7580f23d81fbb998a99d4b75bd  LICENSE
package/python-pydns/python-pydns.mk new file +14 -0
new file mode 100644
index 0000000000..415fdc6962
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-pydns
+#
+################################################################################
+
+PYTHON_PYDNS_VERSION = 2.3.6
+PYTHON_PYDNS_SOURCE = pydns-$(PYTHON_PYDNS_VERSION).tar.gz
+PYTHON_PYDNS_SITE = https://files.pythonhosted.org/packages/4b/9e/be4f6bbe72c2a12bb83f8a91e027fe58507afe7325dcd08b914f2bf0f1f0
+PYTHON_PYDNS_SETUP_TYPE = distutils
+PYTHON_PYDNS_LICENSE = CNRI-Python-GPL-Compatible
+PYTHON_PYDNS_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))
Signature · 1 line
2.23.0
#1 lore raw

Hello Raphaël,

Quoted 13 lines · On Fri, 7 Feb 2020 16:03:27 +0100 Raphaël Mélotte…

Python DNS library.

---
 DEVELOPERS                             |  3 +++
 package/Config.in                      |  1 +
 package/python-pydns/Config.in         |  7 +++++++
 package/python-pydns/python-pydns.hash |  5 +++++
 package/python-pydns/python-pydns.mk   | 14 ++++++++++++++
 5 files changed, 30 insertions(+)
 create mode 100644 package/python-pydns/Config.in
 create mode 100644 package/python-pydns/python-pydns.hash
 create mode 100644 package/python-pydns/python-pydns.mk

Thanks a lot for this contribution, but unfortunately this pydns module has not been updated or seen a release since 2012. This means it has basically never seen a release since Python 3.x was a thing, so it doesn't make a lot of sense to add such an unmaintained piece of software to Buildroot. So unfortunately, we are going to reject this patch.

Best regards,

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/buildroot
#2 lore raw

Hello,

Quoted 6 lines · Thomas Petazzoni

Thanks a lot for this contribution, but unfortunately this pydns module has not been updated or seen a release since 2012. This means it has basically never seen a release since Python 3.x was a thing, so it doesn't make a lot of sense to add such an unmaintained piece of software to Buildroot. So unfortunately, we are going to reject this patch.

Indeed it makes sense, I'll take it into account next time.

Thanks,

Raphaël
_______________________________________________
buildroot mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/buildroot