Gentoo Archives: gentoo-commits

From: Virgil Dupras <vdupras@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/pytextile/, app-text/pytextile/files/
Date: Tue, 16 Oct 2018 00:02:05
Message-Id: 1539648082.9f7f6e2659dd3d4aa5a5d1f67a86ef79bdcd2ed4.vdupras@gentoo
1 commit: 9f7f6e2659dd3d4aa5a5d1f67a86ef79bdcd2ed4
2 Author: Virgil Dupras <vdupras <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 15 23:54:16 2018 +0000
4 Commit: Virgil Dupras <vdupras <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 16 00:01:22 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f7f6e26
7
8 app-text/pytextile: remove old
9
10 Signed-off-by: Virgil Dupras <vdupras <AT> gentoo.org>
11 Package-Manager: Portage-2.3.51, Repoman-2.3.11
12
13 app-text/pytextile/Manifest | 1 -
14 .../files/pytextile-2.1.8-sanitizer.patch | 15 ---------
15 app-text/pytextile/pytextile-2.1.8.ebuild | 38 ----------------------
16 3 files changed, 54 deletions(-)
17
18 diff --git a/app-text/pytextile/Manifest b/app-text/pytextile/Manifest
19 index f70b76be1d6..781743a9264 100644
20 --- a/app-text/pytextile/Manifest
21 +++ b/app-text/pytextile/Manifest
22 @@ -1,3 +1,2 @@
23 DIST pytextile-2.3.3.tar.gz 42277 BLAKE2B a6e6e1d96695f3ada03f5da9bd8bd19b99da345d83c62b1d4f2e765303dfbbbee072da4611f1b29b46d28ed334373c809117940ff0c1238dea3b12fb9076656c SHA512 980c872bfdc056753fa5b344cbc828dbdc9ddfc2656f3cfb5c15b3351cfd9e4016f57af14b60af2f2764e556865301d7923a8f0687c5857fc2201bf10f56ab60
24 DIST pytextile-3.0.3.tar.gz 48560 BLAKE2B f8d3077e2b8e4de7157dcd9ed17f7889301946c2d3034dbbb0171b4930bd7268c65ce1f950552db2b783aa48acae639d5f4ccfcbca96807562b4a6377c3dd220 SHA512 142fe77c8858b0444428f9ca0f24d1a054a1566f85f00fd5cf860bb705a19666249cd03420d258d5acfc9f45052dd25e52767492a60a10d986d86b711b54612f
25 -DIST textile-2.1.8.tar.gz 34002 BLAKE2B 0f4643da3cf47cd9b27e7b3237c6eac8b951caab9f6f36da929e159d582ae9e8ac04b835bd9006d7392ed935a875e169eef276caa52e25d618cdeafa27cef626 SHA512 b1675a131b482f4926efb45312b16c722ff158d9296704918b56316d470056f986ce18d495525a8e9f236bdd62e09ca6a17b443a7db8c8c36e5d05fcffce67da
26
27 diff --git a/app-text/pytextile/files/pytextile-2.1.8-sanitizer.patch b/app-text/pytextile/files/pytextile-2.1.8-sanitizer.patch
28 deleted file mode 100644
29 index 1a9e696f21e..00000000000
30 --- a/app-text/pytextile/files/pytextile-2.1.8-sanitizer.patch
31 +++ /dev/null
32 @@ -1,15 +0,0 @@
33 -https://github.com/textile/python-textile/commit/83c81db387fa5f0c5ca25c27b8bc36d105bce599
34 -diff --git a/textile/tools/sanitizer.py b/textile/tools/sanitizer.py
35 -index 83b6799..4fc8fb2 100644
36 ---- a/textile/tools/sanitizer.py
37 -+++ b/textile/tools/sanitizer.py
38 -@@ -12,7 +12,7 @@ def sanitize(string):
39 - p = html5lib.HTMLParser(tokenizer=sanitizer.HTMLSanitizer)
40 - tree = p.parseFragment(string)
41 -
42 -- walker = treewalkers.getTreeWalker("simpletree")
43 -+ walker = treewalkers.getTreeWalker("etree")
44 - stream = walker(tree)
45 -
46 - s = serializer.htmlserializer.HTMLSerializer(omit_optional_tags=False,
47 -
48
49 diff --git a/app-text/pytextile/pytextile-2.1.8.ebuild b/app-text/pytextile/pytextile-2.1.8.ebuild
50 deleted file mode 100644
51 index 583464ba033..00000000000
52 --- a/app-text/pytextile/pytextile-2.1.8.ebuild
53 +++ /dev/null
54 @@ -1,38 +0,0 @@
55 -# Copyright 1999-2017 Gentoo Foundation
56 -# Distributed under the terms of the GNU General Public License v2
57 -
58 -EAPI=5
59 -PYTHON_COMPAT=( python{2_7,3_4} pypy )
60 -
61 -inherit distutils-r1
62 -
63 -MY_PN="textile"
64 -MY_P="${MY_PN}-${PV}"
65 -
66 -DESCRIPTION="A Python port of Textile, A humane web text generator"
67 -HOMEPAGE="https://github.com/ikirudennis/python-textile"
68 -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
69 -
70 -LICENSE="BSD"
71 -SLOT="0"
72 -KEYWORDS="amd64 ppc ppc64 sparc x86 ~x86-fbsd"
73 -IUSE="test"
74 -
75 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
76 - test? ( dev-python/nose[${PYTHON_USEDEP}] )"
77 -
78 -RDEPEND=""
79 -
80 -S="${WORKDIR}/${MY_P}"
81 -
82 -PATCHES=( "${FILESDIR}"/${P}-sanitizer.patch )
83 -
84 -python_prepare_all() {
85 - # This resolves a nasty race condition noted and observed by Arfrever
86 - sed -e 's:with-id = 1::' -i setup.cfg || die
87 - distutils-r1_python_prepare_all
88 -}
89 -
90 -python_test() {
91 - nosetests textile/tests/ || die "Tests failed under ${EPYTHON}"
92 -}