Merge #15601: build: depends: Switch to python3 (take 3)
fa0f92af9a
build: depends: Switch to python3 (MarcoFalke)
Pull request description:
Actually try to switch to python3 after the incomplete attempts:
* Remove Python2 support #11881
* build: Require python 3.5 #14954
* ...
Tree-SHA512: ba689c3788f2dd91c15d4ff5f6a73219c1a73893c18d3bb8e6da5c35acfef9897c7e100439ce5cac05624c66f7619d13528b60065c36545608fb387aab25e117
This commit is contained in:
commit
acbbb7bf0d
5 changed files with 11 additions and 11 deletions
|
@ -158,7 +158,7 @@ jobs:
|
||||||
name: 'macOS 10.10 [GOAL: deploy] [no functional tests]'
|
name: 'macOS 10.10 [GOAL: deploy] [no functional tests]'
|
||||||
env: >-
|
env: >-
|
||||||
HOST=x86_64-apple-darwin14
|
HOST=x86_64-apple-darwin14
|
||||||
PACKAGES="cmake imagemagick libcap-dev librsvg2-bin libz-dev libbz2-dev libtiff-tools python3-dev python3-setuptools-git"
|
PACKAGES="cmake imagemagick libcap-dev librsvg2-bin libz-dev libbz2-dev libtiff-tools python3-dev python3-setuptools"
|
||||||
OSX_SDK=10.11
|
OSX_SDK=10.11
|
||||||
RUN_UNIT_TESTS=false
|
RUN_UNIT_TESTS=false
|
||||||
RUN_FUNCTIONAL_TESTS=false
|
RUN_FUNCTIONAL_TESTS=false
|
||||||
|
|
|
@ -67,7 +67,7 @@ fi
|
||||||
if test -n "@CXX@" -a -z "${CXX}"; then
|
if test -n "@CXX@" -a -z "${CXX}"; then
|
||||||
CXX="@CXX@"
|
CXX="@CXX@"
|
||||||
fi
|
fi
|
||||||
PYTHONPATH=$depends_prefix/native/lib/python/dist-packages:$PYTHONPATH
|
PYTHONPATH=$depends_prefix/native/lib/python3/dist-packages:$PYTHONPATH
|
||||||
|
|
||||||
if test -n "@AR@"; then
|
if test -n "@AR@"; then
|
||||||
AR=@AR@
|
AR=@AR@
|
||||||
|
|
|
@ -3,13 +3,13 @@ $(package)_version=1.0.3
|
||||||
$(package)_download_path=https://bitbucket.org/wooster/biplist/downloads
|
$(package)_download_path=https://bitbucket.org/wooster/biplist/downloads
|
||||||
$(package)_file_name=biplist-$($(package)_version).tar.gz
|
$(package)_file_name=biplist-$($(package)_version).tar.gz
|
||||||
$(package)_sha256_hash=4c0549764c5fe50b28042ec21aa2e14fe1a2224e239a1dae77d9e7f3932aa4c6
|
$(package)_sha256_hash=4c0549764c5fe50b28042ec21aa2e14fe1a2224e239a1dae77d9e7f3932aa4c6
|
||||||
$(package)_install_libdir=$(build_prefix)/lib/python/dist-packages
|
$(package)_install_libdir=$(build_prefix)/lib/python3/dist-packages
|
||||||
|
|
||||||
define $(package)_build_cmds
|
define $(package)_build_cmds
|
||||||
python setup.py build
|
python3 setup.py build
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define $(package)_stage_cmds
|
define $(package)_stage_cmds
|
||||||
mkdir -p $($(package)_install_libdir) && \
|
mkdir -p $($(package)_install_libdir) && \
|
||||||
python setup.py install --root=$($(package)_staging_dir) --prefix=$(build_prefix) --install-lib=$($(package)_install_libdir)
|
python3 setup.py install --root=$($(package)_staging_dir) --prefix=$(build_prefix) --install-lib=$($(package)_install_libdir)
|
||||||
endef
|
endef
|
||||||
|
|
|
@ -3,14 +3,14 @@ $(package)_version=1.1.2
|
||||||
$(package)_download_path=https://github.com/al45tair/ds_store/archive/
|
$(package)_download_path=https://github.com/al45tair/ds_store/archive/
|
||||||
$(package)_file_name=v$($(package)_version).tar.gz
|
$(package)_file_name=v$($(package)_version).tar.gz
|
||||||
$(package)_sha256_hash=3b3ecb7bf0a5157f5b6010bc3af7c141fb0ad3527084e63336220d22744bc20c
|
$(package)_sha256_hash=3b3ecb7bf0a5157f5b6010bc3af7c141fb0ad3527084e63336220d22744bc20c
|
||||||
$(package)_install_libdir=$(build_prefix)/lib/python/dist-packages
|
$(package)_install_libdir=$(build_prefix)/lib/python3/dist-packages
|
||||||
$(package)_dependencies=native_biplist
|
$(package)_dependencies=native_biplist
|
||||||
|
|
||||||
define $(package)_build_cmds
|
define $(package)_build_cmds
|
||||||
python setup.py build
|
python3 setup.py build
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define $(package)_stage_cmds
|
define $(package)_stage_cmds
|
||||||
mkdir -p $($(package)_install_libdir) && \
|
mkdir -p $($(package)_install_libdir) && \
|
||||||
python setup.py install --root=$($(package)_staging_dir) --prefix=$(build_prefix) --install-lib=$($(package)_install_libdir)
|
python3 setup.py install --root=$($(package)_staging_dir) --prefix=$(build_prefix) --install-lib=$($(package)_install_libdir)
|
||||||
endef
|
endef
|
||||||
|
|
|
@ -3,13 +3,13 @@ $(package)_version=2.0.7
|
||||||
$(package)_download_path=https://github.com/al45tair/mac_alias/archive/
|
$(package)_download_path=https://github.com/al45tair/mac_alias/archive/
|
||||||
$(package)_file_name=v$($(package)_version).tar.gz
|
$(package)_file_name=v$($(package)_version).tar.gz
|
||||||
$(package)_sha256_hash=6f606d3b6bccd2112aeabf1a063f5b5ece87005a5d7e97c8faca23b916e88838
|
$(package)_sha256_hash=6f606d3b6bccd2112aeabf1a063f5b5ece87005a5d7e97c8faca23b916e88838
|
||||||
$(package)_install_libdir=$(build_prefix)/lib/python/dist-packages
|
$(package)_install_libdir=$(build_prefix)/lib/python3/dist-packages
|
||||||
|
|
||||||
define $(package)_build_cmds
|
define $(package)_build_cmds
|
||||||
python setup.py build
|
python3 setup.py build
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define $(package)_stage_cmds
|
define $(package)_stage_cmds
|
||||||
mkdir -p $($(package)_install_libdir) && \
|
mkdir -p $($(package)_install_libdir) && \
|
||||||
python setup.py install --root=$($(package)_staging_dir) --prefix=$(build_prefix) --install-lib=$($(package)_install_libdir)
|
python3 setup.py install --root=$($(package)_staging_dir) --prefix=$(build_prefix) --install-lib=$($(package)_install_libdir)
|
||||||
endef
|
endef
|
||||||
|
|
Loading…
Reference in a new issue