bump(dev-python/markupsafe): sync with upstream

This commit is contained in:
David Michael 2017-05-03 19:56:54 -07:00
parent 615328184c
commit 414ea18914
14 changed files with 60 additions and 567 deletions

View File

@ -1,176 +0,0 @@
# ChangeLog for dev-python/markupsafe
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/markupsafe/ChangeLog,v 1.49 2013/08/04 13:42:23 ago Exp $
04 Aug 2013; Agostino Sarubbo <ago@gentoo.org> markupsafe-0.15-r1.ebuild:
Stable for ppc64, wrt bug #477970
28 Jul 2013; Agostino Sarubbo <ago@gentoo.org> markupsafe-0.15-r1.ebuild:
Stable for ppc, wrt bug #477970
*markupsafe-0.18 (28 May 2013)
28 May 2013; Ian Delaney <idella4@gentoo.org>
+files/markupsafe-0.18-py3compat.patch, +markupsafe-0.18.ebuild,
markupsafe-0.12.ebuild:
bump, add patch to fix py3 support, fixes Bug #470952
02 Feb 2013; Agostino Sarubbo <ago@gentoo.org> markupsafe-0.15-r1.ebuild:
Stable for x86, wrt bug #454314
02 Feb 2013; Agostino Sarubbo <ago@gentoo.org> markupsafe-0.15-r1.ebuild:
Stable for amd64, wrt bug #454314
13 Jan 2013; Michał Górny <mgorny@gentoo.org> markupsafe-0.15-r1.ebuild:
Enable pypy2.0.
*markupsafe-0.15-r1 (19 Dec 2012)
19 Dec 2012; Michał Górny <mgorny@gentoo.org> +markupsafe-0.15-r1.ebuild:
Migrate to distutils-r1.
09 May 2012; Alexis Ballier <aballier@gentoo.org> markupsafe-0.15.ebuild:
keyword ~amd64-fbsd
25 Feb 2012; Marien Zwart <marienz@gentoo.org> markupsafe-0.15.ebuild:
Unrestrict pypy, just disable speedups on non-CPython. Thanks to Arfrever on
freenode for reporting.
20 Feb 2012; Patrick Lauer <patrick@gentoo.org> markupsafe-0.12.ebuild,
markupsafe-0.15.ebuild:
Restricting pypy #404047
13 Feb 2012; Kacper Kowalik <xarthisius@gentoo.org> markupsafe-0.15.ebuild:
ppc64 stable wrt #386053
01 Feb 2012; Brent Baude <ranger@gentoo.org> markupsafe-0.15.ebuild:
Marking markupsafe-0.15 ppc for bug 386053
23 Oct 2011; Raúl Porcel <armin76@gentoo.org> markupsafe-0.15.ebuild:
alpha/ia64/s390/sh/sparc stable wrt #386053
17 Oct 2011; Jeroen Roovers <jer@gentoo.org> markupsafe-0.15.ebuild:
Stable for HPPA (bug #386053).
15 Oct 2011; Markus Meier <maekke@gentoo.org> markupsafe-0.15.ebuild:
arm stable, bug #386053
13 Oct 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org> markupsafe-0.15.ebuild:
x86 stable wrt bug #386053
11 Oct 2011; Naohiro Aota <naota@gentoo.org> markupsafe-0.15.ebuild:
Add ~x86-fbsd
09 Oct 2011; Markos Chandras <hwoarang@gentoo.org> markupsafe-0.15.ebuild:
Stable on amd64 wrt bug #386053
22 Aug 2011; Markus Duft <mduft@gentoo.org> markupsafe-0.15.ebuild:
keyworded ~x86-interix
*markupsafe-0.15 (08 Aug 2011)
08 Aug 2011; Dirkjan Ochtman <djc@gentoo.org> +markupsafe-0.15.ebuild:
Version bump to 0.15.
29 Apr 2011; Samuli Suominen <ssuominen@gentoo.org> markupsafe-0.12.ebuild:
ppc64 stable wrt #360349
23 Apr 2011; Raúl Porcel <armin76@gentoo.org> markupsafe-0.12.ebuild:
ia64/s390/sh/sparc stable wrt #360349
14 Apr 2011; Brent Baude <ranger@gentoo.org> markupsafe-0.12.ebuild:
stable ppc, bug 360349
10 Apr 2011; Markus Meier <maekke@gentoo.org> markupsafe-0.12.ebuild:
arm stable, bug #360349
30 Mar 2011; Jeroen Roovers <jer@gentoo.org> markupsafe-0.12.ebuild:
Stable for HPPA (bug #360349).
28 Mar 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org>
markupsafe-0.12.ebuild:
x86 stable wrt bug #360349
27 Mar 2011; Tobias Klausmann <klausman@gentoo.org> markupsafe-0.12.ebuild:
Stable on alpha, bug #360349
24 Mar 2011; Christoph Mende <angelos@gentoo.org> markupsafe-0.12.ebuild:
Stable on amd64 wrt bug #360349
*markupsafe-0.12 (17 Feb 2011)
17 Feb 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+markupsafe-0.12.ebuild:
Version bump.
13 Feb 2011; Fabian Groffen <grobian@gentoo.org> markupsafe-0.11.ebuild:
Marked ~sparc-solaris and ~sparc64-solaris
27 Dec 2010; Brent Baude <ranger@gentoo.org> markupsafe-0.11.ebuild:
Marking markupsafe-0.11 ppc64 for bug 341165
18 Dec 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
-markupsafe-0.9.2.ebuild:
Delete.
18 Dec 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
markupsafe-0.11.ebuild:
Fix building with Jython.
27 Nov 2010; Raúl Porcel <armin76@gentoo.org> markupsafe-0.11.ebuild:
alpha/ia64/s390/sh/sparc stable wrt #341165
24 Oct 2010; Markus Meier <maekke@gentoo.org> markupsafe-0.11.ebuild:
arm stable, bug #341165
21 Oct 2010; Jeroen Roovers <jer@gentoo.org> markupsafe-0.11.ebuild:
Stable for HPPA (bug #341165).
20 Oct 2010; Brent Baude <ranger@gentoo.org> markupsafe-0.11.ebuild:
stable ppc, bug 341165
18 Oct 2010; Jeroen Roovers <jer@gentoo.org> markupsafe-0.9.2.ebuild,
markupsafe-0.11.ebuild:
Marked ~hppa (bug #337663).
16 Oct 2010; Markos Chandras <hwoarang@gentoo.org> markupsafe-0.11.ebuild:
Stable on amd64 wrt bug #341165
16 Oct 2010; Dane Smith <c1pher@gentoo.org> markupsafe-0.11.ebuild:
x86 stable wrt bug 341165.
13 Oct 2010; Markus Meier <maekke@gentoo.org> markupsafe-0.9.2.ebuild:
arm stable, bug #338913
12 Oct 2010; Raúl Porcel <armin76@gentoo.org> markupsafe-0.9.2.ebuild,
markupsafe-0.11.ebuild:
Add ~alpha/~ia64/~s390/~sh/~sparc wrt #337663
08 Oct 2010; Mart Raudsepp <leio@gentoo.org> markupsafe-0.11.ebuild:
Add ~mips keyword.
28 Sep 2010; Brent Baude <ranger@gentoo.org> markupsafe-0.9.2.ebuild:
stable ppc, bug 329785
*markupsafe-0.11 (16 Sep 2010)
16 Sep 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+markupsafe-0.11.ebuild:
Version bump.
31 Jul 2010; Markos Chandras <hwoarang@gentoo.org>
markupsafe-0.9.2.ebuild:
Stable on amd64 wrt bug #329785
26 Jul 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org>
markupsafe-0.9.2.ebuild:
x86 stable wrt bug #329785
07 Jul 2010; Jeremy Olexa <darkside@gentoo.org> markupsafe-0.9.2.ebuild:
Add Gentoo Prefix keywords as tested in bug 327307
*markupsafe-0.9.2 (24 Jun 2010)
24 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+markupsafe-0.9.2.ebuild, +metadata.xml:
Initial addition. Ebuild written by me.

View File

@ -1,30 +1,5 @@
-----BEGIN PGP SIGNED MESSAGE----- DIST MarkupSafe-0.23.tar.gz 13416 SHA256 a4ec1aff59b95a14b45eb2e23761a0179e98319da5a7eb76b56ea8cdc7b871c3 SHA512 4f1fd91ced5e7119584b56cf7b69cfe6fdd9613bd77412368a38e9ef5d1011ba5c76d1d3a0da3d60f9f474627e6c8c8b613a80a668b32d212f09072f8b1f5b28 WHIRLPOOL 8104a8a795ed2e6b63a126fcbe2c8361ba21f9fee10e00f2b80aeafc55ea52daaf03b849d0ddbcbe5c244dbfef744c6e30f0c4681bc9108e2791afd438fba8d1
Hash: SHA512 EBUILD markupsafe-0.23.ebuild 918 SHA256 9ac94699170832cb4013fd9bcdaa480cbdcdf7baf934501714398d7e27dabae9 SHA512 8144ce800412a6341b914b8fc028272e97defa26f39f0339c628fc1adfd1e774696809e36c1ac7d76f18040d7e376a268102ce8416b26de252f6410a6be041b9 WHIRLPOOL d6c4a242d8804e9bf2552f132719f98139832fdc318983e7bf3446eee0ebc43edf1ed83651e6fb30c58ff87f2672791b63d83bb83fceb4552d435a6128b11805
MISC ChangeLog 3332 SHA256 b4a5c1d3f2324b7003a05fbb888b9c9d07a817d891870542bd057929207442b5 SHA512 ceb17a7594c5c97bd80ab06a71e4749f67dd2a87cdf2de2b2aa69a6a8a68fd1c858109db848736400afff112408b8d13bb98000f4bd57f05851d16bb4448b425 WHIRLPOOL 32d27cf046e56e9538ff470b3635f51827602af9aef8ec98529fa180d54402dce0d5bce2a854763bb5ab5c0b22bca62d33f92aa3a743d017a9c5c2a49b773e29
AUX markupsafe-0.18-py3compat.patch 4827 SHA256 7f9ff76d1e7fc2a298726aa623e9eb1b9fdba494a5cccda575937dfc027cce48 SHA512 bdd0541d1e217b382d4186e73c52dff551a610e662f32da01843fb462d2e13b0dc262715fec1b835ecb3f06a778224a889d1346fef201d742ded4a7d45c7c9d5 WHIRLPOOL 92d6542ad1125268ec3cfcb559c4493cc3a1c91ffad88a6c9d74d2843f233a7ba2ef711d97b0a7643b6d0877995f63dfce84cbbb6c863146d36121d0967e9f66 MISC ChangeLog-2015 9391 SHA256 5486ff04c2225cc24d554670e28a034cb263e05e058def4f1d4f23f22a69c423 SHA512 2e1e20f6b8e3bd33771d6ac12d33629366be7bc639893ee1a3ee838bb22d54b368490a27c965109eea11c2827dfcb0f1c0c7e0214446f497973335f437eca6a2 WHIRLPOOL 3bed3f23c4f21264811115290a63e73270f124d70369b5a6c55e2531c04c85095571b431c49fd03a87fac0711cb2ca7e8944570599b711398b78f9a228c2a337
DIST MarkupSafe-0.12.tar.gz 10939 SHA256 2670f759d00b3df50625b493b7bd20f808024dab278eecc2c8b890b4e8083757 SHA512 41a566ab39a494154c8b3bcdf8a4f1d4a028ec2982a24e9e0598dd4a13241f4fe77af22926627b0ec9437a4d214813f4ec5395243b6c4137b0a50d7fbe877076 WHIRLPOOL 682d12aa314515f25895b00a9dad66c0e117384a6e8e921b51750e679aa6ea9708b6cffe1f85a7380c1c96b419ece529f97455c13f3007e45b2e11f90cd9f276 MISC metadata.xml 313 SHA256 bd7bca239f283de142b125702c16b54fb92f8ca0b20300073be68d2dabe01655 SHA512 91b859646ec529ca9b646ac0a6526554de887d6aca353069dd00a6b01dcd2b5765a7b1a1e02c8b52bd50ea67f1476cc2dce086651ee46f7c575c56d1ab7f4c8d WHIRLPOOL 74bf4b60018d6fc2dad0ecddfca7938769032ed0052e233cf4e9a5a18afbe7be4b295ad054eeb4e0db812a43e26906a881df63824ade1a0c9efb8bfa67b34c52
DIST MarkupSafe-0.15.tar.gz 11265 SHA256 339ec04d20ad9cdccbfe9f38dce6182cc504ce789e5d0f9647eaa752f0f95300 SHA512 151f293272c41ea3d941c525bf5ec81faad8ad390e3d64691e6f73cba1428aaf949784a02996e1b782a6ff5311d13d7f1ea0fa5c2cce51e7c40c2fe98e32d7a4 WHIRLPOOL e7fc6be55ec1eea583b5ababf8b4e631dae4d3f9cc5eed56a7efff09ca03f3e76b9becb13ee165971e1220be304b8ba23cae3af560e812507da3a94f33a50d44
DIST MarkupSafe-0.18.tar.gz 11748 SHA256 b7d5d688bdd345bfa897777d297756688cf02e1b3742c56885e2e5c2b996ff82 SHA512 0438ddf0fdab465c40d9afba8c14ad346be0868df654c11130d05e329992d456a9bc278551970cbd09244a29c77213885d0c363c951b0cfd4d9aa95b248ecff5 WHIRLPOOL 5254f021625fcbf45c3bf94f10a69149a248ae316d0f2f58b34ae008f66bac276d033057dd4f10b79873a4fbcadbd1796afae53fba67593a6cc370e43d34b845
EBUILD markupsafe-0.12.ebuild 1237 SHA256 9f74653a6e35ecedd51630d0e48308056e42eff99bd5943dfbaeae26a57752f1 SHA512 0db3f49ba34afb3c3f44f9b815308e95293f1da70437de5b42c5794c442f67ab0c72092b8db36ea0a124c7725ce651e04bdcffea03865af93d666cdc2afe71a2 WHIRLPOOL 1c7d0473e421f0baf2972ef87655865e82d8ab207c797048a2b9b2298fa1e377d2c969daf38d48e77598f75f1bd71c61f0b4868ed0d97501ebc3144988ebc040
EBUILD markupsafe-0.15-r1.ebuild 891 SHA256 e8630557c0fc1318bcd0ac988d7ddc74d0d24e9ae2fe88c7346400fe000084bf SHA512 3b92bc1ddba3fc4a06823326fd11ca8edbe9825723cfdeecd30b14bce95d038a1039a83df6faf1f3dc9ca4554db169199161af8fc0faa0c76914206f7e76123f WHIRLPOOL b2484e18c3ad9cff90d7cd54c653e0c42a55a31ec43239a6bac355b98369073278d118fab86f781093530e5a847c52c42b48c4f0ac2a34d7cd972dda41992412
EBUILD markupsafe-0.15.ebuild 1239 SHA256 8ba4f0d8e9880f53522e9d2ece3ebb74849f416393a16ddc9403e55fe0421a47 SHA512 c52735eefed94f1fcd0480ff5b1037a741df3be77b7521541491e97fc11e5cadf5ed9e36e5c58c1121670fb3b522bb32bc369af3e156dce5ad2f24044c8462c5 WHIRLPOOL 278b543fa4486f7f3c82eff17a0cc5e3ff80671a9b22bd9f175f04dd13175cb74826abdc435d9db416b6bcf5c68bae8b05ed9ec4f46d2c22c742408a9fc7171e
EBUILD markupsafe-0.18.ebuild 1016 SHA256 005fc4c3db021ca4628f54ed12cb973b62f280baca9a55beff99bbc2578f8bb8 SHA512 b40dfe0e7558c2f56d1a4e714050f139416a888f84d6e3578706a6586ac3ca72db7fe0240aeacf0cf05a56675fa5135509c5f98bcd2245e04f9077f71035f7f2 WHIRLPOOL c363b1bf64978c4f2a73206770e56e5310b98feb10b7d14e8a3b1d3cf9f93ce99fc2a3a1b5555a3e6bb01c05aafe24dd07cf20a9f393c8472d4d37dec2cd90aa
MISC ChangeLog 5996 SHA256 98c89d6e25b748035bca546e73f73e1e1a05b93b755b4f8238e22b2d19938f09 SHA512 c5b95628cf992f5611cf66d98d41ea72ad6f1569881fec0f98d0be4de7ab08059d2d9e63bd64ba4ec371bc787d716241a5f31cf875e897656aa55da443cfab70 WHIRLPOOL adbae399434a4afc070afd2d88b01ee9c9931692aded006bf7ec2c6754411ca5e9c5761138e8aa36c60702a604e1294a484aa57fb803f6c3aa917641ae4e08dd
MISC metadata.xml 233 SHA256 c688f03b5139f65be4363bc3f6dfc4a50a17c7a56c0760de8db2cdf2872b0919 SHA512 e3ee05a2dfbe9d69e22bf8827cbe2cf2ed1c5cff5d89b89a6b6919d298e42d30e0825860162959e30469dab3c35d0f173be3c19b249708573a303849dbb83390 WHIRLPOOL ce7c805bdab146ea06e863d75badedb752db7ca4d750ef628468aa1b3f05679e39707fcdb914816bfdea7ab17defe4243a5836d44c920bcdd9a225168c9d5dae
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)
iQIcBAEBCgAGBQJR/ll/AAoJELp701BxlEWfEuEP/0Mf9c7fEnjnOy7Hc76EBYbO
e8SRUxE6sg4AXWM96FPL/ENk1GzYZuC4rFKjxIUsOHbC61VJxkA4tfgId9Th1hJu
XY2p9/0NoMDPrYb8nsxSftC/+MkE5xF5U5nl+xc9HyN+O6e1+PWbmb31nDdDTa/O
mm/5mQj0qjJl2rPyP02CyhYOh0TkPIf1VAgRJgkDJLWR4n3GSCYkDpKltyRtFamG
rI18ZIqv392NnWg8lPkHFDdf9RTNSAcfq5wQg9gI0zdBL+adqwLYln/FylhxcdkR
+UU8xBKLrU+z0xhevjnkzd0qbs9yC9sB4WK7UTefl5PWyM/8oFUHskY2vYVD1jUm
LSB9oItyh+Hn2ahHSa7CxG9bhv8KXdZFjCh2o4Ie3tvmePjKI/OqbTGnTGc+3+lm
8yDVTaD/XcV4bhIcfP/yX99AcFFebYRtGRTrpVt6qiucVrgdpU7jKKhipAh8lCct
g1B9CNidFv0cCJ0XwOjULD7+ltwU3B2UMVO9F13wzdE9Qe5PZll3R9MJSzzVBu0d
SbB0kHuWgRi0U0KaEFby7ChiAcv1mjtTfkLx9O4LbhrPjNfXggpCaLkJ64T0emq3
zZtV0uWVRbnDUSLku4F/X5eGaX4G0xtsiW6esMaT+DTF9K95miUfBPktLM01cXmA
UfU619U5uJgJ8LE8/IWt
=K48g
-----END PGP SIGNATURE-----

View File

@ -1,142 +0,0 @@
https://github.com/tseaver/markupsafe/commit/553d9c3ba00e89967dfb608806f5703ef11c3f4c
diff --git a/CHANGES b/CHANGES
index 91a61c5..ec98481 100644
diff --git a/markupsafe/__init__.py b/markupsafe/__init__.py
index 25f00d3..902b2b2 100644
--- a/markupsafe/__init__.py
+++ b/markupsafe/__init__.py
@@ -10,12 +10,11 @@
"""
import re
from markupsafe._compat import text_type, string_types, int_types, \
- unichr, PY2
+ unichr, PY2, _EMPTY, _BLANK
__all__ = ['Markup', 'soft_unicode', 'escape', 'escape_silent']
-
_striptags_re = re.compile(r'(<!--.*?-->|<[^>]*>)')
_entity_re = re.compile(r'&([^;]+);')
@@ -65,7 +64,7 @@ class Markup(text_type):
"""
__slots__ = ()
- def __new__(cls, base=u'', encoding=None, errors='strict'):
+ def __new__(cls, base=_EMPTY, encoding=None, errors='strict'):
if hasattr(base, '__html__'):
base = base.__html__()
if encoding is None:
@@ -139,7 +138,7 @@ def handle_match(m):
return unichr(int(name[1:]))
except ValueError:
pass
- return u''
+ return _EMPTY
return _entity_re.sub(handle_match, text_type(self))
def striptags(self):
@@ -150,7 +149,7 @@ def striptags(self):
>>> Markup("Main &raquo; <em>About</em>").striptags()
u'Main \xbb About'
"""
- stripped = u' '.join(_striptags_re.sub('', self).split())
+ stripped = _BLANK.join(_striptags_re.sub('', self).split())
return Markup(stripped).unescape()
@classmethod
diff --git a/markupsafe/_compat.py b/markupsafe/_compat.py
index 29e4a3d..0cc647e 100644
--- a/markupsafe/_compat.py
+++ b/markupsafe/_compat.py
@@ -17,8 +17,18 @@
string_types = (str,)
unichr = chr
int_types = (int,)
+
+ def _u(s):
+ return s
+
else:
text_type = unicode
string_types = (str, unicode)
unichr = unichr
int_types = (int, long)
+
+ def _u(s):
+ return unicode(s, 'unicode_escape')
+
+_EMPTY = _u('')
+_BLANK = _u(' ')
diff --git a/markupsafe/tests.py b/markupsafe/tests.py
index b34cc6e..f2f71a4 100644
--- a/markupsafe/tests.py
+++ b/markupsafe/tests.py
@@ -2,7 +2,7 @@
import gc
import unittest
from markupsafe import Markup, escape, escape_silent
-from markupsafe._compat import text_type
+from markupsafe._compat import text_type, _u
class MarkupTestCase(unittest.TestCase):
@@ -48,16 +48,16 @@ def test_tuple_interpol(self):
self.assertEqual(Markup('<em>%s:%s</em>') % (
'<foo>',
'<bar>',
- ), Markup(u'<em>&lt;foo&gt;:&lt;bar&gt;</em>'))
+ ), Markup(_u('<em>&lt;foo&gt;:&lt;bar&gt;</em>')))
def test_dict_interpol(self):
self.assertEqual(Markup('<em>%(foo)s</em>') % {
'foo': '<foo>',
- }, Markup(u'<em>&lt;foo&gt;</em>'))
+ }, Markup(_u('<em>&lt;foo&gt;</em>')))
self.assertEqual(Markup('<em>%(foo)s:%(bar)s</em>') % {
'foo': '<foo>',
'bar': '<bar>',
- }, Markup(u'<em>&lt;foo&gt;:&lt;bar&gt;</em>'))
+ }, Markup(_u('<em>&lt;foo&gt;:&lt;bar&gt;</em>')))
def test_escaping(self):
# escaping and unescaping
@@ -73,7 +73,7 @@ def test_all_set(self):
def test_escape_silent(self):
assert escape_silent(None) == Markup()
assert escape(None) == Markup(None)
- assert escape_silent('<foo>') == Markup(u'&lt;foo&gt;')
+ assert escape_silent('<foo>') == Markup(_u('&lt;foo&gt;'))
def test_splitting(self):
self.assertEqual(Markup('a b').split(), [
@@ -101,8 +101,8 @@ def test_markup_leaks(self):
for item in range(1000):
escape("foo")
escape("<foo>")
- escape(u"foo")
- escape(u"<foo>")
+ escape(_u("foo"))
+ escape(_u("<foo>"))
counts.add(len(gc.get_objects()))
assert len(counts) == 1, 'ouch, c extension seems to leak objects'
diff --git a/setup.py b/setup.py
index a5ca3ef..cac6084 100644
--- a/setup.py
+++ b/setup.py
@@ -81,7 +81,12 @@ def run_setup(with_binary):
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
+ 'Programming Language :: Python :: 2',
+ 'Programming Language :: Python :: 2.6',
+ 'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
+ 'Programming Language :: Python :: 3.2',
+ 'Programming Language :: Python :: 3.3',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Text Processing :: Markup :: HTML'

View File

@ -1,52 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/markupsafe/markupsafe-0.12.ebuild,v 1.11 2013/05/28 07:44:44 idella4 Exp $
EAPI="3"
SUPPORT_PYTHON_ABIS="1"
DISTUTILS_SRC_TEST="setup.py"
RESTRICT_PYTHON_ABIS="2.7-pypy-*"
inherit distutils
MY_PN="MarkupSafe"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Implements a XML/HTML/XHTML Markup safe string for Python"
HOMEPAGE="http://pypi.python.org/pypi/MarkupSafe"
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris"
IUSE=""
DEPEND="dev-python/setuptools"
RDEPEND=""
S="${WORKDIR}/${MY_P}"
set_global_options() {
if [[ "$(python_get_implementation)" != "Jython" ]]; then
DISTUTILS_GLOBAL_OPTIONS=("--with-speedups")
else
DISTUTILS_GLOBAL_OPTIONS=()
fi
}
distutils_src_compile_pre_hook() {
set_global_options
}
distutils_src_test_pre_hook() {
set_global_options
}
distutils_src_install_pre_hook() {
set_global_options
}
src_install() {
distutils_src_install
python_clean_installation_image
}

View File

@ -1,29 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/markupsafe/markupsafe-0.15-r1.ebuild,v 1.6 2013/08/04 13:42:23 ago Exp $
EAPI=5
PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2,3_3} pypy{1_8,1_9,2_0} )
inherit distutils-r1
MY_PN="MarkupSafe"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Implements a XML/HTML/XHTML Markup safe string for Python"
HOMEPAGE="http://pypi.python.org/pypi/MarkupSafe"
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris"
IUSE=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND=""
S=${WORKDIR}/${MY_P}
python_test() {
esetup.py test
}

View File

@ -1,51 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/markupsafe/markupsafe-0.15.ebuild,v 1.13 2012/05/09 00:11:59 aballier Exp $
EAPI="3"
SUPPORT_PYTHON_ABIS="1"
DISTUTILS_SRC_TEST="setup.py"
inherit distutils
MY_PN="MarkupSafe"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Implements a XML/HTML/XHTML Markup safe string for Python"
HOMEPAGE="http://pypi.python.org/pypi/MarkupSafe"
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris"
IUSE=""
DEPEND="dev-python/setuptools"
RDEPEND=""
S="${WORKDIR}/${MY_P}"
set_global_options() {
if [[ "$(python_get_implementation)" = "CPython" ]]; then
DISTUTILS_GLOBAL_OPTIONS=("--with-speedups")
else
DISTUTILS_GLOBAL_OPTIONS=()
fi
}
distutils_src_compile_pre_hook() {
set_global_options
}
distutils_src_test_pre_hook() {
set_global_options
}
distutils_src_install_pre_hook() {
set_global_options
}
src_install() {
distutils_src_install
python_clean_installation_image
}

View File

@ -1,34 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/markupsafe/markupsafe-0.18.ebuild,v 1.1 2013/05/28 07:44:44 idella4 Exp $
EAPI=5
PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2,3_3} pypy{1_8,1_9,2_0} )
inherit distutils-r1
MY_PN="MarkupSafe"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Implements a XML/HTML/XHTML Markup safe string for Python"
HOMEPAGE="http://pypi.python.org/pypi/MarkupSafe"
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris"
IUSE=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND=""
S=${WORKDIR}/${MY_P}
python_prepare_all() {
local PATCHES="${FILESDIR}"/markupsafe-0.18-py3compat.patch
distutils-r1_python_prepare_all
}
python_test() {
esetup.py test
}

View File

@ -0,0 +1,37 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
inherit distutils-r1
MY_PN="MarkupSafe"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Implements a XML/HTML/XHTML Markup safe string for Python"
HOMEPAGE="https://pypi.python.org/pypi/MarkupSafe"
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris"
IUSE=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND=""
S=${WORKDIR}/${MY_P}
DISTUTILS_IN_SOURCE_BUILD=1
python_compile() {
distutils-r1_python_compile
if [[ ${EPYTHON} == python3.2 ]]; then
2to3 --no-diffs -n -w -f unicode ${PN} || die
fi
}
python_test() {
esetup.py test
}

View File

@ -1,7 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata> <pkgmetadata>
<herd>python</herd> <maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<upstream> <upstream>
<remote-id type="pypi">MarkupSafe</remote-id> <remote-id type="pypi">MarkupSafe</remote-id>
</upstream> </upstream>

View File

@ -1,12 +0,0 @@
DEFINED_PHASES=compile install postinst postrm prepare test
DEPEND=dev-python/setuptools dev-lang/python
DESCRIPTION=Implements a XML/HTML/XHTML Markup safe string for Python
EAPI=3
HOMEPAGE=http://pypi.python.org/pypi/MarkupSafe
KEYWORDS=alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris
LICENSE=BSD
RDEPEND=dev-lang/python
SLOT=0
SRC_URI=mirror://pypi/M/MarkupSafe/MarkupSafe-0.12.tar.gz
_eclasses_=distutils ad9e4720eb3e69090dd968b152fc611b multilib 165fc17c38d1b11dac2008280dab6e80 python efc1c55fc44c5b7272fc2ffba73c3e6f toolchain-funcs 1b1da0c45c555989dc5d832b54880783
_md5_=c191e88e3a93c1cad245c611d450ff58

View File

@ -1,12 +0,0 @@
DEFINED_PHASES=compile install postinst postrm prepare test
DEPEND=dev-python/setuptools dev-lang/python
DESCRIPTION=Implements a XML/HTML/XHTML Markup safe string for Python
EAPI=3
HOMEPAGE=http://pypi.python.org/pypi/MarkupSafe
KEYWORDS=alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris
LICENSE=BSD
RDEPEND=dev-lang/python
SLOT=0
SRC_URI=mirror://pypi/M/MarkupSafe/MarkupSafe-0.15.tar.gz
_eclasses_=distutils ad9e4720eb3e69090dd968b152fc611b multilib 165fc17c38d1b11dac2008280dab6e80 python efc1c55fc44c5b7272fc2ffba73c3e6f toolchain-funcs 1b1da0c45c555989dc5d832b54880783
_md5_=dd64fbe7f9c2d9102da63c5ec8eea4f1

View File

@ -1,14 +0,0 @@
DEFINED_PHASES=compile configure install prepare test
DEPEND=dev-python/setuptools[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)]
DESCRIPTION=Implements a XML/HTML/XHTML Markup safe string for Python
EAPI=5
HOMEPAGE=http://pypi.python.org/pypi/MarkupSafe
IUSE=python_targets_python2_7
KEYWORDS=~alpha amd64 ~arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris
LICENSE=BSD
RDEPEND=python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)]
REQUIRED_USE=|| ( python_targets_python2_7 )
SLOT=0
SRC_URI=mirror://pypi/M/MarkupSafe/MarkupSafe-0.15.tar.gz
_eclasses_=distutils-r1 f1707af2d2ad4cf700a9e690de6ed855 eutils ea170b525f6a38a006be05c9d9429f13 multibuild 742139c87a9fa3766f0c2b155e5522bf multilib 165fc17c38d1b11dac2008280dab6e80 multiprocessing eb9be4b678c4e71f3f530a767df31912 python-r1 dcd61d7a5c283f18cfe763552b09eb88 python-utils-r1 d275302cd06aedef2ba08f81f3104206 toolchain-funcs 1b1da0c45c555989dc5d832b54880783 xdg-utils e2b2bd56125ce8cf59ce30c642b59d48
_md5_=dad3abf948e2470d862dc23a18fa847c

View File

@ -1,14 +0,0 @@
DEFINED_PHASES=compile configure install prepare test
DEPEND=dev-python/setuptools[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)]
DESCRIPTION=Implements a XML/HTML/XHTML Markup safe string for Python
EAPI=5
HOMEPAGE=http://pypi.python.org/pypi/MarkupSafe
IUSE=python_targets_python2_7
KEYWORDS=~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris
LICENSE=BSD
RDEPEND=python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)]
REQUIRED_USE=|| ( python_targets_python2_7 )
SLOT=0
SRC_URI=mirror://pypi/M/MarkupSafe/MarkupSafe-0.18.tar.gz
_eclasses_=distutils-r1 f1707af2d2ad4cf700a9e690de6ed855 eutils ea170b525f6a38a006be05c9d9429f13 multibuild 742139c87a9fa3766f0c2b155e5522bf multilib 165fc17c38d1b11dac2008280dab6e80 multiprocessing eb9be4b678c4e71f3f530a767df31912 python-r1 dcd61d7a5c283f18cfe763552b09eb88 python-utils-r1 d275302cd06aedef2ba08f81f3104206 toolchain-funcs 1b1da0c45c555989dc5d832b54880783 xdg-utils e2b2bd56125ce8cf59ce30c642b59d48
_md5_=60241aba9e70be8171db47720484ab37

View File

@ -0,0 +1,14 @@
DEFINED_PHASES=compile configure install prepare test
DEPEND=dev-python/setuptools[python_targets_pypy(-)?,python_targets_pypy3(-)?,python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)] python_targets_pypy? ( >=virtual/pypy-5:0= ) python_targets_pypy3? ( >=virtual/pypy3-5:0= ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) python_targets_python3_6? ( dev-lang/python:3.6 ) >=dev-lang/python-exec-2:=[python_targets_pypy(-)?,python_targets_pypy3(-)?,python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)]
DESCRIPTION=Implements a XML/HTML/XHTML Markup safe string for Python
EAPI=5
HOMEPAGE=https://pypi.python.org/pypi/MarkupSafe
IUSE=python_targets_pypy python_targets_pypy3 python_targets_python2_7 python_targets_python3_4 python_targets_python3_5 python_targets_python3_6
KEYWORDS=alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris
LICENSE=BSD
RDEPEND=python_targets_pypy? ( >=virtual/pypy-5:0= ) python_targets_pypy3? ( >=virtual/pypy3-5:0= ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) python_targets_python3_6? ( dev-lang/python:3.6 ) >=dev-lang/python-exec-2:=[python_targets_pypy(-)?,python_targets_pypy3(-)?,python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)]
REQUIRED_USE=|| ( python_targets_pypy python_targets_pypy3 python_targets_python2_7 python_targets_python3_4 python_targets_python3_5 python_targets_python3_6 )
SLOT=0
SRC_URI=mirror://pypi/M/MarkupSafe/MarkupSafe-0.23.tar.gz
_eclasses_=distutils-r1 039ba10839816478cfb070fdeb053906 epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 9c113d6a64826c40154cad7be15d95ea ltprune 2770eed66a9b8ef944714cd0e968182e multibuild 72647e255187a1fadc81097b3657e5c3 multilib 0236be304ee52e7f179ed2f337075515 multiprocessing 284a473719153462f3e974d86c8cb81c python-r1 0c067f080a047742ffac024b16895b45 python-utils-r1 c11fc374357e6ad9ddfe2e9f931e4d29 toolchain-funcs 6eb35f81556258a4bc9182ad3dfd58ee xdg-utils b9389dfad0ee8f8e0b2a41b79fcf7120
_md5_=c42a776c86c266d1dc63cd8e304d6c38