All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yegor Yefremov <yegorslists@googlemail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 19/22] package/python-cryptography: new package.
Date: Mon, 1 Feb 2016 15:57:20 +0100	[thread overview]
Message-ID: <CAGm1_kue5LTCSimMmyY5Y2D5xGSjZ_eMLWv3jz7rwF1vKT2L3A@mail.gmail.com> (raw)
In-Reply-To: <1454335541-14224-20-git-send-email-mc5686@mclink.it>

On Mon, Feb 1, 2016 at 3:05 PM, Mauro Condarelli <mc5686@mclink.it> wrote:
> Signed-off-by: Mauro Condarelli <mc5686@mclink.it>
> ---
>  package/Config.in                                  |  1 +
>  package/python-cryptography/Config.in              | 20 +++++++++++++++++++
>  .../python-cryptography/python-cryptography.hash   |  6 ++++++
>  package/python-cryptography/python-cryptography.mk | 23 ++++++++++++++++++++++
>  4 files changed, 50 insertions(+)
>  create mode 100644 package/python-cryptography/Config.in
>  create mode 100644 package/python-cryptography/python-cryptography.hash
>  create mode 100644 package/python-cryptography/python-cryptography.mk
>
> diff --git a/package/Config.in b/package/Config.in
> index 5221cfe..1cdcbb0 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -632,6 +632,7 @@ menu "External python modules"
>         source "package/python-configobj/Config.in"
>         source "package/python-configshell-fb/Config.in"
>         source "package/python-crc16/Config.in"
> +       source "package/python-cryptography/Config.in"
>         source "package/python-cssselect/Config.in"
>         source "package/python-daemon/Config.in"
>         source "package/python-dialog/Config.in"
> diff --git a/package/python-cryptography/Config.in b/package/python-cryptography/Config.in
> new file mode 100644
> index 0000000..c6d183f
> --- /dev/null
> +++ b/package/python-cryptography/Config.in
> @@ -0,0 +1,20 @@
> +config BR2_PACKAGE_PYTHON_CRYPTOGRAPHY
> +       bool "python-cryptography"
> +       depends on BR2_INSTALL_LIBSTDCPP # python-pyasn
> +       select BR2_PACKAGE_OPENSSL
> +       select BR2_PACKAGE_PYTHON_CFFI
> +       select BR2_PACKAGE_PYTHON_SETUPTOOLS
> +       select BR2_PACKAGE_PYTHON_IDNA
> +       select BR2_PACKAGE_PYTHON_PYASN
> +       select BR2_PACKAGE_PYTHON_PYEXPAT if BR2_PACKAGE_PYTHON
> +       select BR2_PACKAGE_PYTHON3_PYEXPAT if BR2_PACKAGE_PYTHON3
> +       select BR2_PACKAGE_PYTHON_ENUM34 if BR2_PACKAGE_PYTHON
> +       select BR2_PACKAGE_PYTHON_IPADDRESS if BR2_PACKAGE_PYTHON
> +       help
> +         cryptography is a package designed to expose cryptographic
> +         primitives and recipes to Python developers.
> +
> +         https://cryptography.io
> +
> +comment "python-cryptography needs a toolchain w/ C++"
> +       depends on !BR2_INSTALL_LIBSTDCPP
> diff --git a/package/python-cryptography/python-cryptography.hash b/package/python-cryptography/python-cryptography.hash
> new file mode 100644
> index 0000000..f828fb4
> --- /dev/null
> +++ b/package/python-cryptography/python-cryptography.hash
> @@ -0,0 +1,6 @@
> +# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=15eeba9e31f852bac21155baa3dfbc61, sha256 locally computed
> +md5     15eeba9e31f852bac21155baa3dfbc61  cryptography-1.1.2.tar.gz
> +sha256  7f51459f84d670444275e615839f4542c93547a12e938a0a4906dafe5f7de153  cryptography-1.1.2.tar.gz
> +# Locally computed.
> +md5    02798acc5e2d5dbcf6e792a24fc05b95  cryptography-1.2.1.tar.gz
> +sha256 a13217a03a47e743d26edff7299e4be7358c2fd12a223ac5d6de3229690b6ee5  cryptography-1.2.1.tar.gz
> diff --git a/package/python-cryptography/python-cryptography.mk b/package/python-cryptography/python-cryptography.mk
> new file mode 100644
> index 0000000..fbd0caf
> --- /dev/null
> +++ b/package/python-cryptography/python-cryptography.mk
> @@ -0,0 +1,23 @@
> +################################################################################
> +#
> +# python-cryptography
> +#
> +################################################################################
> +
> +PYTHON_CRYPTOGRAPHY_VERSION = 1.1.2
> +PYTHON_CRYPTOGRAPHY_SOURCE = cryptography-$(PYTHON_CRYPTOGRAPHY_VERSION).tar.gz
> +PYTHON_CRYPTOGRAPHY_SITE = https://pypi.python.org/packages/source/c/cryptography
> +PYTHON_CRYPTOGRAPHY_SETUP_TYPE = setuptools
> +PYTHON_CRYPTOGRAPHY_LICENSE = Apache
> +PYTHON_CRYPTOGRAPHY_LICENSE_FILES = LICENSE
> +PYTHON_CRYPTOGRAPHY_DEPENDENCIES = python-six \
> +                                  python-idna \
> +                                  python-pyasn \
> +                                  host-python-cffi \
> +                                  openssl
> +
> +ifeq ($(BR2_PACKAGE_PYTHON),y)
> +PYTHON_CRYPTOGRAPHY_DEPENDENCIES += python-enum34
> +endif
> +
> +$(eval $(python-package))
> --

drop this patch, as it is already in patchwork

Yegor

  reply	other threads:[~2016-02-01 14:57 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-01 14:05 [Buildroot] [PATCH 00/22] changes needed for python-crossbar package (new) Mauro Condarelli
2016-02-01 14:05 ` [Buildroot] [PATCH 01/22] package/python-jinja2: bump version to 2.8 (needed by python-crossbar) Mauro Condarelli
2016-02-01 20:10   ` Yegor Yefremov
2016-02-01 14:05 ` [Buildroot] [PATCH 02/22] package/python-characteristic: new package Mauro Condarelli
2016-02-01 15:14   ` Yegor Yefremov
2016-02-01 18:42     ` Arnout Vandecappelle
2016-02-01 20:00       ` Yegor Yefremov
2016-02-01 14:05 ` [Buildroot] [PATCH 03/22] package/python-cbor: " Mauro Condarelli
2016-02-01 15:11   ` Yegor Yefremov
2016-02-01 14:05 ` [Buildroot] [PATCH 04/22] package/python-click: " Mauro Condarelli
2016-02-01 15:02   ` Yegor Yefremov
2016-02-01 14:05 ` [Buildroot] [PATCH 05/22] package/python-lmdb: " Mauro Condarelli
2016-02-01 14:58   ` Yegor Yefremov
2016-02-01 14:05 ` [Buildroot] [PATCH 06/22] package/python-mistune: " Mauro Condarelli
2016-02-01 15:09   ` Yegor Yefremov
2016-02-01 14:05 ` [Buildroot] [PATCH 07/22] package/python-netaddr: " Mauro Condarelli
2016-02-01 15:16   ` Yegor Yefremov
2016-02-01 14:05 ` [Buildroot] [PATCH 08/22] package/python-pycparser: " Mauro Condarelli
2016-02-01 14:54   ` Yegor Yefremov
2016-02-01 18:44     ` Arnout Vandecappelle
2016-02-01 20:13       ` Yegor Yefremov
2016-02-01 14:05 ` [Buildroot] [PATCH 09/22] package/python-pygments: " Mauro Condarelli
2016-02-01 14:05 ` [Buildroot] [PATCH 10/22] package/python-pynacl: " Mauro Condarelli
2016-02-01 15:13   ` Yegor Yefremov
2016-02-01 14:05 ` [Buildroot] [PATCH 11/22] package/python-pyopenssl: " Mauro Condarelli
2016-02-01 14:54   ` Yegor Yefremov
2016-02-01 14:05 ` [Buildroot] [PATCH 12/22] package/python-pytrie: " Mauro Condarelli
2016-02-01 14:30   ` Yegor Yefremov
2016-02-01 14:05 ` [Buildroot] [PATCH 13/22] package/python-service-identity: " Mauro Condarelli
2016-02-01 14:48   ` Yegor Yefremov
2016-02-01 14:05 ` [Buildroot] [PATCH 14/22] package/python-shutilwhich: " Mauro Condarelli
2016-02-01 14:56   ` Yegor Yefremov
2016-02-01 14:05 ` [Buildroot] [PATCH 15/22] package/python-treq: " Mauro Condarelli
2016-02-01 15:04   ` Yegor Yefremov
2016-02-01 14:05 ` [Buildroot] [PATCH 16/22] package/python-txaio: " Mauro Condarelli
2016-02-01 14:36   ` Yegor Yefremov
2016-02-01 14:05 ` [Buildroot] [PATCH 17/22] package/python-msgpack-python: " Mauro Condarelli
2016-02-01 14:51   ` Yegor Yefremov
2016-02-01 14:05 ` [Buildroot] [PATCH 18/22] package/python-pyasn1-modules: " Mauro Condarelli
2016-02-01 15:08   ` Yegor Yefremov
2016-02-01 14:05 ` [Buildroot] [PATCH 19/22] package/python-cryptography: " Mauro Condarelli
2016-02-01 14:57   ` Yegor Yefremov [this message]
2016-02-01 14:05 ` [Buildroot] [PATCH 20/22] package/python-autobahn: " Mauro Condarelli
2016-02-01 15:10   ` Yegor Yefremov
2016-02-01 14:05 ` [Buildroot] [PATCH 21/22] package/python-crossbar: " Mauro Condarelli
2016-02-01 15:17   ` Yegor Yefremov
2016-02-01 14:05 ` [Buildroot] [PATCH 22/22] package/python-cffi: host-package added (needs host-libffi) Mauro Condarelli
2016-02-01 14:39   ` Yegor Yefremov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAGm1_kue5LTCSimMmyY5Y2D5xGSjZ_eMLWv3jz7rwF1vKT2L3A@mail.gmail.com \
    --to=yegorslists@googlemail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.