From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 838BD138334 for ; Thu, 21 Feb 2019 01:32:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 73DABE088F; Thu, 21 Feb 2019 01:32:30 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3B0F4E088F for ; Thu, 21 Feb 2019 01:32:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C7448335D6B for ; Thu, 21 Feb 2019 01:32:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 705FC522 for ; Thu, 21 Feb 2019 01:32:27 +0000 (UTC) From: "Aaron Bauman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Aaron Bauman" Message-ID: <1550712739.055f92ada00d62aa15f46f20749e2866a04107b5.bman@gentoo> Subject: [gentoo-commits] repo/proj/libressl:master commit in: dev-python/m2crypto/, dev-python/m2crypto/files/ X-VCS-Repository: repo/proj/libressl X-VCS-Files: dev-python/m2crypto/Manifest dev-python/m2crypto/files/0.26.4-libressl.patch dev-python/m2crypto/m2crypto-0.27.0.ebuild dev-python/m2crypto/metadata.xml X-VCS-Directories: dev-python/m2crypto/files/ dev-python/m2crypto/ X-VCS-Committer: bman X-VCS-Committer-Name: Aaron Bauman X-VCS-Revision: 055f92ada00d62aa15f46f20749e2866a04107b5 X-VCS-Branch: master Date: Thu, 21 Feb 2019 01:32:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6f4f28a5-4e87-4145-bd11-e197cabe75ea X-Archives-Hash: f42e13620d830de771072768a1e6b3ea commit: 055f92ada00d62aa15f46f20749e2866a04107b5 Author: Aaron Bauman gentoo org> AuthorDate: Thu Feb 21 01:32:19 2019 +0000 Commit: Aaron Bauman gentoo org> CommitDate: Thu Feb 21 01:32:19 2019 +0000 URL: https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=055f92ad dev-python/*: drop as patches are upstream in gentoo.git Signed-off-by: Aaron Bauman gentoo.org> dev-python/m2crypto/Manifest | 1 - dev-python/m2crypto/files/0.26.4-libressl.patch | 245 ------------------------ dev-python/m2crypto/m2crypto-0.27.0.ebuild | 56 ------ dev-python/m2crypto/metadata.xml | 12 -- 4 files changed, 314 deletions(-) diff --git a/dev-python/m2crypto/Manifest b/dev-python/m2crypto/Manifest deleted file mode 100644 index bb56a61..0000000 --- a/dev-python/m2crypto/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST M2Crypto-0.27.0.tar.gz 1119288 SHA256 82317459d653322d6b37f122ce916dc91ddcd9d1b814847497ac796c4549dd68 SHA512 df0f6b16f7d00a19fafbb5da5a3ececff6b4627accd00ca65e0d6f9e752a97f41016d0072c8e681475fe1d87c89b7474067068c0bfce6c68a30baddeb31bfac2 WHIRLPOOL 678f19d7bcd0663b704761a78b8e2d39a1c62450f99d5b0aa513e8b8af717ef1935b274eef99d4e027e8e5992887806bd270fcba02fd3e650f086f8b87f5adc7 diff --git a/dev-python/m2crypto/files/0.26.4-libressl.patch b/dev-python/m2crypto/files/0.26.4-libressl.patch deleted file mode 100644 index 4db1bff..0000000 --- a/dev-python/m2crypto/files/0.26.4-libressl.patch +++ /dev/null @@ -1,245 +0,0 @@ -diff -Naur M2Crypto-0.26.4.orig/SWIG/_bio.i M2Crypto-0.26.4/SWIG/_bio.i ---- M2Crypto-0.26.4.orig/SWIG/_bio.i 2017-10-17 18:22:17.157602333 -0700 -+++ M2Crypto-0.26.4/SWIG/_bio.i 2017-10-17 18:31:52.799592024 -0700 -@@ -63,14 +63,14 @@ - static PyObject *_bio_err; - - --#if OPENSSL_VERSION_NUMBER >= 0x10100000L -+#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER) - void pyfd_init(void); - #endif - - void bio_init(PyObject *bio_err) { - Py_INCREF(bio_err); - _bio_err = bio_err; --#if OPENSSL_VERSION_NUMBER >= 0x10100000L -+#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER) - pyfd_init(); - #endif - } -@@ -298,7 +298,7 @@ - return BIO_should_write(a); - } - --#if OPENSSL_VERSION_NUMBER >= 0x10100000L -+#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER) - /* implment custom BIO_s_pyfd */ - - #ifdef WIN32 -diff -Naur M2Crypto-0.26.4.orig/SWIG/_evp.i M2Crypto-0.26.4/SWIG/_evp.i ---- M2Crypto-0.26.4.orig/SWIG/_evp.i 2017-10-17 18:22:17.157602333 -0700 -+++ M2Crypto-0.26.4/SWIG/_evp.i 2017-10-17 18:32:48.379591029 -0700 -@@ -19,7 +19,7 @@ - #include - #include - --#if OPENSSL_VERSION_NUMBER < 0x10100000L -+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) - - HMAC_CTX *HMAC_CTX_new(void) { - HMAC_CTX *ret = PyMem_Malloc(sizeof(HMAC_CTX)); -diff -Naur M2Crypto-0.26.4.orig/SWIG/_lib.i M2Crypto-0.26.4/SWIG/_lib.i ---- M2Crypto-0.26.4.orig/SWIG/_lib.i 2017-10-17 18:22:17.157602333 -0700 -+++ M2Crypto-0.26.4/SWIG/_lib.i 2017-10-17 18:33:13.535590578 -0700 -@@ -487,7 +487,7 @@ - %inline %{ - - void lib_init() { --#if OPENSSL_VERSION_NUMBER < 0x10100000L -+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) - SSLeay_add_all_algorithms(); - ERR_load_ERR_strings(); - #endif -diff -Naur M2Crypto-0.26.4.orig/SWIG/_lib11_compat.i M2Crypto-0.26.4/SWIG/_lib11_compat.i ---- M2Crypto-0.26.4.orig/SWIG/_lib11_compat.i 2017-10-17 18:22:17.156602333 -0700 -+++ M2Crypto-0.26.4/SWIG/_lib11_compat.i 2017-10-17 18:34:12.117589529 -0700 -@@ -8,7 +8,7 @@ - */ - - %{ --#if OPENSSL_VERSION_NUMBER < 0x10100000L -+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) - - #include - #include -@@ -454,5 +454,5 @@ - return 1; - } - --#endif /* OPENSSL_VERSION_NUMBER */ -+#endif /* OPENSSL_VERSION_NUMBER || LIBRESSL_VERSION_NUMBER */ - %} -diff -Naur M2Crypto-0.26.4.orig/SWIG/_m2crypto_wrap.c M2Crypto-0.26.4/SWIG/_m2crypto_wrap.c ---- M2Crypto-0.26.4.orig/SWIG/_m2crypto_wrap.c 2017-10-17 18:22:17.156602333 -0700 -+++ M2Crypto-0.26.4/SWIG/_m2crypto_wrap.c 2017-10-17 18:40:03.847583230 -0700 -@@ -3764,7 +3764,7 @@ - #include - #include - --#if defined(THREADING) && OPENSSL_VERSION_NUMBER < 0x10100000L -+#if defined(THREADING) && (OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)) - #define CRYPTO_num_locks() (CRYPTO_NUM_LOCKS) - static PyThread_type_lock lock_cs[CRYPTO_num_locks()]; - static long lock_count[CRYPTO_num_locks()]; -@@ -3772,7 +3772,7 @@ - #endif - - void threading_locking_callback(int mode, int type, const char *file, int line) { --#if defined(THREADING) && OPENSSL_VERSION_NUMBER < 0x10100000L -+#if defined(THREADING) && (OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)) - if (mode & CRYPTO_LOCK) { - PyThread_acquire_lock(lock_cs[type], WAIT_LOCK); - lock_count[type]++; -@@ -3784,7 +3784,7 @@ - } - - unsigned long threading_id_callback(void) { --#if defined(THREADING) && OPENSSL_VERSION_NUMBER < 0x10100000L -+#if defined(THREADING) && (OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)) - return (unsigned long)PyThread_get_thread_ident(); - #else - return (unsigned long)0; -@@ -3793,7 +3793,7 @@ - - - void threading_init(void) { --#if defined(THREADING) && OPENSSL_VERSION_NUMBER < 0x10100000L -+#if defined(THREADING) && (OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)) - int i; - if (!thread_mode) { - for (i=0; i - - --#if OPENSSL_VERSION_NUMBER < 0x10100000L -+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) - - #include - #include -@@ -4745,7 +4745,7 @@ - - - void lib_init() { --#if OPENSSL_VERSION_NUMBER < 0x10100000L -+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) - SSLeay_add_all_algorithms(); - ERR_load_ERR_strings(); - #endif -@@ -5038,14 +5038,14 @@ - static PyObject *_bio_err; - - --#if OPENSSL_VERSION_NUMBER >= 0x10100000L -+#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER) - void pyfd_init(void); - #endif - - void bio_init(PyObject *bio_err) { - Py_INCREF(bio_err); - _bio_err = bio_err; --#if OPENSSL_VERSION_NUMBER >= 0x10100000L -+#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER) - pyfd_init(); - #endif - } -@@ -5268,7 +5268,7 @@ - return BIO_should_write(a); - } - --#if OPENSSL_VERSION_NUMBER >= 0x10100000L -+#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER) - /* implment custom BIO_s_pyfd */ - - #ifdef WIN32 -@@ -5749,7 +5749,7 @@ - #include - #include - --#if OPENSSL_VERSION_NUMBER < 0x10100000L -+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) - - HMAC_CTX *HMAC_CTX_new(void) { - HMAC_CTX *ret = PyMem_Malloc(sizeof(HMAC_CTX)); -diff -Naur M2Crypto-0.26.4.orig/SWIG/_ssl.i M2Crypto-0.26.4/SWIG/_ssl.i ---- M2Crypto-0.26.4.orig/SWIG/_ssl.i 2017-10-17 18:22:17.157602333 -0700 -+++ M2Crypto-0.26.4/SWIG/_ssl.i 2017-10-17 18:41:25.205581773 -0700 -@@ -29,7 +29,7 @@ - #endif - %} - --#if OPENSSL_VERSION_NUMBER >= 0x10100005L -+#if OPENSSL_VERSION_NUMBER >= 0x10100005L && !defined(LIBRESSL_VERSION_NUMBER) - %include - #endif - -diff -Naur M2Crypto-0.26.4.orig/SWIG/_threads.i M2Crypto-0.26.4/SWIG/_threads.i ---- M2Crypto-0.26.4.orig/SWIG/_threads.i 2017-10-17 18:22:17.157602333 -0700 -+++ M2Crypto-0.26.4/SWIG/_threads.i 2017-10-17 18:42:10.303580966 -0700 -@@ -5,7 +5,7 @@ - #include - #include - --#if defined(THREADING) && OPENSSL_VERSION_NUMBER < 0x10100000L -+#if defined(THREADING) && (OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)) - #define CRYPTO_num_locks() (CRYPTO_NUM_LOCKS) - static PyThread_type_lock lock_cs[CRYPTO_num_locks()]; - static long lock_count[CRYPTO_num_locks()]; -@@ -13,7 +13,7 @@ - #endif - - void threading_locking_callback(int mode, int type, const char *file, int line) { --#if defined(THREADING) && OPENSSL_VERSION_NUMBER < 0x10100000L -+#if defined(THREADING) && (OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)) - if (mode & CRYPTO_LOCK) { - PyThread_acquire_lock(lock_cs[type], WAIT_LOCK); - lock_count[type]++; -@@ -25,7 +25,7 @@ - } - - unsigned long threading_id_callback(void) { --#if defined(THREADING) && OPENSSL_VERSION_NUMBER < 0x10100000L -+#if defined(THREADING) && (OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)) - return (unsigned long)PyThread_get_thread_ident(); - #else - return (unsigned long)0; -@@ -35,7 +35,7 @@ - - %inline %{ - void threading_init(void) { --#if defined(THREADING) && OPENSSL_VERSION_NUMBER < 0x10100000L -+#if defined(THREADING) && (OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)) - int i; - if (!thread_mode) { - for (i=0; i - #include diff --git a/dev-python/m2crypto/m2crypto-0.27.0.ebuild b/dev-python/m2crypto/m2crypto-0.27.0.ebuild deleted file mode 100644 index 4d813e0..0000000 --- a/dev-python/m2crypto/m2crypto-0.27.0.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 - -MY_PN="M2Crypto" - -DESCRIPTION="M2Crypto: A Python crypto and SSL toolkit" -HOMEPAGE="https://gitlab.com/m2crypto/m2crypto https://pypi.python.org/pypi/M2Crypto" -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 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" - -IUSE="libressl" - -RDEPEND=" - !libressl? ( >=dev-libs/openssl-0.9.8:0=[-bindist(-)] ) - libressl? ( dev-libs/libressl:0= ) - dev-python/typing[${PYTHON_USEDEP}] -" -DEPEND="${RDEPEND} - >=dev-lang/swig-1.3.28:0 - dev-python/setuptools[${PYTHON_USEDEP}] -" - -S="${WORKDIR}/${MY_PN}-${PV}" - -# Tests access network, and fail randomly. Bug #431458. -RESTRICT=test - -PATCHES=( - "${FILESDIR}"/0.26.4-libressl.patch -) - -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 -} - -python_test() { - esetup.py test -} diff --git a/dev-python/m2crypto/metadata.xml b/dev-python/m2crypto/metadata.xml deleted file mode 100644 index ed10818..0000000 --- a/dev-python/m2crypto/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - python@gentoo.org - Python - - - M2Crypto - m2crypto/m2crypto - -