dev-python/scrypt: New package, Bindings for the scrypt key derivation function library

Package-Manager: Portage-2.3.3, Repoman-2.3.1
This commit is contained in:
Patrick McLean
2017-02-03 18:43:59 -08:00
parent 4f909de531
commit 3a15f72d5b
3 changed files with 47 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST scrypt-0.8.0.tar.gz 39042 SHA256 d4a5a4f53450b8ef629bbf1ee4be6105c69936e49b3d8bc621ac2287f0c86020 SHA512 2619b6af84b1bb5b9586af3a0a903baf606985357ff7db34612b032aba65e002998a727882657f19bff6c7a987125d9b2d8daebbe0ba3717f3dfa6650975e52b WHIRLPOOL ddcdab4e7a625e74ec434dc59c73919bba3d1a4798f5e99b0b47682ccd79a26768e4e29b8be264bb10d2f4820c1b859610924cf99c4af9d5faf235615c262e0e

View File

@@ -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>

View File

@@ -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"
}