diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/cryptography |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/cryptography')
-rw-r--r-- | dev-python/cryptography/Manifest | 16 | ||||
-rw-r--r-- | dev-python/cryptography/cryptography-1.7.1.ebuild | 50 | ||||
-rw-r--r-- | dev-python/cryptography/cryptography-1.7.2.ebuild | 51 | ||||
-rw-r--r-- | dev-python/cryptography/cryptography-1.8.1.ebuild | 51 | ||||
-rw-r--r-- | dev-python/cryptography/cryptography-1.9.ebuild | 50 | ||||
-rw-r--r-- | dev-python/cryptography/cryptography-2.0.2.ebuild | 47 | ||||
-rw-r--r-- | dev-python/cryptography/cryptography-2.0.3.ebuild | 47 | ||||
-rw-r--r-- | dev-python/cryptography/files/cryptography-1.7.2-libressl-2.5.1.patch | 16 | ||||
-rw-r--r-- | dev-python/cryptography/metadata.xml | 12 |
9 files changed, 340 insertions, 0 deletions
diff --git a/dev-python/cryptography/Manifest b/dev-python/cryptography/Manifest new file mode 100644 index 000000000000..86dbec8c4cf6 --- /dev/null +++ b/dev-python/cryptography/Manifest @@ -0,0 +1,16 @@ +AUX cryptography-1.7.2-libressl-2.5.1.patch 851 SHA256 6f04a456afbc5a6b2a25f1ebf1654485be3ffcc7152480dbc7a8023a1e502c17 SHA512 f2817b03d888201b32fe2fceec568f9df3addf172e699b5e8a7f4cc94a80c88c0b1e8408fba52d253c53d0efa1c3eaa978470a45439b02422f623edbaa351933 WHIRLPOOL 9b092faf482c41bdee35288e9f9aa9a763e73571d761bf54908a63683dc235fab62d30afd397b6f1a4a3d00a3d1aaef87465cfd4f46e2f57996a9bd971ae835e +DIST cryptography-1.7.1.tar.gz 420673 SHA256 953fef7d40a49a795f4d955c5ce4338abcec5dea822ed0414ed30348303fdb4c SHA512 fb88b0ee9e314526fcdbb6d35da409b7335c7408a69d2350c58379471d2b9d76021010955629cf776d26312f22d4f8aa3f135955a19dfbff9d602176c9bbfd40 WHIRLPOOL 24b705889b95b568000600662ec82e3f5571582525db3571f3285b99f985b0a21eefd14dccc577700bc082891f7d3c563ac78a8bfd8d810da3ff38914ae5a86d +DIST cryptography-1.7.2.tar.gz 420867 SHA256 878cb68b3da3d493ffd68f36db11c29deee623671d3287c3f8d685117ffda9a9 SHA512 8ddd119385064e1f8288ff318ec16f500b5c125a3811ccb306aeb2664fac495fcdd3cb5a7cbacd10156505c9526b9cdbd66860b35bbcd2f9a6bb285dd6cba8c5 WHIRLPOOL 531265115a6573c54e2cf85a03f1ed0ebe033fd7818168a3bcda938458f9a32464d7de0c226f46a300635ee52e4995285889bb693bc56f77f816bc81d52bfc61 +DIST cryptography-1.8.1.tar.gz 423560 SHA256 323524312bb467565ebca7e50c8ae5e9674e544951d28a2904a50012a8828190 SHA512 273c8ca4ad6c9d1151a8a731d148d02e619e14e37df25dc26030b0a90f895b88fbf4d3e320aec5ea7af4a8fcc58f720c61f48968f912c69156d4e0e794743345 WHIRLPOOL ff760c9dc7dfbba355afde726a9154bcf45102e135b95b431aab5ac34c8003edccafa646b51ca02296aa55f244b0ff752d8d1b775cb76a1c9f15d347d505e8ce +DIST cryptography-1.9.tar.gz 409664 SHA256 5518337022718029e367d982642f3e3523541e098ad671672a90b82474c84882 SHA512 815e9c09366935f8603a3e6e74c28ce79175596d00dbcd19d3792505237bd1cf953a4f401c2b97e4beaa7f2bbdcf9d7f95c4753d001a07fa816830af97cdd24e WHIRLPOOL b79a10de82b2cf98b27535f0b018f651038ed235f5e63eed48da52a87efaf672057e147b9c1b23701da0505d52cc85558ad3b6e692670a9f9e63061b381500d8 +DIST cryptography-2.0.2.tar.gz 427303 SHA256 3780b2663ee7ebb37cb83263326e3cd7f8b2ea439c448539d4b87de12c8d06ab SHA512 a71219ff52006a7c8bf1553d0f132c747566c630281ef89aac40c65b193b1f0074fc9cda1de7057c76b452113dfb6188c83baef3ed9c05ff18adbc8b7bba646b WHIRLPOOL 2c3b3da3d2d578c0ba29230c0955fd48688fd5039f08eacefc4017c5cd357d1096cdc79a271ff4e7319c1bb344edee12f8c184c33f12569226612a4dccfb6d11 +DIST cryptography-2.0.3.tar.gz 427544 SHA256 d04bb2425086c3fe86f7bc48915290b13e798497839fbb18ab7f6dffcf98cc3a SHA512 fa569c4f5a994e2bd90810649fdf48115bfd5ff46790c849991e8f7a7c8b5435402f92453e4365426ee645623b3bb509c9bb781657c4b4e81e3a36b58ba5461c WHIRLPOOL 4bbbfb4c57a5c4de7c84654d6474bd9b7b0d1eb9ed1f63d91a360b2987187f7bb1910ff4ca540b37fd3e98a00b37d5963a92b2d6ae0acfaab1636f512e887ca3 +EBUILD cryptography-1.7.1.ebuild 1666 SHA256 07c512a796db87de7a6e3ee3fdd6425dd9574478c64ddf9088bb11d67ec5b42e SHA512 d30f513b2b76fb1fa100b9c9a06adf3330e66f6fcc18ca62d01dc493fa70aa6e84e6cc902e0d2d537d456c8fe8b963b25142bedd5d1185d476c032d0c50b7950 WHIRLPOOL c778fbf6714de843212ce33b5233647ae4d2859f41270eebd4c06b353ac383bb873e18fde0102eacb1acc37343ad0cf0ca0b6da8e7f61333a80a9f5befec5a94 +EBUILD cryptography-1.7.2.ebuild 1748 SHA256 d186c9abdd5f89e682598e1c2f6166fbc4041be7d71402f2d88317835c241036 SHA512 f6d6768259d982e8c2f933bd61fd103384110258bb7133184f54ec48a6c91593a6261cef15b4208330192a7678be45e53170ecb16ef3f64b761ae9d258ef7ae9 WHIRLPOOL ef1899c94574e4011964b1bbd6f3a70fe0c1a80273b63b818c8fa9cd36d365c94a92d6c28e398fa9212fe01fcfee8863dd34ae8dc4209a0801aaccd9eed6ac15 +EBUILD cryptography-1.8.1.ebuild 1675 SHA256 653083b45ac8b5e11eff9a8b5742d67fe5b55f45282ea462699d9db62f30291e SHA512 dc74e12777b873ebad3a97d7f8b205e0d200fac1479bc0d8c7e5b13aa8714d3d8866f42380540b6c81e48d83640abbe87582694097f8145e4c88ad0da314ca4b WHIRLPOOL be672028ab6564197e73d618879ea9c5d7015152ddc8d6d67ca5abec972498b2061af21f9216d2a5b8868d5831d46d67b6e197ed86dc72341245ecb2b574d1ee +EBUILD cryptography-1.9.ebuild 1646 SHA256 2535199d50fafda5a6e5e87c540a253292cee6179fe769e183fbc24c9f7886fa SHA512 a239da1f7e7397cf9153d9ecc5edd49e8a1c18eeaa884a73fe2f592408bf514f19af738202aa81905f55997e5e70b5643a71856db7ff4ea4be63151eda3bfeb0 WHIRLPOOL 53ccfbf3cc57cc2e7b96f45e170f01457aab8080d81b9eec03868df84d0356a9d565c3a1b66d289a600c9e9a7a7c16121d7b6090838ba88b72d96ebf0d125db8 +EBUILD cryptography-2.0.2.ebuild 1542 SHA256 07db5ba031dece262de146cc6a3d4f6e8bf17f2c4458e09def15a86326916374 SHA512 51a737cf880345dc75a7973870dba1971e8f35fba61b744bc4c352a643feedd9f342729e483383dbe4c0dd2b729d3564274bf57c77a35343143b70bffafdca1b WHIRLPOOL ebda0e16cf84820e8317f114277dcddc2edd3822100aa62646083c6fd0c7a725805c90f9b239dbda24a7f168a8b679dd43657be2e469cd252f96b7128741a674 +EBUILD cryptography-2.0.3.ebuild 1564 SHA256 4b39deb3b161c700b2e6ff45e2fe328b4f62ac766449eeaa7e84fa14d0fe28a5 SHA512 b7fa37cd4ec9b9f0a6146c3f83b9987654ee178a990bad5afd4f738c16a4c8a2343cf76e6da90862385d74dcc4e7f77d0a8de99f5971d15790b751f3baa305c2 WHIRLPOOL 9c45e27703a86354749857fde8c342cc7f603c1e384d39aac0a692d10a271f37670a52df8af217a6097c890fe91b815ae8cf52d817c842ec280edb98961f5008 +MISC ChangeLog 18416 SHA256 1c2c81e70a455fcf401bb7c0d61cf38f3de9e7a2cc5ba5c18865038dfd43cea2 SHA512 b327d91034d2141d3c39cc406a0d74ff019994a92dd8f35e8b1715d5f0ba00930a15f42e601013dd7d14a81de0a30fd3b0dbf66a00a2c555f6015b8a6eea9943 WHIRLPOOL 5f09b6aa83487c428ced79af0f2c4d5d85db223f74298a1216b3cc248494f0c7f85ef98aa8461666420006fed1caf61f18679985b75998cfd4dd8ed82be8d1a0 +MISC ChangeLog-2015 8237 SHA256 c22eb0f4c94dd39980a8ce9b7d3b7149bc4ce59a7496f87c7e34951715c94e4a SHA512 b11fd6ecb95dd1265087e007ead9245b577ae76591343ed8f9bbf7c730344f0f31e3562edb87768a4a4dc3ab78a982b31bcbdae52b0060f805a7c4d0d64ec798 WHIRLPOOL 5e148ed158f1a68f8c1580c0ed5ccd3b50a6c88ce2a6228c80f5354eac95f8cfbf31ea6c2e2cc65633b1ef7332eb181efac8eaeb1a954a3004b081b3ed162286 +MISC metadata.xml 384 SHA256 1eb9fe441314061b742ab80221c14c78f22fb93cb64f7eab4f3c89c6b95eadcf SHA512 c2806f846608bdd0720b589494e13f57ab2d64026747f2b13f412c9a0e9d2bef6b16fc357e4d16b74ad7a2a2af8daa5e28d0b6bfe4d2141ce68881c724fd24c7 WHIRLPOOL b29d989556a30a69dd73203ee4fb22e15cefa78d441e10f153e0924f4666817530c703e44047f551379c5fa31666d5856c4b3684883064d130913fa9732f6c92 diff --git a/dev-python/cryptography/cryptography-1.7.1.ebuild b/dev-python/cryptography/cryptography-1.7.1.ebuild new file mode 100644 index 000000000000..2f2ecc9b905e --- /dev/null +++ b/dev-python/cryptography/cryptography-1.7.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} ) +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{,3}) + >=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-2.9.0[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + )" + +DOCS=( AUTHORS.rst CONTRIBUTING.rst README.rst ) + +python_test() { + distutils_install_for_testing + + py.test -v -v -x || die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/cryptography/cryptography-1.7.2.ebuild b/dev-python/cryptography/cryptography-1.7.2.ebuild new file mode 100644 index 000000000000..8bd074b43526 --- /dev/null +++ b/dev-python/cryptography/cryptography-1.7.2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} ) +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 ~x64-cygwin ~amd64-linux ~x86-linux" +IUSE="libressl test" + +RDEPEND=" + !libressl? ( >=dev-libs/openssl-1.0.2: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{,3}) + >=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-2.9.0[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + )" + +DOCS=( AUTHORS.rst CONTRIBUTING.rst README.rst ) +PATCHES=( "${FILESDIR}"/${P}-libressl-2.5.1.patch ) + +python_test() { + distutils_install_for_testing + + py.test -v -v -x || die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/cryptography/cryptography-1.8.1.ebuild b/dev-python/cryptography/cryptography-1.8.1.ebuild new file mode 100644 index 000000000000..abe8fa0ffb93 --- /dev/null +++ b/dev-python/cryptography/cryptography-1.8.1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} ) +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="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86" +IUSE="libressl test" + +RDEPEND=" + !libressl? ( >=dev-libs/openssl-1.0.2: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{,3}) + >=dev-python/idna-2.1[${PYTHON_USEDEP}] + >=dev-python/asn1crypto-0.21.0[${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}] + dev-python/packaging[${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-2.9.0[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + )" + +DOCS=( AUTHORS.rst CONTRIBUTING.rst README.rst ) + +python_test() { + distutils_install_for_testing + + py.test -v -v -x || die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/cryptography/cryptography-1.9.ebuild b/dev-python/cryptography/cryptography-1.9.ebuild new file mode 100644 index 000000000000..bf2d5c3f6d58 --- /dev/null +++ b/dev-python/cryptography/cryptography-1.9.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} ) +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="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86" +IUSE="libressl test" + +RDEPEND=" + !libressl? ( >=dev-libs/openssl-1.0.2:0=[-bindist(-)] ) + libressl? ( dev-libs/libressl ) + $(python_gen_cond_dep '>=dev-python/cffi-1.7:=[${PYTHON_USEDEP}]' 'python*') + $(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' python2_7 python3_3 pypy{,3}) + >=dev-python/idna-2.1[${PYTHON_USEDEP}] + >=dev-python/asn1crypto-0.21.0[${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-2.9.0[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + )" + +DOCS=( AUTHORS.rst CONTRIBUTING.rst README.rst ) + +python_test() { + distutils_install_for_testing + + py.test -v -v -x || die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/cryptography/cryptography-2.0.2.ebuild b/dev-python/cryptography/cryptography-2.0.2.ebuild new file mode 100644 index 000000000000..c9d042f541e8 --- /dev/null +++ b/dev-python/cryptography/cryptography-2.0.2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} ) +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="amd64 arm arm64 hppa ia64 mips ppc ppc64 x86" +IUSE="libressl test" + +RDEPEND=" + !libressl? ( >=dev-libs/openssl-1.0.2:0=[-bindist(-)] ) + libressl? ( dev-libs/libressl ) + $(python_gen_cond_dep '>=dev-python/cffi-1.7:=[${PYTHON_USEDEP}]' 'python*') + $(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' python2_7 pypy{,3}) + >=dev-python/idna-2.1[${PYTHON_USEDEP}] + >=dev-python/asn1crypto-0.21.0[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/six-1.4.1[${PYTHON_USEDEP}] + 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-2.9.0[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + )" + +DOCS=( AUTHORS.rst CONTRIBUTING.rst README.rst ) + +python_test() { + py.test -v -v -x || die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/cryptography/cryptography-2.0.3.ebuild b/dev-python/cryptography/cryptography-2.0.3.ebuild new file mode 100644 index 000000000000..1e50265eb332 --- /dev/null +++ b/dev-python/cryptography/cryptography-2.0.3.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} ) +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="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~x64-solaris" +IUSE="libressl test" + +RDEPEND=" + !libressl? ( >=dev-libs/openssl-1.0.2:0=[-bindist(-)] ) + libressl? ( dev-libs/libressl ) + $(python_gen_cond_dep '>=dev-python/cffi-1.7:=[${PYTHON_USEDEP}]' 'python*') + $(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' python2_7 pypy{,3}) + >=dev-python/idna-2.1[${PYTHON_USEDEP}] + >=dev-python/asn1crypto-0.21.0[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/six-1.4.1[${PYTHON_USEDEP}] + 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-2.9.0[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + )" + +DOCS=( AUTHORS.rst CONTRIBUTING.rst README.rst ) + +python_test() { + py.test -v -v -x || die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/cryptography/files/cryptography-1.7.2-libressl-2.5.1.patch b/dev-python/cryptography/files/cryptography-1.7.2-libressl-2.5.1.patch new file mode 100644 index 000000000000..38fce99a5ef6 --- /dev/null +++ b/dev-python/cryptography/files/cryptography-1.7.2-libressl-2.5.1.patch @@ -0,0 +1,16 @@ +diff -urN cryptography-1.7.2.orig/src/_cffi_src/openssl/x509_vfy.py cryptography-1.7.2/src/_cffi_src/openssl/x509_vfy.py +--- cryptography-1.7.2.orig/src/_cffi_src/openssl/x509_vfy.py 2017-01-27 15:09:52.000000000 +0000 ++++ cryptography-1.7.2/src/_cffi_src/openssl/x509_vfy.py 2017-02-26 15:15:09.889855740 +0000 +@@ -221,10 +221,12 @@ + static const long X509_V_ERR_SUITE_B_INVALID_SIGNATURE_ALGORITHM = 0; + static const long X509_V_ERR_SUITE_B_LOS_NOT_ALLOWED = 0; + static const long X509_V_ERR_SUITE_B_CANNOT_SIGN_P_384_WITH_P_256 = 0; ++#ifndef X509_V_ERR_HOSTNAME_MISMATCH + static const long X509_V_ERR_HOSTNAME_MISMATCH = 0; + static const long X509_V_ERR_EMAIL_MISMATCH = 0; + static const long X509_V_ERR_IP_ADDRESS_MISMATCH = 0; + #endif ++#endif + + /* OpenSSL 1.0.2beta2+ verification parameters */ + #if CRYPTOGRAPHY_OPENSSL_102BETA2_OR_GREATER && \ diff --git a/dev-python/cryptography/metadata.xml b/dev-python/cryptography/metadata.xml new file mode 100644 index 000000000000..2dfa57bc0fb6 --- /dev/null +++ b/dev-python/cryptography/metadata.xml @@ -0,0 +1,12 @@ +<?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> + <upstream> + <remote-id type="pypi">cryptography</remote-id> + <remote-id type="github">pyca/cryptography</remote-id> + </upstream> +</pkgmetadata> |