From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 12 Jul 2021 13:10:17 +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 1m2tpJ-00009v-CA for lore@lore.pengutronix.de; Mon, 12 Jul 2021 13:10:17 +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 1m2tpI-00033k-C2; Mon, 12 Jul 2021 13:10:16 +0200 Received: from mail-lf1-x135.google.com ([2a00:1450:4864:20::135]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1m2toe-0002ar-ET for ptxdist@pengutronix.de; Mon, 12 Jul 2021 13:09:37 +0200 Received: by mail-lf1-x135.google.com with SMTP id y42so42598081lfa.3 for ; Mon, 12 Jul 2021 04:09:36 -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=uLnkHzg8kuS2aXHbUZ9pm41ESDdJ+ceVvhXXsKB6kuc=; b=WRIeQxcgCRcvu5h/3Vg7WEAmqdz8JgURCZu2PcKI7516+7ecmdNyfbdVKvENKCnhKG 5NHuVReA354ANHL5fVS5dDtc+hxhx4pYJuitv+0wDzs3mSVmVOru9CQIEQMrVsjYvD/Q dcvBUybMObbL6Sx20lfvZIeByvLT69nLzVw9A0JXjS9t4GE0W6WJv6EQxypUPcJfYSFU QoZkWGV28xn0pwIICryeFdE3mtPsulNxXEIhV6eNKa9ydBH7lHfmKSVzX6XmATSvUGr2 iY7NSL4ZNb7VgaqBHUvy9ZiXYZNCVchDdZCrGQBMcJjaJo5l7vf7jmqSix8DdYIjX2ud PRLw== 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=uLnkHzg8kuS2aXHbUZ9pm41ESDdJ+ceVvhXXsKB6kuc=; b=QBFRGGyHYOTpEggRiJNX3G87u7/shriUE6ya8V8nAQIGaiTFj08/EN1RrT7f/I0pGQ rdajleTRPC6Ni33sOz//yOPW1Uov28eTGjNV0aL2RdVwmTmBPHamHea3ivKrXinFANjz XNCtrsSxu12mTDqmvYSwqE3+9JGLnUKVtphIH12+1iaBkvf+ghvWcEm/n1T2FCU5b+aD h1c9YtPY7LfLnp4wL6HUAk8hwpvVY9rnl2vqWpL/bzRkTCxbgD55TuFY/Z7wDr3hIyYm ZdY5ntPMnhDN51IxxfSES6ZwnvISy+/aQ8slU4DCEYc5rUK/CDBstBQS3TRBP5UqCLzC XBtA== X-Gm-Message-State: AOAM532vd+alE8R200Icwdg0kHHLBjmnx458k/Jh5jU1l32Y7eFOfYeY q6/2nzw0psyzcKNdFJ4bSXSp+Kiv7Zk= X-Google-Smtp-Source: ABdhPJyQ1Ipx04j4h8yGXFVkdBUcHajUCPB+3B2XmE2lH27TtA+hNuwHf5Bkz212XOJ/Y/SNPkFv2g== X-Received: by 2002:a05:6512:1511:: with SMTP id bq17mr40259008lfb.341.1626088175613; Mon, 12 Jul 2021 04:09:35 -0700 (PDT) Received: from laped.home ([185.181.22.4]) by smtp.googlemail.com with ESMTPSA id w17sm1178218lft.285.2021.07.12.04.09.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jul 2021 04:09:35 -0700 (PDT) From: Lars Pedersen To: ptxdist@pengutronix.de Date: Mon, 12 Jul 2021 13:09:10 +0200 Message-Id: <20210712110910.562587-4-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 4/4] python3-snmpclitools: 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 LICENSE.rst for this package isn't included in tarball it only exists in GIT. I'll create a request on github to get it bundled in the next release rules/python3-snmpclitools.in | 9 ++++++ rules/python3-snmpclitools.make | 56 +++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 rules/python3-snmpclitools.in create mode 100644 rules/python3-snmpclitools.make diff --git a/rules/python3-snmpclitools.in b/rules/python3-snmpclitools.in new file mode 100644 index 000000000..369b2bd65 --- /dev/null +++ b/rules/python3-snmpclitools.in @@ -0,0 +1,9 @@ +## SECTION=python3 + +config PYTHON3_SNMPCLITOOLS + tristate + select PYTHON3 + select PYTHON3_PYSNMP + prompt "snmpclitools" + help + This is a collection of command-line SNMP tools written in pure-Python diff --git a/rules/python3-snmpclitools.make b/rules/python3-snmpclitools.make new file mode 100644 index 000000000..7c2917187 --- /dev/null +++ b/rules/python3-snmpclitools.make @@ -0,0 +1,56 @@ +# -*-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_SNMPCLITOOLS) += python3-snmpclitools + +# +# Paths and names +# +PYTHON3_SNMPCLITOOLS_VERSION := 0.6.4 +PYTHON3_SNMPCLITOOLS_MD5 := 132b100f5e7b80715e6c1d424e89687c +PYTHON3_SNMPCLITOOLS := snmpclitools-$(PYTHON3_SNMPCLITOOLS_VERSION) +PYTHON3_SNMPCLITOOLS_SUFFIX := tar.gz +PYTHON3_SNMPCLITOOLS_URL := $(call ptx/mirror-pypi, snmpclitools, $(PYTHON3_SNMPCLITOOLS).$(PYTHON3_SNMPCLITOOLS_SUFFIX)) +PYTHON3_SNMPCLITOOLS_SOURCE := $(SRCDIR)/$(PYTHON3_SNMPCLITOOLS).$(PYTHON3_SNMPCLITOOLS_SUFFIX) +PYTHON3_SNMPCLITOOLS_DIR := $(BUILDDIR)/$(PYTHON3_SNMPCLITOOLS) +PYTHON3_SNMPCLITOOLS_LICENSE := BSD-2-Clause + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +PYTHON3_SNMPCLITOOLS_CONF_TOOL := python3 +PYTHON3_SNMPCLITOOLS_MAKE_OPT := install_scripts + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/python3-snmpclitools.targetinstall: + @$(call targetinfo) + + @$(call install_init, python3-snmpclitools) + @$(call install_fixup, python3-snmpclitools,PRIORITY,optional) + @$(call install_fixup, python3-snmpclitools,SECTION,base) + @$(call install_fixup, python3-snmpclitools,AUTHOR,"Lars Pedersen ") + @$(call install_fixup, python3-snmpclitools,DESCRIPTION,missing) + + @$(call install_glob, python3-snmpclitools, 0, 0, -, \ + $(PYTHON3_SITEPACKAGES),, *.py) + + @$(call install_glob,python3-snmpclitools, 0, 0, -, \ + /usr/bin/,*.py,) + + @$(call install_finish, python3-snmpclitools) + + @$(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