Files
Andrew Stromnov 183c251bbe py-dynd: update to version 0.7.2
git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@147051 d073be05-634f-4543-b044-5fe20cf6d1d6
2016-03-24 12:26:38 +00:00

22 lines
745 B
Diff

--- setup.py.orig 2016-03-15 17:19:38.000000000 +0300
+++ setup.py 2016-03-24 15:14:58.000000000 +0300
@@ -40,7 +40,7 @@
def initialize_options(self):
build_ext.initialize_options(self)
- self.extra_cmake_args = ''
+ self.extra_cmake_args = '@@EXTRA_CMAKE_ARGS@@'
def run(self):
# We don't call the origin build_ext, instead ignore that
@@ -151,8 +151,7 @@
return subprocess.Popen(args, stdout = subprocess.PIPE).communicate()[0]
# Get the version number to use from git
-ver = check_output(['git', 'describe', '--dirty',
- '--always', '--match', 'v*']).decode('ascii').strip('\n')
+ver = "@@DYND_PYTHON_VERSION_STRING@@"
# Same processing as in __init__.py
if '.' in ver: