mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-13 00:53:02 -04:00
dev-python/ttfautohint-py: initial import
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
1
dev-python/ttfautohint-py/Manifest
Normal file
1
dev-python/ttfautohint-py/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST ttfautohint-py-0.4.3.tar.gz 186488 BLAKE2B cc5de63faf4a5d213a14eda9b092c48e2e67c59b04ad1580d680e22bf691d915a74f7a465cc37cd0ce907874f3fdb0312224e647bb8e18e5741f886e69e7d075 SHA512 2f21af2a4ffffb59c9e83e4c5aa77ce15d97d4391894537e87727fd05f47b8f007e3ddf1fcf98d195a880b2a4e22586ce9faab4d8dc33f6c6eaa1623dcfd3aab
|
||||
@@ -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'],
|
||||
10
dev-python/ttfautohint-py/metadata.xml
Normal file
10
dev-python/ttfautohint-py/metadata.xml
Normal 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>
|
||||
32
dev-python/ttfautohint-py/ttfautohint-py-0.4.3.ebuild
Normal file
32
dev-python/ttfautohint-py/ttfautohint-py-0.4.3.ebuild
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user