diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-05-06 13:04:10 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-05-06 13:04:10 +0000 |
| commit | 25eb9a38b46e47f5d812beedfa60eb7b16f9bcb5 (patch) | |
| tree | 88ab9e54f4ea219ac193c2b1a2fa4c0ae29d1862 /dev-python/compreffor | |
| parent | d6af944fc045bab411dbe102573b5f4e1743566b (diff) | |
| download | baldeagleos-repo-25eb9a38b46e47f5d812beedfa60eb7b16f9bcb5.tar.gz baldeagleos-repo-25eb9a38b46e47f5d812beedfa60eb7b16f9bcb5.tar.xz baldeagleos-repo-25eb9a38b46e47f5d812beedfa60eb7b16f9bcb5.zip | |
Adding metadata
Diffstat (limited to 'dev-python/compreffor')
| -rw-r--r-- | dev-python/compreffor/compreffor-0.5.2.ebuild | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/dev-python/compreffor/compreffor-0.5.2.ebuild b/dev-python/compreffor/compreffor-0.5.2.ebuild index 6cebfb487bb5..96e9e4efa320 100644 --- a/dev-python/compreffor/compreffor-0.5.2.ebuild +++ b/dev-python/compreffor/compreffor-0.5.2.ebuild @@ -1,16 +1,17 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{10..11} ) +DISTUTILS_USE_PEP517=setuptools +DISTUTILS_EXT=1 inherit distutils-r1 pypi DESCRIPTION="A CFF table subroutinizer for FontTools" HOMEPAGE=" - https://github.com/googlefonts/compreffor https://pypi.org/project/compreffor/ + https://github.com/googlefonts/compreffor " KEYWORDS="~amd64" @@ -18,16 +19,20 @@ LICENSE="Apache-2.0" SLOT="0" RDEPEND=">=dev-python/fonttools-4[${PYTHON_USEDEP}]" -DEPEND=">=dev-python/cython-0.29.24[${PYTHON_USEDEP}]" BDEPEND=" app-arch/unzip - dev-python/setuptools-scm[${PYTHON_USEDEP}] + >=dev-python/cython-0.29.24[${PYTHON_USEDEP}] " PATCHES=( "${FILESDIR}/${PN}-0.5.1_p1-remove-unwanted-dependencies.patch" ) distutils_enable_tests pytest +src_prepare() { + find "${S}" -name '*.cpp' -delete || die + distutils-r1_src_prepare +} + python_test() { cd "${T}" || die epytest --pyargs compreffor |
