* [ptxdist] [PATCH] python3-text-unidecode: new package
@ 2019-11-19 15:00 Lars Pedersen
2019-11-25 6:54 ` Michael Olbrich
` (3 more replies)
0 siblings, 4 replies; 6+ messages in thread
From: Lars Pedersen @ 2019-11-19 15:00 UTC (permalink / raw)
To: ptxdist; +Cc: Lars Pedersen
Signed-off-by: Lars Pedersen <lapeddk@gmail.com>
---
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
+ 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 <lapeddk@gmail.com>
+#
+# 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 <lapeddk@gmail.com>")
+ @$(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)
+
+# vim: syntax=make
--
2.23.0
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ptxdist] [PATCH] python3-text-unidecode: new package
2019-11-19 15:00 [ptxdist] [PATCH] python3-text-unidecode: new package Lars Pedersen
@ 2019-11-25 6:54 ` Michael Olbrich
2019-11-25 7:02 ` Michael Olbrich
` (2 subsequent siblings)
3 siblings, 0 replies; 6+ messages in thread
From: Michael Olbrich @ 2019-11-25 6:54 UTC (permalink / raw)
To: ptxdist
On Tue, Nov 19, 2019 at 04:00:36PM +0100, Lars Pedersen wrote:
> Signed-off-by: Lars Pedersen <lapeddk@gmail.com>
> ---
> 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 <lapeddk@gmail.com>
> +#
> +# 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 <lapeddk@gmail.com>")
> + @$(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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ptxdist] [PATCH] python3-text-unidecode: new package
2019-11-19 15:00 [ptxdist] [PATCH] python3-text-unidecode: new package Lars Pedersen
2019-11-25 6:54 ` Michael Olbrich
@ 2019-11-25 7:02 ` Michael Olbrich
2019-11-25 7:05 ` Michael Olbrich
2019-12-04 11:40 ` [ptxdist] [PATCH v2] " Lars Pedersen
3 siblings, 0 replies; 6+ messages in thread
From: Michael Olbrich @ 2019-11-25 7:02 UTC (permalink / raw)
To: ptxdist
On Tue, Nov 19, 2019 at 04:00:36PM +0100, Lars Pedersen wrote:
> Signed-off-by: Lars Pedersen <lapeddk@gmail.com>
> ---
> 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
> + 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 <lapeddk@gmail.com>
> +#
> +# 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 <lapeddk@gmail.com>")
> + @$(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)
This makes no sense. First glob installs everything but *.py and the second
installs everything but *.bin so all files are installed. What is supposed
to happen here?
Michael
> +
> + @$(call install_finish, python3-text-unidecode)
> +
> + @$(call touch)
> +
> +# ----------------------------------------------------------------------------
> +# Clean
> +# ----------------------------------------------------------------------------
> +
> +#$(STATEDIR)/python3-text-unidecode.clean:
> +# @$(call targetinfo)
> +# @$(call clean_pkg, PYTHON3_TEXT_UNIDECODE)
> +
> +# 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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ptxdist] [PATCH] python3-text-unidecode: new package
2019-11-19 15:00 [ptxdist] [PATCH] python3-text-unidecode: new package Lars Pedersen
2019-11-25 6:54 ` Michael Olbrich
2019-11-25 7:02 ` Michael Olbrich
@ 2019-11-25 7:05 ` Michael Olbrich
2019-12-04 11:40 ` [ptxdist] [PATCH v2] " Lars Pedersen
3 siblings, 0 replies; 6+ messages in thread
From: Michael Olbrich @ 2019-11-25 7:05 UTC (permalink / raw)
To: ptxdist
On Tue, Nov 19, 2019 at 04:00:36PM +0100, Lars Pedersen wrote:
> Signed-off-by: Lars Pedersen <lapeddk@gmail.com>
> ---
> 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
> + 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 <lapeddk@gmail.com>
> +#
> +# 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
ClArtistic is the SPDX identifier for this license.
Michael
> +
> +# ----------------------------------------------------------------------------
> +# 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 <lapeddk@gmail.com>")
> + @$(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)
> +
> +# 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
^ permalink raw reply [flat|nested] 6+ messages in thread
* [ptxdist] [PATCH v2] python3-text-unidecode: new package
2019-11-19 15:00 [ptxdist] [PATCH] python3-text-unidecode: new package Lars Pedersen
` (2 preceding siblings ...)
2019-11-25 7:05 ` Michael Olbrich
@ 2019-12-04 11:40 ` Lars Pedersen
2019-12-05 10:51 ` [ptxdist] [PATCH v3] " Lars Pedersen
3 siblings, 1 reply; 6+ messages in thread
From: Lars Pedersen @ 2019-12-04 11:40 UTC (permalink / raw)
To: ptxdist; +Cc: Lars Pedersen
Signed-off-by: Lars Pedersen <lapeddk@gmail.com>
---
v2:
- Removed dependency for host-python3-setuptools
- Fixed glob install. Now only installs pyc and bin files
- Added license_files field
- Fixed license name to short name SPDX identifier
rules/python3-text-unidecode.in | 8 ++++
rules/python3-text-unidecode.make | 62 +++++++++++++++++++++++++++++++
2 files changed, 70 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..9a87a3fc3
--- /dev/null
+++ b/rules/python3-text-unidecode.in
@@ -0,0 +1,8 @@
+## SECTION=python3
+
+config PYTHON3_TEXT_UNIDECODE
+ tristate
+ prompt "python3-text-unidecode"
+ 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..0d9c8f667
--- /dev/null
+++ b/rules/python3-text-unidecode.make
@@ -0,0 +1,62 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2019 by Lars Pedersen <lapeddk@gmail.com>
+#
+# 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 := ClArtistic
+PYTHON3_TEXT_UNIDECODE_LICENSE_FILES := \
+ file://LICENSE;md5=ccfb8875bc60bc3d6e91e42e5e8f5587
+
+# ----------------------------------------------------------------------------
+# 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 <lapeddk@gmail.com>")
+ @$(call install_fixup, python3-text-unidecode,DESCRIPTION,missing)
+
+ @$(call install_glob,python3-text-unidecode, 0, 0, -, \
+ /usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages,*.pyc *.bin, )
+
+ @$(call install_finish, python3-text-unidecode)
+
+ @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Clean
+# ----------------------------------------------------------------------------
+
+#$(STATEDIR)/python3-text-unidecode.clean:
+# @$(call targetinfo)
+# @$(call clean_pkg, PYTHON3_TEXT_UNIDECODE)
+
+# vim: syntax=make
--
2.23.0
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 6+ messages in thread
* [ptxdist] [PATCH v3] python3-text-unidecode: new package
2019-12-04 11:40 ` [ptxdist] [PATCH v2] " Lars Pedersen
@ 2019-12-05 10:51 ` Lars Pedersen
0 siblings, 0 replies; 6+ messages in thread
From: Lars Pedersen @ 2019-12-05 10:51 UTC (permalink / raw)
To: ptxdist; +Cc: Lars Pedersen
Signed-off-by: Lars Pedersen <lapeddk@gmail.com>
---
v2:
- Removed dependency for host-python3-setuptools
- Fixed glob install. Now only installs pyc and bin files
- Added license_files field
- Fixed license name to short name SPDX identifier
v3:
- Removed default clean step
rules/python3-text-unidecode.in | 8 +++++
rules/python3-text-unidecode.make | 54 +++++++++++++++++++++++++++++++
2 files changed, 62 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..9a87a3fc3
--- /dev/null
+++ b/rules/python3-text-unidecode.in
@@ -0,0 +1,8 @@
+## SECTION=python3
+
+config PYTHON3_TEXT_UNIDECODE
+ tristate
+ prompt "python3-text-unidecode"
+ 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..ef9cb558b
--- /dev/null
+++ b/rules/python3-text-unidecode.make
@@ -0,0 +1,54 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2019 by Lars Pedersen <lapeddk@gmail.com>
+#
+# 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 := ClArtistic
+PYTHON3_TEXT_UNIDECODE_LICENSE_FILES := \
+ file://LICENSE;md5=ccfb8875bc60bc3d6e91e42e5e8f5587
+
+# ----------------------------------------------------------------------------
+# 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 <lapeddk@gmail.com>")
+ @$(call install_fixup, python3-text-unidecode,DESCRIPTION,missing)
+
+ @$(call install_glob,python3-text-unidecode, 0, 0, -, \
+ /usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages,*.pyc *.bin, )
+
+ @$(call install_finish, python3-text-unidecode)
+
+ @$(call touch)
+
+# vim: syntax=make
--
2.23.0
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2019-12-05 10:51 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-19 15:00 [ptxdist] [PATCH] python3-text-unidecode: new package Lars Pedersen
2019-11-25 6:54 ` Michael Olbrich
2019-11-25 7:02 ` Michael Olbrich
2019-11-25 7:05 ` Michael Olbrich
2019-12-04 11:40 ` [ptxdist] [PATCH v2] " Lars Pedersen
2019-12-05 10:51 ` [ptxdist] [PATCH v3] " Lars Pedersen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox