add cryptography-2.9.2
This commit is contained in:
parent
214d570491
commit
bae3525fd2
|
@ -6,6 +6,7 @@
|
|||
* bump spotipy-2.12.0
|
||||
* update pyicloud-0.9.7
|
||||
* update numpy-1.18.4, remove dupes
|
||||
* add cryptography-2.9.2
|
||||
|
||||
2020-05-03 homeassistant-0.109.3
|
||||
* adopting semantic versioning in hass-nabucasa
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
DIST cryptography-2.9.2.tar.gz 517571 BLAKE2B a3c3ae9ebea1fa9677f59b4e98d1f690e83d5b10562d8b257d71aea2092409785787b8bc9dac3dd56215ce0cd958192060cc7a6c8f62c56c76ec632c166a9c7f SHA512 a8cb7ba229cddfa15bf4ed00d40e76e2ece57958203b9c50c3f782c7977e1c725fa147a1eebc31d50684a622d53e73f97864e1a935753472ea4b2d89eb6ffb6a
|
||||
DIST cryptography_vectors-2.9.2.tar.gz 35141183 BLAKE2B e0b1e5d425091e4bab13ba65dea2ce08d29bdb8e2a639582b0683854943d34d02164923012e3e0c7aa89d7aff59554800f346694473210eb0bdf293424f267eb SHA512 7d8d20f9a3edde8a19b96b5ac9f1d0622421980b0ca6996fb83a659970e964a41679d21d9e5d60d1c1db2c8b1296ce89185954e7e43e86c8bb65b68e805e28ca
|
||||
EBUILD cryptography-2.9.2.ebuild 2054 BLAKE2B 8d72efe85fb641f8c544f441fd0ec9a73a10fe44280fbb9933a1375126820471f9be201d616db63c2330c95bc8e575f863f9985dd3aef671af899b362d97eb2e SHA512 5b9ed7b26186c5133654056933b4bdf0f6885ab0717aa71625b6908640abcadefa9dfd4a5cb5015f3bced1521a403f4bfed03ff8c4ae8a8ae2dc6a4dac62a37a
|
||||
MISC metadata.xml 499 BLAKE2B 2e4c37917ebb1604f399b0db4abe27b02b133a2cc8fb69fbbf52b6fdc0aee079dde61be188bfa5bca043a1804a670ffb53f6ab1e79147230166f696741fadad8 SHA512 26eda8b0a2ac91dce2946e18e941e2e75df15e4583e4ddb1f1329403eaae30db9976017f92981c462bfb8c8a559de2a2ea9531f4ac5ccb2d57cadb00e68e05ec
|
|
@ -0,0 +1,62 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit distutils-r1 flag-o-matic
|
||||
|
||||
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/${PN:0:1}/${PN}/${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? ( 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="
|
||||
!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-1.8:=[${PYTHON_USEDEP}]
|
||||
' 'python*')
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-python/setuptools-1.0[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/pretend[${PYTHON_USEDEP}]
|
||||
dev-python/iso8601[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
>=dev-python/hypothesis-1.11.4[${PYTHON_USEDEP}]
|
||||
dev-python/pyasn1-modules[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
DOCS=( AUTHORS.rst CONTRIBUTING.rst README.rst )
|
||||
|
||||
python_configure_all() {
|
||||
append-cflags $(test-flags-CC -pthread)
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local -x PYTHONPATH=${PYTHONPATH}:${WORKDIR}/${VEC_P}
|
||||
pytest -vv || die "Tests fail with ${EPYTHON}"
|
||||
}
|
|
@ -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">
|
||||
<email>python@gentoo.org</email>
|
||||
<name>Python</name>
|
||||
</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>
|
||||
</pkgmetadata>
|
Loading…
Reference in New Issue