dev-python/compreffor: new package

Package-Manager: Portage-3.0.10, Repoman-3.0.2
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2020-12-10 00:11:26 +01:00
parent 828be86ca5
commit 72554ba458
3 changed files with 53 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST compreffor-0.5.0.zip 86507 BLAKE2B 3d019106018b4eaf5dd72e666881a3a94edd4fc48853d520c713e84d4009716b4f3bf9621a4be76c92753408780969271fd7924b6452b9049546ffb919cacb80 SHA512 cf42cfff8b98d2e6b76f688dda5d3d6bc7cc30fffcc512e9fae6eeacfce61fd4e2d448950e396f49e8ed5ccf1b50523168404b28b111985969e191e9fea063b9

View File

@@ -0,0 +1,40 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{7,8} )
DISTUTILS_USE_SETUPTOOLS=rdepend
inherit distutils-r1
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.zip"
KEYWORDS="~amd64"
DESCRIPTION="A CFF table subroutinizer for FontTools"
HOMEPAGE="https://github.com/googlefonts/compreffor"
LICENSE="Apache-2.0"
SLOT="0"
RDEPEND="
>=dev-python/fonttools-4.2.0[${PYTHON_USEDEP}]
"
DEPEND="
${RDEPEND}
"
BDEPEND="
app-arch/unzip
dev-python/cython[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest
src_prepare() {
#undesired dependency
sed -i "s|setup_requires=pytest_runner + wheel,|setup_requires=wheel,|" setup.py
default
}
python_test() {
distutils_install_for_testing
default
}

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<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>