Gentoo Archives: gentoo-commits

From: Virgil Dupras <vdupras@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/bleach/
Date: Thu, 17 Jan 2019 16:24:59
Message-Id: 1547742133.9956f2c1b001d13983e46cfd0ab53c7dd39b7769.vdupras@gentoo
1 commit: 9956f2c1b001d13983e46cfd0ab53c7dd39b7769
2 Author: Virgil Dupras <vdupras <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 17 16:22:13 2019 +0000
4 Commit: Virgil Dupras <vdupras <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 17 16:22:13 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9956f2c1
7
8 dev-python/bleach: bump to 3.1.0
9
10 Signed-off-by: Virgil Dupras <vdupras <AT> gentoo.org>
11 Package-Manager: Portage-2.3.51, Repoman-2.3.11
12
13 dev-python/bleach/Manifest | 1 +
14 dev-python/bleach/bleach-3.1.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 debd3937643..69c558c4702 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.3.tar.gz 60141 BLAKE2B 5c04269266007e31e1a01540198177afb6b13362b89815073b7cd68668da26725f2631defdb26d124ae6c74743de0d31b2975a0d19f58e032ac2332e3ea46a75 SHA512 ff74fb3646709f20c79ea02e6d0fb93e2f204d3151a05f259b703050c10d410859af76acb470405f6fb7b55c8fb64595e6f0fcf8e9cb8fd3fc3722fa30a47de5
24 DIST bleach-3.0.2.tar.gz 165682 BLAKE2B 26dfca08732af9eb11a27e1913ad1ed76454950d902d8f0dfd4a816dfe972d2280a29fcb7ba6c021938863f92d20d6ee3bb5ea64ee0b1f52e62cdbe12aebe009 SHA512 f5a6537c5b048a23b7834f27e30413517f82082f2abc4ad26c16a3aa4486545beec5394d2b759e82022f4cb8915e4034d8cd3383e41a3772a73f3858c283c155
25 +DIST bleach-3.1.0.tar.gz 167814 BLAKE2B 386d483ec9554d0436eeda70a5f558ca2191914ed90ddbfa00ae887e682505d1b84f511d21be7eceb8c98422a4dbb25ee32af49edc4b811e3816aaf9161fa4c4 SHA512 8db3a54b68fa66a07a3b4b90481557aac06e7783f9c72035a6f037909017354718b67b64153e1cd50cb2c821174b8282837c4c3e667878041a68703b141b2969
26
27 diff --git a/dev-python/bleach/bleach-3.1.0.ebuild b/dev-python/bleach/bleach-3.1.0.ebuild
28 new file mode 100644
29 index 00000000000..70494f99846
30 --- /dev/null
31 +++ b/dev-python/bleach/bleach-3.1.0.ebuild
32 @@ -0,0 +1,27 @@
33 +# Copyright 1999-2019 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 ~s390 ~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 +}