Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyftpdlib/, dev-python/pyftpdlib/files/
Date: Sat, 10 Oct 2015 12:35:46
Message-Id: 1444480529.702cddfe3f9648870920268e531b5398048d2fdc.jlec@gentoo
1 commit: 702cddfe3f9648870920268e531b5398048d2fdc
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 10 12:35:29 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 10 12:35:29 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=702cddfe
7
8 dev-python/pyftpdlib: Drop old
9
10 obsoletes
11
12 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=438670
13 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=461648
14 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=550610
15
16 Package-Manager: portage-2.2.23
17 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
18
19 dev-python/pyftpdlib/Manifest | 2 --
20 .../pyftpdlib/files/pyftpdlib-1-pypy-test.patch | 20 -----------
21 dev-python/pyftpdlib/pyftpdlib-1.0.1-r1.ebuild | 41 ----------------------
22 dev-python/pyftpdlib/pyftpdlib-1.3.0.ebuild | 40 ---------------------
23 4 files changed, 103 deletions(-)
24
25 diff --git a/dev-python/pyftpdlib/Manifest b/dev-python/pyftpdlib/Manifest
26 index 0e400e2..a058caa 100644
27 --- a/dev-python/pyftpdlib/Manifest
28 +++ b/dev-python/pyftpdlib/Manifest
29 @@ -1,3 +1 @@
30 -DIST pyftpdlib-1.0.1.tar.gz 116428 SHA256 bec5c2af5942c3970d53b1a9fa27286eba40c2089e3e0ef653ff6f5ed0c4865b SHA512 478f04cb156a6178f03aee40190f17b65e42f04c60311936bf068d11f9ffbd8ae9a118fea456386ccf5184e3fed6270b40b4dfec6523902e310f78ec73785be8 WHIRLPOOL 71b34ef1031b402b2be0d7aac64f796820a20e022fc71fb451777cc4dc50b28ba48dca20608958cd670d90a9baf839c8e4933ddb63b0484fff425faaa5e5e3b1
31 -DIST pyftpdlib-1.3.0.tar.gz 120206 SHA256 5dec22e691bd75ee0097f2e623df6c7b81a7cc373118f1550a16079dbddc701f SHA512 eacd617aa136c2a9a8836d25c632f30fbc9ad14650d34e0a8f6562c1a5af8e2e3ae0592d7f5456b88818142d63a08c140e75ce2e0a73811c29a7dd5e08700b87 WHIRLPOOL e4ee34587e60f9a41b5332a62a5e4d4914822ffa1bd4cc700ebb03a31fdca50ffa15a55d6d5afb73177d20bbbb30123ca6756629eef936d6bbb8a5d959535d74
32 DIST pyftpdlib-1.4.0.tar.gz 116280 SHA256 5fdd1492efe478f4c354f7d65d9308359751c8fb1d0376466b74a76721c5fcf3 SHA512 61cf28d72a3a99bdc9bddcf434275e4edaeff60bf6481c1e854d81a4ea23ae97b73c8da9d0629a705a003ae8a941c529f9b9ed7cfa25759bd5cd6517f9958ff9 WHIRLPOOL 676f58061e07aa8a9dcce9c7076962875866cebca8eacdd624053cab32de3a7bdb0b17337105839b6c997bf2b4263e759c962362930afddaedc1e9a151b855fa
33
34 diff --git a/dev-python/pyftpdlib/files/pyftpdlib-1-pypy-test.patch b/dev-python/pyftpdlib/files/pyftpdlib-1-pypy-test.patch
35 deleted file mode 100644
36 index e1b3055..0000000
37 --- a/dev-python/pyftpdlib/files/pyftpdlib-1-pypy-test.patch
38 +++ /dev/null
39 @@ -1,20 +0,0 @@
40 -diff -ur pyftpdlib-1.0.1.orig/test/test_ftpd.py pyftpdlib-1.0.1/test/test_ftpd.py
41 ---- test/test_ftpd.py 2013-02-23 03:07:13.000000000 +0800
42 -+++ test/test_ftpd.py 2013-03-13 23:05:48.392965468 +0800
43 -@@ -33,7 +33,7 @@
44 - import threading
45 - import unittest
46 - import socket
47 --import os
48 -+import os, sys
49 - import shutil
50 - import time
51 - import re
52 -@@ -1358,6 +1358,7 @@
53 - self.assertEqual(getmode(), '0555')
54 -
55 -
56 -+@××××××××.skipIf(hasattr(sys, 'pypy_version_info'), "temp. disabling of pypy")
57 - class TestFtpStoreData(TestCase):
58 - """Test STOR, STOU, APPE, REST, TYPE."""
59 - server_class = FTPd
60
61 diff --git a/dev-python/pyftpdlib/pyftpdlib-1.0.1-r1.ebuild b/dev-python/pyftpdlib/pyftpdlib-1.0.1-r1.ebuild
62 deleted file mode 100644
63 index 1ecfe3f..0000000
64 --- a/dev-python/pyftpdlib/pyftpdlib-1.0.1-r1.ebuild
65 +++ /dev/null
66 @@ -1,41 +0,0 @@
67 -# Copyright 1999-2015 Gentoo Foundation
68 -# Distributed under the terms of the GNU General Public License v2
69 -# $Id$
70 -
71 -EAPI=5
72 -PYTHON_COMPAT=( python2_7 pypy )
73 -PYTHON_REQ_USE="ssl(+)"
74 -# pypy has no spwd.so
75 -
76 -inherit distutils-r1
77 -
78 -DESCRIPTION="Python FTP server library"
79 -HOMEPAGE="https://code.google.com/p/pyftpdlib/ https://pypi.python.org/pypi/pyftpdlib"
80 -SRC_URI="https://pyftpdlib.googlecode.com/files/${P}.tar.gz"
81 -
82 -LICENSE="MIT"
83 -SLOT="0"
84 -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris"
85 -IUSE="examples ssl"
86 -
87 -DEPEND="ssl? ( dev-python/pyopenssl[${PYTHON_USEDEP}] )"
88 -RDEPEND="${DEPEND}"
89 -
90 -DOCS="CREDITS HISTORY"
91 -
92 -#PATCHES=( "${FILESDIR}"/${PN}-1-pypy-test.patch )
93 -
94 -python_test() {
95 - cd "${BUILD_DIR}" || die
96 - for test in "${S}"/test/test_*.py; do
97 - "${PYTHON}" "${test}" || die "Testing failed with ${EPYTHON}"
98 - done
99 -}
100 -
101 -python_install_all() {
102 - distutils-r1_python_install_all
103 - if use examples; then
104 - insinto /usr/share/doc/${PF}
105 - doins -r demo test
106 - fi
107 -}
108
109 diff --git a/dev-python/pyftpdlib/pyftpdlib-1.3.0.ebuild b/dev-python/pyftpdlib/pyftpdlib-1.3.0.ebuild
110 deleted file mode 100644
111 index bae34f1..0000000
112 --- a/dev-python/pyftpdlib/pyftpdlib-1.3.0.ebuild
113 +++ /dev/null
114 @@ -1,40 +0,0 @@
115 -# Copyright 1999-2015 Gentoo Foundation
116 -# Distributed under the terms of the GNU General Public License v2
117 -# $Id$
118 -
119 -EAPI=5
120 -PYTHON_COMPAT=( python{2_7,3_3} pypy )
121 -PYTHON_REQ_USE="ssl(+)"
122 -
123 -inherit distutils-r1
124 -
125 -DESCRIPTION="Python FTP server library"
126 -HOMEPAGE="https://code.google.com/p/pyftpdlib/ https://pypi.python.org/pypi/pyftpdlib"
127 -SRC_URI="https://pyftpdlib.googlecode.com/files/${P}.tar.gz"
128 -
129 -LICENSE="MIT"
130 -SLOT="0"
131 -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris"
132 -IUSE="examples ssl"
133 -
134 -DEPEND="ssl? ( dev-python/pyopenssl[${PYTHON_USEDEP}] )"
135 -RDEPEND="${DEPEND}"
136 -
137 -# Usual; requ'd for a sane testsuite run
138 -DISTUTILS_NO_PARALLEL_BUILD=1
139 -
140 -python_prepare_all() {
141 - # https://code.google.com/p/pyftpdlib/issues/detail?id=292&thanks=292&ts=1400308829
142 - # Disable failing test
143 - sed -e 's:test_on_incomplete_file_received:_&:' -i test/test_ftpd.py || die
144 - distutils-r1_python_prepare_all
145 -}
146 -
147 -python_test() {
148 - "${PYTHON}" test/test_ftpd.py || die
149 -}
150 -
151 -python_install_all() {
152 - use examples && local EXAMPLES=( demo/. )
153 - distutils-r1_python_install_all
154 -}