commit: 18acb5391f42f7afecc02030fe33e9ff21c3a523 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> AuthorDate: Sat Mar 12 01:06:33 2022 +0000 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> CommitDate: Sat Mar 12 01:06:33 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=18acb539
dev-python/compreffor: add 0.5.1_p1 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> dev-python/compreffor/Manifest | 1 + dev-python/compreffor/compreffor-0.5.1_p1.ebuild | 41 ++++++++++++++++++++++ ...for-0.5.1_p1-remove-unwanted-dependencies.patch | 11 ++++++ 3 files changed, 53 insertions(+) diff --git a/dev-python/compreffor/Manifest b/dev-python/compreffor/Manifest index 1fe65fb46..11b3c1337 100644 --- a/dev-python/compreffor/Manifest +++ b/dev-python/compreffor/Manifest @@ -1 +1,2 @@ +DIST compreffor-0.5.1.post1.tar.gz 75132 BLAKE2B ed37118c45d616029dad90451240ff7d5eb131ecd080c713ccc8241d3288a869f5e2950524b0faf58e895c8f1e76e0da8df24cc0526a1ce342d509de856fc0e2 SHA512 eaab7e01b158f68c28c946f39af80bd8313b9338301aee8a4119de243442791d68cf7edc0e8ac86efc0cadf6115de89f38ec445cf5ce13055aed44dcfaeb3eed DIST compreffor-0.5.1.zip 78104 BLAKE2B 515bb6079ac8ba1498568dcb68c1f1da046e2877997c4ca9ae30be99db7e7e331b874e2d11b4ecf78ee0be00e5f3778096dad3067743f002254ea52861e94522 SHA512 86008c487ea84ba713a784035dc260bba045c2bd9791e3fdbbd30f300ec5a9796b8f9c54dd39f19a6cb4143e7e1c3c59f7b31f1e5455e707815ec9cc363c6761 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 000000000..bac2d4796 --- /dev/null +++ b/dev-python/compreffor/compreffor-0.5.1_p1.ebuild @@ -0,0 +1,41 @@ +# 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_{8,9} ) + +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}] +" +DEPEND=" + ${RDEPEND} + >=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_test() { + distutils_install_for_testing + default +} 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 000000000..a7ed61b45 --- /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',