pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py-dnslib: Import py-dnslib-0.9.26



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Mon Dec 15 18:42:20 2025 +0100
Changeset:	23d9f173b3160ca6f40fde18a75ab06031269e96

Added Files:
	py-dnslib/DESCR
	py-dnslib/Makefile
	py-dnslib/PLIST
	py-dnslib/distinfo

Log Message:
py-dnslib: Import py-dnslib-0.9.26

A library to encode/decode DNS wire-format packets supporting both
Python 2.7 and Python 3.2+.

The library provides:

 * Support for encoding/decoding DNS packets between wire format,
   python objects, and Zone/DiG textual representation (dnslib.dns)
 * A server framework allowing the simple creation of custom DNS
   resolvers (dnslib.server) and a number of example servers
   created using this framework
 * A number of utilities for testing (dnslib.client, dnslib.proxy,
   dnslib.intercept)

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=23d9f173b3160ca6f40fde18a75ab06031269e96

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-dnslib/DESCR    | 12 ++++++++++++
 py-dnslib/Makefile | 19 ++++++++++++++++++
 py-dnslib/PLIST    | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 py-dnslib/distinfo |  5 +++++
 4 files changed, 93 insertions(+)

diffs:
diff --git a/py-dnslib/DESCR b/py-dnslib/DESCR
new file mode 100644
index 0000000000..61f895b9d8
--- /dev/null
+++ b/py-dnslib/DESCR
@@ -0,0 +1,12 @@
+A library to encode/decode DNS wire-format packets supporting both
+Python 2.7 and Python 3.2+.
+
+The library provides:
+
+ * Support for encoding/decoding DNS packets between wire format,
+   python objects, and Zone/DiG textual representation (dnslib.dns)
+ * A server framework allowing the simple creation of custom DNS
+   resolvers (dnslib.server) and a number of example servers
+   created using this framework
+ * A number of utilities for testing (dnslib.client, dnslib.proxy,
+   dnslib.intercept)
diff --git a/py-dnslib/Makefile b/py-dnslib/Makefile
new file mode 100644
index 0000000000..a15487d255
--- /dev/null
+++ b/py-dnslib/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD$
+
+DISTNAME=	dnslib-0.9.26
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=	mail
+MASTER_SITES=	${MASTER_SITE_PYPI:=d/dnslib/}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/paulc/dnslib
+COMMENT=	Python library to encode/decode DNS wire-format packets
+LICENSE=	2-clause-bsd
+
+TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
+TOOL_DEPENDS+=	${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+
+USE_LANGUAGES=	# none
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-dnslib/PLIST b/py-dnslib/PLIST
new file mode 100644
index 0000000000..d337149d8f
--- /dev/null
+++ b/py-dnslib/PLIST
@@ -0,0 +1,57 @@
+@comment $NetBSD$
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
+${PYSITELIB}/dnslib/__init__.py
+${PYSITELIB}/dnslib/__init__.pyc
+${PYSITELIB}/dnslib/__init__.pyo
+${PYSITELIB}/dnslib/bimap.py
+${PYSITELIB}/dnslib/bimap.pyc
+${PYSITELIB}/dnslib/bimap.pyo
+${PYSITELIB}/dnslib/bit.py
+${PYSITELIB}/dnslib/bit.pyc
+${PYSITELIB}/dnslib/bit.pyo
+${PYSITELIB}/dnslib/buffer.py
+${PYSITELIB}/dnslib/buffer.pyc
+${PYSITELIB}/dnslib/buffer.pyo
+${PYSITELIB}/dnslib/client.py
+${PYSITELIB}/dnslib/client.pyc
+${PYSITELIB}/dnslib/client.pyo
+${PYSITELIB}/dnslib/digparser.py
+${PYSITELIB}/dnslib/digparser.pyc
+${PYSITELIB}/dnslib/digparser.pyo
+${PYSITELIB}/dnslib/dns.py
+${PYSITELIB}/dnslib/dns.pyc
+${PYSITELIB}/dnslib/dns.pyo
+${PYSITELIB}/dnslib/fixedresolver.py
+${PYSITELIB}/dnslib/fixedresolver.pyc
+${PYSITELIB}/dnslib/fixedresolver.pyo
+${PYSITELIB}/dnslib/intercept.py
+${PYSITELIB}/dnslib/intercept.pyc
+${PYSITELIB}/dnslib/intercept.pyo
+${PYSITELIB}/dnslib/label.py
+${PYSITELIB}/dnslib/label.pyc
+${PYSITELIB}/dnslib/label.pyo
+${PYSITELIB}/dnslib/lex.py
+${PYSITELIB}/dnslib/lex.pyc
+${PYSITELIB}/dnslib/lex.pyo
+${PYSITELIB}/dnslib/proxy.py
+${PYSITELIB}/dnslib/proxy.pyc
+${PYSITELIB}/dnslib/proxy.pyo
+${PYSITELIB}/dnslib/ranges.py
+${PYSITELIB}/dnslib/ranges.pyc
+${PYSITELIB}/dnslib/ranges.pyo
+${PYSITELIB}/dnslib/server.py
+${PYSITELIB}/dnslib/server.pyc
+${PYSITELIB}/dnslib/server.pyo
+${PYSITELIB}/dnslib/shellresolver.py
+${PYSITELIB}/dnslib/shellresolver.pyc
+${PYSITELIB}/dnslib/shellresolver.pyo
+${PYSITELIB}/dnslib/test_decode.py
+${PYSITELIB}/dnslib/test_decode.pyc
+${PYSITELIB}/dnslib/test_decode.pyo
+${PYSITELIB}/dnslib/zoneresolver.py
+${PYSITELIB}/dnslib/zoneresolver.pyc
+${PYSITELIB}/dnslib/zoneresolver.pyo
diff --git a/py-dnslib/distinfo b/py-dnslib/distinfo
new file mode 100644
index 0000000000..fe1efa888d
--- /dev/null
+++ b/py-dnslib/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (dnslib-0.9.26.tar.gz) = efe4e28ca437cc055b7a34f1a09d15a002774214ad9034133cf78775e64f893a
+SHA512 (dnslib-0.9.26.tar.gz) = b11095ec026fc55da65493c2a07c97395f01480eae7b87a391109a96ca592860f2c236829b174f3a64de54c2d0a5657a1c624d9c6b61d71629807e0c15678bb1
+Size (dnslib-0.9.26.tar.gz) = 82901 bytes


Home | Main Index | Thread Index | Old Index