From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1682668-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id ED1A0158042 for <garchives@archives.gentoo.org>; Wed, 23 Oct 2024 06:16:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2C9C8E09C2; Wed, 23 Oct 2024 06:16:35 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1660DE09C2 for <gentoo-commits@lists.gentoo.org>; Wed, 23 Oct 2024 06:16:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5A68F340C77 for <gentoo-commits@lists.gentoo.org>; Wed, 23 Oct 2024 06:16:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D8F45268D for <gentoo-commits@lists.gentoo.org>; Wed, 23 Oct 2024 06:16:30 +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: <1729664182.a7a2fddcc0b6ef48f56773f1d815124af9b5b859.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyftpdlib/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pyftpdlib/Manifest dev-python/pyftpdlib/pyftpdlib-2.0.1.ebuild X-VCS-Directories: dev-python/pyftpdlib/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: a7a2fddcc0b6ef48f56773f1d815124af9b5b859 X-VCS-Branch: master Date: Wed, 23 Oct 2024 06:16:30 +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: c06f4f63-ffa8-4ae7-97c7-3100f609a817 X-Archives-Hash: 00d633e7aa2e4e8dd490e13000a5b56f commit: a7a2fddcc0b6ef48f56773f1d815124af9b5b859 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Wed Oct 23 05:35:57 2024 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Wed Oct 23 06:16:22 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7a2fddc dev-python/pyftpdlib: Bump to 2.0.1 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/pyftpdlib/Manifest | 1 + dev-python/pyftpdlib/pyftpdlib-2.0.1.ebuild | 65 +++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/dev-python/pyftpdlib/Manifest b/dev-python/pyftpdlib/Manifest index a5a120fa064a..c34a3d64f77a 100644 --- a/dev-python/pyftpdlib/Manifest +++ b/dev-python/pyftpdlib/Manifest @@ -1 +1,2 @@ DIST pyftpdlib-2.0.0.tar.gz 196108 BLAKE2B bec261eac70a93092055413fca67dd4a480e492481f027b32508dcee8b479dbc0ec84c56d972dca63f2fbf4e3240e02b1c2877105cf77130bf75b64c9785993e SHA512 c154127771b949854c05f87a7b77f1cf144e2756cb0709c44cd0921c2ac415e7c6336c6dca1982b762087a42fc1408e26fbb2ebecbf9255d6f2d6019af14ccfe +DIST pyftpdlib-2.0.1.tar.gz 202285 BLAKE2B 16e25d45a7d832e0a35e810d3017091e4a00b25b85cefac16182ce36e213ee09119d0705f84e3b6c92b7c7becd80c8e91245f5591dd7e88daa4944fdcc472940 SHA512 b913d2deaa9d16239eca1e00fe9b01c33222173242b1b6d5513de563cdd4a5c3bf346cbd1d6044c74b16a7691a4b619a01aff373e2f94e08f232f13e3383d99b diff --git a/dev-python/pyftpdlib/pyftpdlib-2.0.1.ebuild b/dev-python/pyftpdlib/pyftpdlib-2.0.1.ebuild new file mode 100644 index 000000000000..f28406bf5316 --- /dev/null +++ b/dev-python/pyftpdlib/pyftpdlib-2.0.1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) +PYTHON_REQ_USE="ssl(+)" + +inherit distutils-r1 pypi + +DESCRIPTION="Python FTP server library" +HOMEPAGE=" + https://github.com/giampaolo/pyftpdlib/ + https://pypi.org/project/pyftpdlib/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="examples ssl" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/pyasynchat[${PYTHON_USEDEP}] + dev-python/pyasyncore[${PYTHON_USEDEP}] + ' 3.12 3.13) + ssl? ( dev-python/pyopenssl[${PYTHON_USEDEP}] ) +" +BDEPEND=" + test? ( + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/pyopenssl[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs dev-python/sphinx-rtd-theme + +python_test() { + rm -rf pyftpdlib || die + # Some of these tests tend to fail + local EPYTEST_DESELECT=( + # fail because they process sys.argv and expect program args + # rather than pytest args, sigh + test/test_misc.py + # TODO + test/test_functional_ssl.py::TestFtpListingCmdsTLSMixin::test_nlst + ) + # Tests fail with TZ=GMT, see https://bugs.gentoo.org/666623 + local -x TZ=UTC+1 + # Skips some shoddy tests plus increases timeouts + local -x TRAVIS=1 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest --pyargs pyftpdlib +} + +python_install_all() { + if use examples; then + docinto examples + dodoc -r demo/. + docompress -x /usr/share/doc/${PF}/examples + fi + distutils-r1_python_install_all +}