From 746a222338be34563faf62c866b4ad6463ce1813 Mon Sep 17 00:00:00 2001 From: "Andreas Billmeier (@Home/mbp)" Date: Tue, 12 Dec 2023 22:50:35 +0100 Subject: [PATCH] dev-python/unicode-rbnf: new package, add 1.0.0 Signed-off-by: Andreas Billmeier --- README.md | 4 +-- dev-python/unicode-rbnf/Manifest | 3 ++ dev-python/unicode-rbnf/metadata.xml | 16 ++++++++++ .../unicode-rbnf/unicode-rbnf-1.0.0.ebuild | 29 +++++++++++++++++++ 4 files changed, 50 insertions(+), 2 deletions(-) create mode 100644 dev-python/unicode-rbnf/Manifest create mode 100644 dev-python/unicode-rbnf/metadata.xml create mode 100644 dev-python/unicode-rbnf/unicode-rbnf-1.0.0.ebuild diff --git a/README.md b/README.md index 0cc2c131c..e86d6dd0e 100644 --- a/README.md +++ b/README.md @@ -612,11 +612,11 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E ## Licenses This repository itself is released under GPL-3 (like most Gentoo repositories), all work on the depending components under the licenses they came from. Perhaps you came here because I filed an issue at your component about a bad or missing license. It is easy to [assign a license](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). During cleanups and license investigations I have been asked often which license to choose. I am not a lawyer, but I can offer the following table, counted over this repository, perhaps this helps your decision. If a package has more than one license listed, all of them are counted. -There are 1766 Ebuilds in total, 1755 of them have in total 1776 (43 different) licenses assigned. +There are 1767 Ebuilds in total, 1756 of them have in total 1777 (43 different) licenses assigned. |License| Ebuilds using it| |-------|-----| -|MIT|1031| +|MIT|1032| |Apache-2.0|371| |GPL-3|106| |BSD|100| diff --git a/dev-python/unicode-rbnf/Manifest b/dev-python/unicode-rbnf/Manifest new file mode 100644 index 000000000..9556618c3 --- /dev/null +++ b/dev-python/unicode-rbnf/Manifest @@ -0,0 +1,3 @@ +DIST unicode-rbnf-1.0.0.gh.tar.gz 82505 BLAKE2B 7268c3237b05f6581c024ead9ce817b39f38e565deca46f1c507f308f4fb23c82c810c03cc4a72cc030b7d23ff99bc0d1d4a868560a685e9d551c2d25b93625b SHA512 5625fdc2940d9c45570fde15e0fa775112065e0decf5b59783c0fdae9c07309c064a328c061512b18105c616aad3ef857dac549343ac6ae68be2f9029000727e +EBUILD unicode-rbnf-1.0.0.ebuild 680 BLAKE2B 1b9619555db653256e2a1abf9d41414ef6344fd7619c0a1fe04e755e3adbbf205e2b1ea732b70612a9cbae20d432034d80603678a49418f7e7db490f83856c2d SHA512 c741e0f3a61bb34a8be01e7dabecf04c74cdd1e76bd611e175eeca6306b1189fe2a76ca12123d20df8dfd52fae9add7cfd6a7322865f52dbc270f365799ba665 +MISC metadata.xml 512 BLAKE2B afd1649321b0a57848e07bf99b67b7ac9baac4f920e640827c9abd005f4d8e137057f6eba61214d99ce1172b3af53e31eb2a1673a7dce95a933722c50e13eb81 SHA512 faa716c3792634a9732e7a169e90c460dc4471f2b77d6d04c0601e4f1155acf7ba11a3554c07fb25611485dd427a25734b8a83ef8bb49a11ceb46516356c99b4 diff --git a/dev-python/unicode-rbnf/metadata.xml b/dev-python/unicode-rbnf/metadata.xml new file mode 100644 index 000000000..8c064d257 --- /dev/null +++ b/dev-python/unicode-rbnf/metadata.xml @@ -0,0 +1,16 @@ + + + + + b@edevau.net + Andreas Billmeier + + + unicode-rbnf + rhasspy/unicode + + mike@rhasspy.org + Michael Hansen + + + diff --git a/dev-python/unicode-rbnf/unicode-rbnf-1.0.0.ebuild b/dev-python/unicode-rbnf/unicode-rbnf-1.0.0.ebuild new file mode 100644 index 000000000..762d3b1cd --- /dev/null +++ b/dev-python/unicode-rbnf/unicode-rbnf-1.0.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="Rule-based number formatting using Unicode CLDR data" +HOMEPAGE="https://github.com/rhasspy/unicode-rbnf https://pypi.org/project/unicode-rbnf/" +SRC_URI="https://github.com/rhasspy/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 arm arm64 x86" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND=" + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + )" + +python_test() { + py.test -v -v || die +} + +distutils_enable_tests pytest