From: Michał Górny Date: Wed, 1 Mar 2017 07:46:17 +0000 (+0100) Subject: dev-python/pycryptodome: Initial commit, #602022 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5079b5bcc0ab71b4bb5a228aede0b34bd9bbc710;p=gentoo.git dev-python/pycryptodome: Initial commit, #602022 Initial commit for dev-python/pycrypto fork and partially drop-in replacement. Let's start with a simple, separate package and see how it works out for us. --- diff --git a/dev-python/pycryptodome/Manifest b/dev-python/pycryptodome/Manifest new file mode 100644 index 000000000000..8cee92c95ea3 --- /dev/null +++ b/dev-python/pycryptodome/Manifest @@ -0,0 +1 @@ +DIST pycryptodome-3.4.5.tar.gz 6968315 SHA256 356740c25bee66cf02fce496154f2b9699e5c75c1c6c7e382064d8b6c2cac2dd SHA512 666a90e0cd756b26212df29b2d88c7443bd12fcbf0db6afc6e251a4e92a8528d82495528610c834cd6c066eb384a83f075cb49d52c60c65af04c0e5ff3ce72f8 WHIRLPOOL 41f5d5f64eae7de88b8a6a86f6868a90e3b9eb73f3747cc8e95eb2f30225c3db5ec3b75c9cf92f3542069f3773a0f12a511b113d02046b22473559180d764c03 diff --git a/dev-python/pycryptodome/metadata.xml b/dev-python/pycryptodome/metadata.xml new file mode 100644 index 000000000000..904952d1b58a --- /dev/null +++ b/dev-python/pycryptodome/metadata.xml @@ -0,0 +1,8 @@ + + + + + python@gentoo.org + Python project + + diff --git a/dev-python/pycryptodome/pycryptodome-3.4.5.ebuild b/dev-python/pycryptodome/pycryptodome-3.4.5.ebuild new file mode 100644 index 000000000000..d6eebef2a142 --- /dev/null +++ b/dev-python/pycryptodome/pycryptodome-3.4.5.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="A self-contained cryptographic library for Python" +HOMEPAGE="https://github.com/Legrandin/pycryptodome" +SRC_URI="https://github.com/Legrandin/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2 Unlicense" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-libs/gmp:0 + virtual/python-cffi[${PYTHON_USEDEP}] + !dev-python/pycrypto" +DEPEND="${RDEPEND}" + +python_test() { + esetup.py test +}