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/ruledispatch/, dev-python/ruledispatch/files/, profiles/
Date: Fri, 21 Feb 2020 19:28:46
Message-Id: 1582313300.1d688481f622a38e09a741305aeebf5efa5e317a.mgorny@gentoo
1 commit: 1d688481f622a38e09a741305aeebf5efa5e317a
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 21 19:22:56 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 21 19:28:20 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d688481
7
8 dev-python/ruledispatch: Remove last-rited package
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/ruledispatch/Manifest | 1 -
13 .../files/ruledispatch_as_syntax_fix.patch | 49 ----------------------
14 dev-python/ruledispatch/metadata.xml | 8 ----
15 .../ruledispatch-0.5_pre2306-r2.ebuild | 45 --------------------
16 profiles/package.mask | 1 -
17 5 files changed, 104 deletions(-)
18
19 diff --git a/dev-python/ruledispatch/Manifest b/dev-python/ruledispatch/Manifest
20 deleted file mode 100644
21 index f9fd2bd607b..00000000000
22 --- a/dev-python/ruledispatch/Manifest
23 +++ /dev/null
24 @@ -1 +0,0 @@
25 -DIST RuleDispatch-0.5a0.dev-r2306.tar.gz 186405 BLAKE2B aad8d7546ff7b26506b39e60e073aeab9f70df96dc2f41a80bee0dba100ab64376a231671168e77eb36b3e731854061699c5678085189bca416d3da9ce4e0484 SHA512 5ee5f22b6ba755e79c108925d321ade10c6a2e06c309e753650385d2dfbeb2830eaeccee6b71338ec38598c877625b95acf21b6059faf91e9f6119e533b133b1
26
27 diff --git a/dev-python/ruledispatch/files/ruledispatch_as_syntax_fix.patch b/dev-python/ruledispatch/files/ruledispatch_as_syntax_fix.patch
28 deleted file mode 100644
29 index 47960b3c23f..00000000000
30 --- a/dev-python/ruledispatch/files/ruledispatch_as_syntax_fix.patch
31 +++ /dev/null
32 @@ -1,49 +0,0 @@
33 -Added by: Jesus Rivero (Neurogeek)
34 -On: 25 Jul 2009
35 -Per Upstream bug: https://bugs.launchpad.net/ubuntu/+source/ruledispatch/+bug/342916
36 -
37 -diff -uNr RuleDispatch.orig/src/dispatch/__init__.py RuleDispatch/src/dispatch/__init__.py
38 ---- RuleDispatch.orig/src/dispatch/__init__.py 2009-07-25 13:25:08.000000000 +0000
39 -+++ RuleDispatch/src/dispatch/__init__.py 2009-07-25 13:27:19.000000000 +0000
40 -@@ -95,7 +95,7 @@
41 - return decorate_assignment(callback)
42 -
43 -
44 --def as(*decorators):
45 -+def as_(*decorators):
46 - """Use Python 2.4 decorators w/Python 2.2+
47 -
48 - Example:
49 -Files RuleDispatch.orig/src/dispatch/__init__.pyc and RuleDispatch/src/dispatch/__init__.pyc differ
50 -Files RuleDispatch.orig/src/dispatch/interfaces.pyc and RuleDispatch/src/dispatch/interfaces.pyc differ
51 -diff -uNr RuleDispatch.orig/src/dispatch/predicates.py RuleDispatch/src/dispatch/predicates.py
52 ---- RuleDispatch.orig/src/dispatch/predicates.py 2009-07-25 13:25:08.000000000 +0000
53 -+++ RuleDispatch/src/dispatch/predicates.py 2009-07-25 13:27:58.000000000 +0000
54 -@@ -236,7 +236,7 @@
55 -
56 - return or_, (EXPR_GETTER_ID,)
57 -
58 -- [as(classmethod)]
59 -+ [as_(classmethod)]
60 - def immediate(klass,seq):
61 - for item in seq:
62 - if item:
63 -@@ -260,7 +260,7 @@
64 -
65 - return and_, (EXPR_GETTER_ID,)
66 -
67 -- [as(classmethod)]
68 -+ [as_(classmethod)]
69 - def immediate(klass,seq):
70 - for item in seq:
71 - if not item:
72 -@@ -278,7 +278,7 @@
73 - return get(argIds[2])
74 - return ifelse, (EXPR_GETTER_ID,)
75 -
76 -- [as(classmethod)]
77 -+ [as_(classmethod)]
78 - def immediate(klass,seq):
79 - if seq[1]: return seq[0]
80 - return seq[2]
81 -
82
83 diff --git a/dev-python/ruledispatch/metadata.xml b/dev-python/ruledispatch/metadata.xml
84 deleted file mode 100644
85 index 9e5274c5b4a..00000000000
86 --- a/dev-python/ruledispatch/metadata.xml
87 +++ /dev/null
88 @@ -1,8 +0,0 @@
89 -<?xml version="1.0" encoding="UTF-8"?>
90 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
91 -<pkgmetadata>
92 -<maintainer type="project">
93 - <email>python@g.o</email>
94 - <name>Python</name>
95 -</maintainer>
96 -</pkgmetadata>
97
98 diff --git a/dev-python/ruledispatch/ruledispatch-0.5_pre2306-r2.ebuild b/dev-python/ruledispatch/ruledispatch-0.5_pre2306-r2.ebuild
99 deleted file mode 100644
100 index 1c538b5e605..00000000000
101 --- a/dev-python/ruledispatch/ruledispatch-0.5_pre2306-r2.ebuild
102 +++ /dev/null
103 @@ -1,45 +0,0 @@
104 -# Copyright 1999-2015 Gentoo Foundation
105 -# Distributed under the terms of the GNU General Public License v2
106 -
107 -EAPI="5"
108 -PYTHON_COMPAT=( python2_7 )
109 -
110 -inherit distutils-r1 eutils versionator flag-o-matic
111 -
112 -MY_PN="RuleDispatch"
113 -MY_P="${MY_PN}-$(get_version_component_range 1-2)a0.dev-$(get_version_component_range 3-)"
114 -MY_P="${MY_P/pre/r}"
115 -
116 -DESCRIPTION="Rule-based Dispatching and Generic Functions"
117 -HOMEPAGE="http://peak.telecommunity.com/"
118 -# http://svn.eby-sarna.com/RuleDispatch/
119 -SRC_URI="mirror://gentoo/${MY_P}.tar.gz"
120 -
121 -LICENSE="|| ( PSF-2.4 ZPL )"
122 -SLOT="0"
123 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
124 -IUSE=""
125 -
126 -RDEPEND=">=dev-python/pyprotocols-1.0_pre2306[${PYTHON_USEDEP}]"
127 -DEPEND="${RDEPEND}
128 - dev-python/setuptools[${PYTHON_USEDEP}]"
129 -
130 -S="${WORKDIR}/${MY_PN}"
131 -
132 -PATCHES=( "${FILESDIR}/${PN}_as_syntax_fix.patch" )
133 -
134 -python_configure_all() {
135 - append-flags -fno-strict-aliasing
136 -}
137 -
138 -python_test() {
139 - cd "${BUILD_DIR}/lib" || die
140 - # parallel build makes a salad; einfo msg lets us see what's occuring
141 - for test in dispatch/tests/test_*.py; do
142 - "${PYTHON}" $test && einfo "Tests $test passed under ${EPYTHON}" \
143 - || die "Tests failed under ${EPYTHON}"
144 - done
145 - # doctest appears old and unmaintained, left for just in case
146 - # "${PYTHON}" dispatch/tests/doctest.py
147 - einfo "Tests passed under ${EPYTHON}"
148 -}
149
150 diff --git a/profiles/package.mask b/profiles/package.mask
151 index 48204216bbd..4e3c91c4534 100644
152 --- a/profiles/package.mask
153 +++ b/profiles/package.mask
154 @@ -633,7 +633,6 @@ net-im/silc-toolkit
155 # The following Gentoo packages are Python 2-only and have no reverse
156 # dependencies.
157 # Removal in 30 days. Bug #705762.
158 -dev-python/ruledispatch
159 dev-python/runsnakerun
160 dev-python/sqlite3dbm
161 dev-python/sqlobject