dev-python/ttfautohint-py: initial import

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2021-06-20 19:32:05 +02:00
parent dc0c22e0fe
commit 2a7cbea233
4 changed files with 53 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST ttfautohint-py-0.4.3.tar.gz 186488 BLAKE2B cc5de63faf4a5d213a14eda9b092c48e2e67c59b04ad1580d680e22bf691d915a74f7a465cc37cd0ce907874f3fdb0312224e647bb8e18e5741f886e69e7d075 SHA512 2f21af2a4ffffb59c9e83e4c5aa77ce15d97d4391894537e87727fd05f47b8f007e3ddf1fcf98d195a880b2a4e22586ce9faab4d8dc33f6c6eaa1623dcfd3aab

View File

@@ -0,0 +1,10 @@
--- a/setup.py
+++ b/setup.py
@@ -120,7 +120,6 @@
platforms=["posix", "nt"],
package_dir={"": "src/python"},
packages=find_packages("src/python"),
- ext_modules=[libttfautohint],
zip_safe=False,
cmdclass=cmdclass,
setup_requires=['setuptools_scm'],

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
<upstream>
<bugs-to>https://github.com/fonttools/ttfautohint-py/issues</bugs-to>
<remote-id type="github">fonttools/ttfautohint-py</remote-id>
<remote-id type="pypi">ttfautohint-py</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,32 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{8..9} )
inherit distutils-r1
SRC_URI="https://github.com/fonttools/ttfautohint-py/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
DESCRIPTION="A Python wrapper for ttfautohint"
HOMEPAGE="https://github.com/fonttools/ttfautohint-py"
LICENSE="MIT"
SLOT="0"
RDEPEND="media-gfx/ttfautohint"
DEPEND="
test? (
dev-python/fonttools[${PYTHON_USEDEP}]
)
"
PATCHES=( "${FILESDIR}/${P}-no-ext_modules.patch" )
distutils_enable_tests pytest
src_prepare() {
rm -r src/c || die
export SETUPTOOLS_SCM_PRETEND_VERSION="${PV%_*}"
default
}