[gentoo-commits] repo/proj/guru:dev commit in: dev-python/statmake/
commit: 96b4548ddc662a2c94dfb1434bbee79577e886f2 Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Thu May 4 02:19:13 2023 + Commit: Anna Vyalkova sysrq in> CommitDate: Thu May 4 02:20:16 2023 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=96b4548d dev-python/statmake: enable py3.11 Closes: https://bugs.gentoo.org/884685 Signed-off-by: Anna (cybertailor) Vyalkova sysrq.in> dev-python/statmake/metadata.xml | 20 ++--- dev-python/statmake/statmake-0.6.0-r1.ebuild | 34 + dev-python/statmake/statmake-0.6.0.ebuild| 45 3 files changed, 44 insertions(+), 55 deletions(-) diff --git a/dev-python/statmake/metadata.xml b/dev-python/statmake/metadata.xml index 8cd085ccd..c7dea1bac 100644 --- a/dev-python/statmake/metadata.xml +++ b/dev-python/statmake/metadata.xml @@ -1,14 +1,14 @@ https://www.gentoo.org/dtd/metadata.dtd";> - -co-maintainers welcome -lssndrbarbi...@gmail.com -Alessandro Barbieri - - -https://github.com/daltonmaag/statmake/issues -daltonmaag/statmake -statmake - + + co-maintainers welcome + lssndrbarbi...@gmail.com + Alessandro Barbieri + + + https://github.com/daltonmaag/statmake/issues + daltonmaag/statmake + statmake + diff --git a/dev-python/statmake/statmake-0.6.0-r1.ebuild b/dev-python/statmake/statmake-0.6.0-r1.ebuild new file mode 100644 index 0..72ae4cffa --- /dev/null +++ b/dev-python/statmake/statmake-0.6.0-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..11} ) +DISTUTILS_USE_PEP517=poetry +inherit distutils-r1 + +DESCRIPTION="Applies STAT information from a Stylespace to a variable font" +HOMEPAGE=" + https://pypi.org/project/statmake/ + https://github.com/daltonmaag/statmake +" +SRC_URI="https://github.com/daltonmaag/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +KEYWORDS="~amd64" +LICENSE="MIT" +SLOT="0" + +RDEPEND=" + >=dev-python/attrs-21.3[${PYTHON_USEDEP}] + >=dev-python/cattrs-22.2[${PYTHON_USEDEP}] + >=dev-python/fonttools-4.11[${PYTHON_USEDEP}] + >=dev-python/fs-2.2.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/ufo2ft-2.7[${PYTHON_USEDEP}] + >=dev-python/ufoLib2-0.4[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/statmake/statmake-0.6.0.ebuild b/dev-python/statmake/statmake-0.6.0.ebuild deleted file mode 100644 index 7fe4cabc8..0 --- a/dev-python/statmake/statmake-0.6.0.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_SINGLE_IMPL=1 -DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_10 ) -inherit distutils-r1 - -DESCRIPTION="Generate STAT tables for variable fonts from .stylespace files" -HOMEPAGE="https://github.com/daltonmaag/statmake"; -SRC_URI="https://github.com/daltonmaag/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" - -KEYWORDS="~amd64" -LICENSE="MIT" -SLOT="0" - -RDEPEND=" - $(python_gen_cond_dep ' - >=dev-python/attrs-21.3[${PYTHON_USEDEP}] - >=dev-python/cattrs-22.1[${PYTHON_USEDEP}] - >=dev-python/fonttools-4.11[${PYTHON_USEDEP}] - ') -" -BDEPEND=" - test? ( - $(python_gen_cond_dep ' - >=dev-python/ufo2ft-2.7[${PYTHON_USEDEP}] - >=dev-python/ufoLib2-0.4[${PYTHON_USEDEP}] - ') - ) -" - -distutils_enable_tests pytest - -python_install() { - distutils-r1_python_install --skip-build - python_domodule "src/${PN}" -} - -python_test() { - local -x PYTHONPATH="${S}/src:${PYTHONPATH}" - epytest -}
[gentoo-commits] repo/proj/guru:dev commit in: dev-python/statmake/
commit: 6bb1b4fe89cb1fe6ef9412beb28ee65db6d73ec3 Author: Julien Roy jroy ca> AuthorDate: Thu Jan 12 04:42:58 2023 + Commit: Julien Roy jroy ca> CommitDate: Fri Jan 13 03:11:52 2023 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6bb1b4fe dev-python/statmake: add 0.6.0 Signed-off-by: Julien Roy jroy.ca> dev-python/statmake/Manifest | 3 +-- dev-python/statmake/statmake-0.6.0.ebuild | 45 +++ 2 files changed, 46 insertions(+), 2 deletions(-) diff --git a/dev-python/statmake/Manifest b/dev-python/statmake/Manifest index d8d3f04e6..25fca09bc 100644 --- a/dev-python/statmake/Manifest +++ b/dev-python/statmake/Manifest @@ -1,2 +1 @@ -DIST statmake-0.5.0.gh.tar.gz 39835 BLAKE2B cad6a4c8a803666ce45d165c46ce6278cdcb56de7a90166315ba229f07ac1202d4bd2e4db678e644e0eaea445b97b81c2eb2c24cdb9ad7d7d4fbee3465fb4bf8 SHA512 c28c85e5fce6904b109858b156ab607204b3ff906bb3ec09ca75a170f5640eba83fbdd310f6a5b70f123cfbff1b1af72af1bea541cfdec8175e52be273f8ac00 -DIST statmake-0.5.1.gh.tar.gz 39644 BLAKE2B 25af1c6e6ebacbdbd3b2004a2c686b2f732a953bb8d1293226581781bb10cd4d8c5d1002659f0377179f9f45525ec55de9df9ba3009756df9d31e9cc1c8f390b SHA512 9b2a6f614372a07a11e03c5f1c26e1f2c1a1f554c2d9ae887a3820e3e5b3766f8388db4d6e39cf338b0e85444fc499c3f04d4a8a169c0b70391b72530965a092 +DIST statmake-0.6.0.gh.tar.gz 40859 BLAKE2B 9a5bed7a322193b4dbd5c79bcba14a14a280271cdd0a0d05bda36c3d10e1465841ac2265ef98b9d760fb73e5a38301d17ef43bf4d2f11fe4331fb1cbe30b108e SHA512 92c86a1896446c12db6f3bcf53406b1c2a36698022e62e710774701e84919295d3b99695a621b020f819286dd6a6cf1a0ee30b2a2bb7f75f390fdb8e3152b291 diff --git a/dev-python/statmake/statmake-0.6.0.ebuild b/dev-python/statmake/statmake-0.6.0.ebuild new file mode 100644 index 0..7fe4cabc8 --- /dev/null +++ b/dev-python/statmake/statmake-0.6.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_SINGLE_IMPL=1 +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_10 ) +inherit distutils-r1 + +DESCRIPTION="Generate STAT tables for variable fonts from .stylespace files" +HOMEPAGE="https://github.com/daltonmaag/statmake"; +SRC_URI="https://github.com/daltonmaag/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +KEYWORDS="~amd64" +LICENSE="MIT" +SLOT="0" + +RDEPEND=" + $(python_gen_cond_dep ' + >=dev-python/attrs-21.3[${PYTHON_USEDEP}] + >=dev-python/cattrs-22.1[${PYTHON_USEDEP}] + >=dev-python/fonttools-4.11[${PYTHON_USEDEP}] + ') +" +BDEPEND=" + test? ( + $(python_gen_cond_dep ' + >=dev-python/ufo2ft-2.7[${PYTHON_USEDEP}] + >=dev-python/ufoLib2-0.4[${PYTHON_USEDEP}] + ') + ) +" + +distutils_enable_tests pytest + +python_install() { + distutils-r1_python_install --skip-build + python_domodule "src/${PN}" +} + +python_test() { + local -x PYTHONPATH="${S}/src:${PYTHONPATH}" + epytest +}
[gentoo-commits] repo/proj/guru:dev commit in: dev-python/statmake/
commit: 13ced9bcb537f03f2f49755b53cfb3c5c858c256 Author: Alessandro Barbieri gmail com> AuthorDate: Tue Jun 28 04:15:05 2022 + Commit: Alessandro Barbieri gmail com> CommitDate: Tue Jun 28 04:34:28 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=13ced9bc dev-python/statmake: add 0.5.1 Signed-off-by: Alessandro Barbieri gmail.com> dev-python/statmake/Manifest | 1 + dev-python/statmake/statmake-0.5.1.ebuild | 45 +++ 2 files changed, 46 insertions(+) diff --git a/dev-python/statmake/Manifest b/dev-python/statmake/Manifest index 59b00d62e..d8d3f04e6 100644 --- a/dev-python/statmake/Manifest +++ b/dev-python/statmake/Manifest @@ -1 +1,2 @@ DIST statmake-0.5.0.gh.tar.gz 39835 BLAKE2B cad6a4c8a803666ce45d165c46ce6278cdcb56de7a90166315ba229f07ac1202d4bd2e4db678e644e0eaea445b97b81c2eb2c24cdb9ad7d7d4fbee3465fb4bf8 SHA512 c28c85e5fce6904b109858b156ab607204b3ff906bb3ec09ca75a170f5640eba83fbdd310f6a5b70f123cfbff1b1af72af1bea541cfdec8175e52be273f8ac00 +DIST statmake-0.5.1.gh.tar.gz 39644 BLAKE2B 25af1c6e6ebacbdbd3b2004a2c686b2f732a953bb8d1293226581781bb10cd4d8c5d1002659f0377179f9f45525ec55de9df9ba3009756df9d31e9cc1c8f390b SHA512 9b2a6f614372a07a11e03c5f1c26e1f2c1a1f554c2d9ae887a3820e3e5b3766f8388db4d6e39cf338b0e85444fc499c3f04d4a8a169c0b70391b72530965a092 diff --git a/dev-python/statmake/statmake-0.5.1.ebuild b/dev-python/statmake/statmake-0.5.1.ebuild new file mode 100644 index 0..75176044b --- /dev/null +++ b/dev-python/statmake/statmake-0.5.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_SINGLE_IMPL=1 +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 + +DESCRIPTION="Generate STAT tables for variable fonts from .stylespace files" +HOMEPAGE="https://github.com/daltonmaag/statmake"; +SRC_URI="https://github.com/daltonmaag/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +KEYWORDS="~amd64" +LICENSE="MIT" +SLOT="0" + +RDEPEND=" + $(python_gen_cond_dep ' + >=dev-python/attrs-21.3[${PYTHON_USEDEP}] + >=dev-python/cattrs-22.1[${PYTHON_USEDEP}] + >=dev-python/fonttools-4.11[${PYTHON_USEDEP}] + ') +" +BDEPEND=" + test? ( + $(python_gen_cond_dep ' + >=dev-python/ufo2ft-2.7[${PYTHON_USEDEP}] + >=dev-python/ufoLib2-0.4[${PYTHON_USEDEP}] + ') + ) +" + +distutils_enable_tests pytest + +python_install() { + distutils-r1_python_install --skip-build + python_domodule "src/${PN}" +} + +python_test() { + local -x PYTHONPATH="${S}/src:${PYTHONPATH}" + epytest +}
[gentoo-commits] repo/proj/guru:dev commit in: dev-python/statmake/
commit: d2e406617a3943763fe286df24cb9ea0d8a2bf11 Author: Alessandro Barbieri gmail com> AuthorDate: Tue May 31 10:08:05 2022 + Commit: Alessandro Barbieri gmail com> CommitDate: Tue May 31 10:08:18 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d2e40661 dev-python/statmake: update SRC_URI Signed-off-by: Alessandro Barbieri gmail.com> dev-python/statmake/Manifest | 2 +- dev-python/statmake/statmake-0.5.0.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/statmake/Manifest b/dev-python/statmake/Manifest index c15a5d441..59b00d62e 100644 --- a/dev-python/statmake/Manifest +++ b/dev-python/statmake/Manifest @@ -1 +1 @@ -DIST statmake-0.5.0.tar.gz 39835 BLAKE2B cad6a4c8a803666ce45d165c46ce6278cdcb56de7a90166315ba229f07ac1202d4bd2e4db678e644e0eaea445b97b81c2eb2c24cdb9ad7d7d4fbee3465fb4bf8 SHA512 c28c85e5fce6904b109858b156ab607204b3ff906bb3ec09ca75a170f5640eba83fbdd310f6a5b70f123cfbff1b1af72af1bea541cfdec8175e52be273f8ac00 +DIST statmake-0.5.0.gh.tar.gz 39835 BLAKE2B cad6a4c8a803666ce45d165c46ce6278cdcb56de7a90166315ba229f07ac1202d4bd2e4db678e644e0eaea445b97b81c2eb2c24cdb9ad7d7d4fbee3465fb4bf8 SHA512 c28c85e5fce6904b109858b156ab607204b3ff906bb3ec09ca75a170f5640eba83fbdd310f6a5b70f123cfbff1b1af72af1bea541cfdec8175e52be273f8ac00 diff --git a/dev-python/statmake/statmake-0.5.0.ebuild b/dev-python/statmake/statmake-0.5.0.ebuild index e0bc1423e..89b2681ed 100644 --- a/dev-python/statmake/statmake-0.5.0.ebuild +++ b/dev-python/statmake/statmake-0.5.0.ebuild @@ -11,7 +11,7 @@ inherit distutils-r1 DESCRIPTION="Generate STAT tables for variable fonts from .stylespace files" HOMEPAGE="https://github.com/daltonmaag/statmake"; -SRC_URI="https://github.com/daltonmaag/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI="https://github.com/daltonmaag/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" KEYWORDS="~amd64" LICENSE="MIT"
[gentoo-commits] repo/proj/guru:dev commit in: dev-python/statmake/
commit: 7e0043a392dfd4586b05724e0362ef3a18ae2590 Author: Alessandro Barbieri gmail com> AuthorDate: Mon Nov 1 20:22:37 2021 + Commit: Alessandro Barbieri gmail com> CommitDate: Tue Nov 2 03:40:35 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7e0043a3 dev-python/statmake: add 0.4.0 Signed-off-by: Alessandro Barbieri gmail.com> dev-python/statmake/Manifest | 1 + dev-python/statmake/statmake-0.4.0.ebuild | 43 +++ 2 files changed, 44 insertions(+) diff --git a/dev-python/statmake/Manifest b/dev-python/statmake/Manifest index fac72d7bb..7f29a8fd1 100644 --- a/dev-python/statmake/Manifest +++ b/dev-python/statmake/Manifest @@ -1 +1,2 @@ DIST statmake-0.3.0.tar.gz 34099 BLAKE2B 42286bc7f56a74a4aa4baeda58f71ef8122caa5b9a4fe84605c0e66f659000ca969c038bb4c080734465349ef7bffeada90064f00d47ba372a0c7a4a5c54a57c SHA512 b24452e2e670900378d0a8a725810140928da2a6dbb282597ac0f2202ffababa70de9a0bbfa2fe0bd77ff9251f3c5bfbf6735c42b4a246eb8ef061b809da0db3 +DIST statmake-0.4.0.tar.gz 36803 BLAKE2B cae3f7070c00c6c9cb823b60e683aef4bd9e55ba8e2a98a19f87a1093682e52a0667b21245a888f4569b425c8ba6486870df1d83d66255583b2dd4b516add176 SHA512 7102dfd085674b008b4bbdb54ec8b405ab7e70d96fd54963f6dc40eb53bc4816b4977decd2439756727a887da86fc8917a0f2763cc197c2e437dc53dcde95c84 diff --git a/dev-python/statmake/statmake-0.4.0.ebuild b/dev-python/statmake/statmake-0.4.0.ebuild new file mode 100644 index 0..b9371a02d --- /dev/null +++ b/dev-python/statmake/statmake-0.4.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_SINGLE_IMPL=1 +DISTUTILS_USE_SETUPTOOLS=pyproject.toml +PYTHON_COMPAT=( python3_{8..9} ) + +inherit distutils-r1 + +DESCRIPTION="Generate STAT tables for variable fonts from .stylespace files" +HOMEPAGE="https://github.com/daltonmaag/statmake"; +SRC_URI="https://github.com/daltonmaag/statmake/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +KEYWORDS="~amd64" +LICENSE="MIT" +SLOT="0" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/cattrs[${PYTHON_USEDEP}] + dev-python/fonttools[${PYTHON_USEDEP}] + ') +" +DEPEND="${RDEPEND}" +BDEPEND=" + test? ( + $(python_gen_cond_dep 'dev-python/ufo2ft[${PYTHON_USEDEP}]') + ) +" + +distutils_enable_tests pytest + +python_install() { + distutils-r1_python_install --skip-build + python_domodule "src/${PN}" +} + +python_test() { + local -x PYTHONPATH="${S}/src:${PYTHONPATH}" + epytest -vv || die "Tests fail with ${EPYTHON}" +}
[gentoo-commits] repo/proj/guru:dev commit in: dev-python/statmake/
commit: f797d6ddc95ca51dac4e07e66afb491a35b7536c Author: Alessandro Barbieri gmail com> AuthorDate: Sun Jul 11 00:50:55 2021 + Commit: Alessandro Barbieri gmail com> CommitDate: Sun Jul 11 00:50:55 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f797d6dd dev-python/statmake: fix cattrs dependency (again) Signed-off-by: Alessandro Barbieri gmail.com> dev-python/statmake/statmake-0.3.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/statmake/statmake-0.3.0-r1.ebuild b/dev-python/statmake/statmake-0.3.0-r1.ebuild index e6a9b3de2..f8930f071 100644 --- a/dev-python/statmake/statmake-0.3.0-r1.ebuild +++ b/dev-python/statmake/statmake-0.3.0-r1.ebuild @@ -19,9 +19,9 @@ IUSE="test" RDEPEND=" $(python_gen_cond_dep ' + dev-python/cattrs[${PYTHON_USEDEP}] dev-python/fonttools[${PYTHON_USEDEP}] ') - dev-python/cattrs[${PYTHON_SINGLE_USEDEP}] " DEPEND=" ${RDEPEND}
[gentoo-commits] repo/proj/guru:dev commit in: dev-python/statmake/
commit: 22f5840422f665dd21c62dbb36019610671c9105 Author: Alessandro Barbieri gmail com> AuthorDate: Mon Jul 5 20:00:57 2021 + Commit: Alessandro Barbieri gmail com> CommitDate: Mon Jul 5 20:01:32 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=22f58404 dev-python/statmake: fix dep on cattrs Signed-off-by: Alessandro Barbieri gmail.com> dev-python/statmake/metadata.xml | 6 +- .../{statmake-0.3.0.ebuild => statmake-0.3.0-r1.ebuild} | 11 +++ 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/dev-python/statmake/metadata.xml b/dev-python/statmake/metadata.xml index fac8946e1..b0d7494e5 100644 --- a/dev-python/statmake/metadata.xml +++ b/dev-python/statmake/metadata.xml @@ -1,7 +1,11 @@ http://www.gentoo.org/dtd/metadata.dtd";> - + +co-maintainers welcome +lssndrbarbi...@gmail.com +Alessandro Barbieri + https://github.com/daltonmaag/statmake/issues daltonmaag/statmake diff --git a/dev-python/statmake/statmake-0.3.0.ebuild b/dev-python/statmake/statmake-0.3.0-r1.ebuild similarity index 78% rename from dev-python/statmake/statmake-0.3.0.ebuild rename to dev-python/statmake/statmake-0.3.0-r1.ebuild index 76567e93b..e6a9b3de2 100644 --- a/dev-python/statmake/statmake-0.3.0.ebuild +++ b/dev-python/statmake/statmake-0.3.0-r1.ebuild @@ -1,8 +1,9 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 +DISTUTILS_SINGLE_IMPL=1 DISTUTILS_USE_SETUPTOOLS=pyproject.toml PYTHON_COMPAT=( python3_{8..9} ) @@ -17,13 +18,15 @@ SLOT="0" IUSE="test" RDEPEND=" - dev-python/fonttools[${PYTHON_USEDEP}] - dev-python/cattrs[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/fonttools[${PYTHON_USEDEP}] + ') + dev-python/cattrs[${PYTHON_SINGLE_USEDEP}] " DEPEND=" ${RDEPEND} test? ( - dev-python/ufo2ft[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/ufo2ft[${PYTHON_USEDEP}]') ) "
[gentoo-commits] repo/proj/guru:dev commit in: dev-python/statmake/
commit: 79d5f304ca254acde4109ae53761233efa2407ea Author: Alessandro Barbieri gmail com> AuthorDate: Sat Jun 19 21:12:59 2021 + Commit: Alessandro Barbieri gmail com> CommitDate: Sat Jun 19 21:53:04 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=79d5f304 dev-python/statmake: initial import Signed-off-by: Alessandro Barbieri gmail.com> dev-python/statmake/Manifest | 1 + dev-python/statmake/metadata.xml | 10 dev-python/statmake/statmake-0.3.0.ebuild | 40 +++ 3 files changed, 51 insertions(+) diff --git a/dev-python/statmake/Manifest b/dev-python/statmake/Manifest new file mode 100644 index 0..fac72d7bb --- /dev/null +++ b/dev-python/statmake/Manifest @@ -0,0 +1 @@ +DIST statmake-0.3.0.tar.gz 34099 BLAKE2B 42286bc7f56a74a4aa4baeda58f71ef8122caa5b9a4fe84605c0e66f659000ca969c038bb4c080734465349ef7bffeada90064f00d47ba372a0c7a4a5c54a57c SHA512 b24452e2e670900378d0a8a725810140928da2a6dbb282597ac0f2202ffababa70de9a0bbfa2fe0bd77ff9251f3c5bfbf6735c42b4a246eb8ef061b809da0db3 diff --git a/dev-python/statmake/metadata.xml b/dev-python/statmake/metadata.xml new file mode 100644 index 0..fac8946e1 --- /dev/null +++ b/dev-python/statmake/metadata.xml @@ -0,0 +1,10 @@ + +http://www.gentoo.org/dtd/metadata.dtd";> + + + +https://github.com/daltonmaag/statmake/issues +daltonmaag/statmake +statmake + + diff --git a/dev-python/statmake/statmake-0.3.0.ebuild b/dev-python/statmake/statmake-0.3.0.ebuild new file mode 100644 index 0..76567e93b --- /dev/null +++ b/dev-python/statmake/statmake-0.3.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=pyproject.toml +PYTHON_COMPAT=( python3_{8..9} ) + +inherit distutils-r1 + +SRC_URI="https://github.com/daltonmaag/statmake/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +KEYWORDS="~amd64" +DESCRIPTION="Generate STAT tables for variable fonts from .stylespace files" +HOMEPAGE="https://github.com/daltonmaag/statmake"; +LICENSE="MIT" +SLOT="0" +IUSE="test" + +RDEPEND=" + dev-python/fonttools[${PYTHON_USEDEP}] + dev-python/cattrs[${PYTHON_USEDEP}] +" +DEPEND=" + ${RDEPEND} + test? ( + dev-python/ufo2ft[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_install() { + distutils-r1_python_install --skip-build + python_domodule "src/${PN}" +} + +python_test() { + local -x PYTHONPATH="${S}/src:${PYTHONPATH}" + epytest -vv || die "Tests fail with ${EPYTHON}" +}