Gentoo Archives: gentoo-commits

From: Alessandro Barbieri <lssndrbarbieri@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/ufoNormalizer/
Date: Thu, 30 Apr 2020 19:17:32
Message-Id: 1588274242.c1fc2db3e08706ec4bccb0d3ab2baa770a94867f.Alessandro-Barbieri@gentoo
1 commit: c1fc2db3e08706ec4bccb0d3ab2baa770a94867f
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Thu Apr 30 18:54:08 2020 +0000
4 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
5 CommitDate: Thu Apr 30 19:17:22 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c1fc2db3
7
8 dev-python/ufoNormalizer: new package
9
10 Package-Manager: Portage-2.3.99, Repoman-2.3.22
11 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
12
13 dev-python/ufoNormalizer/Manifest | 1 +
14 dev-python/ufoNormalizer/metadata.xml | 26 +++++++++++++++++++++
15 .../ufoNormalizer/ufoNormalizer-0.4.1.ebuild | 27 ++++++++++++++++++++++
16 3 files changed, 54 insertions(+)
17
18 diff --git a/dev-python/ufoNormalizer/Manifest b/dev-python/ufoNormalizer/Manifest
19 new file mode 100644
20 index 0000000..2297f4d
21 --- /dev/null
22 +++ b/dev-python/ufoNormalizer/Manifest
23 @@ -0,0 +1 @@
24 +DIST ufoNormalizer-0.4.1.tar.gz 30350 BLAKE2B b5709deea451f28a4372cefca497dcde5875a6fd64afc5b21e8a115d02ed4ade714e6b5b3d2f445d4de70ba47a3a8dd9ed4e1e0c3e27f9ed6e7eb9f1994db134 SHA512 bf8cb37b171363e1eca85ba01f78f8c2ed4d7741aba3ca8b77c1590fc81cca194d521224f370cdadcda033772d2e5c540d04098558a148d44c747af20f4b636b
25
26 diff --git a/dev-python/ufoNormalizer/metadata.xml b/dev-python/ufoNormalizer/metadata.xml
27 new file mode 100644
28 index 0000000..4cba23f
29 --- /dev/null
30 +++ b/dev-python/ufoNormalizer/metadata.xml
31 @@ -0,0 +1,26 @@
32 +<?xml version="1.0" encoding="UTF-8"?>
33 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
34 +<pkgmetadata>
35 + <maintainer type="person">
36 + <email>lssndrbarbieri@×××××.com</email>
37 + <name>Alessandro Barbieri</name>
38 + </maintainer>
39 + <upstream>
40 + <bugs-to>https://github.com/unified-font-object/ufoNormalizer/issues</bugs-to>
41 + <maintainer>
42 + <email>tal@××××××××××.com</email>
43 + <name>Tal Leming</name>
44 + </maintainer>
45 + <remote-id type="pypi">ufonormalizer</remote-id>
46 + <remote-id type="github">unified-font-object/ufoNormalizer</remote-id>
47 + </upstream>
48 + <longdescription lang="en">
49 +Provides a standard formatting so that there are meaningful diffs in version control rather than formatting noise.
50 +
51 +Examples of formatting applied by ufoNormalizer include:
52 +
53 + Changing floating-point numbers to integers where it doesn't alter the value (e.g. x="95.0" becomes x="95" )
54 + Rounding floating-point numbers to 10 digits
55 + Formatting XML with tabs rather than spaces
56 + </longdescription>
57 +</pkgmetadata>
58
59 diff --git a/dev-python/ufoNormalizer/ufoNormalizer-0.4.1.ebuild b/dev-python/ufoNormalizer/ufoNormalizer-0.4.1.ebuild
60 new file mode 100644
61 index 0000000..2954c54
62 --- /dev/null
63 +++ b/dev-python/ufoNormalizer/ufoNormalizer-0.4.1.ebuild
64 @@ -0,0 +1,27 @@
65 +# Copyright 1999-2020 Gentoo Authors
66 +# Distributed under the terms of the GNU General Public License v2
67 +
68 +EAPI="7"
69 +
70 +PYTHON_COMPAT=( python3_{6,7} pypy3 )
71 +DISTUTILS_USE_SETUPTOOLS=rdepend
72 +
73 +inherit distutils-r1
74 +
75 +DESCRIPTION="A tool that will normalize the XML and other data inside of a UFO."
76 +HOMEPAGE="https://github.com/unified-font-object/ufoNormalizer"
77 +SRC_URI="https://github.com/unified-font-object/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
78 +
79 +SLOT="0"
80 +LICENSE="BSD"
81 +KEYWORDS="~amd64"
82 +
83 +DEPEND=""
84 +RDEPEND=""
85 +BDEPEND="app-arch/unzip"
86 +
87 +#python_test() {
88 +# "${EPYTHON}" esetup.py test || die
89 +#}
90 +
91 +distutils_enable_tests setup.py