summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2017-02-06 10:36:40 -0800
committerPatrick McLean <chutzpah@gentoo.org>2017-02-06 10:36:40 -0800
commite31be839597eda54ed48405e762e71bd0a484ae6 (patch)
treedabfe3d90e4b712188765763b6d280a131258bef /dev-python
parent3a15f72d5bd19f2d6a0900851403e2e70702b691 (diff)
downloadgentoo-e31be839597eda54ed48405e762e71bd0a484ae6.tar.gz
gentoo-e31be839597eda54ed48405e762e71bd0a484ae6.tar.xz
dev-python/passlib: Version bump to 1.7.1
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/passlib/Manifest1
-rw-r--r--dev-python/passlib/passlib-1.7.1.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-python/passlib/Manifest b/dev-python/passlib/Manifest
index f3f0b7fd5ab..c36e8ce11d4 100644
--- a/dev-python/passlib/Manifest
+++ b/dev-python/passlib/Manifest
@@ -1 +1,2 @@
DIST passlib-1.6.5.tar.gz 417044 SHA256 a83d34f53dc9b17aa42c9a35c3fbcc5120f3fcb07f7f8721ec45e6a27be347fc SHA512 b5323834a0a7fc7e799882c512a2fcaddb0cbf4dbfb3ec578c9a9ea7a7f08349335cd3124fe2b379eef265ecdf9d823b7562951881710cf4dafff128a65c82d4 WHIRLPOOL ed9f190557fe9b1994dc30a38bdcdcd9c2275e6a32c17a8159b034c7dd49cf8531020f5c6e53301c1fca89b0e5abd1692072faa6e050fd8edbf877b197b8afae
+DIST passlib-1.7.1.tar.gz 645724 SHA256 3d948f64138c25633613f303bcc471126eae67c04d5e3f6b7b8ce6242f8653e0 SHA512 3d5f069cd4e44e5e87cdabc46845acbdd6c1eeedb7ce1f611aebee87b0f7af19009b6a47a10ec555fd84260b9f5c933c6429e325d30326de3869f05031674168 WHIRLPOOL b3c7e8587eb080ae9210bec3ff272ee0c4b644753ff5a80182496f6c8599f615480261528ad7ada2f8c785204631f57c38360f1f7c11e142daff0ad6441872f8
diff --git a/dev-python/passlib/passlib-1.7.1.ebuild b/dev-python/passlib/passlib-1.7.1.ebuild
new file mode 100644
index 00000000000..ee580e17258
--- /dev/null
+++ b/dev-python/passlib/passlib-1.7.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,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}]
+ dev-python/scrypt[${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}
+}