mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-01 23:28:08 -07:00
dev-python/pyftpdlib: Clean old up
This commit is contained in:
@@ -1,4 +1,2 @@
|
||||
DIST pyftpdlib-1.4.0.tar.gz 116280 BLAKE2B f20232088a022cb7af66748a9607f9ef48ba4504da3a8520dfe6e35839363bbca07ecf1deac88c69af5acbb8e0be6dc34ddc8a2780f905b2940df54631b18ee8 SHA512 61cf28d72a3a99bdc9bddcf434275e4edaeff60bf6481c1e854d81a4ea23ae97b73c8da9d0629a705a003ae8a941c529f9b9ed7cfa25759bd5cd6517f9958ff9
|
||||
DIST pyftpdlib-1.5.1.tar.gz 127582 BLAKE2B 00233ab4acf5aae4902384f514de0d6da9a55b7312b7744ce3f16fd222b5abeae0c65f0f9309ff40d0cbd960baee2c269a1fc6ba72ed8f700c7dbfd47e646a8a SHA512 81bb634aef7190d97b5939b998c8dd8caf1ce77c2ca66d085826880590a03e7fe4aeefb5eb67f30f25b984962eaae740c4c8c1d5900909029702e37c36bb2b9b
|
||||
DIST pyftpdlib-1.5.2.tar.gz 179047 BLAKE2B 08c8a6ea34c191a069eb68752963e32986e6a62910f36b282c04b1a37f7bfb96094823ea5ebfdf98014cfb9c0d475bd6bb71e3b17e84488fde005cc7b996edd9 SHA512 b458518eb7a57137d5f677bb4f38f4285f5efed4d8c0b4919c78b42350579407664219f4f289a0d6f307bb33869b73033ee82ad2ae777dc9f5a6d38a1af09a2a
|
||||
DIST pyftpdlib-1.5.3.tar.gz 183189 BLAKE2B dd563f59ff21b2059e1c6d6ac6015561d5e0de07b52ea212589afea61abe63a2a61deed86bb133969c8dc99b826b7e23ddf071e0b28ac7b84a066f3fa7f31d90 SHA512 f0e56f170fa77e0866cbbead52ad52276ee45b6c3244557bc59cd2bf599934ae4414a684661d4d47f76098b3da19e23c1a037aaa07a6a81f8d1be14b90191517
|
||||
|
||||
@@ -1,30 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_4} pypy )
|
||||
PYTHON_REQ_USE="ssl(+)"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python FTP server library"
|
||||
HOMEPAGE="https://github.com/giampaolo/pyftpdlib https://pypi.python.org/pypi/pyftpdlib"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris"
|
||||
IUSE="examples ssl"
|
||||
|
||||
DEPEND="ssl? ( dev-python/pyopenssl[${PYTHON_USEDEP}] )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" test/test_ftpd.py || die
|
||||
"${PYTHON}" test/test_contrib.py || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use examples && local EXAMPLES=( demo/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
@@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python{2_7,3_{4,5,6}} pypy )
|
||||
PYTHON_REQ_USE="ssl(+)"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python FTP server library"
|
||||
HOMEPAGE="https://github.com/giampaolo/pyftpdlib https://pypi.python.org/pypi/pyftpdlib"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~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="examples ssl test"
|
||||
|
||||
RDEPEND="ssl? ( dev-python/pyopenssl[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}] )"
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( ${RDEPEND} )
|
||||
"
|
||||
|
||||
python_test() {
|
||||
# Tests may fail occasionally
|
||||
# https://github.com/giampaolo/pyftpdlib/issues/420
|
||||
"${EPYTHON}" ${PN}/test/runner.py || 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
|
||||
}
|
||||
Reference in New Issue
Block a user