dev-python/ufoNormalizer: new package

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2020-04-30 20:54:08 +02:00
parent 64def23e2b
commit c1fc2db3e0
3 changed files with 54 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST ufoNormalizer-0.4.1.tar.gz 30350 BLAKE2B b5709deea451f28a4372cefca497dcde5875a6fd64afc5b21e8a115d02ed4ade714e6b5b3d2f445d4de70ba47a3a8dd9ed4e1e0c3e27f9ed6e7eb9f1994db134 SHA512 bf8cb37b171363e1eca85ba01f78f8c2ed4d7741aba3ca8b77c1590fc81cca194d521224f370cdadcda033772d2e5c540d04098558a148d44c747af20f4b636b

View File

@@ -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>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>
<upstream>
<bugs-to>https://github.com/unified-font-object/ufoNormalizer/issues</bugs-to>
<maintainer>
<email>tal@typesupply.com</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>

View File

@@ -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