From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 3458E1581B9 for ; Fri, 26 Sep 2025 05:08:18 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 22580340F37 for ; Fri, 26 Sep 2025 05:08:18 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 5D38F110579; Fri, 26 Sep 2025 05:08:08 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 58810110579 for ; Fri, 26 Sep 2025 05:08:08 +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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 10CB1340F64 for ; Fri, 26 Sep 2025 05:08:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 697423A59 for ; Fri, 26 Sep 2025 05:08:05 +0000 (UTC) From: "Michał Górny" 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" Message-ID: <1758863228.b9ba10db770dde6bc2c03409cd1006de89e4c35e.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.1.0.ebuild X-VCS-Directories: dev-python/pyftpdlib/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: b9ba10db770dde6bc2c03409cd1006de89e4c35e X-VCS-Branch: master Date: Fri, 26 Sep 2025 05:08:05 +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: 810c7685-0d48-48fb-9a20-d4fee0d31815 X-Archives-Hash: c04e68f443ee61c528388f0179ca04e3 commit: b9ba10db770dde6bc2c03409cd1006de89e4c35e Author: Michał Górny gentoo org> AuthorDate: Fri Sep 26 05:05:22 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Sep 26 05:07:08 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9ba10db dev-python/pyftpdlib: Bump to 2.1.0 Signed-off-by: Michał Górny gentoo.org> dev-python/pyftpdlib/Manifest | 1 + dev-python/pyftpdlib/pyftpdlib-2.1.0.ebuild | 57 +++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/dev-python/pyftpdlib/Manifest b/dev-python/pyftpdlib/Manifest index 4bb9cf80350e..787fd089cd72 100644 --- a/dev-python/pyftpdlib/Manifest +++ b/dev-python/pyftpdlib/Manifest @@ -1 +1,2 @@ DIST pyftpdlib-2.0.1.tar.gz 202285 BLAKE2B 16e25d45a7d832e0a35e810d3017091e4a00b25b85cefac16182ce36e213ee09119d0705f84e3b6c92b7c7becd80c8e91245f5591dd7e88daa4944fdcc472940 SHA512 b913d2deaa9d16239eca1e00fe9b01c33222173242b1b6d5513de563cdd4a5c3bf346cbd1d6044c74b16a7691a4b619a01aff373e2f94e08f232f13e3383d99b +DIST pyftpdlib-2.1.0.tar.gz 205767 BLAKE2B c6a6987edbd9d7ea2860f85ff7adc264dc5e92cfed053095ceecc5dfdd417e9ea3d2791d347e6d2249edd89f68e006fc07f21daa9c2f8ed365ac0e8cc969fbd5 SHA512 2c624f60cce1c34c2fe953bda635060b3b6215189215f427989a6c97daf0e51bd9920e4ddd943e624de70d8d732a65b3c16f4f8809860999065ad2db891bc154 diff --git a/dev-python/pyftpdlib/pyftpdlib-2.1.0.ebuild b/dev-python/pyftpdlib/pyftpdlib-2.1.0.ebuild new file mode 100644 index 000000000000..726838d4371e --- /dev/null +++ b/dev-python/pyftpdlib/pyftpdlib-2.1.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..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}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest +distutils_enable_sphinx docs dev-python/sphinx-rtd-theme + +python_test() { + rm -rf pyftpdlib || die + # 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 + epytest -o addopts= tests +} + +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 +}