File fixpythonbuild.patch of Package python-opencc
--- setup.py.orig 2024-09-25 17:12:30.594975111 +0800
+++ setup.py 2024-09-25 18:05:05.574422052 +0800
@@ -88,19 +88,6 @@
if sys.maxsize > 2**32:
cmake_args += ['-A', 'x64']
- cmd = ['cmake', '-B', _build_dir] + cmake_args
- errno = subprocess.call(cmd)
- assert errno == 0, 'Configure failed'
-
- # Build
- cmd = [
- 'cmake', '--build', _build_dir,
- '--config', 'Release',
- '--target', 'install'
- ]
- errno = subprocess.call(cmd)
- assert errno == 0, 'Build failed'
-
class OpenCCExtension(setuptools.Extension, object):
def __init__(self, name, sourcedir=''):