Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/python-yadis/, profiles/, dev-python/python-yadis/files/
Date: Fri, 21 Feb 2020 19:28:43
Message-Id: 1582313295.ce8242e8f491474ef665e887ee0b9578f561cda8.mgorny@gentoo
1 commit: ce8242e8f491474ef665e887ee0b9578f561cda8
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 21 19:22:46 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 21 19:28:15 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce8242e8
7
8 dev-python/python-yadis: Remove last-rited package
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/python-yadis/Manifest | 1 -
13 .../files/python-yadis-1.1.0-gentoo-test.patch | 82 ----------------------
14 dev-python/python-yadis/metadata.xml | 9 ---
15 .../python-yadis/python-yadis-1.1.0-r2.ebuild | 33 ---------
16 profiles/package.mask | 1 -
17 5 files changed, 126 deletions(-)
18
19 diff --git a/dev-python/python-yadis/Manifest b/dev-python/python-yadis/Manifest
20 deleted file mode 100644
21 index cc37a0a1f8e..00000000000
22 --- a/dev-python/python-yadis/Manifest
23 +++ /dev/null
24 @@ -1 +0,0 @@
25 -DIST python-yadis-1.1.0.tar.gz 192569 BLAKE2B 2d2f16779bf7f53069f0b2450cece681acc01475ce0688d10cf90c213c863d99713253f605d77cd9978cf51abc859133bf5ac5cbbf547b25b1ea0013241a68cb SHA512 955efbcd13f02c8e112e0f5dfd4ad8a7fb56e0d5d55a2c409ed044f4ac99d5496b9d641916a7af1ddc18628d83cef1f3907d787afd468ceb7573ec192de1e02f
26
27 diff --git a/dev-python/python-yadis/files/python-yadis-1.1.0-gentoo-test.patch b/dev-python/python-yadis/files/python-yadis-1.1.0-gentoo-test.patch
28 deleted file mode 100644
29 index ae6a06c9012..00000000000
30 --- a/dev-python/python-yadis/files/python-yadis-1.1.0-gentoo-test.patch
31 +++ /dev/null
32 @@ -1,82 +0,0 @@
33 ---- admin/runtests.orig 2007-05-31 11:30:01.000000000 -0700
34 -+++ admin/runtests 2007-05-31 11:31:26.000000000 -0700
35 -@@ -1,7 +1,6 @@
36 - #!/bin/bash
37 -
38 --ADMINDIR=$(dirname $0)
39 --YDIR=${ADMINDIR}/..
40 -+YDIR='.'
41 -
42 - declare -i errorcode=0
43 -
44 -@@ -17,13 +16,6 @@
45 - echo 'Install pyflakes. http://divmod.org/trac/wiki/DivmodPyflakes'
46 - fi
47 -
48 --if [[ $1 != "darcs" ]] ; then
49 -- echo 'Checking docs... '
50 -- if ! ${ADMINDIR}/epyrun check; then
51 -- # Who knows? Epydoc --check doesn't modify the return code.
52 -- errorcode=$errorcode+2
53 -- fi
54 --fi
55 -
56 - echo -n 'Running tests... '
57 - if ! python ${YDIR}/yadis/test/runtests ; then
58 -diff -ur python-yadis-1.1.0.orig/yadis/test/test_xri.py python-yadis-1.1.0/yadis/test/test_xri.py
59 ---- yadis/test/test_xri.py 2006-12-09 06:17:12.000000000 +0900
60 -+++ yadis/test/test_xri.py 2011-11-16 22:03:07.254992928 +0800
61 -@@ -44,11 +44,6 @@
62 - s = u'l\xa1m'
63 - expected = 'l%C2%A1m'
64 - self.failUnlessEqual(xri.iriToURI(s), expected)
65 -- else:
66 -- def test_iri_to_url(self):
67 -- s = u'l\xa1m\U00101010n'
68 -- expected = 'l%C2%A1m%F4%81%80%90n'
69 -- self.failUnlessEqual(xri.iriToURI(s), expected)
70 -
71 -
72 -
73 -diff -ur /mnt/gen2/tmpdir/portage/dev-python/python-yadis-1.1.0/work/python-yadis-1.1.0.orig/yadis/etxrd.py /mnt/gen2/tmpdir/portage/dev-python/python-yadis-1.1.0/work/python-yadis-1.1.0/yadis/etxrd.py
74 ---- yadis/etxrd.py 2006-12-09 06:17:12.000000000 +0900
75 -+++ yadis/etxrd.py 2011-11-16 22:26:21.386992510 +0800
76 -@@ -22,12 +22,8 @@
77 - from elementtree.ElementTree import ElementTree
78 -
79 - # Use expat if it's present. Otherwise, use xmllib
80 --try:
81 -- from xml.parsers.expat import ExpatError as XMLError
82 -- from elementtree.ElementTree import XMLTreeBuilder
83 --except ImportError:
84 -- from elementtree.SimpleXMLTreeBuilder import TreeBuilder as XMLTreeBuilder
85 -- from xmllib import Error as XMLError
86 -+from elementtree.SimpleXMLTreeBuilder import TreeBuilder as XMLTreeBuilder
87 -+from xmllib import Error as XMLError
88 -
89 - from yadis import xri
90 -
91 -diff -ur /mnt/gen2/tmpdir/portage/dev-python/python-yadis-1.1.0/work/python-yadis-1.1.0.orig/yadis/test/test_etxrd.py /mnt/gen2/tmpdir/portage/dev-python/python-yadis-1.1.0/work/python-yadis-1.1.0/yadis/test/test_etxrd.py
92 ---- yadis/test/test_etxrd.py 2006-12-09 06:17:12.000000000 +0900
93 -+++ yadis/test/test_etxrd.py 2011-11-16 22:29:00.896992462 +0800
94 -@@ -40,9 +40,6 @@
95 - def _getServices(self, flt=None):
96 - return list(services.applyFilter(self.yadis_url, self.xmldoc, flt))
97 -
98 -- def testParse(self):
99 -- """Make sure that parsing succeeds at all"""
100 -- services = self._getServices()
101 -
102 - def testParseOpenID(self):
103 - """Parse for OpenID services with a transformer function"""
104 -diff -ur python-yadis-1.1.0.orig/yadis/test/test_parsehtml.py python-yadis-1.1.0/yadis/test/test_parsehtml.py
105 ---- yadis/test/test_parsehtml.py 2006-12-09 06:17:12.000000000 +0900
106 -+++ yadis/test/test_parsehtml.py 2012-11-08 20:42:34.248733469 +0800
107 -@@ -3,6 +3,7 @@
108 -
109 - import os.path, unittest, sys
110 -
111 -+@××××××××.skip("Recently broken test")
112 - class _TestCase(unittest.TestCase):
113 - reserved_values = ['None', 'EOF']
114 -
115
116 diff --git a/dev-python/python-yadis/metadata.xml b/dev-python/python-yadis/metadata.xml
117 deleted file mode 100644
118 index 85d4aef0b6d..00000000000
119 --- a/dev-python/python-yadis/metadata.xml
120 +++ /dev/null
121 @@ -1,9 +0,0 @@
122 -<?xml version="1.0" encoding="UTF-8"?>
123 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
124 -<pkgmetadata>
125 - <maintainer type="project">
126 - <email>python@g.o</email>
127 - <name>Python</name>
128 - </maintainer>
129 - <longdescription>Yadis service discovery library</longdescription>
130 -</pkgmetadata>
131
132 diff --git a/dev-python/python-yadis/python-yadis-1.1.0-r2.ebuild b/dev-python/python-yadis/python-yadis-1.1.0-r2.ebuild
133 deleted file mode 100644
134 index 571bae4a83f..00000000000
135 --- a/dev-python/python-yadis/python-yadis-1.1.0-r2.ebuild
136 +++ /dev/null
137 @@ -1,33 +0,0 @@
138 -# Copyright 1999-2016 Gentoo Foundation
139 -# Distributed under the terms of the GNU General Public License v2
140 -
141 -EAPI=5
142 -PYTHON_COMPAT=( python2_7 )
143 -PYTHON_REQ_USE="xml(+)"
144 -
145 -inherit distutils-r1
146 -
147 -DESCRIPTION="Yadis service discovery library"
148 -HOMEPAGE="http://www.openidenabled.com/yadis/libraries/python/"
149 -SRC_URI="http://www.openidenabled.com/resources/downloads/python-openid/${P}.tar.gz"
150 -
151 -LICENSE="LGPL-2.1"
152 -SLOT="0"
153 -KEYWORDS="~amd64 ~x86"
154 -IUSE="test"
155 -
156 -RDEPEND="dev-python/elementtree[${PYTHON_USEDEP}]
157 - dev-python/python-urljr[${PYTHON_USEDEP}]"
158 -DEPEND="${RDEPEND}
159 - test? ( >=dev-python/pyflakes-0.2.1[${PYTHON_USEDEP}] )"
160 -
161 -# Fix broken test
162 -PATCHES=( "${FILESDIR}/${P}-gentoo-test.patch" )
163 -
164 -# Tests are broken.
165 -RESTRICT='test'
166 -
167 -python_test() {
168 - ./admin/runtests
169 - einfo "The pyflake output about XML* redefinitions can be safely ignored"
170 -}
171
172 diff --git a/profiles/package.mask b/profiles/package.mask
173 index ca505939699..d1405808108 100644
174 --- a/profiles/package.mask
175 +++ b/profiles/package.mask
176 @@ -633,7 +633,6 @@ net-im/silc-toolkit
177 # The following Gentoo packages are Python 2-only and have no reverse
178 # dependencies.
179 # Removal in 30 days. Bug #705762.
180 -dev-python/python-yadis
181 dev-python/qpid-python
182 dev-python/robotframework-selenium2library
183 dev-python/robotframework-sshlibrary