From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 12 Jul 2021 13:10:13 +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 1m2tpF-00009U-M9 for lore@lore.pengutronix.de; Mon, 12 Jul 2021 13:10:13 +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 1m2tpF-0002vl-3W; Mon, 12 Jul 2021 13:10:13 +0200 Received: from mail-lf1-x133.google.com ([2a00:1450:4864:20::133]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1m2tod-0002aX-M4 for ptxdist@pengutronix.de; Mon, 12 Jul 2021 13:09:36 +0200 Received: by mail-lf1-x133.google.com with SMTP id y42so42597974lfa.3 for ; Mon, 12 Jul 2021 04:09:35 -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=YjWOL/mOyv8P3+51+2BDG7ceMMowQIVB9Fhqt40/214=; b=jdAEBIAs8ODKzDA47xhIylppxcTdu6bmxtsdHKi7IIDKwT3g82CevOvjqPEAgFo0Uy 5gpIm1Wxc4giYCQvWVyS4M+94QVoqcWpwLVAs+9asUErp1cPHQhqbhU3U5LjmAgse7i/ brr5C/ZGZqbfkWICo0dnwwOBr3aA5ibWmAWjV9O5SfieKIsU3Djl7lQmzYkhYbrJ+rCZ 1mYtwp4LERolDoIBMR5voGruQ662ui2esV7LFa+j74rxQoMfSB04v7qMe9XuN9xGtICC 0tkmLWfW2JC97XANthpL+TrRGh45ifNtW48TNiVxGySx1cmV5UsB2100JgvD2joP8w3h LWvQ== 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=YjWOL/mOyv8P3+51+2BDG7ceMMowQIVB9Fhqt40/214=; b=OWTYiu308ZYeno9JXqzMR7tTs/UGzMB0zwtHX80ea8J/mURaH4LJTNwzniATZCgS84 xdHjZ9iSmYofcq0OvcnK7H2NRRp37+Pc9y7rG7MPiPumfHOXSaEwnXgBxJ6UcuRsZY6R WkMbmdtFwweBU8/Rz2zqCIu9eSlWRHhnfBR/csUIeZkSTyXoINAtRmaRWBYfWAP7S2wS Yw7+ClcGgyuuUYAf2ykR89jf8F+v/DEUL+FZFnCAw9mGHy3m88EnfotAMvivd0HWiuBr 2VN8D1gl/TaFVcZZSi1vbMw2Jscfo1aDE5zxpo0GcVeZ8/V+31Z9tJ21ZVl1t6XTiaoZ Zbbg== X-Gm-Message-State: AOAM530AuM8e2szavbrLFDSsY55pVLNzwHZtwkCNhdB/hUNuDJ2eaGOV BLPE54HwlDngE7kE0KHbm9DmvghLgP0= X-Google-Smtp-Source: ABdhPJyTHQDjzUVzWm6Oirs3EAJJdnIZJHzm5xoNOwE2GoxqXhKyvlCbR4+FObE6J/Fct2pGeMONgw== X-Received: by 2002:ac2:5095:: with SMTP id f21mr2062883lfm.139.1626088174834; 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.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jul 2021 04:09:34 -0700 (PDT) From: Lars Pedersen To: ptxdist@pengutronix.de Date: Mon, 12 Jul 2021 13:09:09 +0200 Message-Id: <20210712110910.562587-3-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 3/4] python3-pysnmp: 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-pysnmp.in | 13 ++++++++++ rules/python3-pysnmp.make | 54 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 rules/python3-pysnmp.in create mode 100644 rules/python3-pysnmp.make diff --git a/rules/python3-pysnmp.in b/rules/python3-pysnmp.in new file mode 100644 index 000000000..09e9b2b0a --- /dev/null +++ b/rules/python3-pysnmp.in @@ -0,0 +1,13 @@ +## SECTION=python3 + +config PYTHON3_PYSNMP + bool + prompt "pysnmp" + select PYTHON3 + select HOST_PYTHON3_SETUPTOOLS + select PYTHON3_PLY + select PYTHON3_PYASN1 + select PYTHON3_PYCRYPTODOMEX + select PYTHON3_PYSMI + help + pySNMP is a cross-platform, pure-Python SNMP engine implementation. diff --git a/rules/python3-pysnmp.make b/rules/python3-pysnmp.make new file mode 100644 index 000000000..9eb101b9f --- /dev/null +++ b/rules/python3-pysnmp.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_PYSNMP) += python3-pysnmp + +# +# Paths and names +# +PYTHON3_PYSNMP_VERSION := 4.4.12 +PYTHON3_PYSNMP_MD5 := 2222880259daf6e2cb322e938c818276 +PYTHON3_PYSNMP := pysnmp-$(PYTHON3_PYSNMP_VERSION) +PYTHON3_PYSNMP_SUFFIX := tar.gz +PYTHON3_PYSNMP_URL := $(call ptx/mirror-pypi, pysnmp, $(PYTHON3_PYSNMP).$(PYTHON3_PYSNMP_SUFFIX)) +PYTHON3_PYSNMP_SOURCE := $(SRCDIR)/$(PYTHON3_PYSNMP).$(PYTHON3_PYSNMP_SUFFIX) +PYTHON3_PYSNMP_DIR := $(BUILDDIR)/$(PYTHON3_PYSNMP) +PYTHON3_PYSNMP_LICENSE := BSD-2-Clause +PYTHON3_PYSNMP_LICENSE_FILES := \ + file://LICENSE.rst;md5=b15d29f500f748d1c2a15709769090a8 + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +PYTHON3_PYSNMP_CONF_TOOL := python3 + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/python3-pysnmp.targetinstall: + @$(call targetinfo) + + @$(call install_init, python3-pysnmp) + @$(call install_fixup, python3-pysnmp,PRIORITY,optional) + @$(call install_fixup, python3-pysnmp,SECTION,base) + @$(call install_fixup, python3-pysnmp,AUTHOR,"Lars Pedersen ") + @$(call install_fixup, python3-pysnmp,DESCRIPTION,missing) + + @$(call install_glob,python3-pysnmp, 0, 0, -, \ + /usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages,, *.pyc) + + @$(call install_finish, python3-pysnmp) + + @$(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