From d123620a304ed68d4e07d74d1a38c5267dbdc8b1 Mon Sep 17 00:00:00 2001 From: Sam James Date: Thu, 14 Mar 2024 04:16:13 +0000 Subject: [PATCH] dev-python/pyasyncore: new package, add 1.0.4 Bug: https://bugs.gentoo.org/909998 Signed-off-by: Sam James --- dev-python/pyasyncore/Manifest | 1 + dev-python/pyasyncore/metadata.xml | 13 ++++++++++ dev-python/pyasyncore/pyasyncore-1.0.4.ebuild | 24 +++++++++++++++++++ 3 files changed, 38 insertions(+) create mode 100644 dev-python/pyasyncore/Manifest create mode 100644 dev-python/pyasyncore/metadata.xml create mode 100644 dev-python/pyasyncore/pyasyncore-1.0.4.ebuild diff --git a/dev-python/pyasyncore/Manifest b/dev-python/pyasyncore/Manifest new file mode 100644 index 000000000000..8b5051785e12 --- /dev/null +++ b/dev-python/pyasyncore/Manifest @@ -0,0 +1 @@ +DIST pyasyncore-1.0.4.tar.gz 15339 BLAKE2B 1cc689c94dc7fe4f4c75a78cf58a0afabbe48f01b8c1511f9500b93b64b862dc1c7cc653e17a49786af9360441fcb45be03fa38c72c2e89ec05385fd8bfc648a SHA512 43746fca009f7acc5f05506c7d54e71ee74a76a112c3689aa98ab714f0452d1ed1196836bf52585bbbced2d64c1d4ccd86f8f5c2d2c5537fdc397e29d0d87008 diff --git a/dev-python/pyasyncore/metadata.xml b/dev-python/pyasyncore/metadata.xml new file mode 100644 index 000000000000..062106caae26 --- /dev/null +++ b/dev-python/pyasyncore/metadata.xml @@ -0,0 +1,13 @@ + + + + + python@gentoo.org + Python + + + + pyasyncore + simonrob/pyasyncore + + diff --git a/dev-python/pyasyncore/pyasyncore-1.0.4.ebuild b/dev-python/pyasyncore/pyasyncore-1.0.4.ebuild new file mode 100644 index 000000000000..e019b13f2aea --- /dev/null +++ b/dev-python/pyasyncore/pyasyncore-1.0.4.ebuild @@ -0,0 +1,24 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_12 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Make asyncore available for Python 3.12 onwards" +HOMEPAGE=" + https://github.com/simonrob/pyasyncore + https://pypi.org/project/pyasyncore/ +" + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="~amd64" + +python_test() { + # Can't use d_e_t unittest (bug #926964) + eunittest tests +}