- fix build with python3 (trivial change) - clarify license (it's LGPL21+) and add LICENSE_FILE - simplify docs and examples installation - whitespace fixes - bump PORTREVISION because default package changed - examples now installed to EXAMPLESDIR instead of EXAMPLESDIR/examples) Approved by: vg (maintainer)
19 lines
572 B
Python
19 lines
572 B
Python
--- version_generator.py.orig 2012-12-04 02:57:22 UTC
|
|
+++ version_generator.py
|
|
@@ -8,7 +8,7 @@ build_date = time.strftime ("%Y-%m-%d")
|
|
build_time = time.strftime ("%H:%M:%S")
|
|
build_rev = filter (str.isdigit, "$Revision: 1487 $")
|
|
|
|
-print """
|
|
+print("""
|
|
/* vim:ts=8:sts=8:sw=4:noai:noexpandtab
|
|
*
|
|
* OpenPGM version.
|
|
@@ -50,6 +50,6 @@ const char* pgm_build_revision = "%s";
|
|
|
|
|
|
/* eof */
|
|
-"""%(build_date, build_time, platform.system(), platform.machine(), build_rev)
|
|
+"""%(build_date, build_time, platform.system(), platform.machine(), build_rev))
|
|
|
|
# end of file
|