| 1 | package=native_biplist |
| 2 | $(package)_version=0.9 |
| 3 | $(package)_download_path=https://pypi.python.org/packages/source/b/biplist |
| 4 | $(package)_file_name=biplist-$($(package)_version).tar.gz |
| 5 | $(package)_sha256_hash=b57cadfd26e4754efdf89e9e37de87885f9b5c847b2615688ca04adfaf6ca604 |
| 6 | $(package)_install_libdir=$(build_prefix)/lib/python/dist-packages |
| 7 | $(package)_patches=sorted_list.patch |
| 8 | |
| 9 | define $(package)_preprocess_cmds |
| 10 | patch -p1 < $($(package)_patch_dir)/sorted_list.patch |
| 11 | endef |
| 12 | |
| 13 | define $(package)_build_cmds |
| 14 | python setup.py build |
| 15 | endef |
| 16 | |
| 17 | define $(package)_stage_cmds |
| 18 | mkdir -p $($(package)_install_libdir) && \ |
| 19 | python setup.py install --root=$($(package)_staging_dir) --prefix=$(build_prefix) --install-lib=$($(package)_install_libdir) |
| 20 | endef |