diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-03-24 23:59:54 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-03-24 23:59:54 +0000 |
commit | 401101f9c8077911929d3f2b60a37098460a5d89 (patch) | |
tree | c2bef4719f6787550f0916aeaa8f4f403a9296af /dev-python/socketpool | |
parent | 4cbcc855382a06088e2f016f62cafdbcb7e40665 (diff) |
gentoo resync : 25.03.2022
Diffstat (limited to 'dev-python/socketpool')
-rw-r--r-- | dev-python/socketpool/Manifest | 4 | ||||
-rw-r--r-- | dev-python/socketpool/files/socketpool-0.5.2-locale.patch | 21 | ||||
-rw-r--r-- | dev-python/socketpool/metadata.xml | 23 | ||||
-rw-r--r-- | dev-python/socketpool/socketpool-0.5.3-r3.ebuild | 69 |
4 files changed, 0 insertions, 117 deletions
diff --git a/dev-python/socketpool/Manifest b/dev-python/socketpool/Manifest deleted file mode 100644 index 22f80f97a172..000000000000 --- a/dev-python/socketpool/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -AUX socketpool-0.5.2-locale.patch 615 BLAKE2B eecb66a15dff1ca068da3147b7e27618f49cb414e34a27b10949565dfac46f5b714bd00bcfc152c9d3b98b59ae4282fa5431aff61295086abcf0e5367f45954c SHA512 df27a0b1cc8ef2475ad8c68e3f77153ccf5397e962bfae2f6116dd37d1ad3a1a45cfa0912ee4d4597560004b8875b609bb8b0a6298861651ff23ff2e70955dce -DIST socketpool-0.5.3.tar.gz 9793 BLAKE2B 89b7b71d9f05f7f5e560eb3cb5e7cd4d2254ff971066d236b98903d790dd96f6c580333e9fafeab7314c50f499c9617df706a20efa1c52de069c583b6dabd928 SHA512 6d16a18927672157703fb5a29f4332241f9ddf743dfee8f2606d600dbb75d547f2e0dcc0398febe55df3319829a80b3f537b5877679e4f674569ef55de78c1b7 -EBUILD socketpool-0.5.3-r3.ebuild 1466 BLAKE2B a98653e90f0e561be3f96c9f75d4077eb7a493add49cfd602f30bcbae930d573a3871f59f39775b7f88248a18ee0ee821c5523a2e516fb136f67b0a47c4cc444 SHA512 a31a778176d3887dce6b19ae5c5b521e11e8bb039bba4d6941dcdfad1b151cb5c58b51bacda1a35941ff0ba5d0c0a87fee5de1ffd92a0c4d57a2bba1eb10c377 -MISC metadata.xml 672 BLAKE2B dbc29dc11dd8d78ed5b8a2904f1ef92372a66eabdff75ced74c601bb846a9f8b857b94f05f91ae4bafc79848546cdb61b1dac0425b0f6cc8b3a5382fddcae4dc SHA512 38e803b2b1fd8e2667c4107cd95ffc1a395a5919e7db00c833fd94d5302779f018a7ca35fa6a32b0658d51f87060854d0b8c85569f9c54ded68fbb0c6dd1a2b2 diff --git a/dev-python/socketpool/files/socketpool-0.5.2-locale.patch b/dev-python/socketpool/files/socketpool-0.5.2-locale.patch deleted file mode 100644 index aa0af681a768..000000000000 --- a/dev-python/socketpool/files/socketpool-0.5.2-locale.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff -ur socketpool-0.5.2.orig/setup.py socketpool-0.5.2/setup.py ---- socketpool-0.5.2.orig/setup.py 2012-08-05 12:33:47.000000000 +0800 -+++ socketpool-0.5.2/setup.py 2013-02-05 00:22:13.685705089 +0800 -@@ -5,7 +5,7 @@ - # See the NOTICE for more information. - - --import os -+import os, io - from setuptools import setup, find_packages - - CLASSIFIERS = [ -@@ -22,7 +22,7 @@ - - - # read long description --with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as f: -+with io.open(os.path.join(os.path.dirname(__file__), 'README.rst'), encoding='utf8') as f: - long_description = f.read() - - DATA_FILES = [ diff --git a/dev-python/socketpool/metadata.xml b/dev-python/socketpool/metadata.xml deleted file mode 100644 index e482f10311f6..000000000000 --- a/dev-python/socketpool/metadata.xml +++ /dev/null @@ -1,23 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>python@gentoo.org</email> - <name>Python</name> - </maintainer> - <stabilize-allarches/> - <upstream> - <remote-id type="pypi">socketpool</remote-id> - <remote-id type="github">benoitc/socketpool</remote-id> - </upstream> - <use> - <flag name="eventlet"> - Install <pkg>dev-python/eventlet</pkg> as needed for the eventlet - backend. - </flag> - <flag name="gevent"> - Install <pkg>dev-python/gevent</pkg> as needed for the gevent - backend. - </flag> - </use> -</pkgmetadata> diff --git a/dev-python/socketpool/socketpool-0.5.3-r3.ebuild b/dev-python/socketpool/socketpool-0.5.3-r3.ebuild deleted file mode 100644 index 7ef6347c4930..000000000000 --- a/dev-python/socketpool/socketpool-0.5.3-r3.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7..10} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="A simple Python socket pool" -HOMEPAGE="https://github.com/benoitc/socketpool/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~s390 ~sparc x86 ~x64-macos" -IUSE="eventlet examples gevent" -LICENSE="|| ( MIT public-domain )" -SLOT="0" - -RDEPEND=" - eventlet? ( - $(python_gen_cond_dep ' - dev-python/eventlet[${PYTHON_USEDEP}] - ' python3_{7..9}) - ) - gevent? ( - $(python_gen_cond_dep ' - dev-python/gevent[${PYTHON_USEDEP}] - ' python3_{7..9}) - )" - -BDEPEND=" - test? ( - !alpha? ( !hppa? ( !ia64? ( - $(python_gen_cond_dep ' - dev-python/eventlet[${PYTHON_USEDEP}] - ' python3_{7..9}) - $(python_gen_cond_dep ' - dev-python/gevent[${PYTHON_USEDEP}] - ' python3_{7..9}) - ) ) ) - )" - -PATCHES=( "${FILESDIR}"/${PN}-0.5.2-locale.patch ) - -distutils_enable_tests pytest - -src_prepare() { - # py3.9 - sed -i -e 's:isAlive:is_alive:' socketpool/backend_thread.py || die - - distutils-r1_src_prepare -} - -python_test() { - cp -r examples tests "${BUILD_DIR}" || die - - pushd "${BUILD_DIR}" >/dev/null || die - epytest tests - popd >/dev/null || die -} - -python_install_all() { - distutils-r1_python_install_all - - use examples && dodoc -r examples - - # package installs unneeded LICENSE files here - rm -r "${ED}"/usr/socketpool || die -} |