summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2017-02-03 18:43:59 -0800
committerPatrick McLean <chutzpah@gentoo.org>2017-02-06 10:34:59 -0800
commit3a15f72d5bd19f2d6a0900851403e2e70702b691 (patch)
treedce3980f6cc66dee33eb3b1dd140f45fabe5fea9 /dev-python/scrypt
parentx11-terms/xfce4-terminal: Bump to 0.8.4 (diff)
downloadgentoo-3a15f72d5bd19f2d6a0900851403e2e70702b691.tar.gz
gentoo-3a15f72d5bd19f2d6a0900851403e2e70702b691.tar.bz2
gentoo-3a15f72d5bd19f2d6a0900851403e2e70702b691.zip
dev-python/scrypt: New package, Bindings for the scrypt key derivation function library
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-python/scrypt')
-rw-r--r--dev-python/scrypt/Manifest1
-rw-r--r--dev-python/scrypt/metadata.xml19
-rw-r--r--dev-python/scrypt/scrypt-0.8.0.ebuild27
3 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/scrypt/Manifest b/dev-python/scrypt/Manifest
new file mode 100644
index 000000000000..1e6c05ccb8f8
--- /dev/null
+++ b/dev-python/scrypt/Manifest
@@ -0,0 +1 @@
+DIST scrypt-0.8.0.tar.gz 39042 SHA256 d4a5a4f53450b8ef629bbf1ee4be6105c69936e49b3d8bc621ac2287f0c86020 SHA512 2619b6af84b1bb5b9586af3a0a903baf606985357ff7db34612b032aba65e002998a727882657f19bff6c7a987125d9b2d8daebbe0ba3717f3dfa6650975e52b WHIRLPOOL ddcdab4e7a625e74ec434dc59c73919bba3d1a4798f5e99b0b47682ccd79a26768e4e29b8be264bb10d2f4820c1b859610924cf99c4af9d5faf235615c262e0e
diff --git a/dev-python/scrypt/metadata.xml b/dev-python/scrypt/metadata.xml
new file mode 100644
index 000000000000..6404d818f5c2
--- /dev/null
+++ b/dev-python/scrypt/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>chutzpah@gentoo.org</email>
+ <name>Patrick McLean</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <longdescription lang="en">
+ Bindings for the scrypt key derivation function library
+ </longdescription>
+ <upstream>
+ <remote-id type="pypi">scrypt</remote-id>
+ <remote-id type="bitbucket">mhallin/py-scrypt</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/scrypt/scrypt-0.8.0.ebuild b/dev-python/scrypt/scrypt-0.8.0.ebuild
new file mode 100644
index 000000000000..74d0f5b61bc3
--- /dev/null
+++ b/dev-python/scrypt/scrypt-0.8.0.ebuild
@@ -0,0 +1,27 @@
+# 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="Bindings for the scrypt key derivation function library"
+HOMEPAGE="https://bitbucket.org/mhallin/py-scrypt/wiki/Home/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD-2"
+KEYWORDS="~amd64 ~arm64 ~x86"
+SLOT="0"
+IUSE="test doc"
+
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]"
+
+# dist tarball does not have tests
+RESTRICT=test
+
+python_test() {
+ esetup.py test || die "tests failed"
+}