mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-18 03:23:20 -04:00
dev-python/psautohint: rename
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
@@ -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",
|
||||
@@ -0,0 +1,10 @@
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -564,6 +564,7 @@ ext_modules = [
|
||||
sources=[
|
||||
"python/psautohint/_psautohint.c",
|
||||
],
|
||||
+ libraries = ['psautohint'],
|
||||
),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user