python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / micropython / 0001-fix-version.patch
blob1bf2992169c3bc1020b115b6958f14c253bf3c0e
1 Always use the fallback behaviour for determining the version number
3 When built from within buildroot the micropython build process detects
4 that it is inside a git repository and ends up using the buildroot
5 version number instead of the correct micropython version number.
7 Signed-off-by: Chris Packham <judge.packham@gmail.com>
8 ---
9 diff -Naur micropython-v1.4.5-old/py/makeversionhdr.py micropython-v1.4.5/py/makeversionhdr.py
10 --- micropython-v1.4.5-old/py/makeversionhdr.py 2015-08-12 00:42:30.000000000 +1200
11 +++ micropython-v1.4.5/py/makeversionhdr.py 2015-09-16 10:21:06.698962836 +1200
12 @@ -70,9 +70,7 @@
14 def make_version_header(filename):
15 # Get version info using git, with fallback to docs/conf.py
16 - info = get_version_info_from_git()
17 - if info is None:
18 - info = get_version_info_from_docs_conf()
19 + info = get_version_info_from_docs_conf()
21 git_tag, git_hash, ver = info