build: fix non-deterministic biplist

The non-deterministic ordering produced by biplist ends up in the .DS_Store
file that is included in the OSX dmg.
This commit is contained in:
Cory Fields
2016-07-19 15:41:36 -04:00
parent 045106b4f1
commit 3b3ce25df6
2 changed files with 34 additions and 0 deletions

View File

@@ -4,6 +4,11 @@ $(package)_download_path=https://pypi.python.org/packages/source/b/biplist
$(package)_file_name=biplist-$($(package)_version).tar.gz
$(package)_sha256_hash=b57cadfd26e4754efdf89e9e37de87885f9b5c847b2615688ca04adfaf6ca604
$(package)_install_libdir=$(build_prefix)/lib/python/dist-packages
$(package)_patches=sorted_list.patch
define $(package)_preprocess_cmds
patch -p1 < $($(package)_patch_dir)/sorted_list.patch
endef
define $(package)_build_cmds
python setup.py build