commit: c1fc2db3e08706ec4bccb0d3ab2baa770a94867f Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> AuthorDate: Thu Apr 30 18:54:08 2020 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> CommitDate: Thu Apr 30 19:17:22 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c1fc2db3
dev-python/ufoNormalizer: new package Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> dev-python/ufoNormalizer/Manifest | 1 + dev-python/ufoNormalizer/metadata.xml | 26 +++++++++++++++++++++ .../ufoNormalizer/ufoNormalizer-0.4.1.ebuild | 27 ++++++++++++++++++++++ 3 files changed, 54 insertions(+) diff --git a/dev-python/ufoNormalizer/Manifest b/dev-python/ufoNormalizer/Manifest new file mode 100644 index 0000000..2297f4d --- /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 0000000..4cba23f --- /dev/null +++ b/dev-python/ufoNormalizer/metadata.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>[email protected]</email> + <name>Alessandro Barbieri</name> + </maintainer> + <upstream> + <bugs-to>https://github.com/unified-font-object/ufoNormalizer/issues</bugs-to> + <maintainer> + <email>[email protected]</email> + <name>Tal Leming</name> + </maintainer> + <remote-id type="pypi">ufonormalizer</remote-id> + <remote-id type="github">unified-font-object/ufoNormalizer</remote-id> + </upstream> + <longdescription lang="en"> +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 + </longdescription> +</pkgmetadata> 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 0000000..2954c54 --- /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
