1 |
commit: 395167a0cd3e6183da3d09fe4a6eaebf8003bd38 |
2 |
Author: Virgil Dupras <vdupras <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 5 15:52:26 2018 +0000 |
4 |
Commit: Virgil Dupras <vdupras <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 5 15:52:26 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=395167a0 |
7 |
|
8 |
dev-python/bleach: bump to 3.0.0 |
9 |
|
10 |
Signed-off-by: Virgil Dupras <vdupras <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.50, Repoman-2.3.11 |
12 |
|
13 |
dev-python/bleach/Manifest | 1 + |
14 |
dev-python/bleach/bleach-3.0.0.ebuild | 27 +++++++++++++++++++++++++++ |
15 |
2 files changed, 28 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/bleach/Manifest b/dev-python/bleach/Manifest |
18 |
index c8b2e1df787..7236b1c26f2 100644 |
19 |
--- a/dev-python/bleach/Manifest |
20 |
+++ b/dev-python/bleach/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST bleach-1.5.0.tar.gz 36502 BLAKE2B a56eb875a5becd21f7ff71a29db8178a7536a7aadfe81fe178360ba61ba599df9d4d9a782bbf72eb186b61a0b2e3f99058c483cc0d194e735a787319697c7327 SHA512 572a089691af61f096716d96517a96755fe674cc471bdbcff80615ae903eaeff72c47b918ee28a1db60ee5c0253c0c52ba02544f8535ae4f283a3a87a3061124 |
23 |
DIST bleach-2.1.1.tar.gz 58491 BLAKE2B bd1efbfa30cee61b5d8bfd029ff107ddc997d38139bf5b25a70a6731193f6d02a81e1e49c9ffe3eef6cbda864464108cb1f65599c68c48f1033ced27fdb65c29 SHA512 dc8ef7b678966bfebddb2d27c78abf50e71f2d90c5807cf788a08b852a085a4d990368da5dfb5f61a49e0f2f1e7d9ac73c2b6967fdacb55663ae2c339016d4c2 |
24 |
DIST bleach-2.1.3.tar.gz 60141 BLAKE2B 5c04269266007e31e1a01540198177afb6b13362b89815073b7cd68668da26725f2631defdb26d124ae6c74743de0d31b2975a0d19f58e032ac2332e3ea46a75 SHA512 ff74fb3646709f20c79ea02e6d0fb93e2f204d3151a05f259b703050c10d410859af76acb470405f6fb7b55c8fb64595e6f0fcf8e9cb8fd3fc3722fa30a47de5 |
25 |
+DIST bleach-3.0.0.tar.gz 164459 BLAKE2B a9e873428cf629dc98c8adf56ad8a45f63e355ffb5eb495df4d452106e77a5919c90e2f1651f671e8807e0dddbdb7543fbd4c78fd95afad4cf8cee68e7a797d8 SHA512 7bc13af18baed440c0ce39f8caf7a14fc7264aba8a14a1999334d1ddd78183a0f84a17b3f2088453ee20d4873162f2a8cbd273e6f881201744b2a0f47805839e |
26 |
|
27 |
diff --git a/dev-python/bleach/bleach-3.0.0.ebuild b/dev-python/bleach/bleach-3.0.0.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..71d5a9790dc |
30 |
--- /dev/null |
31 |
+++ b/dev-python/bleach/bleach-3.0.0.ebuild |
32 |
@@ -0,0 +1,27 @@ |
33 |
+# Copyright 1999-2018 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} pypy{,3} ) |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="an easy whitelist-based HTML-sanitizing tool" |
42 |
+HOMEPAGE="https://github.com/mozilla/bleach https://pypi.org/project/bleach/" |
43 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="Apache-2.0" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd" |
48 |
+IUSE="test" |
49 |
+ |
50 |
+RDEPEND=" |
51 |
+ dev-python/six[${PYTHON_USEDEP}] |
52 |
+ dev-python/webencodings[${PYTHON_USEDEP}]" |
53 |
+BDEPEND=" |
54 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
55 |
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] )" |
56 |
+ |
57 |
+python_test() { |
58 |
+ pytest -v || die "tests failed under ${EPYTHON}" |
59 |
+} |