Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3
python-PyICU
python-PyICU-1.9.7-quote_Version.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-PyICU-1.9.7-quote_Version.patch of Package python-PyICU
Index: _icu.cpp =================================================================== --- _icu.cpp.orig +++ _icu.cpp @@ -238,7 +238,11 @@ static PyObject *PyInit_icu(PyObject *m) PyType_Ready(&ConstVariableDescriptorType); Py_INCREF(&ConstVariableDescriptorType); +#if PY_MAJOR_VERSION > 3 || (PY_MAJOR_VERSION == 2 && PY_MINOR_VERSION >= 7) + ver = PyString_FromString("PYICU_VER"); +#else ver = PyString_FromString(PYICU_VER); +#endif PyObject_SetAttrString(m, "VERSION", ver); Py_DECREF(ver); ver = PyString_FromString(U_ICU_VERSION);
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