Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
systemsmanagement:Ardana:8:CentOS:7.5
python-pycparser
fix-lexer-build.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-lexer-build.patch of Package python-pycparser
Index: pycparser-release_v2.14/setup.py =================================================================== --- pycparser-release_v2.14.orig/setup.py +++ pycparser-release_v2.14/setup.py @@ -1,11 +1,11 @@ import os, sys try: from setuptools import setup - from setuptools.command.install import install as _install + from setuptools.command.build import build as _build from setuptools.command.sdist import sdist as _sdist except ImportError: from distutils.core import setup - from distutils.command.install import install as _install + from distutils.command.build import build as _build from distutils.command.sdist import sdist as _sdist @@ -15,10 +15,10 @@ def _run_build_tables(dir): cwd=os.path.join(dir, 'pycparser')) -class install(_install): +class build(_build): def run(self): - _install.run(self) - self.execute(_run_build_tables, (self.install_lib,), + _build.run(self) + self.execute(_run_build_tables, (self.build_lib,), msg="Build the lexing/parsing tables") @@ -49,7 +49,7 @@ setup( classifiers = [ 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 3',], - packages=['pycparser', 'pycparser.ply'], - package_data={'pycparser': ['*.cfg']}, - cmdclass={'install': install, 'sdist': sdist}, + packages=['pycparser', 'pycparser.ply', 'utils.fake_libc_include'], + package_data={'pycparser': ['*.cfg'], 'utils.fake_libc_include': ['*']}, + cmdclass={'build': build, 'sdist': sdist}, )
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor