dev-python/pypy3-bin: Allow using dev-libs/libressl
authorMichał Górny <mgorny@gentoo.org>
Sat, 11 Nov 2017 19:20:24 +0000 (20:20 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sat, 11 Nov 2017 19:22:35 +0000 (20:22 +0100)
PyPy3 no longer links directly to libssl/libcrypto, and uses
a CFFI-based _ssl module instead. Since we are compiling it locally,
we can just enable libressl support like in dev-python/pypy3.

dev-python/pypy3-bin/pypy3-bin-5.9.0-r1.ebuild

index 5d3c7e340ec2e3d326fd70ab626bfd7adf813661..9f1abcf1f6895c4414578896a361971b81a779b9 100644 (file)
@@ -34,18 +34,19 @@ LICENSE="MIT"
 # pypy -c 'import sysconfig; print sysconfig.get_config_var("SOABI")'
 SLOT="0/59"
 KEYWORDS="~amd64 ~x86"
-IUSE="gdbm +jit sqlite cpu_flags_x86_sse2 test tk"
+IUSE="gdbm +jit libressl sqlite cpu_flags_x86_sse2 test tk"
 
 RDEPEND="
        app-arch/bzip2:0/1
        dev-libs/expat:0/0
        dev-libs/libffi:0/0
-       dev-libs/openssl:0/0[-bindist]
        sys-devel/gcc:*
        sys-libs/glibc
        sys-libs/ncurses:0/6
        sys-libs/zlib:0/1
        gdbm? ( sys-libs/gdbm:0= )
+       !libressl? ( dev-libs/openssl:0=[-bindist] )
+       libressl? ( dev-libs/libressl:0= )
        sqlite? ( dev-db/sqlite:3= )
        tk? (
                dev-lang/tk:0=