From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from dude02.hi.pengutronix.de ([2001:67c:670:100:1d::28] helo=dude02.lab.pengutronix.de) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iZ8Gd-00071D-Ct for ptxdist@pengutronix.de; Mon, 25 Nov 2019 07:54:39 +0100 Received: from mol by dude02.lab.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1iZ8Gd-0003uM-5E for ptxdist@pengutronix.de; Mon, 25 Nov 2019 07:54:39 +0100 Date: Mon, 25 Nov 2019 07:54:39 +0100 From: Michael Olbrich Message-ID: <20191125065439.GD14948@pengutronix.de> References: <20191119150036.3287-1-lapeddk@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20191119150036.3287-1-lapeddk@gmail.com> Subject: Re: [ptxdist] [PATCH] python3-text-unidecode: new package List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de On Tue, Nov 19, 2019 at 04:00:36PM +0100, Lars Pedersen wrote: > Signed-off-by: Lars Pedersen > --- > rules/python3-text-unidecode.in | 9 +++++ > rules/python3-text-unidecode.make | 63 +++++++++++++++++++++++++++++++ > 2 files changed, 72 insertions(+) > create mode 100644 rules/python3-text-unidecode.in > create mode 100644 rules/python3-text-unidecode.make > > diff --git a/rules/python3-text-unidecode.in b/rules/python3-text-unidecode.in > new file mode 100644 > index 000000000..5f6ec2c16 > --- /dev/null > +++ b/rules/python3-text-unidecode.in > @@ -0,0 +1,9 @@ > +## SECTION=python3 > + > +config PYTHON3_TEXT_UNIDECODE > + tristate > + prompt "python3-text-unidecode" > + select PYTHON3 > + select HOST_PYTHON3_SETUPTOOLS This is already implied in 'select PYTHON3'. > + help > + text-unidecode is the most basic port of the Text::Unidecode Perl library > diff --git a/rules/python3-text-unidecode.make b/rules/python3-text-unidecode.make > new file mode 100644 > index 000000000..9e92df043 > --- /dev/null > +++ b/rules/python3-text-unidecode.make > @@ -0,0 +1,63 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2019 by Lars Pedersen > +# > +# For further information about the PTXdist project and license conditions > +# see the README file. > +# > + > +# > +# We provide this package > +# > +PACKAGES-$(PTXCONF_PYTHON3_TEXT_UNIDECODE) += python3-text-unidecode > + > +# > +# Paths and names > +# > +PYTHON3_TEXT_UNIDECODE_VERSION := 1.3 > +PYTHON3_TEXT_UNIDECODE_MD5 := 53a0a6c5aef8f5eb5834e78e0fdf0499 > +PYTHON3_TEXT_UNIDECODE := text-unidecode-$(PYTHON3_TEXT_UNIDECODE_VERSION) > +PYTHON3_TEXT_UNIDECODE_SUFFIX := tar.gz > +PYTHON3_TEXT_UNIDECODE_URL := https://files.pythonhosted.org/packages/source/t/text-unidecode/$(PYTHON3_TEXT_UNIDECODE).$(PYTHON3_TEXT_UNIDECODE_SUFFIX) > +PYTHON3_TEXT_UNIDECODE_SOURCE := $(SRCDIR)/$(PYTHON3_TEXT_UNIDECODE).$(PYTHON3_TEXT_UNIDECODE_SUFFIX) > +PYTHON3_TEXT_UNIDECODE_DIR := $(BUILDDIR)/$(PYTHON3_TEXT_UNIDECODE) > +PYTHON3_TEXT_UNIDECODE_LICENSE := Clarified Artistic License > + > +# ---------------------------------------------------------------------------- > +# Prepare > +# ---------------------------------------------------------------------------- > + > +PYTHON3_TEXT_UNIDECODE_CONF_TOOL := python3 > + > +# ---------------------------------------------------------------------------- > +# Target-Install > +# ---------------------------------------------------------------------------- > + > +$(STATEDIR)/python3-text-unidecode.targetinstall: > + @$(call targetinfo) > + > + @$(call install_init, python3-text-unidecode) > + @$(call install_fixup, python3-text-unidecode,PRIORITY,optional) > + @$(call install_fixup, python3-text-unidecode,SECTION,base) > + @$(call install_fixup, python3-text-unidecode,AUTHOR,"Lars Pedersen ") > + @$(call install_fixup, python3-text-unidecode,DESCRIPTION,missing) > + > + @$(call install_glob,python3-text-unidecode, 0, 0, -, \ > + /usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages,, *.py) > + > + @$(call install_glob,python3-text-unidecode, 0, 0, -, \ > + /usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages,, *.bin) > + > + @$(call install_finish, python3-text-unidecode) > + > + @$(call touch) > + > +# ---------------------------------------------------------------------------- > +# Clean > +# ---------------------------------------------------------------------------- > + > +#$(STATEDIR)/python3-text-unidecode.clean: > +# @$(call targetinfo) > +# @$(call clean_pkg, PYTHON3_TEXT_UNIDECODE) remove. Michael > + > +# vim: syntax=make > -- > 2.23.0 > > > _______________________________________________ > ptxdist mailing list > ptxdist@pengutronix.de > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de