diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-04-12 21:03:09 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-04-12 21:03:09 +0000 |
| commit | d97953e6ff67978da9554e7b4601aedceb21e215 (patch) | |
| tree | 674053c902db6972b9716c9ac3b1e960ee7a5358 /dev-python/compreffor | |
| parent | 1d1fa5bb30df70070bbbbd2b777b839d31f09c41 (diff) | |
| download | baldeagleos-repo-d97953e6ff67978da9554e7b4601aedceb21e215.tar.gz baldeagleos-repo-d97953e6ff67978da9554e7b4601aedceb21e215.tar.xz baldeagleos-repo-d97953e6ff67978da9554e7b4601aedceb21e215.zip | |
Adding metadata
Diffstat (limited to 'dev-python/compreffor')
| -rw-r--r-- | dev-python/compreffor/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/compreffor/compreffor-0.5.1_p1.ebuild | 45 | ||||
| -rw-r--r-- | dev-python/compreffor/files/compreffor-0.5.1_p1-remove-unwanted-dependencies.patch | 11 | ||||
| -rw-r--r-- | dev-python/compreffor/files/remove-pytest-runner.patch | 11 | ||||
| -rw-r--r-- | dev-python/compreffor/metadata.xml | 13 |
5 files changed, 81 insertions, 0 deletions
diff --git a/dev-python/compreffor/Manifest b/dev-python/compreffor/Manifest new file mode 100644 index 000000000000..fe4babae38b5 --- /dev/null +++ b/dev-python/compreffor/Manifest @@ -0,0 +1 @@ +DIST compreffor-0.5.1.post1.tar.gz 75132 BLAKE2B ed37118c45d616029dad90451240ff7d5eb131ecd080c713ccc8241d3288a869f5e2950524b0faf58e895c8f1e76e0da8df24cc0526a1ce342d509de856fc0e2 SHA512 eaab7e01b158f68c28c946f39af80bd8313b9338301aee8a4119de243442791d68cf7edc0e8ac86efc0cadf6115de89f38ec445cf5ce13055aed44dcfaeb3eed diff --git a/dev-python/compreffor/compreffor-0.5.1_p1.ebuild b/dev-python/compreffor/compreffor-0.5.1_p1.ebuild new file mode 100644 index 000000000000..eabf885c5008 --- /dev/null +++ b/dev-python/compreffor/compreffor-0.5.1_p1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +MYPV="${PV/_p/.post}" +MYP="${PN}-${MYPV}" +PYTHON_COMPAT=( python3_{7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="A CFF table subroutinizer for FontTools" +HOMEPAGE=" + https://github.com/googlefonts/compreffor + https://pypi.org/project/compreffor/ +" +SRC_URI="mirror://pypi/${MYP:0:1}/${PN}/${MYP}.tar.gz" +S="${WORKDIR}/${MYP}" +KEYWORDS="~amd64" +LICENSE="Apache-2.0" +SLOT="0" + +RDEPEND=" + >=dev-python/fonttools-4[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/cython-0.29.24[${PYTHON_USEDEP}] + dev-python/setuptools_scm[${PYTHON_USEDEP}] +" +BDEPEND="app-arch/unzip" + +PATCHES=( "${FILESDIR}/${P}-remove-unwanted-dependencies.patch" ) + +distutils_enable_tests pytest + +python_compile() { + distutils-r1_python_compile + esetup.py build_ext --inplace +} + +python_test() { + cd "${S}/src/python" || die + PYTHONPATH=".:${PYTHONPATH}" epytest compreffor/test +} diff --git a/dev-python/compreffor/files/compreffor-0.5.1_p1-remove-unwanted-dependencies.patch b/dev-python/compreffor/files/compreffor-0.5.1_p1-remove-unwanted-dependencies.patch new file mode 100644 index 000000000000..a7ed61b459a1 --- /dev/null +++ b/dev-python/compreffor/files/compreffor-0.5.1_p1-remove-unwanted-dependencies.patch @@ -0,0 +1,11 @@ +--- a/setup.py ++++ b/setup.py +@@ -152,7 +152,7 @@ + 'build_ext': custom_build_ext, + }, + setup_requires=( +- ["setuptools_scm", "setuptools_git_ls_files"] + pytest_runner + wheel ++ ["setuptools_scm"] + wheel + ), + tests_require=[ + 'pytest>=2.8', diff --git a/dev-python/compreffor/files/remove-pytest-runner.patch b/dev-python/compreffor/files/remove-pytest-runner.patch new file mode 100644 index 000000000000..f3734f3cc280 --- /dev/null +++ b/dev-python/compreffor/files/remove-pytest-runner.patch @@ -0,0 +1,11 @@ +--- a/setup.py 2021-03-27 18:38:41.032816105 +0100 ++++ b/setup.py 2021-03-27 18:38:57.087088810 +0100 +@@ -150,7 +150,7 @@ + cmdclass={ + 'build_ext': custom_build_ext, + }, +- setup_requires=pytest_runner + wheel, ++ setup_requires=wheel, + tests_require=[ + 'pytest>=2.8', + ], diff --git a/dev-python/compreffor/metadata.xml b/dev-python/compreffor/metadata.xml new file mode 100644 index 000000000000..f56df1a5a326 --- /dev/null +++ b/dev-python/compreffor/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <description>co-maintainers welcome</description> + <email>lssndrbarbieri@gmail.com</email> + <name>Alessandro Barbieri</name> + </maintainer> + <upstream> + <remote-id type="github">googlefonts/compreffor</remote-id> + <remote-id type="pypi">compreffor</remote-id> + </upstream> +</pkgmetadata> |
