mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 15:13:31 -04:00
dev-python/compreffor: add 0.5.1_p1
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
41
dev-python/compreffor/compreffor-0.5.1_p1.ebuild
Normal file
41
dev-python/compreffor/compreffor-0.5.1_p1.ebuild
Normal file
@@ -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
|
||||
}
|
||||
@@ -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',
|
||||
Reference in New Issue
Block a user