From: "Louis Sautier" <sbraz@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyftpdlib/
Date: Tue, 9 Apr 2019 12:07:39 +0000 (UTC) [thread overview]
Message-ID: <1554811652.89a574631f5ab9a124046f3ff5a85397802cdcb0.sbraz@gentoo> (raw)
commit: 89a574631f5ab9a124046f3ff5a85397802cdcb0
Author: Louis Sautier <sbraz <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 9 11:58:52 2019 +0000
Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org>
CommitDate: Tue Apr 9 12:07:32 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89a57463
dev-python/pyftpdlib: bump to 1.5.5
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org>
dev-python/pyftpdlib/Manifest | 1 +
dev-python/pyftpdlib/pyftpdlib-1.5.5.ebuild | 89 +++++++++++++++++++++++++++++
2 files changed, 90 insertions(+)
diff --git a/dev-python/pyftpdlib/Manifest b/dev-python/pyftpdlib/Manifest
index b1ab75204bb..efcaf1bdeb9 100644
--- a/dev-python/pyftpdlib/Manifest
+++ b/dev-python/pyftpdlib/Manifest
@@ -1,3 +1,4 @@
DIST pyftpdlib-1.5.1.tar.gz 127582 BLAKE2B 00233ab4acf5aae4902384f514de0d6da9a55b7312b7744ce3f16fd222b5abeae0c65f0f9309ff40d0cbd960baee2c269a1fc6ba72ed8f700c7dbfd47e646a8a SHA512 81bb634aef7190d97b5939b998c8dd8caf1ce77c2ca66d085826880590a03e7fe4aeefb5eb67f30f25b984962eaae740c4c8c1d5900909029702e37c36bb2b9b
DIST pyftpdlib-1.5.3.tar.gz 183189 BLAKE2B dd563f59ff21b2059e1c6d6ac6015561d5e0de07b52ea212589afea61abe63a2a61deed86bb133969c8dc99b826b7e23ddf071e0b28ac7b84a066f3fa7f31d90 SHA512 f0e56f170fa77e0866cbbead52ad52276ee45b6c3244557bc59cd2bf599934ae4414a684661d4d47f76098b3da19e23c1a037aaa07a6a81f8d1be14b90191517
DIST pyftpdlib-1.5.4.tar.gz 184986 BLAKE2B 6973b1f7e0fc0c89eb5d79e082690a706b56553ad4b2ece68a8216bb99c185d770475e349402ec71baf1bb06e5ecca5be2a3c52512f0d8283c4cc249bc28a949 SHA512 6eb308021dad28c1c51a88b366947a71b7bc1802571dc14cedf3a264bd0cb8504ef990d7e3110d10709f971d4d5b0001bee859b58fb4d02a1b0d46532acc9295
+DIST pyftpdlib-1.5.5.tar.gz 184314 BLAKE2B 2d02839c6809674c7b7c4dfd610610a9231799802cc53ad0a05bfabc8985e77c64d9b239628f13bdc22942460b3e923067f084c3c5ac2b7be7671279a08e0351 SHA512 27427154f893812f689adf3a9ceb4ec2d8f0ea7a4bf7b08671dc146c95f09ddd596a27c85e009d8d6647277def48c0bf0a8b76fb3fba5818eda3dfdc6c10795e
diff --git a/dev-python/pyftpdlib/pyftpdlib-1.5.5.ebuild b/dev-python/pyftpdlib/pyftpdlib-1.5.5.ebuild
new file mode 100644
index 00000000000..8b23d3a2fac
--- /dev/null
+++ b/dev-python/pyftpdlib/pyftpdlib-1.5.5.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python{2_7,3_{4,5,6,7}} )
+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="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris"
+IUSE="doc examples ssl test"
+
+RDEPEND="
+ ssl? ( dev-python/pyopenssl[${PYTHON_USEDEP}] )
+"
+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}]
+ dev-python/psutil[${PYTHON_USEDEP}]
+ dev-python/pyopenssl[${PYTHON_USEDEP}]
+ dev-python/pysendfile[${PYTHON_USEDEP}]
+ dev-python/pytest[${PYTHON_USEDEP}]
+ )
+"
+
+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
+}
+
+python_test() {
+ # 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 skipped_tests=(
+ # https://github.com/giampaolo/pyftpdlib/issues/470
+ # https://bugs.gentoo.org/659108
+ test_idle_data_timeout2
+ # https://github.com/giampaolo/pyftpdlib/issues/471
+ # https://bugs.gentoo.org/636410
+ test_on_incomplete_file_received
+ # https://github.com/giampaolo/pyftpdlib/issues/466
+ # https://bugs.gentoo.org/659786
+ test_nlst
+ )
+ 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})" \
+ || die "Tests failed with ${EPYTHON}"
+}
+
+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
+}
+
+pkg_postinst() {
+ if [[ -z ${REPLACING_VERSIONS} ]] && \
+ [[ ${PYTHON_TARGETS} == *python2_7* ]] && \
+ ! has_version dev-python/pysendfile ; then
+ elog "dev-python/pysendfile is not installed"
+ elog "It can considerably speed up file transfers for Python 2"
+ fi
+}
next reply other threads:[~2019-04-09 12:07 UTC|newest]
Thread overview: 103+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-09 12:07 Louis Sautier [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-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-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=1554811652.89a574631f5ab9a124046f3ff5a85397802cdcb0.sbraz@gentoo \
--to=sbraz@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