* [gentoo-commits] repo/proj/guru:master commit in: dev-python/fontFeatures/
@ 2022-03-26 0:31 Ronny Gutbrod
0 siblings, 0 replies; 4+ messages in thread
From: Ronny Gutbrod @ 2022-03-26 0:31 UTC (permalink / raw
To: gentoo-commits
commit: bb17912e7e080046deba04fa1d9f030a31d72c79
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sat Mar 26 00:08:26 2022 +0000
Commit: Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
CommitDate: Sat Mar 26 00:09:37 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bb17912e
dev-python/fontFeatures: initial import
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
dev-python/fontFeatures/Manifest | 1 +
dev-python/fontFeatures/fontFeatures-1.6.4.ebuild | 26 +++++++++++++++++
dev-python/fontFeatures/metadata.xml | 35 +++++++++++++++++++++++
3 files changed, 62 insertions(+)
diff --git a/dev-python/fontFeatures/Manifest b/dev-python/fontFeatures/Manifest
new file mode 100644
index 000000000..346796d56
--- /dev/null
+++ b/dev-python/fontFeatures/Manifest
@@ -0,0 +1 @@
+DIST fontFeatures-1.6.4.tar.gz 1236722 BLAKE2B 0efcda0175de36d5e3d78c02fc6e835f3f39a14e6d050340d23dbf391ecf6cee9385822e8a005ed45d783bb467f25b087c1b473f4af1186dff98d7d9502c6b4e SHA512 fef775845b1d6dbd2b81a7f44429586ba63bdbcc3f2a5124e4dda41e8af62ac81b143e6d7e1443c3bb90e12f7f592b512bcd90bcbdc18e5eb07de195956cc196
diff --git a/dev-python/fontFeatures/fontFeatures-1.6.4.ebuild b/dev-python/fontFeatures/fontFeatures-1.6.4.ebuild
new file mode 100644
index 000000000..7d6d5a20b
--- /dev/null
+++ b/dev-python/fontFeatures/fontFeatures-1.6.4.ebuild
@@ -0,0 +1,26 @@
+# 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="Python library for manipulating OpenType font features"
+HOMEPAGE="https://github.com/simoncozens/fontFeatures"
+SRC_URI="https://github.com/simoncozens/fontFeatures/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+LICENSE="MIT"
+SLOT="0"
+
+RDEPEND="
+ dev-python/fs[${PYTHON_USEDEP}]
+ dev-python/lxml[${PYTHON_USEDEP}]
+ >=dev-python/fonttools-4.28.0[${PYTHON_USEDEP}]
+ >=dev-python/glyphtools-0.7.0[${PYTHON_USEDEP}]
+ >=dev-python/beziers-0.1.0[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}"
+
+distutils_enable_tests pytest
diff --git a/dev-python/fontFeatures/metadata.xml b/dev-python/fontFeatures/metadata.xml
new file mode 100644
index 000000000..17f0c7151
--- /dev/null
+++ b/dev-python/fontFeatures/metadata.xml
@@ -0,0 +1,35 @@
+<?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/simoncozens/fontFeatures/issues</bugs-to>
+ <remote-id type="github">simoncozens/fontFeatures</remote-id>
+ <remote-id type="pypi">fontFeatures</remote-id>
+ </upstream>
+ <longdescription lang="en">
+fontFeatures library
+The purpose of this library is to provide a middle ground for representing features in a machine-manipulable format, kind of like the abstract syntax tree of a computer programmer. This is so that:
+
+ features can be represented in a structured human-readable and machine-readable way, analogous to the XML files of the Unified Font Object format.
+ features can be more directly authored by programs (such as font editors), rather than them having to output AFDKO feature file format.
+ features can be easily manipulated by programs - for example, features from two files merged together, or lookups moved between languages.
+
+Components
+
+fontFeatures consists of the following components:
+
+ fontFeatures itself, which is an abstract representation of the different layout operations inside a font.
+ fontFeatures.feaLib (included as a mixin) which translates between Adobe feature syntax and fontFeatures representation.
+ fontFeatures.ttLib, which translates between OpenType binary fonts and fontFeatures representation. (Currently only OTF -> fontFeatures is partially implemented; there is no fontFeatures -> OTF compiler yet.)
+ fontFeatures.fontDameLib which translate FontDame text files into fontFeatures objects.
+
+And the following utilities:
+
+ otf2fea: translates an OTF file into Adobe features syntax.
+ txt2fea: translates a FontDame txt file into Adobe features syntax.
+ </longdescription>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-python/fontFeatures/
@ 2022-03-26 11:53 Andrew Ammerlaan
0 siblings, 0 replies; 4+ messages in thread
From: Andrew Ammerlaan @ 2022-03-26 11:53 UTC (permalink / raw
To: gentoo-commits
commit: a2bdf82d3b8b55dc240072942af46fbdeb13e10d
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sat Mar 26 08:38:37 2022 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sat Mar 26 08:38:37 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a2bdf82d
dev-python/fontFeatures: add youseedee dependency
Closes: https://bugs.gentoo.org/836152
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
dev-python/fontFeatures/fontFeatures-1.6.4.ebuild | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/dev-python/fontFeatures/fontFeatures-1.6.4.ebuild b/dev-python/fontFeatures/fontFeatures-1.6.4.ebuild
index 7d6d5a20b..d707e0b00 100644
--- a/dev-python/fontFeatures/fontFeatures-1.6.4.ebuild
+++ b/dev-python/fontFeatures/fontFeatures-1.6.4.ebuild
@@ -22,5 +22,11 @@ RDEPEND="
>=dev-python/beziers-0.1.0[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
+BDEPEND="
+ test? (
+ >=dev-python/youseedee-0.3.0[${PYTHON_USEDEP}]
+ >=dev-python/babelfont-3.0.0_alpha1[${PYTHON_USEDEP}]
+ )
+"
distutils_enable_tests pytest
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-python/fontFeatures/
@ 2023-05-11 14:32 Andrew Ammerlaan
0 siblings, 0 replies; 4+ messages in thread
From: Andrew Ammerlaan @ 2023-05-11 14:32 UTC (permalink / raw
To: gentoo-commits
commit: 858e650200ab0906a1952d19a8437c331c030530
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Tue May 9 15:07:51 2023 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Tue May 9 15:08:37 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=858e6502
dev-python/fontFeatures: enable py3.11
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
dev-python/fontFeatures/Manifest | 2 +-
dev-python/fontFeatures/fontFeatures-1.7.4.ebuild | 25 +++++++++++++++--------
2 files changed, 17 insertions(+), 10 deletions(-)
diff --git a/dev-python/fontFeatures/Manifest b/dev-python/fontFeatures/Manifest
index 07c6fa321..189c8d64f 100644
--- a/dev-python/fontFeatures/Manifest
+++ b/dev-python/fontFeatures/Manifest
@@ -1 +1 @@
-DIST fontFeatures-1.7.4.gh.tar.gz 1237532 BLAKE2B 7d357485501564b9731e92b7076215b53799ac5f08b9d8e75b64b9feee3a845923d80defbf8e0bb37c07238bf3e4af9c9408769235d8dc599ca750ee8e05cfa9 SHA512 f3add7570c951ddce747bf793ac02658f531c6fb45e58412dea9873a1a6f714f2d1da259d0a26f59279bf57c87fcae0bb7673c7fd92c9925748d0ee865a820fa
+DIST fontFeatures-1.7.4.tar.gz 1235772 BLAKE2B 07c6968f187869a9af66a3aefe5a9a1f0ce11864b2c204bd20910bd433a9871c94a78158772b1a5136c4b8609595f309b7f524dca2f28d0abb16b6d7c1423297 SHA512 bdf92fe48c3cb16e9fa57049007c873a308293115d8d91fa535864d929eebaf243f27fdc2d79b34bd13adb3ca8df10108fb2c911f982ce6d7bdd2c6df72423ab
diff --git a/dev-python/fontFeatures/fontFeatures-1.7.4.ebuild b/dev-python/fontFeatures/fontFeatures-1.7.4.ebuild
index dad475b86..ff042801c 100644
--- a/dev-python/fontFeatures/fontFeatures-1.7.4.ebuild
+++ b/dev-python/fontFeatures/fontFeatures-1.7.4.ebuild
@@ -3,14 +3,16 @@
EAPI=8
-PYTHON_COMPAT=( python3_10 )
+PYTHON_COMPAT=( python3_{10..11} )
DISTUTILS_USE_PEP517=setuptools
-
-inherit distutils-r1
+PYPI_NO_NORMALIZE=1
+inherit distutils-r1 optfeature pypi
DESCRIPTION="Python library for manipulating OpenType font features"
-HOMEPAGE="https://github.com/simoncozens/fontFeatures"
-SRC_URI="https://github.com/simoncozens/fontFeatures/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+HOMEPAGE="
+ https://pypi.org/project/fontFeatures/
+ https://github.com/simoncozens/fontFeatures
+"
KEYWORDS="~amd64"
LICENSE="MIT"
@@ -18,15 +20,14 @@ SLOT="0"
# Tests are also failing upstream
# https://github.com/simoncozens/fontFeatures/actions/runs/3677601386/jobs/6219782260
-RESTRICT="test"
+#RESTRICT="test"
RDEPEND="
+ >=dev-python/beziers-0.1.0[${PYTHON_USEDEP}]
+ >=dev-python/fonttools-4.28.0[${PYTHON_USEDEP}]
dev-python/fs[${PYTHON_USEDEP}]
dev-python/lxml[${PYTHON_USEDEP}]
- >=dev-python/fonttools-4.28.0[${PYTHON_USEDEP}]
- >=dev-python/beziers-0.1.0[${PYTHON_USEDEP}]
"
-DEPEND="${RDEPEND}"
BDEPEND="
test? (
>=dev-python/youseedee-0.3.0[${PYTHON_USEDEP}]
@@ -35,4 +36,10 @@ BDEPEND="
"
PDEPEND=">=dev-python/glyphtools-0.7.0[${PYTHON_USEDEP}]"
+DOCS=( {CHANGES,NEW-FORMAT,README}.md )
+
distutils_enable_tests pytest
+
+pkg_postinst() {
+ optfeature "shaper support" "dev-python/babelfont dev-python/youseedee"
+}
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-python/fontFeatures/
@ 2023-05-11 14:32 Andrew Ammerlaan
0 siblings, 0 replies; 4+ messages in thread
From: Andrew Ammerlaan @ 2023-05-11 14:32 UTC (permalink / raw
To: gentoo-commits
commit: 01e8c59b3bde05339c9a225ca4e24ea855f4857b
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Tue May 9 15:24:28 2023 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Tue May 9 15:24:28 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=01e8c59b
dev-python/fontFeatures: disable broken tests
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
dev-python/fontFeatures/fontFeatures-1.7.4.ebuild | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/dev-python/fontFeatures/fontFeatures-1.7.4.ebuild b/dev-python/fontFeatures/fontFeatures-1.7.4.ebuild
index ff042801c..01136a40a 100644
--- a/dev-python/fontFeatures/fontFeatures-1.7.4.ebuild
+++ b/dev-python/fontFeatures/fontFeatures-1.7.4.ebuild
@@ -38,8 +38,19 @@ PDEPEND=">=dev-python/glyphtools-0.7.0[${PYTHON_USEDEP}]"
DOCS=( {CHANGES,NEW-FORMAT,README}.md )
+EPYTEST_DESELECT=(
+ tests/test_anchors.py::TestAnchors::test_markbase
+ tests/test_chaining.py::TestChaining::test_ignore
+ "tests/test_fea_parser.py::test_round_trip[mark_attachment]"
+)
+
distutils_enable_tests pytest
+python_test() {
+ local -x CI=1
+ epytest
+}
+
pkg_postinst() {
optfeature "shaper support" "dev-python/babelfont dev-python/youseedee"
}
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-05-11 14:32 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-11 14:32 [gentoo-commits] repo/proj/guru:master commit in: dev-python/fontFeatures/ Andrew Ammerlaan
-- strict thread matches above, loose matches on Subject: below --
2023-05-11 14:32 Andrew Ammerlaan
2022-03-26 11:53 Andrew Ammerlaan
2022-03-26 0:31 Ronny Gutbrod
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox