mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH v2 1/4] python3-pyasn1: new package
@ 2021-07-12 11:09 Lars Pedersen
  2021-07-12 11:09 ` [ptxdist] [PATCH v2 2/4] python3-pysmi: " Lars Pedersen
                   ` (3 more replies)
  0 siblings, 4 replies; 17+ messages in thread
From: Lars Pedersen @ 2021-07-12 11:09 UTC (permalink / raw)
  To: ptxdist; +Cc: Lars Pedersen

Signed-off-by: Lars Pedersen <lapeddk@gmail.com>
---
Changes since v1:
 - Updated LICENSE field to BSD-2-Clause

 rules/python3-pyasn1.in   |  9 +++++++
 rules/python3-pyasn1.make | 53 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 62 insertions(+)
 create mode 100644 rules/python3-pyasn1.in
 create mode 100644 rules/python3-pyasn1.make

diff --git a/rules/python3-pyasn1.in b/rules/python3-pyasn1.in
new file mode 100644
index 000000000..a28e4e355
--- /dev/null
+++ b/rules/python3-pyasn1.in
@@ -0,0 +1,9 @@
+## SECTION=python3
+
+config PYTHON3_PYASN1
+	bool
+	prompt "pyasn1"
+	select PYTHON3
+	select HOST_PYTHON3_SETUPTOOLS
+	help
+	  Pure-Python implementation of ASN.1 types and DER/BER/CER codecs (X.208)
diff --git a/rules/python3-pyasn1.make b/rules/python3-pyasn1.make
new file mode 100644
index 000000000..f440e727a
--- /dev/null
+++ b/rules/python3-pyasn1.make
@@ -0,0 +1,53 @@
+# -*-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_PYASN1) += python3-pyasn1
+
+#
+# Paths and names
+#
+PYTHON3_PYASN1_VERSION	:= 0.4.8
+PYTHON3_PYASN1_MD5	:= dffae4ff9f997a83324b3f33fe62be54
+PYTHON3_PYASN1		:= pyasn1-$(PYTHON3_PYASN1_VERSION)
+PYTHON3_PYASN1_SUFFIX	:= tar.gz
+PYTHON3_PYASN1_URL	:= $(call ptx/mirror-pypi, pyasn1, $(PYTHON3_PYASN1).$(PYTHON3_PYASN1_SUFFIX))
+PYTHON3_PYASN1_SOURCE	:= $(SRCDIR)/$(PYTHON3_PYASN1).$(PYTHON3_PYASN1_SUFFIX)
+PYTHON3_PYASN1_DIR	:= $(BUILDDIR)/$(PYTHON3_PYASN1)
+PYTHON3_PYASN1_LICENSE	:= BSD-2-Clause
+PYTHON3_PYASN1_LICENSE_FILES := \
+	file://LICENSE.rst;md5=a14482d15c2249de3b6f0e8a47e021fd
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+PYTHON3_PYASN1_CONF_TOOL	:= python3
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+$(STATEDIR)/python3-pyasn1.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, python3-pyasn1)
+	@$(call install_fixup, python3-pyasn1,PRIORITY,optional)
+	@$(call install_fixup, python3-pyasn1,SECTION,base)
+	@$(call install_fixup, python3-pyasn1,AUTHOR,"Lars Pedersen <lapeddk@gmail.com>")
+	@$(call install_fixup, python3-pyasn1,DESCRIPTION,missing)
+
+	@$(call install_glob,python3-pyasn1, 0, 0, -, \
+		/usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages,, *.py)
+
+	@$(call install_finish, python3-pyasn1)
+
+	@$(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] 17+ messages in thread

end of thread, other threads:[~2021-07-22 12:13 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-12 11:09 [ptxdist] [PATCH v2 1/4] python3-pyasn1: new package Lars Pedersen
2021-07-12 11:09 ` [ptxdist] [PATCH v2 2/4] python3-pysmi: " Lars Pedersen
2021-07-16 10:23   ` Michael Olbrich
2021-07-16 12:24     ` Lars Pedersen
2021-07-16 12:40       ` Michael Olbrich
2021-07-22 12:12   ` [ptxdist] [APPLIED] " Michael Olbrich
2021-07-12 11:09 ` [ptxdist] [PATCH v2 3/4] python3-pysnmp: " Lars Pedersen
2021-07-16 12:41   ` Michael Olbrich
2021-07-16 12:53     ` Lars Pedersen
2021-07-16 13:02       ` Michael Olbrich
2021-07-18 19:03         ` Lars Pedersen
2021-07-19  6:48           ` Michael Olbrich
2021-07-19  7:47             ` [ptxdist] [PATCH v3] " Lars Pedersen
2021-07-22 12:12               ` [ptxdist] [APPLIED] " Michael Olbrich
2021-07-12 11:09 ` [ptxdist] [PATCH v2 4/4] python3-snmpclitools: " Lars Pedersen
2021-07-22 12:12   ` [ptxdist] [APPLIED] " Michael Olbrich
2021-07-22 12:12 ` [ptxdist] [APPLIED] python3-pyasn1: " 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