From: Thomas Petazzoni Date: Wed, 11 Dec 2013 20:26:44 +0000 (+0100) Subject: python-meld3: convert to the Python package infrastructure X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f9167f5a38fb7a879bc4bd5afd03a553060d5e08;p=buildroot.git python-meld3: convert to the Python package infrastructure Signed-off-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- diff --git a/package/python-meld3/python-meld3.mk b/package/python-meld3/python-meld3.mk index 27da9c8358..cb8dec07db 100644 --- a/package/python-meld3/python-meld3.mk +++ b/package/python-meld3/python-meld3.mk @@ -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))