python-meld3: convert to the Python package infrastructure
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
f085d1f425
commit
f9167f5a38
@ -7,16 +7,8 @@
|
||||
PYTHON_MELD3_VERSION = 0.6.8
|
||||
PYTHON_MELD3_SOURCE = meld3-$(PYTHON_MELD3_VERSION).tar.gz
|
||||
PYTHON_MELD3_SITE = http://pypi.python.org/packages/source/m/meld3/
|
||||
PYTHON_MELD3_DEPENDENCIES = python
|
||||
PYTHON_MELD3_LICENSE = ZPLv2.1
|
||||
PYTHON_MELD3_LICENSE_FILES = COPYRIGHT.txt LICENSE.txt
|
||||
PYTHON_MELD3_SETUP_TYPE = distutils
|
||||
|
||||
define PYTHON_MELD3_BUILD_CMDS
|
||||
(cd $(@D); $(HOST_DIR)/usr/bin/python setup.py build)
|
||||
endef
|
||||
|
||||
define PYTHON_MELD3_INSTALL_TARGET_CMDS
|
||||
(cd $(@D); $(HOST_DIR)/usr/bin/python setup.py install --prefix=$(TARGET_DIR)/usr)
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
$(eval $(python-package))
|
||||
|
Loading…
Reference in New Issue
Block a user