Petr Gajdos
6799258910
OBS-URL: https://build.opensuse.org/package/show/M17N/fontforge?expand=0&rev=17
35 lines
1.4 KiB
Diff
35 lines
1.4 KiB
Diff
--- pyhook/setup.py.in 2011-10-03 09:42:46.000000000 +0200
|
|
+++ pyhook/setup.py.in 2011-10-03 09:43:39.000000000 +0200
|
|
@@ -4,16 +4,16 @@ from distutils.sysconfig import get_conf
|
|
|
|
if float(get_config_var('VERSION')) < 3:
|
|
|
|
- setup(name='fontforge',
|
|
+ setup(name='python-fontforge',
|
|
version='1.0',
|
|
description='font manipulation module',
|
|
author='George Williams',
|
|
url='http://fontforge.sf.net/',
|
|
- ext_modules=[Extension('fontforge',['fontforgepyhook.c'],
|
|
+ ext_modules=[Extension('python-fontforge',['fontforgepyhook.c'],
|
|
include_dirs=[@PYINCLUDE@],
|
|
define_macros=[@PYDEFINES@],
|
|
libraries=[@PYLIBS@]),
|
|
- Extension('psMat',['psMatpyhook.c'],
|
|
+ Extension('python-psMat',['psMatpyhook.c'],
|
|
include_dirs=[@PYINCLUDE@],
|
|
define_macros=[@PYDEFINES@],
|
|
libraries=[@PYLIBS@])]
|
|
@@ -28,8 +28,8 @@ else:
|
|
so_ext = get_config_var('SO')
|
|
py_libdir = get_python_lib(prefix = '@PYPREFIX@')
|
|
libfontforge_so = join('@libdir@', 'libfontforge' + so_ext)
|
|
- fontforge_so = join(py_libdir, 'fontforge' + so_ext)
|
|
- psMat_so = join(py_libdir, 'psMat' + so_ext)
|
|
+ fontforge_so = join(py_libdir, 'python-fontforge' + so_ext)
|
|
+ psMat_so = join(py_libdir, 'python-psMat' + so_ext)
|
|
|
|
if hasattr(os, 'symlink'):
|
|
link = 'sym'
|
|
|