Skip to content

Commit

Permalink
dev-python/m2crypto: sync with upstream
Browse files Browse the repository at this point in the history
0.27.0-r1 includes patch
  • Loading branch information
lluixhi committed Apr 13, 2018
1 parent fcf6f7e commit 538b041
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 51 deletions.
1 change: 0 additions & 1 deletion dev-python/m2crypto/Manifest
@@ -1,2 +1 @@
DIST M2Crypto-0.26.4.tar.gz 1116587 SHA256 5cae7acc0b34821f8c0ddf6665e482893fe1f198ad6379e61ffa9d8e65f5c199 SHA512 632b71850edd4f4e32d6d3aa83cb0e8068654c087498c88265f999180e0c58917aa6d29c5d1033f597397da98c3dc9acb9d21feddbb2f3da25a368f6a0af60f9 WHIRLPOOL 9388b016cf47f849379ef47a1819a9ee4fd647f8491a61e7381107032ba0e57f28bf6ebca868cf8cc6e4d6fb9341c77a01bc620b5133ea6e689aab72349a07d0
DIST M2Crypto-0.27.0.tar.gz 1119288 SHA256 82317459d653322d6b37f122ce916dc91ddcd9d1b814847497ac796c4549dd68 SHA512 df0f6b16f7d00a19fafbb5da5a3ececff6b4627accd00ca65e0d6f9e752a97f41016d0072c8e681475fe1d87c89b7474067068c0bfce6c68a30baddeb31bfac2 WHIRLPOOL 678f19d7bcd0663b704761a78b8e2d39a1c62450f99d5b0aa513e8b8af717ef1935b274eef99d4e027e8e5992887806bd270fcba02fd3e650f086f8b87f5adc7
48 changes: 0 additions & 48 deletions dev-python/m2crypto/m2crypto-0.26.4.ebuild

This file was deleted.

12 changes: 10 additions & 2 deletions dev-python/m2crypto/m2crypto-0.27.0.ebuild
Expand Up @@ -16,12 +16,12 @@ SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"

IUSE="libressl"

RDEPEND="
!libressl? ( >=dev-libs/openssl-0.9.8:0= )
!libressl? ( >=dev-libs/openssl-0.9.8:0=[-bindist(-)] )
libressl? ( dev-libs/libressl:0= )
dev-python/typing[${PYTHON_USEDEP}]
"
Expand All @@ -40,6 +40,14 @@ PATCHES=(
)

python_compile() {
# setup.py looks at platform.machine() to determine swig options.
# For exotic ABIs, we need to give swig a hint.
# https://bugs.gentoo.org/617946
# TODO: Fix cross-compiles
local -x SWIG_FEATURES=
case ${ABI} in
x32) SWIG_FEATURES="-D__ILP32__" ;;
esac
distutils-r1_python_compile --openssl="${EPREFIX}"/usr
}

Expand Down

0 comments on commit 538b041

Please sign in to comment.