diff mbox

[v4,07/17] python-service-identity: new package

Message ID 1454799603-5474-8-git-send-email-mc5686@mclink.it
State Superseded
Headers show

Commit Message

Mauro Condarelli Feb. 6, 2016, 10:59 p.m. UTC
Signed-off-by: Mauro Condarelli <mc5686@mclink.it>
---
 package/Config.in                                         |  1 +
 package/python-service-identity/Config.in                 | 10 ++++++++++
 .../python-service-identity/python-service-identity.hash  |  3 +++
 .../python-service-identity/python-service-identity.mk    | 15 +++++++++++++++
 4 files changed, 29 insertions(+)
 create mode 100644 package/python-service-identity/Config.in
 create mode 100644 package/python-service-identity/python-service-identity.hash
 create mode 100644 package/python-service-identity/python-service-identity.mk

Comments

Yegor Yefremov Feb. 7, 2016, 9:27 a.m. UTC | #1
On Sat, Feb 6, 2016 at 11:59 PM, Mauro Condarelli <mc5686@mclink.it> wrote:
> Signed-off-by: Mauro Condarelli <mc5686@mclink.it>
> ---
>  package/Config.in                                         |  1 +
>  package/python-service-identity/Config.in                 | 10 ++++++++++
>  .../python-service-identity/python-service-identity.hash  |  3 +++
>  .../python-service-identity/python-service-identity.mk    | 15 +++++++++++++++
>  4 files changed, 29 insertions(+)
>  create mode 100644 package/python-service-identity/Config.in
>  create mode 100644 package/python-service-identity/python-service-identity.hash
>  create mode 100644 package/python-service-identity/python-service-identity.mk
>
> diff --git a/package/Config.in b/package/Config.in
> index 9b620e6..afef272 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -709,6 +709,7 @@ menu "External python modules"
>         source "package/python-requests/Config.in"
>         source "package/python-rtslib-fb/Config.in"
>         source "package/python-serial/Config.in"
> +       source "package/python-service-identity/Config.in"
>         source "package/python-setuptools/Config.in"
>         source "package/python-simplejson/Config.in"
>         source "package/python-singledispatch/Config.in"
> diff --git a/package/python-service-identity/Config.in b/package/python-service-identity/Config.in
> new file mode 100644
> index 0000000..e2200f6
> --- /dev/null
> +++ b/package/python-service-identity/Config.in
> @@ -0,0 +1,10 @@
> +config BR2_PACKAGE_PYTHON_SERVICE_IDENTITY
> +       bool "python-service-identity"
> +       select BR2_PACKAGE_PYTHON_CHARACTERISTIC # runtime
> +       select BR2_PACKAGE_PYTHON_PYASN # runtime
> +       select BR2_PACKAGE_PYTHON_PYASN_MODULES # runtime
> +       select BR2_PACKAGE_PYTHON_PYOPENSSL # runtime
> +       help
> +         Service identity verification for pyOpenSSL.
> +
> +         https://pypi.python.org/pypi/service_identity
> diff --git a/package/python-service-identity/python-service-identity.hash b/package/python-service-identity/python-service-identity.hash
> new file mode 100644
> index 0000000..caf29dc
> --- /dev/null
> +++ b/package/python-service-identity/python-service-identity.hash
> @@ -0,0 +1,3 @@
> +# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=cea0b0156d73b025ecef660fb51f0d9a, sha256 locally computed.
> +md5    cea0b0156d73b025ecef660fb51f0d9a  service_identity-14.0.0.tar.gz
> +sha256 3105a319a7c558490666694f599be0c377ad54824eefb404cde4ce49e74a4f5a  service_identity-14.0.0.tar.gz
> diff --git a/package/python-service-identity/python-service-identity.mk b/package/python-service-identity/python-service-identity.mk
> new file mode 100644
> index 0000000..1be9b92
> --- /dev/null
> +++ b/package/python-service-identity/python-service-identity.mk
> @@ -0,0 +1,15 @@
> +################################################################################
> +#
> +# python-service-identity
> +#
> +################################################################################
> +
> +PYTHON_SERVICE_IDENTITY_VERSION = 14.0.0
> +PYTHON_SERVICE_IDENTITY_SOURCE = service_identity-$(PYTHON_SERVICE_IDENTITY_VERSION).tar.gz
> +PYTHON_SERVICE_IDENTITY_SITE = http://pypi.python.org/packages/source/s/service_identity
> +PYTHON_SERVICE_IDENTITY_LICENSE = MIT
> +PYTHON_SERVICE_IDENTITY_LICENSE_FILES = LICENSE
> +PYTHON_SERVICE_IDENTITY_SETUP_TYPE = setuptools
> +PYTHON_SERVICE_IDENTITY_DEPENDENCIES = python-characteristic python-pyasn python-pyasn-modules python-pyopenssl

you don't need them as build-time deps.

> +$(eval $(python-package))
> --
> 2.1.4
>
> _______________________________________________
> buildroot mailing list
> buildroot@busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
diff mbox

Patch

diff --git a/package/Config.in b/package/Config.in
index 9b620e6..afef272 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -709,6 +709,7 @@  menu "External python modules"
 	source "package/python-requests/Config.in"
 	source "package/python-rtslib-fb/Config.in"
 	source "package/python-serial/Config.in"
+	source "package/python-service-identity/Config.in"
 	source "package/python-setuptools/Config.in"
 	source "package/python-simplejson/Config.in"
 	source "package/python-singledispatch/Config.in"
diff --git a/package/python-service-identity/Config.in b/package/python-service-identity/Config.in
new file mode 100644
index 0000000..e2200f6
--- /dev/null
+++ b/package/python-service-identity/Config.in
@@ -0,0 +1,10 @@ 
+config BR2_PACKAGE_PYTHON_SERVICE_IDENTITY
+	bool "python-service-identity"
+	select BR2_PACKAGE_PYTHON_CHARACTERISTIC # runtime
+	select BR2_PACKAGE_PYTHON_PYASN # runtime
+	select BR2_PACKAGE_PYTHON_PYASN_MODULES # runtime
+	select BR2_PACKAGE_PYTHON_PYOPENSSL # runtime
+	help
+	  Service identity verification for pyOpenSSL.
+
+	  https://pypi.python.org/pypi/service_identity
diff --git a/package/python-service-identity/python-service-identity.hash b/package/python-service-identity/python-service-identity.hash
new file mode 100644
index 0000000..caf29dc
--- /dev/null
+++ b/package/python-service-identity/python-service-identity.hash
@@ -0,0 +1,3 @@ 
+# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=cea0b0156d73b025ecef660fb51f0d9a, sha256 locally computed.
+md5	cea0b0156d73b025ecef660fb51f0d9a  service_identity-14.0.0.tar.gz
+sha256	3105a319a7c558490666694f599be0c377ad54824eefb404cde4ce49e74a4f5a  service_identity-14.0.0.tar.gz
diff --git a/package/python-service-identity/python-service-identity.mk b/package/python-service-identity/python-service-identity.mk
new file mode 100644
index 0000000..1be9b92
--- /dev/null
+++ b/package/python-service-identity/python-service-identity.mk
@@ -0,0 +1,15 @@ 
+################################################################################
+#
+# python-service-identity
+#
+################################################################################
+
+PYTHON_SERVICE_IDENTITY_VERSION = 14.0.0
+PYTHON_SERVICE_IDENTITY_SOURCE = service_identity-$(PYTHON_SERVICE_IDENTITY_VERSION).tar.gz
+PYTHON_SERVICE_IDENTITY_SITE = http://pypi.python.org/packages/source/s/service_identity
+PYTHON_SERVICE_IDENTITY_LICENSE = MIT
+PYTHON_SERVICE_IDENTITY_LICENSE_FILES = LICENSE
+PYTHON_SERVICE_IDENTITY_SETUP_TYPE = setuptools
+PYTHON_SERVICE_IDENTITY_DEPENDENCIES = python-characteristic python-pyasn python-pyasn-modules python-pyopenssl
+
+$(eval $(python-package))