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.
Showing
2 changed files
with
49 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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
DIST cryptography-1.0.2.tar.gz 332870 SHA256 d64cd491e91ddf642c643bea16532c2a2da2da054cca6df756edadd55a8bacca SHA512 f266fbee6ab06ed6a552599dffe6d3e959dd858e6be7b81c0d4489c384fbb2b5de5ecf4f1e43e1dacbaa6ddefd1562f10961caec73cb3ed256faa03a5d4eff85 WHIRLPOOL ba8c13df5c58ab551f43ddf51cde8e85835a06eda83e5a5039e32308431b6f365692b01ea343adba6fcafe80d045a04b8ef37324e5bf1ada0adef10752f1e321 | ||
DIST cryptography-1.1.2.tar.gz 349022 SHA256 7f51459f84d670444275e615839f4542c93547a12e938a0a4906dafe5f7de153 SHA512 566e346a76cfd6b1c6afbf64d1fe496770b1ad5f471c42877ad6931a441ab77408815ae066ba3f0450766c86ae9dd10d7a5966321f93a979a4e1ab9e1201371b WHIRLPOOL 9a552e65047c45e19e313e0530031fa282aec51577bcc64f9346f37ac99663db052f7ccc1798532103edffa6e778f9585e937a862a475f6d7bd9140d06bbcf57 | ||
DIST cryptography-1.2.3.tar.gz 373165 SHA256 8eb11c77dd8e73f48df6b2f7a7e16173fe0fe8fdfe266232832e88477e08454e SHA512 f05f6ffd3386e839998437b3cb6b3bcc38af604e77aefe43904c8e155c26f9113f70666d7f089a76f5f646350f2ffa0aeb1e546d14da1d99c1d3de3419c833e3 WHIRLPOOL 5aeab8267500fffa6ca242c606c3724b0d03770129ac96250c913e4b2b433a8a8e83a6bcb2f5309adbe18e1c02004afecec9ae0c12c7ff381be4f36ff985f10b | ||
DIST cryptography-1.3.1.tar.gz 383852 SHA256 b4b36175e0f95ddc88435c26dbe3397edce48e2ff5fe41d504cdb3beddcd53e2 SHA512 8b833619d0aec5e6630c8e069e886f6b708b0b3a4f4ca4e37797a24c69be4cacf162f20c068deaecc3222ee0323583582d384e49fa3dbaeaeefc0d7d8c92918a WHIRLPOOL f9e7c75e910699afdf4adc4fb7257135b97c357c967bbca95f332e1f2ed262716ebba6a648427f86a524e75f6ac46aea7f891fe42100c9d7cf8ffcc317fb7905 | ||
DIST cryptography-1.3.tar.gz 383651 SHA256 5dcc8d0ba790db6b36067c0db0fa9076de58bec5f9bc6d1c4f2fec8f06dcf0f4 SHA512 60753e5a222b169b01239ed79333cbb5eecc4ade66e53303c06ed413c2b964d1f76cfe40cabff9ca563c71626eec7302ef62e4bb1855bdc509af844684a23fcf WHIRLPOOL bcd53cb46e7644995455c65c3612b3831123c553240d555405682da3539247f76a50978f9af7d467c5701b0634f72e357cf8cd4d806a399bf13b0a881e8cea09 |
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,48 @@ | ||
# Copyright 1999-2016 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
EAPI="5" | ||
|
||
PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy ) | ||
PYTHON_REQ_USE="threads(+)" | ||
|
||
inherit distutils-r1 | ||
|
||
DESCRIPTION="Library providing cryptographic recipes and primitives" | ||
HOMEPAGE="https://github.com/pyca/cryptography/ https://pypi.python.org/pypi/cryptography/" | ||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" | ||
|
||
LICENSE="|| ( Apache-2.0 BSD )" | ||
SLOT="0" | ||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" | ||
IUSE="libressl test" | ||
|
||
RDEPEND=" | ||
!libressl? ( dev-libs/openssl:0= ) | ||
libressl? ( dev-libs/libressl ) | ||
$(python_gen_cond_dep '>=dev-python/cffi-1.4.1:=[${PYTHON_USEDEP}]' 'python*') | ||
$(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' python2_7 python3_3 pypy) | ||
>=dev-python/idna-2.0[${PYTHON_USEDEP}] | ||
>=dev-python/pyasn1-0.1.8[${PYTHON_USEDEP}] | ||
dev-python/setuptools[${PYTHON_USEDEP}] | ||
>=dev-python/six-1.4.1[${PYTHON_USEDEP}] | ||
$(python_gen_cond_dep '>=virtual/pypy-2.6.0' pypy ) | ||
virtual/python-ipaddress[${PYTHON_USEDEP}] | ||
" | ||
DEPEND="${RDEPEND} | ||
>=dev-python/setuptools-1.0[${PYTHON_USEDEP}] | ||
test? ( | ||
~dev-python/cryptography-vectors-${PV}[${PYTHON_USEDEP}] | ||
dev-python/hypothesis[${PYTHON_USEDEP}] | ||
dev-python/iso8601[${PYTHON_USEDEP}] | ||
dev-python/pretend[${PYTHON_USEDEP}] | ||
dev-python/pyasn1-modules[${PYTHON_USEDEP}] | ||
dev-python/pytest[${PYTHON_USEDEP}] | ||
)" | ||
|
||
DOCS=( AUTHORS.rst CONTRIBUTING.rst README.rst ) | ||
|
||
python_test() { | ||
py.test -v -v -x || die "Tests fail with ${EPYTHON}" | ||
} |