diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
| commit | b590c8d7572b727d565cc0b8ff660d43569845de (patch) | |
| tree | 06f7a4102ea4e845df8b66660f252920d52952f9 /dev-python/pyftpdlib | |
| parent | 24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff) | |
| download | baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip | |
Adding metadata
Diffstat (limited to 'dev-python/pyftpdlib')
| -rw-r--r-- | dev-python/pyftpdlib/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/pyftpdlib/metadata.xml | 13 | ||||
| -rw-r--r-- | dev-python/pyftpdlib/pyftpdlib-2.2.0.ebuild | 57 |
3 files changed, 71 insertions, 0 deletions
diff --git a/dev-python/pyftpdlib/Manifest b/dev-python/pyftpdlib/Manifest new file mode 100644 index 000000000000..faf2b01b9c81 --- /dev/null +++ b/dev-python/pyftpdlib/Manifest @@ -0,0 +1 @@ +DIST pyftpdlib-2.2.0.tar.gz 189150 BLAKE2B 783f2218103b7a1b50e05f1f26bc69782b3ae0656aba8ee28a46c09daabf6492caa0da5cde582c225696aa3f4a38c90c4801e4e12d531e979ddceb7866d44854 SHA512 28dda9db61e53fd06a7b1e5ea393790ad346c89f7157e92cc0671be5452af61ed554d93a6919e1a6a5cc26c21622765f6775d2a1a4ec0e0d53a5ed0882703ffd diff --git a/dev-python/pyftpdlib/metadata.xml b/dev-python/pyftpdlib/metadata.xml new file mode 100644 index 000000000000..a160d3982b87 --- /dev/null +++ b/dev-python/pyftpdlib/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <stabilize-allarches /> + <upstream> + <bugs-to>https://github.com/giampaolo/pyftpdlib/issues</bugs-to> + </upstream> + <origin>baldeagleos-repo</origin> +</pkgmetadata> diff --git a/dev-python/pyftpdlib/pyftpdlib-2.2.0.ebuild b/dev-python/pyftpdlib/pyftpdlib-2.2.0.ebuild new file mode 100644 index 000000000000..05689121888e --- /dev/null +++ b/dev-python/pyftpdlib/pyftpdlib-2.2.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) +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 ~x64-macos" +IUSE="examples ssl" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/pyasynchat[${PYTHON_USEDEP}] + dev-python/pyasyncore[${PYTHON_USEDEP}] + ' 3.12 3.13 3.14) + 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 +} |
