Gentoo Archives: gentoo-commits

From: Mikle Kolyada <zlogene@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyxml/files/, dev-python/pyxml/
Date: Wed, 25 Jul 2018 23:20:31
Message-Id: 1532560776.8b6ccd70a8985311979bbb2cefddd17e855e7693.zlogene@gentoo
1 commit: 8b6ccd70a8985311979bbb2cefddd17e855e7693
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jul 25 23:19:36 2018 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Wed Jul 25 23:19:36 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b6ccd70
7
8 dev-python/pyxml: remove last rited package
9
10 Closes: https://bugs.gentoo.org/653664
11
12 dev-python/pyxml/Manifest | 1 -
13 .../pyxml/files/pyxml-0.8.4-python-2.6.patch | 28 --------
14 dev-python/pyxml/metadata.xml | 11 ----
15 dev-python/pyxml/pyxml-0.8.4-r3.ebuild | 74 ----------------------
16 4 files changed, 114 deletions(-)
17
18 diff --git a/dev-python/pyxml/Manifest b/dev-python/pyxml/Manifest
19 deleted file mode 100644
20 index d8caae3b2c0..00000000000
21 --- a/dev-python/pyxml/Manifest
22 +++ /dev/null
23 @@ -1 +0,0 @@
24 -DIST PyXML-0.8.4.tar.gz 734954 BLAKE2B e052bfd298f7e2016d7077330401d077788e22721b55d7b996f53abdc48b1717472a9d47d5567f7c0d6d53c2ca4933a77743e8248e56128f58b089eac64d0811 SHA512 68d9802a58b8ce90d668d2ba659136dc5377e224fdb837284fdcaf640f28b3bb400bf485d602689905d56121b9ffaa7f7758b4a2f262d1321c8b9890952c8a1e
25
26 diff --git a/dev-python/pyxml/files/pyxml-0.8.4-python-2.6.patch b/dev-python/pyxml/files/pyxml-0.8.4-python-2.6.patch
27 deleted file mode 100644
28 index d29b0b6a9eb..00000000000
29 --- a/dev-python/pyxml/files/pyxml-0.8.4-python-2.6.patch
30 +++ /dev/null
31 @@ -1,28 +0,0 @@
32 -diff -rupN PyXML-0.8.4-old/xml/xpath/ParsedAbbreviatedAbsoluteLocationPath.py PyXML-0.8.4/xml/xpath/ParsedAbbreviatedAbsoluteLocationPath.py
33 ---- PyXML-0.8.4-old/xml/xpath/ParsedAbbreviatedAbsoluteLocationPath.py 2008-12-15 16:54:36.000000000 +0900
34 -+++ PyXML-0.8.4/xml/xpath/ParsedAbbreviatedAbsoluteLocationPath.py 2008-12-15 16:57:02.000000000 +0900
35 -@@ -24,8 +24,8 @@ class ParsedAbbreviatedAbsoluteLocationP
36 - self._rel = rel
37 - nt = ParsedNodeTest.ParsedNodeTest('node', '')
38 - ppl = ParsedPredicateList.ParsedPredicateList([])
39 -- as = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self')
40 -- self._step = ParsedStep.ParsedStep(as, nt, ppl)
41 -+ as_ = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self')
42 -+ self._step = ParsedStep.ParsedStep(as_, nt, ppl)
43 - return
44 -
45 - def evaluate(self, context):
46 -diff -rupN PyXML-0.8.4-old/xml/xpath/ParsedAbbreviatedRelativeLocationPath.py PyXML-0.8.4/xml/xpath/ParsedAbbreviatedRelativeLocationPath.py
47 ---- PyXML-0.8.4-old/xml/xpath/ParsedAbbreviatedRelativeLocationPath.py 2008-12-15 16:54:36.000000000 +0900
48 -+++ PyXML-0.8.4/xml/xpath/ParsedAbbreviatedRelativeLocationPath.py 2008-12-15 16:58:58.000000000 +0900
49 -@@ -28,8 +28,8 @@ class ParsedAbbreviatedRelativeLocationP
50 - self._right = right
51 - nt = ParsedNodeTest.ParsedNodeTest('node','')
52 - ppl = ParsedPredicateList.ParsedPredicateList([])
53 -- as = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self')
54 -- self._middle = ParsedStep.ParsedStep(as, nt, ppl)
55 -+ as_ = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self')
56 -+ self._middle = ParsedStep.ParsedStep(as_, nt, ppl)
57 -
58 - def evaluate(self, context):
59 - res = []
60
61 diff --git a/dev-python/pyxml/metadata.xml b/dev-python/pyxml/metadata.xml
62 deleted file mode 100644
63 index 3fd7e1e6f1f..00000000000
64 --- a/dev-python/pyxml/metadata.xml
65 +++ /dev/null
66 @@ -1,11 +0,0 @@
67 -<?xml version="1.0" encoding="UTF-8"?>
68 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
69 -<pkgmetadata>
70 - <maintainer type="project">
71 - <email>python@g.o</email>
72 - <name>Python</name>
73 - </maintainer>
74 - <upstream>
75 - <remote-id type="sourceforge">pyxml</remote-id>
76 - </upstream>
77 -</pkgmetadata>
78
79 diff --git a/dev-python/pyxml/pyxml-0.8.4-r3.ebuild b/dev-python/pyxml/pyxml-0.8.4-r3.ebuild
80 deleted file mode 100644
81 index a21d3cca4dc..00000000000
82 --- a/dev-python/pyxml/pyxml-0.8.4-r3.ebuild
83 +++ /dev/null
84 @@ -1,74 +0,0 @@
85 -# Copyright 1999-2017 Gentoo Foundation
86 -# Distributed under the terms of the GNU General Public License v2
87 -
88 -EAPI=5
89 -PYTHON_COMPAT=( python2_7 )
90 -
91 -inherit distutils-r1 eutils
92 -
93 -MY_P=${P/pyxml/PyXML}
94 -
95 -DESCRIPTION="A collection of libraries to process XML with Python"
96 -HOMEPAGE="http://pyxml.sourceforge.net/"
97 -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
98 -
99 -LICENSE="BSD CNRI MIT PSF-2 public-domain"
100 -# Other licenses:
101 -# BeOpen Python Open Source License Agreement Version 1
102 -# Zope Public License (ZPL) Version 1.0
103 -SLOT="0"
104 -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
105 -IUSE="doc examples"
106 -
107 -DEPEND=">=dev-libs/expat-1.95.6"
108 -RDEPEND="${DEPEND}"
109 -
110 -S="${WORKDIR}/${MY_P}"
111 -
112 -python_prepare_all() {
113 - local PATCHES=(
114 - "${FILESDIR}/${P}-python-2.6.patch"
115 - )
116 -
117 - distutils-r1_python_prepare_all
118 -}
119 -
120 -python_compile() {
121 - # use the already-installed shared copy of libexpat
122 - distutils-r1_python_compile --with-libexpat="${EPREFIX}/usr"
123 -}
124 -
125 -python_test() {
126 - # Delete internal copy of old version of unittest module.
127 - local BROKENTESTS=(
128 - test_filter
129 - test_howto
130 - test_minidom
131 - test_xmlbuilder
132 - unittest
133 - test_expatreader
134 - )
135 -
136 - for test_file in ${BROKENTESTS[@]}; do
137 - test_file="test/${test_file}.py"
138 - einfo "Removing dubious test \"${test_file}\""
139 - rm ${test_file} || die "can't remove ${test_file}"
140 - eend $?
141 - done
142 -
143 - cd test || die
144 - "${PYTHON}" regrtest.py || die "Tests fail with ${EPYTHON}"
145 -}
146 -
147 -python_install_all() {
148 - local DOCS=( ANNOUNCE CREDITS doc/*.txt )
149 -
150 - distutils-r1_python_install_all
151 -
152 - doman doc/man/*
153 - if use doc; then
154 - dohtml -A api,web -r doc/*
155 - dodoc doc/*.tex
156 - fi
157 - use examples && dodoc -r demo
158 -}