From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1242869-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6CF841382C5 for <garchives@archives.gentoo.org>; Mon, 18 Jan 2021 19:06:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A91D2E07B3; Mon, 18 Jan 2021 19:06:24 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 92192E07B3 for <gentoo-commits@lists.gentoo.org>; Mon, 18 Jan 2021 19:06:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A694C340E84 for <gentoo-commits@lists.gentoo.org>; Mon, 18 Jan 2021 19:06:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 998DB4A2 for <gentoo-commits@lists.gentoo.org>; Mon, 18 Jan 2021 19:06:20 +0000 (UTC) From: "Michał Górny" <mgorny@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" <mgorny@gentoo.org> Message-ID: <1610996777.0201fcda40b26a6960e402a3b7e53e6a5ab44ee9.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/cheroot/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/cheroot/Manifest dev-python/cheroot/cheroot-8.5.2.ebuild X-VCS-Directories: dev-python/cheroot/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 0201fcda40b26a6960e402a3b7e53e6a5ab44ee9 X-VCS-Branch: master Date: Mon, 18 Jan 2021 19:06:20 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 45015915-264b-478f-96a1-31a259eb58e8 X-Archives-Hash: 096dcb18290c628c3d9d2987c4fd89af commit: 0201fcda40b26a6960e402a3b7e53e6a5ab44ee9 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Mon Jan 18 18:56:47 2021 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Mon Jan 18 19:06:17 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0201fcda dev-python/cheroot: Bump to 8.5.2 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/cheroot/Manifest | 1 + dev-python/cheroot/cheroot-8.5.2.ebuild | 61 +++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) diff --git a/dev-python/cheroot/Manifest b/dev-python/cheroot/Manifest index ab822216c15..63f73bf8dd1 100644 --- a/dev-python/cheroot/Manifest +++ b/dev-python/cheroot/Manifest @@ -1 +1,2 @@ DIST cheroot-8.5.0.tar.gz 112163 BLAKE2B f7105f7c2d5433b90832dff6404120f153783b644b5acab72a915899fd138df1ee9ecde6d4148a66472cfb31802e58d684256524a212c65c1c42a22ab7783ce2 SHA512 3e781bfaea0b1d0b339ddb1ef871505c7eb0f4a67873f3207ec3cbb703392f579de90785c196d77f7a484b675de1438def4ad91109e70ad5894d26e55c645a01 +DIST cheroot-8.5.2.tar.gz 113183 BLAKE2B a3b60a9df3f34913cfb8c99fbdc8580ea436710c7979e296c18a6981f54bb959d6a300f4cf9d4e608fe2987f58d5fc6d2b8f57bca800e461d31c77ac61fd6b01 SHA512 245c4157f5e11741d94375099878ef5b31945412a2b02961502e762b9770fd968f4f977fe2d74744aa6596c668079d7f07b6f129fa11438783a95d3a5ee088fa diff --git a/dev-python/cheroot/cheroot-8.5.2.ebuild b/dev-python/cheroot/cheroot-8.5.2.ebuild new file mode 100644 index 00000000000..a679521746e --- /dev/null +++ b/dev-python/cheroot/cheroot-8.5.2.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) +DISTUTILS_USE_SETUPTOOLS=rdepend +inherit distutils-r1 + +DESCRIPTION="Cheroot is the high-performance, pure-Python HTTP server used by CherryPy." +HOMEPAGE="https://cherrypy.org/ + https://pypi.org/project/cheroot/ + https://github.com/cherrypy/cheroot/" +SRC_URI="mirror://pypi/C/${PN/c/C}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86" + +RDEPEND=" + >=dev-python/six-1.11.0[${PYTHON_USEDEP}] + >=dev-python/more-itertools-2.6[${PYTHON_USEDEP}] + dev-python/jaraco-functools[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + ${RDEPEND} + dev-python/jaraco-context[${PYTHON_USEDEP}] + dev-python/jaraco-text[${PYTHON_USEDEP}] + dev-python/portend[${PYTHON_USEDEP}] + dev-python/pytest-forked[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-1.11.0[${PYTHON_USEDEP}] + dev-python/pyopenssl[${PYTHON_USEDEP}] + dev-python/requests-toolbelt[${PYTHON_USEDEP}] + dev-python/requests-unixsocket[${PYTHON_USEDEP}] + dev-python/trustme[${PYTHON_USEDEP}] + dev-python/urllib3[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + sed -e "s/use_scm_version=True/version='${PV}'/" -i setup.py || die + sed -e '/setuptools_scm/d' -i setup.cfg || die + sed -e '/--cov/d' \ + -e '/--testmon/d' \ + -e '/--numproc/d' \ + -i pytest.ini || die + + # broken + sed -e '/False.*localhost/d' \ + -i cheroot/test/test_ssl.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + cd "${BUILD_DIR}" || die + pytest -vv || die "Tests failed with ${EPYTHON}" +}