diff options
Diffstat (limited to 'dev-python/cryptography-python2')
| -rw-r--r-- | dev-python/cryptography-python2/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/cryptography-python2/cryptography-python2-2.9-r1.ebuild | 59 | ||||
| -rw-r--r-- | dev-python/cryptography-python2/metadata.xml | 15 |
3 files changed, 76 insertions, 0 deletions
diff --git a/dev-python/cryptography-python2/Manifest b/dev-python/cryptography-python2/Manifest new file mode 100644 index 000000000000..fa467877cf90 --- /dev/null +++ b/dev-python/cryptography-python2/Manifest @@ -0,0 +1,2 @@ +DIST cryptography-2.9.tar.gz 517211 BLAKE2B 3889812dadce01f09c509f5bcdf26405fd1cd2de7064cdbf0f68338894cf65dfe0c6a607867db614b35ad11da4546af2371cf59836dbbbd3037db84241cf71ec SHA512 7db2846b901e42ddc4caa9851235e5a0894ef702d4c4692eb60fcae17bc4e7833782a8001679ea41b78f9273d7d68a4b85810248590e12ca33cfade3208e2849 +DIST cryptography_vectors-2.9.tar.gz 35140661 BLAKE2B 870245659f6a64566f823116d8b4ba017981eb41148e9dcde9cac372eb6703a7b4580040b487cd8773160d5bd989fa9d5bb1788ac550b28e76bde8c9f6cd56c7 SHA512 025ed48855f182b926e3eeb5dca1033eb7f43c419bd6ea71accfed38b4d9ef4cbbf5af60bc28a39e3d6723de2d4091bd226e30c0e572a2e0d43a95a12c1bb7a2 diff --git a/dev-python/cryptography-python2/cryptography-python2-2.9-r1.ebuild b/dev-python/cryptography-python2/cryptography-python2-2.9-r1.ebuild new file mode 100644 index 000000000000..9d93057b53ec --- /dev/null +++ b/dev-python/cryptography-python2/cryptography-python2-2.9-r1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 flag-o-matic +MY_PN=cryptography +MY_P=$MY_PN-$PV + +VEC_P=cryptography_vectors-${PV} +DESCRIPTION="Library providing cryptographic recipes and primitives" +HOMEPAGE="https://github.com/pyca/cryptography/ https://pypi.org/project/cryptography/" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz + test? ( mirror://pypi/c/cryptography_vectors/${VEC_P}.tar.gz )" + +LICENSE="|| ( Apache-2.0 BSD )" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="libressl idna test" +RESTRICT="test" + +# the openssl 1.0.2l-r1 needs to be updated again :( +# It'd theb be able to go into the || section again +#=dev-libs/openssl-1.0.2l-r1:0 +# the following is the original section, disallowing bindist entirely +#!libressl? ( >=dev-libs/openssl-1.0.2:0=[-bindist(-)] ) +RDEPEND=" + !dev-python/cryptography[python_targets_python2_7] + !libressl? ( >=dev-libs/openssl-1.0.2o-r6:0= ) + libressl? ( >=dev-libs/libressl-2.8:0= ) + idna? ( >=dev-python/idna-2.1[${PYTHON_USEDEP}] ) + dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/six-1.4.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/enum34[${PYTHON_USEDEP}] + dev-python/ipaddress[${PYTHON_USEDEP}] + ' -2) + $(python_gen_cond_dep ' + >=dev-python/cffi-python2-1.8:=[${PYTHON_USEDEP}] + ' 'python*') + " +DEPEND="${RDEPEND} + >=dev-python/setuptools-1.0[${PYTHON_USEDEP}]" + +S="${WORKDIR}/${MY_PN}-${PV}" + +DOCS=( AUTHORS.rst CONTRIBUTING.rst README.rst ) + +python_configure_all() { + append-cflags $(test-flags-CC -pthread) +} + +python_install_all() { + distutils-r1_python_install_all + rm -r ${D}/usr/share +} diff --git a/dev-python/cryptography-python2/metadata.xml b/dev-python/cryptography-python2/metadata.xml new file mode 100644 index 000000000000..b3065b70dd31 --- /dev/null +++ b/dev-python/cryptography-python2/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <herd>maintainer-wanted</herd> + </maintainer> + <use> + <flag name="idna">enable support for the old, deprecated IDNA specification (RFC 3490)</flag> + </use> + <upstream> + <remote-id type="pypi">cryptography</remote-id> + <remote-id type="github">pyca/cryptography</remote-id> + </upstream> + <origin>calculatelinux-overlay</origin> +</pkgmetadata> |
