From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 12 Jul 2021 13:10:01 +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 1m2tp3-00008k-MB for lore@lore.pengutronix.de; Mon, 12 Jul 2021 13:10:01 +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 1m2tp3-0002bA-73; Mon, 12 Jul 2021 13:10:01 +0200 Received: from mail-lf1-x12a.google.com ([2a00:1450:4864:20::12a]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1m2toc-0002aC-Bg for ptxdist@pengutronix.de; Mon, 12 Jul 2021 13:09:35 +0200 Received: by mail-lf1-x12a.google.com with SMTP id y42so42597844lfa.3 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:mime-version :content-transfer-encoding; bh=WD+GxplMCwkW5kGdOAIBfbFpQws8Gbrx6j5Oo7upZ50=; b=emV2MlWbVO+ZDhg9/7BwpONGoaXkOUncVqtB2vFvs7cDoisRfPXKglNoq9KNXSRQiL FawbFXn6ybUT4jHiYY2udazGN8kanmllaq1Cj8J4gerJWwd04VEzVyeIJxooK1rZUFjr 5vtIvR1bstnqq/TvWc2cGPshMb761XAacpvRYVZI5V4nzhFfwmHrKI+dbsQScdZ1WJII PCbzgRwlMLHSx6PBxka6AUrxKM69P6EdVb1RVY6DEZb3lExM7Yj/dk0/JDdSufMFEtRE dQWxm24rtLguk4rK1AzU5ZhCb8cmDYq+bbidIfHkRVfESzWJnkdiJrKilye4jDalh+oA Lbpw== 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:mime-version :content-transfer-encoding; bh=WD+GxplMCwkW5kGdOAIBfbFpQws8Gbrx6j5Oo7upZ50=; b=eB2x7izJhUYh9927sgNJneFVcrkmMR9hUQjdlEjQ3IsyXBCpjWUwiCJdU9xV2qhbDO FNY3hG0B3K1XuUz98RiPTkyTR/Zd9HneIr97fWuMDjl7cy8sxkL2NPNL5Km3dFruj887 eO8RQztZLcbrdCD1gGYFgfrGdXAhTB3uPxSLbfu3wPHKUER2CmsMIYl+wxEXQmldJx8X xeg9K9p6K6iysmPaJTsmZg6WQGnF060meXvPr4tL3d+81YxHtyywfxINCjmrwWNTWB0b 7URhG6RVS3JHjgHX+30V568AbQ4ddGvbZ14oKxkty+KW+udoDFYXpqHk2GAL1LP5uF3X C22Q== X-Gm-Message-State: AOAM530B94SmzbZeWJWMKH2yF22ByZN9D3bbDaVgXg57b6M9y5vYuYAV FhcddsqP8OAXx+9xopLBVa3fP0N5iXo= X-Google-Smtp-Source: ABdhPJzB7rBGOtSKxJ8z7vRi3OMY3FAXAGfvAfYBrnK5Ce/A0sc/9I5GWTfxPe3oQrSFsRw0Ugz2mQ== X-Received: by 2002:ac2:4192:: with SMTP id z18mr38984074lfh.89.1626088173257; Mon, 12 Jul 2021 04:09:33 -0700 (PDT) Received: from laped.home ([185.181.22.4]) by smtp.googlemail.com with ESMTPSA id w17sm1178218lft.285.2021.07.12.04.09.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jul 2021 04:09:32 -0700 (PDT) From: Lars Pedersen To: ptxdist@pengutronix.de Date: Mon, 12 Jul 2021 13:09:07 +0200 Message-Id: <20210712110910.562587-1-lapeddk@gmail.com> X-Mailer: git-send-email 2.31.1 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 1/4] python3-pyasn1: 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-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 +# +# 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 ") + @$(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