Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:16.0:FactoryCandidates
stp
py3.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File py3.patch of Package stp
From: Ondřej Súkup <mimi.vx@gmail.com> Index: stp-2.3.3+20190713/bindings/python/stp/library_path.py.in_install =================================================================== --- stp-2.3.3+20190713.orig/bindings/python/stp/library_path.py.in_install +++ stp-2.3.3+20190713/bindings/python/stp/library_path.py.in_install @@ -28,6 +28,5 @@ # Search paths for the stp shared library PATHS = [ - '@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@/@LIBSTP_FILENAME@', - '@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_BINDIR@/@LIBSTP_FILENAME@' + '@CMAKE_INSTALL_LIBDIR@/@LIBSTP_FILENAME@.2.3' ] Index: stp-2.3.3+20190713/bindings/python/stp/stp.py.in =================================================================== --- stp-2.3.3+20190713.orig/bindings/python/stp/stp.py.in +++ stp-2.3.3+20190713/bindings/python/stp/stp.py.in @@ -42,7 +42,7 @@ Py3 = sys.version_info >= (3, 0, 0) if Py3: long = int -from library_path import PATHS +from .library_path import PATHS for path in PATHS: if not os.path.exists(path):
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