diff options
Diffstat (limited to 'pyobjc-core')
-rw-r--r-- | pyobjc-core/bld.bat | 3 | ||||
-rw-r--r-- | pyobjc-core/build.sh | 2 | ||||
-rw-r--r-- | pyobjc-core/meta.yaml | 9 |
3 files changed, 8 insertions, 6 deletions
diff --git a/pyobjc-core/bld.bat b/pyobjc-core/bld.bat index b290566..760380e 100644 --- a/pyobjc-core/bld.bat +++ b/pyobjc-core/bld.bat @@ -1,3 +1,2 @@ -python setup.py install -if errorlevel 1 exit 1
\ No newline at end of file +%PYTHON% setup.py install diff --git a/pyobjc-core/build.sh b/pyobjc-core/build.sh index 77ff075..3ac7454 100644 --- a/pyobjc-core/build.sh +++ b/pyobjc-core/build.sh @@ -1,3 +1,3 @@ cd pyobjc-core export CFLAGS="$CFLAGS -headerpad_max_install_names" -python setup.py install +$PYTHON setup.py install diff --git a/pyobjc-core/meta.yaml b/pyobjc-core/meta.yaml index bf62a36..546e52b 100644 --- a/pyobjc-core/meta.yaml +++ b/pyobjc-core/meta.yaml @@ -1,6 +1,9 @@ {% set name = 'pyobjc-core' %} {% set version = '3.1.1' %} -{% set number = '0' %} +{% if version[0] == 'v' %} +{% set version = version[1:] %} +{% endif %} +{% set number = '1' %} about: home: http://pyobjc.sourceforge.net/ @@ -19,9 +22,9 @@ package: requirements: build: - setuptools - - python x.x + - python {{ python }} run: - - python x.x + - python source: fn: pyobjc-{{ version }}.tar.gz |