diff options
author | Tiziano Müller <dev-zero@gentoo.org> | 2016-03-16 09:30:18 +0100 |
---|---|---|
committer | Tiziano Müller <dev-zero@gentoo.org> | 2016-03-16 09:30:18 +0100 |
commit | eca4953f23c239b50a5f7dbd67c1d5076033c3f7 (patch) | |
tree | 6d36aad2be79e2657d804dc304f3b5bf4bf556a9 /dev-python/passlib | |
parent | dev-python/bcrypt: rev-bump for py-3.5 compat and EAPI-6 (diff) | |
download | gentoo-eca4953f23c239b50a5f7dbd67c1d5076033c3f7.tar.gz gentoo-eca4953f23c239b50a5f7dbd67c1d5076033c3f7.tar.bz2 gentoo-eca4953f23c239b50a5f7dbd67c1d5076033c3f7.zip |
dev-python/passlib: rev-bump for py-3.5 compat and EAPI-6
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-python/passlib')
-rw-r--r-- | dev-python/passlib/passlib-1.6.5-r1.ebuild | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-python/passlib/passlib-1.6.5-r1.ebuild b/dev-python/passlib/passlib-1.6.5-r1.ebuild new file mode 100644 index 000000000000..2a10e689ca87 --- /dev/null +++ b/dev-python/passlib/passlib-1.6.5-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} pypy ) + +inherit distutils-r1 + +DESCRIPTION="Password hashing framework supporting over 20 schemes" +HOMEPAGE="https://bitbucket.org/ecollins/passlib/wiki/Home/" +SRC_URI="mirror://pypi/p/${PN}/${P}.tar.gz" + +LICENSE="BSD-2" +KEYWORDS="~amd64 ~arm64 ~x86" +SLOT="0" +IUSE="test doc" + +RDEPEND="dev-python/bcrypt[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/nose[${PYTHON_USEDEP}] )" + +python_test() { + nosetests -w "${BUILD_DIR}"/lib || die "Tests fail with ${EPYTHON}" +} + +python_install_all() { + distutils-r1_python_install_all + use doc && dodoc docs/{*.rst,requirements.txt,lib/*.rst} +} |