pkgsrc-WIP-changes archive

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

devel/py-pyasyncore: added pyasyncore 1.0.4 This package contains the asyncore module as found in Python versions prior to 3.12. It is provided so that existing code relying on `import asyncore` 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 11:55:58 2024 +0200
Changeset:	7207835e8ae114f53de4e2f8c0058d30171a0c35

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

Log Message:
devel/py-pyasyncore: added pyasyncore 1.0.4
This package contains the asyncore module as found in Python versions prior
to 3.12.
It is provided so that existing code relying on `import asyncore` 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 `asyncore` 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=7207835e8ae114f53de4e2f8c0058d30171a0c35

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

diffstat:
 Makefile               |  2 ++
 py-pyasyncore/DESCR    | 10 ++++++++++
 py-pyasyncore/Makefile | 18 ++++++++++++++++++
 py-pyasyncore/PLIST    |  9 +++++++++
 py-pyasyncore/TODO     |  1 +
 py-pyasyncore/distinfo |  5 +++++
 6 files changed, 45 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 7a54eb7187..7a4bac3656 100644
--- a/Makefile
+++ b/Makefile
@@ -3343,7 +3343,9 @@ SUBDIR+=	py-astroquery
 SUBDIR+=	py-astroscrappy
 SUBDIR+=	py-astutils
 SUBDIR+=	py-async
+SUBDIR+=	py-pyasynchat
 SUBDIR+=	py-asyncmock
+SUBDIR+=	py-pyasyncore
 SUBDIR+=	py-asynctest
 SUBDIR+=	py-atmark
 SUBDIR+=	py-atmos
diff --git a/py-pyasyncore/DESCR b/py-pyasyncore/DESCR
new file mode 100644
index 0000000000..9fa8d87c65
--- /dev/null
+++ b/py-pyasyncore/DESCR
@@ -0,0 +1,10 @@
+This package contains the asyncore module as found in Python versions prior
+to 3.12.
+It is provided so that existing code relying on `import asyncore` 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 `asyncore` will be used in its
+place.
diff --git a/py-pyasyncore/Makefile b/py-pyasyncore/Makefile
new file mode 100644
index 0000000000..343b34a40b
--- /dev/null
+++ b/py-pyasyncore/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD$
+
+DISTNAME=	pyasyncore-1.0.4
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=	devel python
+MASTER_SITES=	${MASTER_SITE_PYPI:=p/pyasyncore/}
+
+MAINTAINER=	oskar%fessel.org@localhost
+HOMEPAGE=	https://github.com/simonrob/pyasyncore
+COMMENT=	Make asyncore available for Python 3.12 onwards
+LICENSE=	python-software-foundation
+
+USE_LANGUAGES=	# none
+
+PYTHON_VERSIONS_INCOMPATIBLE=	27
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-pyasyncore/PLIST b/py-pyasyncore/PLIST
new file mode 100644
index 0000000000..cc4c358246
--- /dev/null
+++ b/py-pyasyncore/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD$
+${PYSITELIB}/asyncore/__init__.py
+${PYSITELIB}/asyncore/__init__.pyc
+${PYSITELIB}/asyncore/__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-pyasyncore/TODO b/py-pyasyncore/TODO
new file mode 100644
index 0000000000..df7d6c2f94
--- /dev/null
+++ b/py-pyasyncore/TODO
@@ -0,0 +1 @@
+works for me on NetBSD 10.99.11 amd64 pkgsrc as of Oct. 22, 2024
diff --git a/py-pyasyncore/distinfo b/py-pyasyncore/distinfo
new file mode 100644
index 0000000000..133699dee7
--- /dev/null
+++ b/py-pyasyncore/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (pyasyncore-1.0.4.tar.gz) = 115393c0ffda87191ebe8a363700861909ce3a558fca75dcac65e6595b7ae4dc
+SHA512 (pyasyncore-1.0.4.tar.gz) = 43746fca009f7acc5f05506c7d54e71ee74a76a112c3689aa98ab714f0452d1ed1196836bf52585bbbced2d64c1d4ccd86f8f5c2d2c5537fdc397e29d0d87008
+Size (pyasyncore-1.0.4.tar.gz) = 15339 bytes


Home | Main Index | Thread Index | Old Index