diff options
author | Zac Medico <zmedico@gentoo.org> | 2017-05-08 19:07:19 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2017-05-08 19:07:19 -0700 |
commit | b2875c1a6004a19a174a1122af46cb518f932882 (patch) | |
tree | 2e7f9ee2af96ea9b5927cd2be4e9be0751c137a3 /dev-python/bleach | |
parent | dev-python/html5lib: version bump to 0.999999999 (diff) | |
download | gentoo-b2875c1a6004a19a174a1122af46cb518f932882.tar.gz gentoo-b2875c1a6004a19a174a1122af46cb518f932882.tar.bz2 gentoo-b2875c1a6004a19a174a1122af46cb518f932882.zip |
dev-python/bleach: version bump to 2.0.0
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'dev-python/bleach')
-rw-r--r-- | dev-python/bleach/Manifest | 1 | ||||
-rw-r--r-- | dev-python/bleach/bleach-2.0.0.ebuild | 29 |
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-python/bleach/Manifest b/dev-python/bleach/Manifest index 2d6d96648f09..69adfa9e1d6f 100644 --- a/dev-python/bleach/Manifest +++ b/dev-python/bleach/Manifest @@ -1 +1,2 @@ DIST bleach-1.5.0.tar.gz 36502 SHA256 978e758599b54cd3caa2e160d74102879b230ea8dc93871d0783721eef58bc65 SHA512 572a089691af61f096716d96517a96755fe674cc471bdbcff80615ae903eaeff72c47b918ee28a1db60ee5c0253c0c52ba02544f8535ae4f283a3a87a3061124 WHIRLPOOL 9003f026686cd4fbff6c12c16359114df7414ca7e9363ed16197137aea8da43aa8374ddd6f0f26258ac89d4edcb7a82b2a252cde031432e6770781116c2f8e4e +DIST bleach-2.0.0.tar.gz 46083 SHA256 b9522130003e4caedf4f00a39c120a906dcd4242329c1c8f621f5370203cbc30 SHA512 78237c72224fc8facd0c247671c0e2deb66dc8dc46c446cfa7e8b83cce5ca99a52fec320ef59ae0ece47c54a48120de16e4393e269db9c74542c8165eeb96d2e WHIRLPOOL 59636a228cbfedc7eca076a4f3e67d42d49c3d51134528c6e051573a5ef5d2921a488248dca26f6af5c88a1342d10e57fb8a543644f31b7bf3146823b42c4b79 diff --git a/dev-python/bleach/bleach-2.0.0.ebuild b/dev-python/bleach/bleach-2.0.0.ebuild new file mode 100644 index 000000000000..c0734eec7c8c --- /dev/null +++ b/dev-python/bleach/bleach-2.0.0.ebuild @@ -0,0 +1,29 @@ +# 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} pypy{,3} ) + +inherit distutils-r1 + +DESCRIPTION="an easy whitelist-based HTML-sanitizing tool" +HOMEPAGE="https://github.com/jsocol/bleach https://pypi.python.org/pypi/bleach" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +RDEPEND=" + >=dev-python/html5lib-0.99999999[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( >=dev-python/pytest-3.0.3[${PYTHON_USEDEP}] ) +" + +python_test() { + py.test -v || die "tests failed under ${EPYTHON}" +} |