From 536c3711867ec947c1738f2c4b96f22e4863322d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 18 Nov 2018 09:38:27 +0000 Subject: gentoo resync : 18.11.2018 --- dev-python/socketpool/Manifest | 1 + dev-python/socketpool/socketpool-0.5.3-r1.ebuild | 38 ++++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 dev-python/socketpool/socketpool-0.5.3-r1.ebuild (limited to 'dev-python/socketpool') diff --git a/dev-python/socketpool/Manifest b/dev-python/socketpool/Manifest index c580b1902770..d63f4aa75f5c 100644 --- a/dev-python/socketpool/Manifest +++ b/dev-python/socketpool/Manifest @@ -1,4 +1,5 @@ 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-r1.ebuild 950 BLAKE2B 0aece636ab58ffad1d4a24d3850c0bbd53b5ef23aa94c68421cd547ba8a524d4a2b416cc48eee50c0d69fc53ceb2a8c4ab0c7b5d793a0236e0f5b23b757b8919 SHA512 b497be8c22c5aff675ad25f66f629035fc8e2a2aaf7dee90b3631c1275978f8e6ba8c48168d9f20a7f447c0476855a49d6b8aad0413cf17205fb9c2a2e54c8ad EBUILD socketpool-0.5.3.ebuild 943 BLAKE2B 6f7a8bc86c731583aab2170c45989c99400a4a6045457e08b6c613a798780d951a71d051680cdbd7162642b2faafbafac0f2c57a94c009a9afd8080f1907a920 SHA512 da84c454d5ac42ef4174d448b26db22be480a80bcbf6b083c3e70430964da5b55ab51849df5fbb0f7102bdde127fd0757e302f9b7892dd7768ece34497207436 MISC metadata.xml 383 BLAKE2B bd4f1eccf7f3fdd7c416bfea5e96ff6b1b28b4bc5e703e1e236be4932e20bdbb8d9bdf6712f0bfd8845b49fe0a7ebc032f21bfadfe419554ce54c2b790cf73ce SHA512 3051b0487ab4dcdf440c36b12829a30c03db7256c99eef6623497b8223ebf6cf188a9ae054342c468771b2a38f8b3508ff0f49aa19398f3aec0a25a7bc1e9248 diff --git a/dev-python/socketpool/socketpool-0.5.3-r1.ebuild b/dev-python/socketpool/socketpool-0.5.3-r1.ebuild new file mode 100644 index 000000000000..0f319c590b22 --- /dev/null +++ b/dev-python/socketpool/socketpool-0.5.3-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} pypy ) + +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="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~s390 ~sh ~x86" +IUSE="examples test" +LICENSE="|| ( MIT public-domain )" +SLOT="0" + +RDEPEND="$(python_gen_cond_dep 'dev-python/gevent[${PYTHON_USEDEP}]' 'python2*')" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/pytest[${PYTHON_USEDEP}] )" + +PATCHES=( "${FILESDIR}"/${PN}-0.5.2-locale.patch ) + +python_test() { + py.test tests || die +} + +python_install_all() { + if use examples; then + insinto /usr/share/doc/${PF} + doins -r examples + fi + distutils-r1_python_install_all + + # package installs unneeded LICENSE files here + rm -rf "${ED}"/usr/socketpool || die +} -- cgit v1.2.3