From c1fc2db3e08706ec4bccb0d3ab2baa770a94867f Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Thu, 30 Apr 2020 20:54:08 +0200 Subject: [PATCH] dev-python/ufoNormalizer: new package Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Alessandro Barbieri --- dev-python/ufoNormalizer/Manifest | 1 + dev-python/ufoNormalizer/metadata.xml | 26 ++++++++++++++++++ .../ufoNormalizer/ufoNormalizer-0.4.1.ebuild | 27 +++++++++++++++++++ 3 files changed, 54 insertions(+) create mode 100644 dev-python/ufoNormalizer/Manifest create mode 100644 dev-python/ufoNormalizer/metadata.xml create mode 100644 dev-python/ufoNormalizer/ufoNormalizer-0.4.1.ebuild diff --git a/dev-python/ufoNormalizer/Manifest b/dev-python/ufoNormalizer/Manifest new file mode 100644 index 0000000000..2297f4d375 --- /dev/null +++ b/dev-python/ufoNormalizer/Manifest @@ -0,0 +1 @@ +DIST ufoNormalizer-0.4.1.tar.gz 30350 BLAKE2B b5709deea451f28a4372cefca497dcde5875a6fd64afc5b21e8a115d02ed4ade714e6b5b3d2f445d4de70ba47a3a8dd9ed4e1e0c3e27f9ed6e7eb9f1994db134 SHA512 bf8cb37b171363e1eca85ba01f78f8c2ed4d7741aba3ca8b77c1590fc81cca194d521224f370cdadcda033772d2e5c540d04098558a148d44c747af20f4b636b diff --git a/dev-python/ufoNormalizer/metadata.xml b/dev-python/ufoNormalizer/metadata.xml new file mode 100644 index 0000000000..4cba23f01a --- /dev/null +++ b/dev-python/ufoNormalizer/metadata.xml @@ -0,0 +1,26 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + https://github.com/unified-font-object/ufoNormalizer/issues + + tal@typesupply.com + Tal Leming + + ufonormalizer + unified-font-object/ufoNormalizer + + +Provides a standard formatting so that there are meaningful diffs in version control rather than formatting noise. + +Examples of formatting applied by ufoNormalizer include: + + Changing floating-point numbers to integers where it doesn't alter the value (e.g. x="95.0" becomes x="95" ) + Rounding floating-point numbers to 10 digits + Formatting XML with tabs rather than spaces + + diff --git a/dev-python/ufoNormalizer/ufoNormalizer-0.4.1.ebuild b/dev-python/ufoNormalizer/ufoNormalizer-0.4.1.ebuild new file mode 100644 index 0000000000..2954c540f5 --- /dev/null +++ b/dev-python/ufoNormalizer/ufoNormalizer-0.4.1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_{6,7} pypy3 ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="A tool that will normalize the XML and other data inside of a UFO." +HOMEPAGE="https://github.com/unified-font-object/ufoNormalizer" +SRC_URI="https://github.com/unified-font-object/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +SLOT="0" +LICENSE="BSD" +KEYWORDS="~amd64" + +DEPEND="" +RDEPEND="" +BDEPEND="app-arch/unzip" + +#python_test() { +# "${EPYTHON}" esetup.py test || die +#} + +distutils_enable_tests setup.py