dev-python/ufoLib2: new package

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2020-04-20 02:06:30 +02:00
parent 088994ded4
commit ec392ceb98
3 changed files with 49 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST ufoLib2-0.6.3a1.zip 63774 BLAKE2B 1452ae99547f820f431b8cebf820ecfaf6f7160838b6e06f8724963517d98dc6d002d4cb254285dd3474254c6d423b0622e6ed6cdf54005d54e5904e26af1114 SHA512 898389183748c6405a4d0f78197f47d51d28d42f95ba2872dc4c175dd9c5fb617c172ea87ef88aea88daeea44f6a4fc0a76081f7e2c6457a1d25edfa93a36607

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<upstream>
<remote-id type="github">fonttools/ufoLib2</remote-id>
<remote-id type="pypi">ufoLib2</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,39 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{6,7} )
inherit distutils-r1
MYP="${P/_p/}"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MYP}.zip"
KEYWORDS="~amd64 ~x86"
DESCRIPTION="A UFO font library"
HOMEPAGE="https://github.com/fonttools/ufoLib2"
LICENSE="Apache-2.0"
SLOT="0"
IUSE="test"
RDEPEND="
>=dev-python/fonttools-4.0.0[${PYTHON_USEDEP}]
>=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
dev-python/lxml[${PYTHON_USEDEP}]
"
DEPEND="
${RDEPEND}
dev-python/setuptools_scm[${PYTHON_USEDEP}]
"
S="${WORKDIR}/${MYP}"
distutils_enable_tests pytest
python_prepare_all() {
sed -e '/\<wheel\>/d' -i setup.cfg
distutils-r1_python_prepare_all
}