Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
File not found: baselibs.conf
systemsmanagement:saltstack:bundle:testing:Ubuntu2004
saltbundlepy-pycparser
fix-lexer-build.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-lexer-build.patch of Package saltbundlepy-pycparser
Index: pycparser-2.21/setup.py =================================================================== --- pycparser-2.21.orig/setup.py +++ pycparser-2.21/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 @@ -18,10 +18,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") @@ -64,7 +64,7 @@ setup( 'Programming Language :: Python :: 3.10', ], python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.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': ['*.h', 'xcb/*']}, + 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