From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 BF9E2138334 for ; Wed, 27 Nov 2019 14:13:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8001CE085B; Wed, 27 Nov 2019 14:13:20 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 560FBE085B for ; Wed, 27 Nov 2019 14:13:20 +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 B6C6634D4B8 for ; Wed, 27 Nov 2019 14:13:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1DE398C2 for ; Wed, 27 Nov 2019 14:13:15 +0000 (UTC) From: "Louis Sautier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Louis Sautier" Message-ID: <1574863811.75ff0a7a3f85b857de29c22ca735ed02310c2c7d.sbraz@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyftpdlib/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pyftpdlib/pyftpdlib-1.5.5-r1.ebuild dev-python/pyftpdlib/pyftpdlib-1.5.5.ebuild X-VCS-Directories: dev-python/pyftpdlib/ X-VCS-Committer: sbraz X-VCS-Committer-Name: Louis Sautier X-VCS-Revision: 75ff0a7a3f85b857de29c22ca735ed02310c2c7d X-VCS-Branch: master Date: Wed, 27 Nov 2019 14:13:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 012a0fb1-a174-47dc-8da6-7a0b2fa5fd0c X-Archives-Hash: 22f85633b2e6785b09112a4b20a28e81 commit: 75ff0a7a3f85b857de29c22ca735ed02310c2c7d Author: Louis Sautier gentoo org> AuthorDate: Wed Nov 27 13:51:26 2019 +0000 Commit: Louis Sautier gentoo org> CommitDate: Wed Nov 27 14:10:11 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75ff0a7a dev-python/pyftpdlib: add Python 3.8, skip more failing tests Also: * switch to distutils_enable_sphinx * add RESTRICT="!test? ( test )" Closes: https://bugs.gentoo.org/701146 Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Louis Sautier gentoo.org> ...dlib-1.5.5.ebuild => pyftpdlib-1.5.5-r1.ebuild} | 35 ++++++++-------------- 1 file changed, 13 insertions(+), 22 deletions(-) diff --git a/dev-python/pyftpdlib/pyftpdlib-1.5.5.ebuild b/dev-python/pyftpdlib/pyftpdlib-1.5.5-r1.ebuild similarity index 70% rename from dev-python/pyftpdlib/pyftpdlib-1.5.5.ebuild rename to dev-python/pyftpdlib/pyftpdlib-1.5.5-r1.ebuild index 7d37efe8f96..a54faca32ab 100644 --- a/dev-python/pyftpdlib/pyftpdlib-1.5.5.ebuild +++ b/dev-python/pyftpdlib/pyftpdlib-1.5.5-r1.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python{2_7,3_{5,6,7}} ) +PYTHON_COMPAT=( python{2_7,3_{5,6,7,8}} ) PYTHON_REQ_USE="ssl(+)" inherit distutils-r1 @@ -14,7 +14,8 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris" -IUSE="doc examples ssl test" +IUSE="examples ssl test" +RESTRICT="!test? ( test )" RDEPEND=" ssl? ( dev-python/pyopenssl[${PYTHON_USEDEP}] ) @@ -22,10 +23,6 @@ RDEPEND=" " DEPEND=" dev-python/setuptools[${PYTHON_USEDEP}] - doc? ( - dev-python/sphinx[${PYTHON_USEDEP}] - dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] - ) test? ( ${RDEPEND} dev-python/mock[${PYTHON_USEDEP}] @@ -35,17 +32,7 @@ DEPEND=" ) " -python_prepare_all() { - sed -i "s/'sphinx.ext.intersphinx'//" docs/conf.py || die - distutils-r1_python_prepare_all -} - -python_compile_all() { - if use doc; then - sphinx-build docs docs/_build/html || die - HTML_DOCS=( docs/_build/html/. ) - fi -} +distutils_enable_sphinx docs dev-python/sphinx_rtd_theme python_test() { # These tests fail when passing additional options to pytest @@ -55,18 +42,22 @@ python_test() { local skipped_tests=( # https://github.com/giampaolo/pyftpdlib/issues/470 # https://bugs.gentoo.org/659108 - test_idle_data_timeout2 + pyftpdlib/test/test_functional_ssl.py::TestTimeouts::test_idle_data_timeout2 + pyftpdlib/test/test_functional_ssl.py::TestTimeoutsTLSMixin::test_idle_data_timeout2 # https://github.com/giampaolo/pyftpdlib/issues/471 # https://bugs.gentoo.org/636410 - test_on_incomplete_file_received + pyftpdlib/test/test_functional.py::TestCallbacks::test_on_incomplete_file_received # https://github.com/giampaolo/pyftpdlib/issues/466 # https://bugs.gentoo.org/659786 - test_nlst + pyftpdlib/test/test_functional_ssl.py::TestFtpListingCmdsTLSMixin::test_nlst + # https://github.com/giampaolo/pyftpdlib/issues/512 + # https://bugs.gentoo.org/701146 + pyftpdlib/test/test_functional_ssl.py::TestFtpStoreDataTLSMixin::test_rest_on_stor + pyftpdlib/test/test_functional_ssl.py::TestFtpStoreDataTLSMixin::test_stor_as cii ) - skipped_tests=${skipped_tests[@]/%/ or} # Tests fail with TZ=GMT, see https://bugs.gentoo.org/666623 TZ=UTC+1 pytest -vv \ - --ignore ${PN}/test/test_misc.py -k "not (${skipped_tests% or})" \ + --ignore ${PN}/test/test_misc.py ${skipped_tests[@]/#/--deselect } \ || die "Tests failed with ${EPYTHON}" }