Skip to content

Commit

Permalink
dev-python/pycryptodome: Initial commit, #602022
Browse files Browse the repository at this point in the history
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
mgorny committed Mar 1, 2017
1 parent e11701c commit 5079b5b
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-python/pycryptodome/Manifest
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
8 changes: 8 additions & 0 deletions dev-python/pycryptodome/metadata.xml
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>
28 changes: 28 additions & 0 deletions dev-python/pycryptodome/pycryptodome-3.4.5.ebuild
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
}

0 comments on commit 5079b5b

Please sign in to comment.