From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 834A2138827 for ; Sat, 3 Oct 2015 15:20:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5535821C002; Sat, 3 Oct 2015 15:20:08 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E62CD21C002 for ; Sat, 3 Oct 2015 15:20:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9628F340754 for ; Sat, 3 Oct 2015 15:20:06 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 42901207 for ; Sat, 3 Oct 2015 15:20:04 +0000 (UTC) From: "Julian Ospald" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Julian Ospald" Message-ID: <1443885583.d8a8b3bb75c710f8731a512291aa2c6fae47aca5.hasufell@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/m2crypto/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/m2crypto/m2crypto-0.22.3-r5.ebuild X-VCS-Directories: dev-python/m2crypto/ X-VCS-Committer: hasufell X-VCS-Committer-Name: Julian Ospald X-VCS-Revision: d8a8b3bb75c710f8731a512291aa2c6fae47aca5 X-VCS-Branch: master Date: Sat, 3 Oct 2015 15:20:04 +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-Archives-Salt: 24b06b07-63e3-4ca8-a819-a12f628fb123 X-Archives-Hash: 87d0f4878547c8fcb4b0fcfb6ee79176 commit: d8a8b3bb75c710f8731a512291aa2c6fae47aca5 Author: Julian Ospald gentoo org> AuthorDate: Sat Oct 3 15:19:43 2015 +0000 Commit: Julian Ospald gentoo org> CommitDate: Sat Oct 3 15:19:43 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8a8b3bb dev-python/m2crypto: add libressl support dev-python/m2crypto/m2crypto-0.22.3-r5.ebuild | 44 +++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/dev-python/m2crypto/m2crypto-0.22.3-r5.ebuild b/dev-python/m2crypto/m2crypto-0.22.3-r5.ebuild new file mode 100644 index 0000000..70bd900 --- /dev/null +++ b/dev-python/m2crypto/m2crypto-0.22.3-r5.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +MY_PN="M2Crypto" + +DESCRIPTION="M2Crypto: A Python crypto and SSL toolkit" +HOMEPAGE="https://github.com/martinpaljak/M2Crypto https://pypi.python.org/pypi/M2Crypto" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +IUSE="libressl" + +RDEPEND=" + !libressl? ( >=dev-libs/openssl-0.9.8:0= ) + libressl? ( dev-libs/libressl:= ) +" +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.22.3-Use-swig-generated-python-loader.patch + "${FILESDIR}"/0.22.3-packaging.patch +) + +python_test() { + esetup.py test +}