diff options
author | David Seifert <soap@gentoo.org> | 2017-01-10 13:06:42 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2017-01-10 13:40:16 +0200 |
commit | 38ebae80deae3462c448011941c9bc8d458cca44 (patch) | |
tree | ecaba93a4ddf41489fd9c167001946062c54fa8a /dev-python/dynd-python/files/dynd-python-0.6.2-out-of-git-versioning.patch | |
parent | 4c47a1156e93ea59133a4818f7d235ffa69cabcb (diff) | |
download | gentoo-38ebae80deae3462c448011941c9bc8d458cca44.tar.gz gentoo-38ebae80deae3462c448011941c9bc8d458cca44.tar.xz |
Revert "dev-python/dynd-python: version bump"
This reverts commit 18dac8ffa2683a38e973649aafbeebf9d151eba1.
Diffstat (limited to 'dev-python/dynd-python/files/dynd-python-0.6.2-out-of-git-versioning.patch')
-rw-r--r-- | dev-python/dynd-python/files/dynd-python-0.6.2-out-of-git-versioning.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-python/dynd-python/files/dynd-python-0.6.2-out-of-git-versioning.patch b/dev-python/dynd-python/files/dynd-python-0.6.2-out-of-git-versioning.patch new file mode 100644 index 00000000000..29c3541b327 --- /dev/null +++ b/dev-python/dynd-python/files/dynd-python-0.6.2-out-of-git-versioning.patch @@ -0,0 +1,14 @@ +--- CMakeLists.txt.orig 2014-05-12 14:00:52.000000000 +0400 ++++ CMakeLists.txt 2014-05-12 14:03:39.000000000 +0400 +@@ -86,8 +86,9 @@ + endif() + + # Get the git revision +-get_git_head_revision("${CMAKE_CURRENT_SOURCE_DIR}" GIT_REFSPEC DYND_PYTHON_GIT_SHA1) +-git_describe("${CMAKE_CURRENT_SOURCE_DIR}" DYND_PYTHON_VERSION_STRING --dirty --always --match "v*") ++SET(DYND_PYTHON_GIT_SHA1 "@DYND_PYTHON_GIT_SHA1@") ++SET(DYND_PYTHON_VERSION_STRING "@DYND_PYTHON_VERSION@") ++ + message(STATUS "DyND-Python version: ${DYND_PYTHON_VERSION_STRING}") + configure_file( + "${CMAKE_CURRENT_SOURCE_DIR}/src/git_version.cpp.in" |