mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 13:03:31 -04:00
dev-python/cffsubr: add 0.2.9_p1
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
@@ -1 +1,2 @@
|
|||||||
DIST cffsubr-0.2.8.tar.gz 124245 BLAKE2B fa78acf9158faf3917f194a2c30a13c2a598a7476a89dc79f95440eb04fe91663e7620729e6be1635ce1df24fff34068c42ea155abb17f016f50e961d13f52af SHA512 5f5a655168c6157799d17e20762893f23a7f7d90e739fb5bbe0a4fd895dc2b1c5359b5bdb92f4cb8333f841cd5b471359825d709f2477afd2bd7322760359d24
|
DIST cffsubr-0.2.8.tar.gz 124245 BLAKE2B fa78acf9158faf3917f194a2c30a13c2a598a7476a89dc79f95440eb04fe91663e7620729e6be1635ce1df24fff34068c42ea155abb17f016f50e961d13f52af SHA512 5f5a655168c6157799d17e20762893f23a7f7d90e739fb5bbe0a4fd895dc2b1c5359b5bdb92f4cb8333f841cd5b471359825d709f2477afd2bd7322760359d24
|
||||||
|
DIST cffsubr-0.2.9_p1.tar.gz 124635 BLAKE2B c040339d113247b34195d7b7a220b449810ced52ffeea209bde2bb871c964a1da7d734c7167ece88ade03b26e722dca7f235a70326ff8c9b268b707ba5730a79 SHA512 8f1ea1fb732b772c1ac479883df6993ff2d56457c725d621bb1ebebf7a27393bb96771b9db8364513ae7f815bc74da15dd8c22695eeaf6f65d8dc62c8ae947dc
|
||||||
|
|||||||
44
dev-python/cffsubr/cffsubr-0.2.9_p1.ebuild
Normal file
44
dev-python/cffsubr/cffsubr-0.2.9_p1.ebuild
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
# 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}"
|
||||||
|
PYTHON_COMPAT=( python3_{8..9} )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Standalone CFF subroutinizer based on AFDKO tx tool"
|
||||||
|
HOMEPAGE="https://github.com/adobe-type-tools/cffsubr"
|
||||||
|
SRC_URI="https://github.com/adobe-type-tools/cffsubr/archive/refs/tags/v${MYPV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
S="${WORKDIR}/${PN}-${MYPV}"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-python/fonttools-4.10.2[${PYTHON_USEDEP}]
|
||||||
|
>=dev-util/afdko-3.6.1[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
DEPEND="
|
||||||
|
${RDEPEND}
|
||||||
|
dev-python/setuptools_scm[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}/${PN}-system_tx.diff"
|
||||||
|
"${FILESDIR}/${P}-fix-setup-py.patch"
|
||||||
|
)
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
export SETUPTOOLS_SCM_PRETEND_VERSION="${PV%_*}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
#no bundled afdko
|
||||||
|
rm -rf external || die
|
||||||
|
default
|
||||||
|
}
|
||||||
22
dev-python/cffsubr/files/cffsubr-0.2.9_p1-fix-setup-py.patch
Normal file
22
dev-python/cffsubr/files/cffsubr-0.2.9_p1-fix-setup-py.patch
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
--- a/setup.py
|
||||||
|
+++ b/setup.py
|
||||||
|
@@ -136,7 +136,7 @@
|
||||||
|
package_dir={"": "src"},
|
||||||
|
packages=find_packages("src"),
|
||||||
|
entry_points={"console_scripts": ["cffsubr = cffsubr.__main__:main"]},
|
||||||
|
- ext_modules=[tx],
|
||||||
|
+ ext_modules=[],
|
||||||
|
zip_safe=False,
|
||||||
|
cmdclass=cmdclass,
|
||||||
|
install_requires=[
|
||||||
|
@@ -144,9 +144,7 @@
|
||||||
|
"fontTools >= 4.10.2",
|
||||||
|
],
|
||||||
|
setup_requires=[
|
||||||
|
- "setuptools_scm",
|
||||||
|
- # finds all git tracked files including submodules when making sdist MANIFEST
|
||||||
|
- "setuptools-git-ls-files",
|
||||||
|
+ "setuptools_scm"
|
||||||
|
],
|
||||||
|
extras_require={"testing": ["pytest"]},
|
||||||
|
python_requires=">=3.6",
|
||||||
Reference in New Issue
Block a user