+++ /dev/null
-DIST RuleDispatch-0.5a0.dev-r2306.tar.gz 186405 BLAKE2B aad8d7546ff7b26506b39e60e073aeab9f70df96dc2f41a80bee0dba100ab64376a231671168e77eb36b3e731854061699c5678085189bca416d3da9ce4e0484 SHA512 5ee5f22b6ba755e79c108925d321ade10c6a2e06c309e753650385d2dfbeb2830eaeccee6b71338ec38598c877625b95acf21b6059faf91e9f6119e533b133b1
+++ /dev/null
-Added by: Jesus Rivero (Neurogeek)
-On: 25 Jul 2009
-Per Upstream bug: https://bugs.launchpad.net/ubuntu/+source/ruledispatch/+bug/342916
-
-diff -uNr RuleDispatch.orig/src/dispatch/__init__.py RuleDispatch/src/dispatch/__init__.py
---- RuleDispatch.orig/src/dispatch/__init__.py 2009-07-25 13:25:08.000000000 +0000
-+++ RuleDispatch/src/dispatch/__init__.py 2009-07-25 13:27:19.000000000 +0000
-@@ -95,7 +95,7 @@
- return decorate_assignment(callback)
-
-
--def as(*decorators):
-+def as_(*decorators):
- """Use Python 2.4 decorators w/Python 2.2+
-
- Example:
-Files RuleDispatch.orig/src/dispatch/__init__.pyc and RuleDispatch/src/dispatch/__init__.pyc differ
-Files RuleDispatch.orig/src/dispatch/interfaces.pyc and RuleDispatch/src/dispatch/interfaces.pyc differ
-diff -uNr RuleDispatch.orig/src/dispatch/predicates.py RuleDispatch/src/dispatch/predicates.py
---- RuleDispatch.orig/src/dispatch/predicates.py 2009-07-25 13:25:08.000000000 +0000
-+++ RuleDispatch/src/dispatch/predicates.py 2009-07-25 13:27:58.000000000 +0000
-@@ -236,7 +236,7 @@
-
- return or_, (EXPR_GETTER_ID,)
-
-- [as(classmethod)]
-+ [as_(classmethod)]
- def immediate(klass,seq):
- for item in seq:
- if item:
-@@ -260,7 +260,7 @@
-
- return and_, (EXPR_GETTER_ID,)
-
-- [as(classmethod)]
-+ [as_(classmethod)]
- def immediate(klass,seq):
- for item in seq:
- if not item:
-@@ -278,7 +278,7 @@
- return get(argIds[2])
- return ifelse, (EXPR_GETTER_ID,)
-
-- [as(classmethod)]
-+ [as_(classmethod)]
- def immediate(klass,seq):
- if seq[1]: return seq[0]
- return seq[2]
-
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer type="project">
- <email>python@gentoo.org</email>
- <name>Python</name>
-</maintainer>
-</pkgmetadata>
+++ /dev/null
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-PYTHON_COMPAT=( python2_7 )
-
-inherit distutils-r1 eutils versionator flag-o-matic
-
-MY_PN="RuleDispatch"
-MY_P="${MY_PN}-$(get_version_component_range 1-2)a0.dev-$(get_version_component_range 3-)"
-MY_P="${MY_P/pre/r}"
-
-DESCRIPTION="Rule-based Dispatching and Generic Functions"
-HOMEPAGE="http://peak.telecommunity.com/"
-# http://svn.eby-sarna.com/RuleDispatch/
-SRC_URI="mirror://gentoo/${MY_P}.tar.gz"
-
-LICENSE="|| ( PSF-2.4 ZPL )"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
-IUSE=""
-
-RDEPEND=">=dev-python/pyprotocols-1.0_pre2306[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}
- dev-python/setuptools[${PYTHON_USEDEP}]"
-
-S="${WORKDIR}/${MY_PN}"
-
-PATCHES=( "${FILESDIR}/${PN}_as_syntax_fix.patch" )
-
-python_configure_all() {
- append-flags -fno-strict-aliasing
-}
-
-python_test() {
- cd "${BUILD_DIR}/lib" || die
- # parallel build makes a salad; einfo msg lets us see what's occuring
- for test in dispatch/tests/test_*.py; do
- "${PYTHON}" $test && einfo "Tests $test passed under ${EPYTHON}" \
- || die "Tests failed under ${EPYTHON}"
- done
- # doctest appears old and unmaintained, left for just in case
- # "${PYTHON}" dispatch/tests/doctest.py
- einfo "Tests passed under ${EPYTHON}"
-}
# The following Gentoo packages are Python 2-only and have no reverse
# dependencies.
# Removal in 30 days. Bug #705762.
-dev-python/ruledispatch
dev-python/runsnakerun
dev-python/sqlite3dbm
dev-python/sqlobject