dev-python/psautohint: rename

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2023-02-28 14:18:46 +05:00
parent 9337863685
commit 6d76505f94
7 changed files with 2 additions and 1 deletions

View File

@@ -0,0 +1,38 @@
--- a/setup.py
+++ b/setup.py
@@ -192,7 +192,7 @@
# If we were asked to build any C/C++ libraries, make sure that the
# directory where we put them is in the library search path for
# linking executables.
- if self.distribution.has_c_libraries():
+ if False:
build_clib = self.get_finalized_command('build_clib')
self.libraries.extend(build_clib.get_library_names() or [])
self.library_dirs.append(build_clib.build_clib)
@@ -432,15 +432,13 @@
class CustomBuildExt(_build_ext):
def run(self):
- if self.distribution.has_c_libraries():
+ if False:
self.run_command("build_clib")
_build_ext.run(self)
cmdclass = {
- 'build_clib': CustomBuildClib,
'build_ext': CustomBuildExt,
- 'build_exe': build_exe,
}
@@ -572,9 +570,7 @@
license='Apache License, Version 2.0',
package_dir={'': 'python'},
packages=['psautohint'],
- libraries=libraries,
ext_modules=ext_modules,
- executables=executables,
entry_points={
'console_scripts': [
"psautohint = psautohint.__main__:main",

View File

@@ -0,0 +1,10 @@
--- a/setup.py
+++ b/setup.py
@@ -564,6 +564,7 @@ ext_modules = [
sources=[
"python/psautohint/_psautohint.c",
],
+ libraries = ['psautohint'],
),
]