You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-03-30 11:29:27 -07:00
183c251bbe
git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@147051 d073be05-634f-4543-b044-5fe20cf6d1d6
22 lines
745 B
Diff
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:
|