From d3e65118132968b6575a98431337a5300e38879d Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Wed, 11 Dec 2013 21:26:58 +0100 Subject: [PATCH] python-dialog: convert to the Python package infrastructure Signed-off-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- package/python-dialog/python-dialog.mk | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/package/python-dialog/python-dialog.mk b/package/python-dialog/python-dialog.mk index fa496de5d3..e6887c951b 100644 --- a/package/python-dialog/python-dialog.mk +++ b/package/python-dialog/python-dialog.mk @@ -9,15 +9,7 @@ PYTHON_DIALOG_SOURCE = python2-pythondialog-$(PYTHON_DIALOG_VERSION).tar.bz2 PYTHON_DIALOG_SITE = http://downloads.sourceforge.net/project/pythondialog/pythondialog/$(PYTHON_DIALOG_VERSION) PYTHON_DIALOG_LICENSE = LGPLv2.1+ PYTHON_DIALOG_LICENSE_FILES = COPYING +PYTHON_DIALOG_SETUP_TYPE = distutils +PYTHON_DIALOG_DEPENDENCIES = dialog -PYTHON_DIALOG_DEPENDENCIES = python dialog - -define PYTHON_DIALOG_BUILD_CMDS - (cd $(@D); $(HOST_DIR)/usr/bin/python setup.py build) -endef - -define PYTHON_DIALOG_INSTALL_TARGET_CMDS - (cd $(@D); $(HOST_DIR)/usr/bin/python setup.py install --prefix=$(TARGET_DIR)/usr) -endef - -$(eval $(generic-package)) +$(eval $(python-package)) -- 2.30.2