From f21ce9b294121566ad04c1708171950e0956b550 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Thu, 19 Oct 2017 22:18:20 +0200 Subject: [PATCH] dev-python/pysha3: New package Add the backport of SHA3 hash functions for Python < 3.6, it is the most lightweight provider of the hash for Portage. --- dev-python/pysha3/Manifest | 1 + dev-python/pysha3/metadata.xml | 15 +++++++++++++++ dev-python/pysha3/pysha3-1.0.2.ebuild | 22 ++++++++++++++++++++++ 3 files changed, 38 insertions(+) create mode 100644 dev-python/pysha3/Manifest create mode 100644 dev-python/pysha3/metadata.xml create mode 100644 dev-python/pysha3/pysha3-1.0.2.ebuild diff --git a/dev-python/pysha3/Manifest b/dev-python/pysha3/Manifest new file mode 100644 index 000000000000..50179c5f7d91 --- /dev/null +++ b/dev-python/pysha3/Manifest @@ -0,0 +1 @@ +DIST pysha3-1.0.2.tar.gz 829192 SHA256 fe988e73f2ce6d947220624f04d467faf05f1bbdbc64b0a201296bb3af92739e SHA512 57476d24b9d399471cf56c8c1413f58dbc863c16d4fe9ebd2cf65df8092e139e2505252605e3fccd68978f5ee3fffdfeeedee6788aab38a54c918a452fc19720 WHIRLPOOL 0de14913b4c02b1c8310432f6a71ed986c6f525c7b15bb6e91d3972a84f5599b13d621b04a4007ea276089cd75d965798a84b11d378e02ab50e1b6d243b62bc0 diff --git a/dev-python/pysha3/metadata.xml b/dev-python/pysha3/metadata.xml new file mode 100644 index 000000000000..410617d33dce --- /dev/null +++ b/dev-python/pysha3/metadata.xml @@ -0,0 +1,15 @@ + + + + + mgorny@gentoo.org + Michał Górny + + + python@gentoo.org + + + tiran/pysha3 + pysha3 + + diff --git a/dev-python/pysha3/pysha3-1.0.2.ebuild b/dev-python/pysha3/pysha3-1.0.2.ebuild new file mode 100644 index 000000000000..2f9172ea7855 --- /dev/null +++ b/dev-python/pysha3/pysha3-1.0.2.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) +inherit distutils-r1 + +DESCRIPTION="SHA-3 (Keccak) for Python 2.7 - 3.5" +HOMEPAGE="https://github.com/tiran/pysha3 https://pypi.python.org/pypi/pysha3" +SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" + +LICENSE="CC0-1.0 PSF-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" + +python_test() { + esetup.py test +} -- 2.26.2