public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyftpdlib/
Date: Wed,  5 Oct 2022 05:20:19 +0000 (UTC)	[thread overview]
Message-ID: <1664946667.e61cd30e51c45620f6fef3300c44a42e94d1ea3a.arthurzam@gentoo> (raw)

commit:     e61cd30e51c45620f6fef3300c44a42e94d1ea3a
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Wed Oct  5 05:11:07 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Wed Oct  5 05:11:07 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e61cd30e

dev-python/pyftpdlib: add 1.5.7

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-python/pyftpdlib/Manifest               |  1 +
 dev-python/pyftpdlib/pyftpdlib-1.5.7.ebuild | 84 +++++++++++++++++++++++++++++
 2 files changed, 85 insertions(+)

diff --git a/dev-python/pyftpdlib/Manifest b/dev-python/pyftpdlib/Manifest
index 5e424d106727..06203ee0db01 100644
--- a/dev-python/pyftpdlib/Manifest
+++ b/dev-python/pyftpdlib/Manifest
@@ -1 +1,2 @@
 DIST pyftpdlib-1.5.6.tar.gz 188099 BLAKE2B 508e94da6b27b4b1f15306df2916c176f07ca31944398e9ac580fca8d2cdc72ca0ee8e7db282de6745e2e401b23b1fa8cb8de400dc2ba998b93ac45772c78157 SHA512 a3c3c1cac221a8a3c090ee208c03134bb1b8de58099a23ca6ee422f06fb97a0ed561c96e62c62b21fa112dd0b3458651b9fc0c55d72dc0bed79d0583b319a50d
+DIST pyftpdlib-1.5.7.tar.gz 196076 BLAKE2B 9400fb9ff5d8c0e904f07dabef72a07528bc43a5332ad26544f0e512c457a919e887e9f9af18b75cb7853f2e0b70993bc5a858438924320e738d4bc9e2e17090 SHA512 66ad5a1ab8fde26233250351f553cdc411303616d717c416cdce059f93c64e6ef64c7707103644583249b6aba22a9841994b38e731edc7997e95e266dbdbdc22

diff --git a/dev-python/pyftpdlib/pyftpdlib-1.5.7.ebuild b/dev-python/pyftpdlib/pyftpdlib-1.5.7.ebuild
new file mode 100644
index 000000000000..19dfac6e6963
--- /dev/null
+++ b/dev-python/pyftpdlib/pyftpdlib-1.5.7.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..10} )
+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="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris"
+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
+
+python_test() {
+	cd "${BUILD_DIR}"/lib || die
+
+	# These tests fail when passing additional options to pytest
+	# so we need to run them separately and not pass any args to pytest
+	pytest ${PN}/test/test_misc.py || die "Tests failed with ${EPYTHON}"
+	# Some of these tests tend to fail
+	local EPYTEST_DESELECT=(
+		# Those tests are run separately
+		pyftpdlib/test/test_misc.py
+		# https://github.com/giampaolo/pyftpdlib/issues/471
+		# https://bugs.gentoo.org/636410
+		pyftpdlib/test/test_functional.py::TestCallbacks::test_on_incomplete_file_received
+		# 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_ascii
+		# https://github.com/giampaolo/pyftpdlib/issues/513
+		# https://bugs.gentoo.org/676232
+		pyftpdlib/test/test_servers.py::TestFtpAuthentication::test_anon_auth
+		# https://github.com/giampaolo/pyftpdlib/issues/513
+		# https://bugs.gentoo.org/702578
+		pyftpdlib/test/test_servers.py::TestFtpAuthentication::test_auth_failed
+		# https://github.com/giampaolo/pyftpdlib/issues/543
+		# https://bugs.gentoo.org/758686
+		pyftpdlib/test/test_functional.py::ThreadedFTPTests::test_idle_timeout
+		pyftpdlib/test/test_functional.py::ThreadedFTPTests::test_stou_max_tries
+		# https://github.com/giampaolo/pyftpdlib/issues/550
+		# https://bugs.gentoo.org/759040
+		pyftpdlib/test/test_functional.py::TestConfigurableOptions::test_masquerade_address
+		pyftpdlib/test/test_functional.py::TestConfigurableOptions::test_masquerade_address_map
+		pyftpdlib/test/test_functional_ssl.py::TestConfigurableOptions::test_masquerade_address
+		pyftpdlib/test/test_functional_ssl.py::TestConfigurableOptions::test_masquerade_address_map
+		pyftpdlib/test/test_functional_ssl.py::TestConfigurableOptionsTLSMixin::test_masquerade_address
+		pyftpdlib/test/test_functional_ssl.py::TestConfigurableOptionsTLSMixin::test_masquerade_address_map
+	)
+	# 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
+}
+
+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
+}


             reply	other threads:[~2022-10-05  5:20 UTC|newest]

Thread overview: 103+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-05  5:20 Arthur Zamarin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-09 10:21 [gentoo-commits] repo/gentoo:master commit in: dev-python/pyftpdlib/ Michał Górny
2024-11-09 10:08 Arthur Zamarin
2024-10-23  6:16 Michał Górny
2024-10-05  9:10 Michał Górny
2024-10-05  8:34 Arthur Zamarin
2024-09-14 13:22 Arthur Zamarin
2024-09-05  2:21 Michał Górny
2024-07-13  8:01 Michał Górny
2024-07-13  7:27 Arthur Zamarin
2024-06-24  2:41 Michał Górny
2024-06-24  2:41 Michał Górny
2023-11-25 10:35 Michał Górny
2023-11-25  8:38 Sam James
2023-10-26  3:12 Michał Górny
2023-10-14 18:28 Michał Górny
2023-10-14 16:52 Arthur Zamarin
2023-10-02  4:46 Michał Górny
2023-09-13  2:15 Sam James
2023-08-11 19:12 Michał Górny
2023-08-11 19:09 Arthur Zamarin
2023-07-08 15:23 Michał Górny
2022-11-04 17:09 Arthur Zamarin
2022-11-04 17:08 Arthur Zamarin
2022-10-05  5:20 Arthur Zamarin
2022-09-07  7:51 Michał Górny
2022-07-04  6:57 Michał Górny
2021-11-28 14:42 Michał Górny
2021-08-07 13:52 Michał Górny
2021-08-07 13:52 Michał Górny
2021-08-07 13:52 Michał Górny
2021-08-07 13:52 Michał Górny
2021-08-07 13:29 Michał Górny
2021-05-11 17:20 Louis Sautier
2020-12-07 22:18 Louis Sautier
2020-09-10 21:08 Louis Sautier
2020-07-19 18:33 Michał Górny
2020-07-14 16:32 Sam James
2020-05-11 15:32 Mart Raudsepp
2020-05-10  9:28 Sergei Trofimovich
2020-05-04 16:51 Agostino Sarubbo
2020-05-03 15:13 Agostino Sarubbo
2020-05-03 10:25 Agostino Sarubbo
2020-04-12 18:27 Sergei Trofimovich
2020-02-27 23:28 Louis Sautier
2020-01-03 14:39 Agostino Sarubbo
2019-12-11 22:10 Louis Sautier
2019-12-11 16:03 Matt Turner
2019-12-11 16:01 Matt Turner
2019-12-10  9:19 Agostino Sarubbo
2019-12-03 11:58 Agostino Sarubbo
2019-12-03 10:07 Agostino Sarubbo
2019-12-03  8:38 Agostino Sarubbo
2019-12-01 14:23 Agostino Sarubbo
2019-11-30  3:16 Aaron Bauman
2019-11-29 11:52 Louis Sautier
2019-11-29  9:13 Agostino Sarubbo
2019-11-27 14:13 Louis Sautier
2019-09-14 20:55 Matt Turner
2019-07-29 15:38 Aaron Bauman
2019-04-13  2:44 Aaron Bauman
2019-04-09 12:07 Louis Sautier
2019-01-02 21:29 Tim Harder
2018-12-06 16:14 Mikle Kolyada
2018-10-18 11:45 Tobias Klausmann
2018-10-17  8:51 Tobias Klausmann
2018-10-03 21:08 Louis Sautier
2018-09-16 20:25 Matt Turner
2018-08-05 11:33 Sergei Trofimovich
2018-07-14 14:52 Louis Sautier
2018-07-13 18:46 Sergei Trofimovich
2018-07-09 15:45 Mikle Kolyada
2018-07-03 13:09 Louis Sautier
2018-07-02  0:49 Thomas Deutschmann
2018-07-01  9:11 Sergei Trofimovich
2018-06-30 21:12 Sergei Trofimovich
2018-06-30 14:45 Sergei Trofimovich
2018-06-27 21:44 Louis Sautier
2018-06-27 10:05 Tobias Klausmann
2018-06-27  6:25 Sergei Trofimovich
2018-06-25  7:25 Louis Sautier
2018-06-24 10:18 Sergei Trofimovich
2018-06-24  9:40 Mikle Kolyada
2018-06-13 18:52 Markus Meier
2018-06-02 17:38 Sergei Trofimovich
2018-05-30 21:21 Patrice Clement
2018-02-22 18:08 Michał Górny
2017-11-17 18:47 David Seifert
2017-06-12 21:46 Patrice Clement
2017-05-02 10:33 Paweł Hajdan
2017-03-29  1:39 Jeroen Roovers
2017-02-28 12:30 Tobias Klausmann
2017-02-23 16:30 Agostino Sarubbo
2017-02-23 15:55 Agostino Sarubbo
2017-02-23 14:56 Michael Weber
2017-02-23 13:45 Michael Weber
2017-02-23 13:16 Michael Weber
2017-01-29 17:15 Fabian Groffen
2016-12-11  1:06 David Seifert
2016-12-11  1:06 David Seifert
2015-11-20  1:23 Mike Frysinger
2015-10-06 13:36 Mikle Kolyada
2015-09-21  3:58 Jeroen Roovers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1664946667.e61cd30e51c45620f6fef3300c44a42e94d1ea3a.arthurzam@gentoo \
    --to=arthurzam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox