forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
Showing
3 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DIST pycryptodome-3.4.5.tar.gz 6968315 SHA256 356740c25bee66cf02fce496154f2b9699e5c75c1c6c7e382064d8b6c2cac2dd SHA512 666a90e0cd756b26212df29b2d88c7443bd12fcbf0db6afc6e251a4e92a8528d82495528610c834cd6c066eb384a83f075cb49d52c60c65af04c0e5ff3ce72f8 WHIRLPOOL 41f5d5f64eae7de88b8a6a86f6868a90e3b9eb73f3747cc8e95eb2f30225c3db5ec3b75c9cf92f3542069f3773a0f12a511b113d02046b22473559180d764c03 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> | ||
<pkgmetadata> | ||
<maintainer type="person"> | ||
<email>[email protected]</email> | ||
<name>Python project</name> | ||
</maintainer> | ||
</pkgmetadata> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} |