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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 624A5158089 for ; Wed, 13 Sep 2023 02:15:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A4B6E2BC102; Wed, 13 Sep 2023 02:15:06 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 8C1D02BC061 for ; Wed, 13 Sep 2023 02:15:06 +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 C50CF335CD2 for ; Wed, 13 Sep 2023 02:15:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 57F06118D for ; Wed, 13 Sep 2023 02:15:04 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1694571164.c480981b992049d902ea9eab759ff80c1bf89872.sam@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-1.5.7_p20230828.ebuild X-VCS-Directories: dev-python/pyftpdlib/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: c480981b992049d902ea9eab759ff80c1bf89872 X-VCS-Branch: master Date: Wed, 13 Sep 2023 02:15:04 +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: 4a6f1567-9ace-4953-a903-1b87042e4186 X-Archives-Hash: 51363e994f4e9d8ca20a539f0a1a80db commit: c480981b992049d902ea9eab759ff80c1bf89872 Author: Chris Mayo gmail com> AuthorDate: Tue Sep 12 18:20:45 2023 +0000 Commit: Sam James gentoo org> CommitDate: Wed Sep 13 02:12:44 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c480981b dev-python/pyftpdlib: add 1.5.7_p20230828 Signed-off-by: Chris Mayo gmail.com> Closes: https://github.com/gentoo/gentoo/pull/32744 Signed-off-by: Sam James gentoo.org> dev-python/pyftpdlib/Manifest | 1 + .../pyftpdlib/pyftpdlib-1.5.7_p20230828.ebuild | 65 ++++++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/dev-python/pyftpdlib/Manifest b/dev-python/pyftpdlib/Manifest index d67a2f45e6ac..c9d0dab51af5 100644 --- a/dev-python/pyftpdlib/Manifest +++ b/dev-python/pyftpdlib/Manifest @@ -1 +1,2 @@ DIST pyftpdlib-1.5.7.tar.gz 196076 BLAKE2B 9400fb9ff5d8c0e904f07dabef72a07528bc43a5332ad26544f0e512c457a919e887e9f9af18b75cb7853f2e0b70993bc5a858438924320e738d4bc9e2e17090 SHA512 66ad5a1ab8fde26233250351f553cdc411303616d717c416cdce059f93c64e6ef64c7707103644583249b6aba22a9841994b38e731edc7997e95e266dbdbdc22 +DIST pyftpdlib-1.5.7_p20230828.gh.tar.gz 257359 BLAKE2B 043f4be70b38b409548dd13739e9bcade7f489e9ce1a2e87ee4c631b76f484a0fa72b3ec45e7978cb38168823cdfc020adddc056a135644948415c5baab5ef33 SHA512 b0626559d2942abe63cf45a593f8da98d07124fca19e33c66bf86a9f24bffa842941cd419ad14f43b7ae337bdecb6628ce3184af991d3e87767a11f37eccdd63 diff --git a/dev-python/pyftpdlib/pyftpdlib-1.5.7_p20230828.ebuild b/dev-python/pyftpdlib/pyftpdlib-1.5.7_p20230828.ebuild new file mode 100644 index 000000000000..f118face5c55 --- /dev/null +++ b/dev-python/pyftpdlib/pyftpdlib-1.5.7_p20230828.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +COMMIT=ec1f095910846c11fe3a7f8513de771afc7c8afd +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_REQ_USE="ssl(+)" + +inherit distutils-r1 + +DESCRIPTION="Python FTP server library" +HOMEPAGE=" + https://github.com/giampaolo/pyftpdlib/ + https://pypi.org/project/pyftpdlib/ +" +SRC_URI="https://github.com/giampaolo/pyftpdlib/archive/${COMMIT}.tar.gz -> ${P}.gh.tar.gz" + +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=" + 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 + +S="${WORKDIR}/${PN}-${COMMIT}" + +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 +}