mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Matthias Fend <matthias.fend@emfend.at>
Subject: Re: [ptxdist] [APPLIED] python3-netifaces: new package
Date: Fri,  5 Nov 2021 08:55:32 +0100	[thread overview]
Message-ID: <20211105075532.3133514-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20211029101232.264829-2-matthias.fend@emfend.at>

Thanks, applied as d61f4165326a15cabd922d02169b69977a669d38.

Michael

[sent from post-receive hook]

On Fri, 05 Nov 2021 08:55:32 +0100, Matthias Fend <matthias.fend@emfend.at> wrote:
> netifaces provides an easy way to get the address(es) of the machine’s
> network interfaces in Python.
> 
> Signed-off-by: Matthias Fend <matthias.fend@emfend.at>
> Message-Id: <20211029101232.264829-2-matthias.fend@emfend.at>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/python3-netifaces.in b/rules/python3-netifaces.in
> new file mode 100644
> index 000000000000..3899ba697e3a
> --- /dev/null
> +++ b/rules/python3-netifaces.in
> @@ -0,0 +1,9 @@
> +## SECTION=python3
> +
> +config PYTHON3_NETIFACES
> +	tristate
> +	select PYTHON3
> +	prompt "python3-netifaces"
> +	help
> +	  netifaces provides an easy way to get the address(es) of the
> +	  machine’s network interfaces in Python.
> diff --git a/rules/python3-netifaces.make b/rules/python3-netifaces.make
> new file mode 100644
> index 000000000000..1c0a986241a6
> --- /dev/null
> +++ b/rules/python3-netifaces.make
> @@ -0,0 +1,53 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2021 by Matthias Fend <matthias.fend@emfend.at>
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +PACKAGES-$(PTXCONF_PYTHON3_NETIFACES) += python3-netifaces
> +
> +#
> +# Paths and names
> +#
> +PYTHON3_NETIFACES_VERSION	:= 0.11.0
> +PYTHON3_NETIFACES_MD5		:= 3146dcb3297dd018ae5eb9a52b440419
> +PYTHON3_NETIFACES		:= netifaces-$(PYTHON3_NETIFACES_VERSION)
> +PYTHON3_NETIFACES_SUFFIX	:= tar.gz
> +PYTHON3_NETIFACES_URL		:= $(call ptx/mirror-pypi, netifaces, $(PYTHON3_NETIFACES).$(PYTHON3_NETIFACES_SUFFIX))
> +PYTHON3_NETIFACES_SOURCE	:= $(SRCDIR)/$(PYTHON3_NETIFACES).$(PYTHON3_NETIFACES_SUFFIX)
> +PYTHON3_NETIFACES_DIR		:= $(BUILDDIR)/$(PYTHON3_NETIFACES)
> +PYTHON3_NETIFACES_LICENSE	:= MIT
> +PYTHON3_NETIFACES_LICENSE_FILES	:= file://LICENSE;md5=e4677613c25bf3673bfee98c0cc52202
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +PYTHON3_NETIFACES_CONF_TOOL	:= python3
> +
> +# ----------------------------------------------------------------------------
> +# Target-Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/python3-netifaces.targetinstall:
> +	@$(call targetinfo)
> +
> +	@$(call install_init, python3-netifaces)
> +	@$(call install_fixup, python3-netifaces, PRIORITY, optional)
> +	@$(call install_fixup, python3-netifaces, SECTION, base)
> +	@$(call install_fixup, python3-netifaces, AUTHOR, "Matthias Fend <matthias.fend@emfend.at>")
> +	@$(call install_fixup, python3-netifaces, DESCRIPTION, missing)
> +
> +	@$(call install_glob, python3-netifaces, 0, 0, -, \
> +		$(PYTHON3_SITEPACKAGES),, *.py)
> +
> +	@$(call install_finish, python3-netifaces)
> +
> +	@$(call touch)
> +
> +# vim: syntax=make

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de

      reply	other threads:[~2021-11-05  7:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-29 10:12 [ptxdist] [PATCH v2 0/1] " Matthias Fend
2021-10-29 10:12 ` [ptxdist] [PATCH v2 1/1] " Matthias Fend
2021-11-05  7:55   ` Michael Olbrich [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211105075532.3133514-1-m.olbrich@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=matthias.fend@emfend.at \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox