summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-12-23 20:19:00 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-12-23 20:30:08 +0100
commit612202a1f570c0dd6e63e1992285a2c870e2e44d (patch)
tree2f8661025e01bf54a3e6e39b38bff0ea196f9bb0 /dev-python/utidylib
parentdev-util/cucumber: fix json test dep (diff)
downloadgentoo-612202a1f570c0dd6e63e1992285a2c870e2e44d.tar.gz
gentoo-612202a1f570c0dd6e63e1992285a2c870e2e44d.tar.bz2
gentoo-612202a1f570c0dd6e63e1992285a2c870e2e44d.zip
dev-python/utidylib: Drop old
Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-python/utidylib')
-rw-r--r--dev-python/utidylib/Manifest1
-rw-r--r--dev-python/utidylib/files/utidylib-0.2-fix_tests.patch48
-rw-r--r--dev-python/utidylib/files/utidylib-0.2-no-docs-in-site-packages.patch11
-rw-r--r--dev-python/utidylib/utidylib-0.2-r2.ebuild53
-rw-r--r--dev-python/utidylib/utidylib-0.3-r1.ebuild47
-rw-r--r--dev-python/utidylib/utidylib-0.3.ebuild48
6 files changed, 0 insertions, 208 deletions
diff --git a/dev-python/utidylib/Manifest b/dev-python/utidylib/Manifest
index e589f45b2c8..f19926dc22b 100644
--- a/dev-python/utidylib/Manifest
+++ b/dev-python/utidylib/Manifest
@@ -1,2 +1 @@
-DIST uTidylib-0.2.zip 17575 BLAKE2B f13964dc452d05e01fcd4dca601f35b6aaa4675cd0c10086998570e0deb0b8a0f53a1e6c243db8466862feeb1746299895946e381205280c62c6cb741619bc68 SHA512 02f6611f1c7dd42db96012f7067ada8ccd841532744a569492a2f1c0524a3f1777b8f997a716b9bb18f69f31cb922dc89328d0bd284830620a930a038b303893
DIST uTidylib-0.3.tar.bz2 13809 BLAKE2B c6b495933ecdc21543c79e3ff200cc06ec4ebc1682cf9172bd988a08afef8b69db17eec4b88665aff5dc6cef371f3c665f6de3ffcc1dc515f778b523333c891b SHA512 4503f2a6366e5110740b312df2300d62bb68e1e1032184e9b56dee75995309c76d4f8e5851c73e7c8e08cca7bba9c74436d8dfc0524f115f3abb2bdf5529cc35
diff --git a/dev-python/utidylib/files/utidylib-0.2-fix_tests.patch b/dev-python/utidylib/files/utidylib-0.2-fix_tests.patch
deleted file mode 100644
index b55a15119ba..00000000000
--- a/dev-python/utidylib/files/utidylib-0.2-fix_tests.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-diff -uNr uTidylib-0.2.orig/tidy/test_tidy.py uTidylib-0.2/tidy/test_tidy.py
---- uTidylib-0.2.orig/tidy/test_tidy.py 2004-02-24 08:53:52.000000000 +0000
-+++ uTidylib-0.2/tidy/test_tidy.py 2009-07-25 15:50:56.000000000 +0000
-@@ -4,6 +4,10 @@
-
- class TidyTestCase(unittest.TestCase):
- def __init__(self, *args, **kwargs):
-+ super(unittest.TestCase, self).__init__(*args, **kwargs)
-+ self._shared = False
-+ self._parents = []
-+
- foo = u'''<html>
- <h1>woot</h1>
- <hr>
-@@ -13,13 +17,13 @@
- </body>
- </html>
- '''.encode('utf8')
-- file('foo.htm', 'w').write(foo)
-+ file('foo.htm', 'w').write(foo)
- self.input1 = "<html><script>1>2</script>"
- self.input2 = "<html>\n" + "<p>asdkfjhasldkfjhsldjas\n" * 100
- def defaultDocs(self):
- doc1 = tidy.parseString(self.input1)
- doc2 = tidy.parseString(self.input2)
-- doc3 = tidy.parse("foo.htm")
-+ doc3 = tidy.parse("../foo.htm")
- doc4 = tidy.parse("bar.htm") # doesn't exist
- return (doc1, doc2, doc3, doc4)
- def test_badOptions(self):
-@@ -33,7 +37,7 @@
- self.fail("Invalid option %s should have raised an error" %
- repr(dct))
- def test_encodings(self):
-- foo = file('foo.htm').read().decode('utf8').encode('ascii',
-+ foo = file('../foo.htm').read().decode('utf8').encode('ascii',
- 'xmlcharrefreplace')
- doc1u = tidy.parseString(foo, input_encoding='ascii',
- output_encoding='latin1')
-@@ -58,7 +62,7 @@
- ## self.failIf(len(doc2.errors)>1) # FIXME - tidylib doesn't
- ## # support this?
- self.failUnless(str(doc2).find('\n')<0)
-- doc3 = tidy.parse('foo.htm', char_encoding='utf8',
-+ doc3 = tidy.parse('../foo.htm', char_encoding='utf8',
- alt_text='foo')
- self.failUnless(str(doc3).find('alt="foo"')>=0)
- self.failUnless(str(doc3).find('\xc3\xa9')>=0)
diff --git a/dev-python/utidylib/files/utidylib-0.2-no-docs-in-site-packages.patch b/dev-python/utidylib/files/utidylib-0.2-no-docs-in-site-packages.patch
deleted file mode 100644
index 761c4947dfa..00000000000
--- a/dev-python/utidylib/files/utidylib-0.2-no-docs-in-site-packages.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- uTidylib-0.2-orig/setup.py 2005-12-01 00:48:14.000000000 +0100
-+++ uTidylib-0.2/setup.py 2005-12-01 01:10:33.000000000 +0100
-@@ -54,7 +54,7 @@
-
-
- setup_data = dict(packages=['tidy', ],
-- data_files=data_files,
-+# data_files=data_files,
- cmdclass=dict(install_data=install_data_utidylib,
- bdist_wininst=bdist_wininst_utidylib,
- install=install_utidylib,
diff --git a/dev-python/utidylib/utidylib-0.2-r2.ebuild b/dev-python/utidylib/utidylib-0.2-r2.ebuild
deleted file mode 100644
index e71c0277816..00000000000
--- a/dev-python/utidylib/utidylib-0.2-r2.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit distutils-r1
-
-MY_P="uTidylib-${PV}"
-
-DESCRIPTION="TidyLib Python wrapper"
-HOMEPAGE="https://cihar.com/software/utidylib/"
-#SRC_URI="mirror://berlios/${PN}/${MY_P}.zip"
-SRC_URI="mirror://gentoo/${MY_P}.zip"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ppc ppc64 x86"
-IUSE="doc test"
-
-RDEPEND="app-text/htmltidy"
-DEPEND="${RDEPEND}
- app-arch/unzip
- dev-python/setuptools[${PYTHON_USEDEP}]
- doc? ( dev-python/epydoc[${PYTHON_USEDEP}] )
- test? ( dev-python/twisted-core[${PYTHON_USEDEP}] )"
-
-S="${WORKDIR}/${MY_P}"
-
-python_prepare_all() {
- local PATCHES=(
- "${FILESDIR}/${P}-no-docs-in-site-packages.patch"
- "${FILESDIR}/${P}-fix_tests.patch"
- )
-
- distutils-r1_python_prepare_all
-}
-
-python_compile_all() {
- if use doc; then
- "${PYTHON}" gendoc.py || die
- fi
-}
-
-python_test() {
- trial tidy || die "Tests fail with ${EPYTHON}"
-}
-
-python_install_all() {
- use doc && local HTML_DOCS=( apidoc/. )
- distutils-r1_python_install_all
-}
diff --git a/dev-python/utidylib/utidylib-0.3-r1.ebuild b/dev-python/utidylib/utidylib-0.3-r1.ebuild
deleted file mode 100644
index f4930840d56..00000000000
--- a/dev-python/utidylib/utidylib-0.3-r1.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
-
-inherit distutils-r1
-
-MY_P="uTidylib-${PV}"
-
-DESCRIPTION="TidyLib Python wrapper"
-HOMEPAGE="https://cihar.com/software/utidylib/"
-SRC_URI="http://dl.cihar.com/${PN}/${MY_P}.tar.bz2"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE="doc test"
-
-RDEPEND="
- || ( app-text/tidy-html5 app-text/htmltidy )
- dev-python/six[${PYTHON_USEDEP}]"
-
-DEPEND="${RDEPEND}
- dev-python/setuptools[${PYTHON_USEDEP}]
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
- test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
-
-RESTRICT="test" # 1/11 tests fail
-
-S="${WORKDIR}/${MY_P}"
-
-python_compile_all() {
- if use doc; then
- ${EPYTHON} setup.py build_sphinx || die
- fi
-}
-
-python_test() {
- py.test || die "testsuite failed under ${EPYTHON}"
-}
-
-python_install_all() {
- use doc && local HTML_DOCS=( build/sphinx/html/. )
- distutils-r1_python_install_all
-}
diff --git a/dev-python/utidylib/utidylib-0.3.ebuild b/dev-python/utidylib/utidylib-0.3.ebuild
deleted file mode 100644
index 177e0d3644c..00000000000
--- a/dev-python/utidylib/utidylib-0.3.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
-
-inherit distutils-r1
-
-MY_P="uTidylib-${PV}"
-
-DESCRIPTION="TidyLib Python wrapper"
-HOMEPAGE="https://cihar.com/software/utidylib/"
-SRC_URI="http://dl.cihar.com/${PN}/${MY_P}.tar.bz2"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ~ppc ~ppc64 x86"
-IUSE="doc test"
-
-RDEPEND="
- app-text/htmltidy
- dev-python/six[${PYTHON_USEDEP}]
-"
-DEPEND="${RDEPEND}
- dev-python/setuptools[${PYTHON_USEDEP}]
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
- test? ( dev-python/pytest[${PYTHON_USEDEP}] )
-"
-
-RESTRICT="test" # 1/11 tests fail
-
-S="${WORKDIR}/${MY_P}"
-
-python_compile_all() {
- if use doc; then
- ${EPYTHON} setup.py build_sphinx || die
- fi
-}
-
-python_test() {
- py.test || die "testsuite failed under ${EPYTHON}"
-}
-
-python_install_all() {
- use doc && local HTML_DOCS=( build/sphinx/html/. )
- distutils-r1_python_install_all
-}