+++ /dev/null
-DIST wehjit-0.2.2.tar.gz 100515 BLAKE2B 2eddf7ce81583080b051ecfd07d108a2e72dbcaba3616359d463e5c4f92d11463a03197ba372476cc5ab1523cf58614db3cb8d8a72586359a7d95620bd578d7c SHA512 f8fb2edeeb9e90315d3c8f1e9e7d73d556fcad780c4dea637599291b2094e292a42b6f3671407f3d9d88733894501796484fa05ac52f3c1f3e1cb29d376a87fb
+++ /dev/null
-diff -ur wehjit-0.2.2.orig/wehjit/collection.py wehjit-0.2.2/wehjit/collection.py
---- wehjit/collection.py 2010-02-11 16:26:14.000000000 +0800
-+++ wehjit/collection.py 2012-11-08 14:24:40.326482713 +0800
-@@ -22,6 +22,11 @@
- Collect widget plugins together in a `Collection`.
- """
-
-+import sys
-+if sys.version_info[:2] == (2, 7):
-+ import unittest
-+else:
-+ import unittest2 as unittest
- import inspect
- import os
- from os import path
-@@ -130,6 +135,7 @@
- """
- return name in self.__plugins
-
-+ @unittest.skip("Plugin not in gentoo")
- def __getitem__(self, name):
- """
- Return the plugin named ``name``.
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer type="person">
- <email>maksbotan@gentoo.org</email>
- <name>Maxim Koltsov</name>
-</maintainer>
-<maintainer type="project">
- <email>python@gentoo.org</email>
- <name>Python</name>
-</maintainer>
-<longdescription>
- wehjit is a Python library for for building XHTML widgets for web
- applications and web pages. It encapsulates the XHTML
- (a Genshi XML template), CSS, and JavaScript for each widget into a plugin
-</longdescription>
-</pkgmetadata>
+++ /dev/null
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit distutils-r1
-
-DESCRIPTION="A Python web-widget library"
-HOMEPAGE="http://jderose.fedorapeople.org/wehjit"
-SRC_URI="http://jderose.fedorapeople.org/${PN}/${PV}/${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="dev-python/genshi
- dev-python/assets[${PYTHON_USEDEP}]
- dev-python/paste[${PYTHON_USEDEP}]
- dev-python/pygments[${PYTHON_USEDEP}]
- "
-DEPEND="${RDEPEND}"
-
-DOCS=( README NEWS )
-
-PATCHES=( "${FILESDIR}"/${P}-SkipTest.patch )
-
-python_test() {
- if [[ "${EPYTHON:6:3}" == '2.6' ]]; then
- nosetests -I test_app* -e=*getitem
- else
- nosetests
- fi
-}
# The following Gentoo packages are Python 2-only and have no reverse
# dependencies.
# Removal in 30 days. Bug #705762.
-dev-python/wehjit
dev-python/zfec
# Michał Górny <mgorny@gentoo.org> (2020-01-16)