SHA256
1
0
forked from pool/python-pymol
Files
python-pymol/no-build-date.patch
Matej Cepl 574d9b32fb - Update to 2.4.0:
* load_traj
    - support netcdf format
    - support `selection` argument with all file formats
  * CCP4/MRC Map Support
    - Distinguish .ccp4 and .mrc extensions (regarding origin)
    - .map extension: auto-detect the format
  * New distance mode 8
  * MMTF export: Consider `pdb_retain_ids` setting
  * GLTF export (based on collada2gltf)
  * New `internal_gui_name_color_mode` setting
  * MPEG4 Movie export: Apply `movie_fps` setting to exported
    file
  * Python API
    - Improved error handling with exceptions
    - New: cmd.rebond()
    - New: cmd.get_capabilities()
    - Fix: cmd.get_bonds() state off by one
    - cmd.fit() et al.: raise on error
  * Launch Options
    - Restore `-V` launch argument for external GUI height
    - macOS: `open` event opens new window

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-pymol?expand=0&rev=9
2020-09-01 16:26:13 +00:00

24 lines
620 B
Diff

From: David Hall <dhall@wustl.edu>
Date: 2013-11-11 12:41:00 -0500
Subject: do not include build date in package
References:
Upstream: never
Patch removes including build date in binary
---
create_shadertext.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/create_shadertext.py
+++ b/create_shadertext.py
@@ -133,7 +133,7 @@ def create_buildinfo(outputdir, pymoldir
print('''
#define _PyMOL_BUILD_DATE %d
#define _PYMOL_BUILD_GIT_SHA "%s"
- ''' % (time.time(), sha), file=out)
+ ''' % (0, sha), file=out)
if __name__ == "__main__":
create_shadertext(*sys.argv[1:6])