From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 12 Jul 2021 13:10:10 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1m2tpC-000097-PE for lore@lore.pengutronix.de; Mon, 12 Jul 2021 13:10:10 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1m2tpC-0002pv-7m; Mon, 12 Jul 2021 13:10:10 +0200 Received: from mail-lj1-x235.google.com ([2a00:1450:4864:20::235]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1m2toc-0002aN-SI for ptxdist@pengutronix.de; Mon, 12 Jul 2021 13:09:35 +0200 Received: by mail-lj1-x235.google.com with SMTP id s18so23571652ljg.7 for ; Mon, 12 Jul 2021 04:09:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=HvcpMeT78XL3sIlRxmcljvtmSgLHvSoPtXIpAJzOiU8=; b=XcMWEA1o/tLU6GwVrF6BVessdEEdbBPS/Q3thkk69sNzF98/CXf4gZ/1GX+RRDrjl7 0ky9clAW8jRU387FciDQbM8rgouiMQ0kzI3yoX9DGqR5bVlJ0Ru2U9GKgxDzHnhMrNNz huu54tfwK2Rq5tW5cDqoFkXWxzX7wCahb0Jr0OAdFe56oxes+uyyhjEHbeVV1qZEzyJ9 1K10PMFzTk9+jXiX8kO8GMMghUzKstT5qUPiv1AsACxm19jyh3H/jYlEh4cGpeG+6ctp v7lTeGmBhxCeGJFx/3mglZMQjW9eejtMKeKdPWN7bSjWdy+SmCWdkDKJ1XuTMl2aD7O3 SKQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=HvcpMeT78XL3sIlRxmcljvtmSgLHvSoPtXIpAJzOiU8=; b=mg6Jpts8BHzWrm+eAsXCYFhbCASdd5qnnVE7dhneULshqZccXMscpfQ3/3SdNG9A6k 1feVOVH65Pppi+gwrskBK1HpJ16p237Qr4fPdrgzzp9rszKPuUfVw+p4/hYOYdanqAX2 xPR+F3qybUHLBMmn0uyDOGc220bPeaq4RqrNIr8Q3AnUGUpZ6WOhLmEHvXWzHfOXWEyy ZdUMbZnuNJFR5JMX5XeOq8bIBGV4RLU3ZJ4lA9CtYWS9b/KmVc7oZKtkeMcvl3x2iV/7 tBWeapljkLC0/F57B04qfXHC5Mgln0bCKk3iBq2yK4qSBDeho0c8KSy70jNnVNcidx46 qZ6g== X-Gm-Message-State: AOAM530igP9M5FD8L31ohJ6GHwbhk5C8bHsNnbGEGrhODvmtEhCFRV2p Uv8ESM2CguzDRm4PHCPqu7dm1za8m5k= X-Google-Smtp-Source: ABdhPJyOIg2A6KuMmjTH8FltVBin0ddt9oN75nlWJTVxgjwEaHcKQeyisWzmRq0VVyUzE8w7Hs8VVQ== X-Received: by 2002:a05:651c:516:: with SMTP id o22mr41070185ljp.255.1626088174058; Mon, 12 Jul 2021 04:09:34 -0700 (PDT) Received: from laped.home ([185.181.22.4]) by smtp.googlemail.com with ESMTPSA id w17sm1178218lft.285.2021.07.12.04.09.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jul 2021 04:09:33 -0700 (PDT) From: Lars Pedersen To: ptxdist@pengutronix.de Date: Mon, 12 Jul 2021 13:09:08 +0200 Message-Id: <20210712110910.562587-2-lapeddk@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210712110910.562587-1-lapeddk@gmail.com> References: <20210712110910.562587-1-lapeddk@gmail.com> MIME-Version: 1.0 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.ext.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-2.2 required=4.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Subject: [ptxdist] [PATCH v2 2/4] python3-pysmi: new package X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Lars Pedersen Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false Signed-off-by: Lars Pedersen --- Changes since v1: - Updated LICENSE field to BSD-2-Clause rules/python3-pysmi.in | 9 +++++++ rules/python3-pysmi.make | 54 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 rules/python3-pysmi.in create mode 100644 rules/python3-pysmi.make diff --git a/rules/python3-pysmi.in b/rules/python3-pysmi.in new file mode 100644 index 000000000..a02d1b62d --- /dev/null +++ b/rules/python3-pysmi.in @@ -0,0 +1,9 @@ +## SECTION=python3 + +config PYTHON3_PYSMI + tristate + select PYTHON3 + select HOST_PYTHON3_SETUPTOOLS + prompt "pysmi" + help + A pure-Python implementation of SNMP/SMI MIB parsing and conversion library. diff --git a/rules/python3-pysmi.make b/rules/python3-pysmi.make new file mode 100644 index 000000000..67448e2f7 --- /dev/null +++ b/rules/python3-pysmi.make @@ -0,0 +1,54 @@ +# -*-makefile-*- +# +# Copyright (C) 2021 by Lars Pedersen +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_PYTHON3_PYSMI) += python3-pysmi + +# +# Paths and names +# +PYTHON3_PYSMI_VERSION := 0.3.4 +PYTHON3_PYSMI_MD5 := 10a9dd140ad512eed9f37344df83ce9d +PYTHON3_PYSMI := pysmi-$(PYTHON3_PYSMI_VERSION) +PYTHON3_PYSMI_SUFFIX := tar.gz +PYTHON3_PYSMI_URL := $(call ptx/mirror-pypi, pysmi, $(PYTHON3_PYSMI).$(PYTHON3_PYSMI_SUFFIX)) +PYTHON3_PYSMI_SOURCE := $(SRCDIR)/$(PYTHON3_PYSMI).$(PYTHON3_PYSMI_SUFFIX) +PYTHON3_PYSMI_DIR := $(BUILDDIR)/$(PYTHON3_PYSMI) +PYTHON3_PYSMI_LICENSE := BSD-2-Clause +PYTHON3_PYSMI_LICENSE_FILES := \ + file://LICENSE.rst;md5=a088b5c72b59d51a5368ad3b18e219bf + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +PYTHON3_PYSMI_CONF_TOOL := python3 + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/python3-pysmi.targetinstall: + @$(call targetinfo) + + @$(call install_init, python3-pysmi) + @$(call install_fixup, python3-pysmi,PRIORITY,optional) + @$(call install_fixup, python3-pysmi,SECTION,base) + @$(call install_fixup, python3-pysmi,AUTHOR,"Lars Pedersen ") + @$(call install_fixup, python3-pysmi,DESCRIPTION,missing) + + @$(call install_glob, python3-pysmi, 0, 0, -, \ + $(PYTHON3_SITEPACKAGES),, *.py) + + @$(call install_finish, python3-pysmi) + + @$(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