mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] python3-pycryptodomex: new package
@ 2021-07-02 12:19 Lars Pedersen
  2021-07-02 13:42 ` Bruno Thomsen
  2021-07-05  8:27 ` [ptxdist] [APPLIED] " Michael Olbrich
  0 siblings, 2 replies; 3+ messages in thread
From: Lars Pedersen @ 2021-07-02 12:19 UTC (permalink / raw)
  To: ptxdist; +Cc: Lars Pedersen

Signed-off-by: Lars Pedersen <lapeddk@gmail.com>
---
 rules/python3-pycryptodomex.in   |  9 ++++++
 rules/python3-pycryptodomex.make | 54 ++++++++++++++++++++++++++++++++
 2 files changed, 63 insertions(+)
 create mode 100644 rules/python3-pycryptodomex.in
 create mode 100644 rules/python3-pycryptodomex.make

diff --git a/rules/python3-pycryptodomex.in b/rules/python3-pycryptodomex.in
new file mode 100644
index 000000000..045c9f44e
--- /dev/null
+++ b/rules/python3-pycryptodomex.in
@@ -0,0 +1,9 @@
+## SECTION=python3
+
+config PYTHON3_PYCRYPTODOMEX
+	tristate
+	select PYTHON3
+	select HOST_PYTHON3_SETUPTOOLS
+	prompt "pycryptodomex"
+	help
+	  PyCryptodome is a self-contained Python package of low-level cryptographic primitives
diff --git a/rules/python3-pycryptodomex.make b/rules/python3-pycryptodomex.make
new file mode 100644
index 000000000..59dadfbd0
--- /dev/null
+++ b/rules/python3-pycryptodomex.make
@@ -0,0 +1,54 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2021 by Lars Pedersen <lapeddk@gmail.com>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_PYTHON3_PYCRYPTODOMEX) += python3-pycryptodomex
+
+#
+# Paths and names
+#
+PYTHON3_PYCRYPTODOMEX_VERSION	:= 3.10.1
+PYTHON3_PYCRYPTODOMEX_MD5	:= 91b86ca7fa80d41179d7735067c7347a
+PYTHON3_PYCRYPTODOMEX		:= pycryptodomex-$(PYTHON3_PYCRYPTODOMEX_VERSION)
+PYTHON3_PYCRYPTODOMEX_SUFFIX	:= tar.gz
+PYTHON3_PYCRYPTODOMEX_URL	:= $(call ptx/mirror-pypi, pycryptodomex, $(PYTHON3_PYCRYPTODOMEX).$(PYTHON3_PYCRYPTODOMEX_SUFFIX))
+PYTHON3_PYCRYPTODOMEX_SOURCE	:= $(SRCDIR)/$(PYTHON3_PYCRYPTODOMEX).$(PYTHON3_PYCRYPTODOMEX_SUFFIX)
+PYTHON3_PYCRYPTODOMEX_DIR	:= $(BUILDDIR)/$(PYTHON3_PYCRYPTODOMEX)
+PYTHON3_PYCRYPTODOMEX_LICENSE	:= BSD-2
+PYTHON3_PYCRYPTODOMEX_LICENSE_FILES := \
+	file://LICENSE.rst;md5=accfa6aeaceb3ba96676edf18e78302c
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+PYTHON3_PYCRYPTODOMEX_CONF_TOOL	:= python3
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/python3-pycryptodomex.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, python3-pycryptodomex)
+	@$(call install_fixup, python3-pycryptodomex,PRIORITY,optional)
+	@$(call install_fixup, python3-pycryptodomex,SECTION,base)
+	@$(call install_fixup, python3-pycryptodomex,AUTHOR,"Lars Pedersen <lapeddk@gmail.com>")
+	@$(call install_fixup, python3-pycryptodomex,DESCRIPTION,missing)
+
+	@$(call install_glob, python3-pycryptodomex, 0, 0, -, \
+		$(PYTHON3_SITEPACKAGES),, *.py *SelfTest*)
+
+	@$(call install_finish, python3-pycryptodomex)
+
+	@$(call touch)
+
+# vim: syntax=make
-- 
2.31.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ptxdist] [PATCH] python3-pycryptodomex: new package
  2021-07-02 12:19 [ptxdist] [PATCH] python3-pycryptodomex: new package Lars Pedersen
@ 2021-07-02 13:42 ` Bruno Thomsen
  2021-07-05  8:27 ` [ptxdist] [APPLIED] " Michael Olbrich
  1 sibling, 0 replies; 3+ messages in thread
From: Bruno Thomsen @ 2021-07-02 13:42 UTC (permalink / raw)
  To: ptxdist; +Cc: Lars Pedersen

Den fre. 2. jul. 2021 kl. 14.20 skrev Lars Pedersen <lapeddk@gmail.com>:
>
> Signed-off-by: Lars Pedersen <lapeddk@gmail.com>

Reviewed-by: Bruno Thomsen <bruno.thomsen@gmail.com>

> ---
>  rules/python3-pycryptodomex.in   |  9 ++++++
>  rules/python3-pycryptodomex.make | 54 ++++++++++++++++++++++++++++++++
>  2 files changed, 63 insertions(+)
>  create mode 100644 rules/python3-pycryptodomex.in
>  create mode 100644 rules/python3-pycryptodomex.make
>
> diff --git a/rules/python3-pycryptodomex.in b/rules/python3-pycryptodomex.in
> new file mode 100644
> index 000000000..045c9f44e
> --- /dev/null
> +++ b/rules/python3-pycryptodomex.in
> @@ -0,0 +1,9 @@
> +## SECTION=python3
> +
> +config PYTHON3_PYCRYPTODOMEX
> +       tristate
> +       select PYTHON3
> +       select HOST_PYTHON3_SETUPTOOLS
> +       prompt "pycryptodomex"
> +       help
> +         PyCryptodome is a self-contained Python package of low-level cryptographic primitives
> diff --git a/rules/python3-pycryptodomex.make b/rules/python3-pycryptodomex.make
> new file mode 100644
> index 000000000..59dadfbd0
> --- /dev/null
> +++ b/rules/python3-pycryptodomex.make
> @@ -0,0 +1,54 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2021 by Lars Pedersen <lapeddk@gmail.com>
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +PACKAGES-$(PTXCONF_PYTHON3_PYCRYPTODOMEX) += python3-pycryptodomex
> +
> +#
> +# Paths and names
> +#
> +PYTHON3_PYCRYPTODOMEX_VERSION  := 3.10.1
> +PYTHON3_PYCRYPTODOMEX_MD5      := 91b86ca7fa80d41179d7735067c7347a
> +PYTHON3_PYCRYPTODOMEX          := pycryptodomex-$(PYTHON3_PYCRYPTODOMEX_VERSION)
> +PYTHON3_PYCRYPTODOMEX_SUFFIX   := tar.gz
> +PYTHON3_PYCRYPTODOMEX_URL      := $(call ptx/mirror-pypi, pycryptodomex, $(PYTHON3_PYCRYPTODOMEX).$(PYTHON3_PYCRYPTODOMEX_SUFFIX))
> +PYTHON3_PYCRYPTODOMEX_SOURCE   := $(SRCDIR)/$(PYTHON3_PYCRYPTODOMEX).$(PYTHON3_PYCRYPTODOMEX_SUFFIX)
> +PYTHON3_PYCRYPTODOMEX_DIR      := $(BUILDDIR)/$(PYTHON3_PYCRYPTODOMEX)
> +PYTHON3_PYCRYPTODOMEX_LICENSE  := BSD-2
> +PYTHON3_PYCRYPTODOMEX_LICENSE_FILES := \
> +       file://LICENSE.rst;md5=accfa6aeaceb3ba96676edf18e78302c
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +PYTHON3_PYCRYPTODOMEX_CONF_TOOL        := python3
> +
> +# ----------------------------------------------------------------------------
> +# Target-Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/python3-pycryptodomex.targetinstall:
> +       @$(call targetinfo)
> +
> +       @$(call install_init, python3-pycryptodomex)
> +       @$(call install_fixup, python3-pycryptodomex,PRIORITY,optional)
> +       @$(call install_fixup, python3-pycryptodomex,SECTION,base)
> +       @$(call install_fixup, python3-pycryptodomex,AUTHOR,"Lars Pedersen <lapeddk@gmail.com>")
> +       @$(call install_fixup, python3-pycryptodomex,DESCRIPTION,missing)
> +
> +       @$(call install_glob, python3-pycryptodomex, 0, 0, -, \
> +               $(PYTHON3_SITEPACKAGES),, *.py *SelfTest*)
> +
> +       @$(call install_finish, python3-pycryptodomex)
> +
> +       @$(call touch)
> +
> +# vim: syntax=make
> --
> 2.31.1
>
>
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de
> To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ptxdist] [APPLIED] python3-pycryptodomex: new package
  2021-07-02 12:19 [ptxdist] [PATCH] python3-pycryptodomex: new package Lars Pedersen
  2021-07-02 13:42 ` Bruno Thomsen
@ 2021-07-05  8:27 ` Michael Olbrich
  1 sibling, 0 replies; 3+ messages in thread
From: Michael Olbrich @ 2021-07-05  8:27 UTC (permalink / raw)
  To: ptxdist; +Cc: Lars Pedersen

Thanks, applied as b8958ad388ba104527e2ce27f158b0da3d39c977.

Michael

[sent from post-receive hook]

On Mon, 05 Jul 2021 10:27:14 +0200, Lars Pedersen <lapeddk@gmail.com> wrote:
> Signed-off-by: Lars Pedersen <lapeddk@gmail.com>
> Message-Id: <20210702121931.497226-1-lapeddk@gmail.com>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/python3-pycryptodomex.in b/rules/python3-pycryptodomex.in
> new file mode 100644
> index 000000000000..045c9f44e708
> --- /dev/null
> +++ b/rules/python3-pycryptodomex.in
> @@ -0,0 +1,9 @@
> +## SECTION=python3
> +
> +config PYTHON3_PYCRYPTODOMEX
> +	tristate
> +	select PYTHON3
> +	select HOST_PYTHON3_SETUPTOOLS
> +	prompt "pycryptodomex"
> +	help
> +	  PyCryptodome is a self-contained Python package of low-level cryptographic primitives
> diff --git a/rules/python3-pycryptodomex.make b/rules/python3-pycryptodomex.make
> new file mode 100644
> index 000000000000..59dadfbd0d29
> --- /dev/null
> +++ b/rules/python3-pycryptodomex.make
> @@ -0,0 +1,54 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2021 by Lars Pedersen <lapeddk@gmail.com>
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +PACKAGES-$(PTXCONF_PYTHON3_PYCRYPTODOMEX) += python3-pycryptodomex
> +
> +#
> +# Paths and names
> +#
> +PYTHON3_PYCRYPTODOMEX_VERSION	:= 3.10.1
> +PYTHON3_PYCRYPTODOMEX_MD5	:= 91b86ca7fa80d41179d7735067c7347a
> +PYTHON3_PYCRYPTODOMEX		:= pycryptodomex-$(PYTHON3_PYCRYPTODOMEX_VERSION)
> +PYTHON3_PYCRYPTODOMEX_SUFFIX	:= tar.gz
> +PYTHON3_PYCRYPTODOMEX_URL	:= $(call ptx/mirror-pypi, pycryptodomex, $(PYTHON3_PYCRYPTODOMEX).$(PYTHON3_PYCRYPTODOMEX_SUFFIX))
> +PYTHON3_PYCRYPTODOMEX_SOURCE	:= $(SRCDIR)/$(PYTHON3_PYCRYPTODOMEX).$(PYTHON3_PYCRYPTODOMEX_SUFFIX)
> +PYTHON3_PYCRYPTODOMEX_DIR	:= $(BUILDDIR)/$(PYTHON3_PYCRYPTODOMEX)
> +PYTHON3_PYCRYPTODOMEX_LICENSE	:= BSD-2
> +PYTHON3_PYCRYPTODOMEX_LICENSE_FILES := \
> +	file://LICENSE.rst;md5=accfa6aeaceb3ba96676edf18e78302c
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +PYTHON3_PYCRYPTODOMEX_CONF_TOOL	:= python3
> +
> +# ----------------------------------------------------------------------------
> +# Target-Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/python3-pycryptodomex.targetinstall:
> +	@$(call targetinfo)
> +
> +	@$(call install_init, python3-pycryptodomex)
> +	@$(call install_fixup, python3-pycryptodomex,PRIORITY,optional)
> +	@$(call install_fixup, python3-pycryptodomex,SECTION,base)
> +	@$(call install_fixup, python3-pycryptodomex,AUTHOR,"Lars Pedersen <lapeddk@gmail.com>")
> +	@$(call install_fixup, python3-pycryptodomex,DESCRIPTION,missing)
> +
> +	@$(call install_glob, python3-pycryptodomex, 0, 0, -, \
> +		$(PYTHON3_SITEPACKAGES),, *.py *SelfTest*)
> +
> +	@$(call install_finish, python3-pycryptodomex)
> +
> +	@$(call touch)
> +
> +# vim: syntax=make

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-07-05  8:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-02 12:19 [ptxdist] [PATCH] python3-pycryptodomex: new package Lars Pedersen
2021-07-02 13:42 ` Bruno Thomsen
2021-07-05  8:27 ` [ptxdist] [APPLIED] " Michael Olbrich

mailarchive of the ptxdist mailing list

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://lore.ptxdist.org/ptxdist/0 ptxdist/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ptxdist ptxdist/ https://lore.ptxdist.org/ptxdist \
		ptxdist@pengutronix.de
	public-inbox-index ptxdist

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git