pkgsrc-WIP-changes archive

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

devel/py-pyasynchatC: added py-pyasynchat 1.0.4 This package contains the asynchat module as found in Python versions prior to 3.12. It is provided so that existing code relying on `import asynchat` is able to continue being used without significant refactoring.



Module Name:	pkgsrc-wip
Committed By:	Jan-Hinrich Fessel <oskar%fessel.org@localhost>
Pushed By:	oskar
Date:		Tue Oct 22 12:02:05 2024 +0200
Changeset:	6538ea6c0f6192f2deca9036311e0db3052b5f20

Modified Files:
	Makefile
Added Files:
	py-pyasynchat/DESCR
	py-pyasynchat/Makefile
	py-pyasynchat/PLIST
	py-pyasynchat/TODO
	py-pyasynchat/distinfo

Log Message:
devel/py-pyasynchatC: added py-pyasynchat 1.0.4
This package contains the asynchat module as found in Python
versions prior to 3.12.
It is provided so that existing code relying on `import asynchat`
is able to continue being used without significant refactoring.

Please note that new projects should prefer asyncio.

The module can be installed for earlier Python versions, but it will
have no effect, and the standard library version of `asynchat` will be
used in its place.

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

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

diffstat:
 Makefile               |  2 +-
 py-pyasynchat/DESCR    | 10 ++++++++++
 py-pyasynchat/Makefile | 20 ++++++++++++++++++++
 py-pyasynchat/PLIST    |  9 +++++++++
 py-pyasynchat/TODO     |  1 +
 py-pyasynchat/distinfo |  5 +++++
 6 files changed, 46 insertions(+), 1 deletion(-)

diffs:
diff --git a/Makefile b/Makefile
index 7a4bac3656..8b4ed9eb40 100644
--- a/Makefile
+++ b/Makefile
@@ -3343,8 +3343,8 @@ SUBDIR+=	py-astroquery
 SUBDIR+=	py-astroscrappy
 SUBDIR+=	py-astutils
 SUBDIR+=	py-async
-SUBDIR+=	py-pyasynchat
 SUBDIR+=	py-asyncmock
+SUBDIR+=	py-pyasynchat
 SUBDIR+=	py-pyasyncore
 SUBDIR+=	py-asynctest
 SUBDIR+=	py-atmark
diff --git a/py-pyasynchat/DESCR b/py-pyasynchat/DESCR
new file mode 100644
index 0000000000..0f241a21b6
--- /dev/null
+++ b/py-pyasynchat/DESCR
@@ -0,0 +1,10 @@
+This package contains the asynchat module as found in Python
+versions prior to 3.12.
+It is provided so that existing code relying on `import asynchat`
+is able to continue being used without significant refactoring.
+
+Please note that new projects should prefer asyncio.
+
+The module can be installed for earlier Python versions, but it will
+have no effect, and the standard library version of `asynchat` will be
+used in its place.
diff --git a/py-pyasynchat/Makefile b/py-pyasynchat/Makefile
new file mode 100644
index 0000000000..da87b84c0f
--- /dev/null
+++ b/py-pyasynchat/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD$
+
+DISTNAME=	pyasynchat-1.0.4
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_PYPI:=p/pyasynchat/}
+
+MAINTAINER=	oskar%fessel.org@localhost
+HOMEPAGE=	https://github.com/simonrob/pyasynchat
+COMMENT=	Make asynchat available for Python 3.12 onwards
+LICENSE=	python-software-foundation
+
+DEPENDS+=	${PYPKGPREFIX}-pyasyncore>=1.0.2:../../wip/py-pyasyncore
+
+USE_LANGUAGES=	# none
+
+PYTHON_VERSIONS_INCOMPATIBLE=	27
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-pyasynchat/PLIST b/py-pyasynchat/PLIST
new file mode 100644
index 0000000000..10d4337eb2
--- /dev/null
+++ b/py-pyasynchat/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD$
+${PYSITELIB}/asynchat/__init__.py
+${PYSITELIB}/asynchat/__init__.pyc
+${PYSITELIB}/asynchat/__init__.pyo
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
diff --git a/py-pyasynchat/TODO b/py-pyasynchat/TODO
new file mode 100644
index 0000000000..df7d6c2f94
--- /dev/null
+++ b/py-pyasynchat/TODO
@@ -0,0 +1 @@
+works for me on NetBSD 10.99.11 amd64 pkgsrc as of Oct. 22, 2024
diff --git a/py-pyasynchat/distinfo b/py-pyasynchat/distinfo
new file mode 100644
index 0000000000..fa1f14e8c6
--- /dev/null
+++ b/py-pyasynchat/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (pyasynchat-1.0.4.tar.gz) = 2debf7b276af59750cd9802564724858f2004f70a19348135ce7d31fb4c4cb8d
+SHA512 (pyasynchat-1.0.4.tar.gz) = d36eb16770637a311d56fe22229de5a3cdfa699ae64fbafcdd5ce9acd43270b90813fe56db14528083ee1803a43d958d0b3b6616e0bbf907a4dd4a563981a278
+Size (pyasynchat-1.0.4.tar.gz) = 9747 bytes


Home | Main Index | Thread Index | Old Index