pkgsrc/www/ap2-python/patches/patch-dist_version.sh
adam 9a96e22055 Changes 3.5.0:
* Support for Python 3.3
* Simpler, faster and up-to-date with latest Python code for creating/maintaining interpreter and thread state.
* A much faster WSGI implementation (start_response now implemented in C)
2014-02-17 17:20:28 +00:00

14 lines
468 B
Bash

$NetBSD: patch-dist_version.sh,v 1.1 2014/02/17 17:20:28 adam Exp $
Don't depend on 'git'.
--- dist/version.sh.orig 2014-02-17 13:35:44.000000000 +0000
+++ dist/version.sh
@@ -5,6 +5,5 @@ MPV_PATH="`dirname $0`/../src/include/mp
MAJ=`awk '/MP_VERSION_MAJOR/ {print $3}' $MPV_PATH`
MIN=`awk '/MP_VERSION_MINOR/ {print $3}' $MPV_PATH`
PCH=`awk '/MP_VERSION_PATCH/ {print $3}' $MPV_PATH`
-GIT=`git describe --always`
-echo $MAJ.$MIN.$PCH-$GIT
+echo $MAJ.$MIN.$PCH