mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-15 01:53:25 -04:00
dev-python/cffsubr: initial import
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
18
dev-python/cffsubr/files/cffsubr-0.2.8-fix-setup-py.patch
Normal file
18
dev-python/cffsubr/files/cffsubr-0.2.8-fix-setup-py.patch
Normal file
@@ -0,0 +1,18 @@
|
||||
--- a/setup.py
|
||||
+++ b//setup.py
|
||||
@@ -135,7 +135,6 @@
|
||||
platforms=["posix", "nt"],
|
||||
package_dir={"": "src"},
|
||||
packages=find_packages("src"),
|
||||
- ext_modules=[tx],
|
||||
zip_safe=False,
|
||||
cmdclass=cmdclass,
|
||||
install_requires=[
|
||||
@@ -145,7 +144,6 @@
|
||||
setup_requires=[
|
||||
"setuptools_scm",
|
||||
# finds all git tracked files including submodules when making sdist MANIFEST
|
||||
- "setuptools-git-ls-files",
|
||||
],
|
||||
extras_require={"testing": ["pytest"]},
|
||||
python_requires=">=3.6",
|
||||
12
dev-python/cffsubr/files/cffsubr-system_tx.diff
Normal file
12
dev-python/cffsubr/files/cffsubr-system_tx.diff
Normal file
@@ -0,0 +1,12 @@
|
||||
--- a/src/cffsubr/__init__.py
|
||||
+++ b/src/cffsubr/__init__.py
|
||||
@@ -60,8 +60,7 @@ def _run_embedded_tx(*args, **kwargs):
|
||||
subprocess.CompletedProcess object with the following attributes:
|
||||
args, returncode, stdout, stderr.
|
||||
"""
|
||||
- with path(__name__, TX_EXE) as tx_cli:
|
||||
- return subprocess.run([str(tx_cli)] + list(args), **kwargs)
|
||||
+ return subprocess.run(['tx'] + list(args), **kwargs)
|
||||
|
||||
|
||||
def _tx_subroutinize(data: bytes, output_format: str = CFFTableTag.CFF) -> bytes:
|
||||
Reference in New Issue
Block a user