From patchwork Thu Dec 24 21:30:41 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yegor Yefremov X-Patchwork-Id: 560972 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 1E512140C1F for ; Fri, 25 Dec 2015 08:31:19 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=googlemail.com header.i=@googlemail.com header.b=CfWd8nnR; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 656D095C41; Thu, 24 Dec 2015 21:31:18 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JncHtDermPvs; Thu, 24 Dec 2015 21:31:15 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 63F8895C2D; Thu, 24 Dec 2015 21:31:14 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 066381C10F1 for ; Thu, 24 Dec 2015 21:31:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id F0F74A5CD4 for ; Thu, 24 Dec 2015 21:31:10 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Q8cTxJAeH92n for ; Thu, 24 Dec 2015 21:31:08 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f47.google.com (mail-wm0-f47.google.com [74.125.82.47]) by fraxinus.osuosl.org (Postfix) with ESMTPS id B1150A5CE5 for ; Thu, 24 Dec 2015 21:31:07 +0000 (UTC) Received: by mail-wm0-f47.google.com with SMTP id l126so191747926wml.0 for ; Thu, 24 Dec 2015 13:31:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=4Af0drkgV+pG/05nGKiBirA15AaJU77F+PewEneK5k0=; b=CfWd8nnRdhYNlhd6ySWfagK5btDbBpeqX9/VzpBlNwLmfHtwbL2L/FJMmOuiqCzhiT NC9vP/+CKo5vohNRpk350DRQ6feRYw2mbDKIurbUm2i0nujHKnM5si+6+4dAPNb379V/ gqLbKbY3YI+KBh/fvQSa5Ctk2JwrdLu06eu9GeAYidXFYj+yp9SIuz+uHMFdV0dr4oGK vhhopKyVpalIvyLaHBPenHoa4NjRfoltLZuOJthzV4lZE/Uj8BzSqDrl16U9mNiT4IaL 0uzcbyi6Clnqu8C0kce1sL0ZTM6SiXBwu9zt3+fAZjs6mVKpafxBjhWxBaEBgYG3W+t0 uqRA== X-Received: by 10.28.158.74 with SMTP id h71mr5628788wme.74.1450992666284; Thu, 24 Dec 2015 13:31:06 -0800 (PST) Received: from user-SATELLITE-L50-B.localdomain (x2f03da6.dyn.telefonica.de. [2.240.61.166]) by smtp.gmail.com with ESMTPSA id n5sm6119076wmf.3.2015.12.24.13.31.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 24 Dec 2015 13:31:05 -0800 (PST) From: Yegor Yefremov To: buildroot@buildroot.org Date: Thu, 24 Dec 2015 22:30:41 +0100 Message-Id: <1450992641-8618-5-git-send-email-yegorslists@googlemail.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1450992641-8618-1-git-send-email-yegorslists@googlemail.com> References: <1450992641-8618-1-git-send-email-yegorslists@googlemail.com> Subject: [Buildroot] [PATCH 5/5] python-pyopenssl: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Yegor Yefremov --- package/Config.in | 1 + package/python-pyopenssl/Config.in | 12 ++++++++++++ package/python-pyopenssl/python-pyopenssl.hash | 3 +++ package/python-pyopenssl/python-pyopenssl.mk | 14 ++++++++++++++ 4 files changed, 30 insertions(+) create mode 100644 package/python-pyopenssl/Config.in create mode 100644 package/python-pyopenssl/python-pyopenssl.hash create mode 100644 package/python-pyopenssl/python-pyopenssl.mk diff --git a/package/Config.in b/package/Config.in index 4c96454..1d8496d 100644 --- a/package/Config.in +++ b/package/Config.in @@ -671,6 +671,7 @@ menu "External python modules" source "package/python-pyftpdlib/Config.in" source "package/python-pygame/Config.in" source "package/python-pyinotify/Config.in" + source "package/python-pyopenssl/Config.in" source "package/python-pyparsing/Config.in" source "package/python-pypcap/Config.in" source "package/python-pyqt/Config.in" diff --git a/package/python-pyopenssl/Config.in b/package/python-pyopenssl/Config.in new file mode 100644 index 0000000..cb59e8b --- /dev/null +++ b/package/python-pyopenssl/Config.in @@ -0,0 +1,12 @@ +config BR2_PACKAGE_PYTHON_PYOPENSSL + bool "python-pyopenssl" + depends on BR2_INSTALL_LIBSTDCPP # python-cryptography + select BR2_PACKAGE_PYTHON_SIX + select BR2_PACKAGE_PYTHON_CRYPTOGRAPHY + help + Python wrapper module around the OpenSSL library. + + https://github.com/pyca/pyopenssl + +comment "python-pyopenssl needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP diff --git a/package/python-pyopenssl/python-pyopenssl.hash b/package/python-pyopenssl/python-pyopenssl.hash new file mode 100644 index 0000000..0c6e25a --- /dev/null +++ b/package/python-pyopenssl/python-pyopenssl.hash @@ -0,0 +1,3 @@ +# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=f447644afcbd5f0a1f47350fec63a4c6, sha256 locally computed +md5 f447644afcbd5f0a1f47350fec63a4c6 pyOpenSSL-0.15.1.tar.gz +sha256 f0a26070d6db0881de8bcc7846934b7c3c930d8f9c79d45883ee48984bc0d672 pyOpenSSL-0.15.1.tar.gz diff --git a/package/python-pyopenssl/python-pyopenssl.mk b/package/python-pyopenssl/python-pyopenssl.mk new file mode 100644 index 0000000..239fd98 --- /dev/null +++ b/package/python-pyopenssl/python-pyopenssl.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-pyopenssl +# +################################################################################ + +PYTHON_PYOPENSSL_VERSION = 0.15.1 +PYTHON_PYOPENSSL_SOURCE = pyOpenSSL-$(PYTHON_PYOPENSSL_VERSION).tar.gz +PYTHON_PYOPENSSL_SITE = https://pypi.python.org/packages/source/p/pyOpenSSL +PYTHON_PYOPENSSL_LICENSE = Apache-2.0 +PYTHON_PYOPENSSL_LICENSE_FILES = LICENSE +PYTHON_PYOPENSSL_SETUP_TYPE = setuptools + +$(eval $(python-package))