commit:     c2d482dd87a2a42f5f1f3175939c2fcc5952b4db
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sat Mar 19 00:05:35 2022 +0000
Commit:     Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
CommitDate: Sat Mar 19 00:43:39 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c2d482dd

dev-python/hyperglot: initial import

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-python/hyperglot/Manifest               |  1 +
 dev-python/hyperglot/hyperglot-0.3.8.ebuild | 30 +++++++++++++++++++++++++++++
 dev-python/hyperglot/metadata.xml           | 22 +++++++++++++++++++++
 3 files changed, 53 insertions(+)

diff --git a/dev-python/hyperglot/Manifest b/dev-python/hyperglot/Manifest
new file mode 100644
index 000000000..1b03ea8ea
--- /dev/null
+++ b/dev-python/hyperglot/Manifest
@@ -0,0 +1 @@
+DIST hyperglot-0.3.8.tar.gz 7535789 BLAKE2B 
ea95372cfff195d2f991cc9a6bc3e26a9576e234167dde0c3a550979f6657e23b2169beb9d67b05fe8de1922e8a299ae24653da611e4277027798b2d139bc12f
 SHA512 
32b8a08795fad10bfe909ddcab9578a53d1a0faf5a9ac79c2a129d2529d00166336560528f298ff8433fdc1149791da948fa2ef4f4d67780bd79b8f8126bdaf6

diff --git a/dev-python/hyperglot/hyperglot-0.3.8.ebuild 
b/dev-python/hyperglot/hyperglot-0.3.8.ebuild
new file mode 100644
index 000000000..20ed6a2a4
--- /dev/null
+++ b/dev-python/hyperglot/hyperglot-0.3.8.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..9} )
+
+inherit distutils-r1
+
+DESCRIPTION="Detect language support for font binaries"
+HOMEPAGE="
+       http://hyperglot.rosettatype.com/
+       https://github.com/rosettatype/hyperglot
+       https://pypi.org/project/hyperglot/
+"
+SRC_URI="https://github.com/rosettatype/${PN}/archive/refs/tags/${PV}.tar.gz 
-> ${P}.tar.gz"
+
+LICENSE="GPL-3+ OFL"
+KEYWORDS="~amd64"
+SLOT="0"
+
+RDEPEND="
+       >=dev-python/click-7.0[${PYTHON_USEDEP}]
+       >=dev-python/fonttools-4.0.2[${PYTHON_USEDEP}]
+       >=dev-python/pyyaml-5.3[${PYTHON_USEDEP}]
+       >=dev-python/unicodedata2-13.0.0[${PYTHON_USEDEP}]
+       >=dev-python/colorlog-4.7.2[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest

diff --git a/dev-python/hyperglot/metadata.xml 
b/dev-python/hyperglot/metadata.xml
new file mode 100644
index 000000000..99cbceec1
--- /dev/null
+++ b/dev-python/hyperglot/metadata.xml
@@ -0,0 +1,22 @@
+<?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>
+       <longdescription lang="en">
+Hyperglot helps type designers answer a seemingly simple question of language 
support in fonts: When can I use font A to set texts in language B? It takes a 
pragmatic answer by identifying a standard character set for each orthography 
used by a language. The database that currently contains information for over 
640+ languages is a work in progress, designed to grow.
+
+We record a basic and any auxiliary character sets for each orthography of a 
language. Note that only actively used orthographies (their status is set to 
primary) are used when detecting language support in a font. Other, secondary 
or historical, orthographies are displayed just for information purposes.
+
+Where relevant, we also provide a brief design note containing tips about 
shaping and positioning requirements that go beyond Unicode character code 
points. Hyperglot should only be used to detect whether a font can be 
considered for use with a particular language. It does not say anything about 
the quality of a font’s design.
+
+Hyperglot is a work in progress provided AS IS, and the validity of its 
language data varies. To help you assess the validity of the results you view, 
each language in the database comes with a label indicating the quality of the 
data we have for it (e.g. some are considered drafts, some have been verified). 
We have checked the information against various online and offline sources and 
we are committed to continually improve it. However, we admit that mapping all 
the languages of the world in this way is beyond our capacity – we need help 
from users of each respective language! So, if you spot an issue or notice your 
favourite language is altogether missing from the database, get in touch. We 
will happily incorporate your feedback and credit you.
+       </longdescription>
+       <upstream>
+               
<bugs-to>https://github.com/rosettatype/hyperglot/issues</bugs-to>
+               <remote-id type="github">rosettatype/hyperglot</remote-id>
+               <remote-id type="pypi">hyperglot</remote-id>
+       </upstream>
+</pkgmetadata>

Reply via email to