From 8b4ace9c50842c5b83401ea7b179dcab940387e1 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 23 Sep 2020 10:22:15 +0100 Subject: gentoo resync : 23.09.2020 --- dev-python/pycryptodome/Manifest | 2 +- .../pycryptodome/pycryptodome-3.9.8-r1.ebuild | 41 ++++++++++++++++++++++ dev-python/pycryptodome/pycryptodome-3.9.8.ebuild | 41 ---------------------- 3 files changed, 42 insertions(+), 42 deletions(-) create mode 100644 dev-python/pycryptodome/pycryptodome-3.9.8-r1.ebuild delete mode 100644 dev-python/pycryptodome/pycryptodome-3.9.8.ebuild (limited to 'dev-python/pycryptodome') diff --git a/dev-python/pycryptodome/Manifest b/dev-python/pycryptodome/Manifest index 5aaae98b8eb8..9d62ec93ac47 100644 --- a/dev-python/pycryptodome/Manifest +++ b/dev-python/pycryptodome/Manifest @@ -1,4 +1,4 @@ AUX pycryptodome-3.9.4-parallel-make.patch 756 BLAKE2B 06a79eff056ecb983131838287563d4d60896f27e28d5c2534f4ab008e50017694ac9355b43f8f387cc29abfd21ffd648233c3dbae33a06fcedb12a6c7e11e80 SHA512 06b42ea780bd374cf5cb5d6cef3fade5d695c1ee0d765e2659408da7645ad311eef2028f17d8ec0289d49c3a5851b4c63503d7c922de15873dbbf16d0db58b08 DIST pycryptodome-3.9.8.tar.gz 15633268 BLAKE2B 8c4f8d4839be0fb09556677514ee6c7f832684f20eb4e355cee87eb5b52a5c09e12712c1865ff89fb5dd6c628ca027374c7cab8a2287aafa4eecedf1095f1a12 SHA512 894e763720df284804fd686d5805980853b86773bb3097bf03d929818b9944e5a257e47414275f302966864751e50ae34dea19ad749910f1ceac31833a53ef7c -EBUILD pycryptodome-3.9.8.ebuild 1330 BLAKE2B 97e78373d4e5d2d7065d0ca60fa8374d225c48ccf89b51fd51d8bbd68897d5ed37ba237f346bd9347a6cdb3204b5b7b43a28426fa593e3d039259a4664ac4e60 SHA512 3596bf56db6f47c1e9c0ce9568988566a858541128e2962af886d1260f059a6542ec5588bf651c343db73a42e483b64e44ab8fdafacfdd6aa6f53cd46dc1df4f +EBUILD pycryptodome-3.9.8-r1.ebuild 1320 BLAKE2B 043de28361a19d129a73c360118f64d602039d3ea9a7a27a2564d709a53ec307fe7ca8589862436c2a44977f23cb7342e08d2fde8a1d32c524044a7cdc02302b SHA512 dcb8e914dd502e4d9335aa41d73551261d2d0645a75ae1389d534cddd693b25013d8551af300132d2093d2379e70eadb81081a082fed3dd551e49b35df3042cf MISC metadata.xml 335 BLAKE2B 7e5036b03371769db2f3a8d0cb5d5cd9078f16d4dccc3bd012f0d4f96ba960388c3025df93bb165f3cdbe05d73da05537a373e01b799aac2dc59dcd44e6206b5 SHA512 a94a7c0c45ae597e5c4ac672a5e9151851448371ddae0fdbd9967651476681440f2d4a6071e2cd0c4a1553038a92f4e6649f0554b636d58a025366c57c80e899 diff --git a/dev-python/pycryptodome/pycryptodome-3.9.8-r1.ebuild b/dev-python/pycryptodome/pycryptodome-3.9.8-r1.ebuild new file mode 100644 index 000000000000..4ae0c12c89b5 --- /dev/null +++ b/dev-python/pycryptodome/pycryptodome-3.9.8-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="A self-contained cryptographic library for Python" +HOMEPAGE="https://www.pycryptodome.org https://github.com/Legrandin/pycryptodome https://pypi.org/project/pycryptodome/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD-2 Unlicense" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RDEPEND="dev-libs/gmp:0 + virtual/python-cffi[${PYTHON_USEDEP}] + !dev-python/pycrypto" +BDEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}/pycryptodome-3.9.4-parallel-make.patch" +) + +distutils_enable_tests setup.py + +python_prepare_all() { + # parallel make fixes + # Multiple targets were compiling the same file, setuptools doesn't + # understand this and you get race conditions where a file gets + # overwritten while it's linking. This makes the files look like separate + # files so this race won't happen + ln src/blowfish.c src/blowfish_eks.c || die + ln src/mont.c src/mont_math.c || die + + distutils-r1_python_prepare_all +} diff --git a/dev-python/pycryptodome/pycryptodome-3.9.8.ebuild b/dev-python/pycryptodome/pycryptodome-3.9.8.ebuild deleted file mode 100644 index fc32975c8f9e..000000000000 --- a/dev-python/pycryptodome/pycryptodome-3.9.8.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# 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,9} pypy3 ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 - -DESCRIPTION="A self-contained cryptographic library for Python" -HOMEPAGE="https://www.pycryptodome.org https://github.com/Legrandin/pycryptodome https://pypi.org/project/pycryptodome/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD-2 Unlicense" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="" - -RDEPEND="dev-libs/gmp:0 - virtual/python-cffi[${PYTHON_USEDEP}] - !dev-python/pycrypto" -BDEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}/pycryptodome-3.9.4-parallel-make.patch" -) - -distutils_enable_tests setup.py - -python_prepare_all() { - # parallel make fixes - # Multiple targets were compiling the same file, setuptools doesn't - # understand this and you get race conditions where a file gets - # overwritten while it's linking. This makes the files look like separate - # files so this race won't happen - ln src/blowfish.c src/blowfish_eks.c || die - ln src/mont.c src/mont_math.c || die - - distutils-r1_python_prepare_all -} -- cgit v1.2.3