diff options
author | Lars Pedersen <lapeddk@gmail.com> | 2019-12-05 11:51:11 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-12-05 14:40:02 +0100 |
commit | e0de2e55729255befec6707448cef5bf368e1f1c (patch) | |
tree | 60277d1bdada0f7786eda8c011178f3c8b29d7b7 | |
parent | 1cd684a74e7ad68e03abefee26620f22fa5855b1 (diff) | |
download | ptxdist-e0de2e55729255befec6707448cef5bf368e1f1c.tar.gz ptxdist-e0de2e55729255befec6707448cef5bf368e1f1c.tar.xz |
python3-text-unidecode: new package
Signed-off-by: Lars Pedersen <lapeddk@gmail.com>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r-- | rules/python3-text-unidecode.in | 8 | ||||
-rw-r--r-- | rules/python3-text-unidecode.make | 54 |
2 files changed, 62 insertions, 0 deletions
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 |