Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:wangyuxuan
python-stdeb
remove-version-checks.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File remove-version-checks.patch of Package python-stdeb
Index: stdeb-0.10.0/stdeb/util.py =================================================================== --- stdeb-0.10.0.orig/stdeb/util.py +++ stdeb-0.10.0/stdeb/util.py @@ -1512,45 +1512,6 @@ def build_dsc(debinfo, finally: shutil.rmtree(tmp_dir) - if 1: - # check versions of debhelper and python-all - debhelper_version_str = get_version_str('debhelper') - if len(debhelper_version_str) == 0: - log.warn('This version of stdeb requires debhelper >= %s, but you ' - 'do not have debhelper installed. ' - 'Could not check compatibility.' % DH_MIN_VERS) - else: - if not dpkg_compare_versions( - debhelper_version_str, 'ge', DH_MIN_VERS - ): - log.warn('This version of stdeb requires debhelper >= %s. ' - 'Use stdeb 0.9.x to generate source packages ' - 'compatible with older versions of debhelper.' % ( - DH_MIN_VERS,)) - - if debinfo.with_python2: - python_defaults_version_str = get_version_str('python-all') - - if len(python_defaults_version_str) == 0: - log.warn('This version of stdeb requires python-all >= %s, ' - 'but you do not have this package installed. Could ' - 'not check compatibility.' % PYTHON_ALL_MIN_VERS) - else: - if not dpkg_compare_versions( - python_defaults_version_str, 'ge', PYTHON_ALL_MIN_VERS - ): - log.warn('This version of stdeb requires python-all >= ' - '%s. Use stdeb 0.6.0 or older to generate source ' - 'packages that use python-support.' % ( - PYTHON_ALL_MIN_VERS,)) - - if debinfo.with_python3: - python3_defaults_version_str = get_version_str('python3-all') - - if len(python3_defaults_version_str) == 0: - log.warn('This version of stdeb requires python3-all, ' - 'but you do not have this package installed.') - # D. restore debianized tree os.rename(fullpath_repackaged_dirname+'.debianized', fullpath_repackaged_dirname)
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