From: Thomas Petazzoni Date: Wed, 11 Dec 2013 20:26:40 +0000 (+0100) Subject: python-id3: convert to the Python package infrastructure X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d26c5bc2e9945f4b2b0b8d130ada6dfa1a7957b9;p=buildroot.git python-id3: convert to the Python package infrastructure Signed-off-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- diff --git a/package/python-id3/python-id3.mk b/package/python-id3/python-id3.mk index 9328a0f40a..5957f64de0 100644 --- a/package/python-id3/python-id3.mk +++ b/package/python-id3/python-id3.mk @@ -7,15 +7,6 @@ PYTHON_ID3_VERSION = 1.2 PYTHON_ID3_SOURCE = id3-py_$(PYTHON_ID3_VERSION).tar.gz PYTHON_ID3_SITE = http://downloads.sourceforge.net/project/id3-py/id3-py/$(PYTHON_ID3_VERSION) +PYTHON_ID3_SETUP_TYPE = distutils -PYTHON_ID3_DEPENDENCIES = python - -define PYTHON_ID3_BUILD_CMDS - (cd $(@D); $(HOST_DIR)/usr/bin/python setup.py build) -endef - -define PYTHON_ID3_INSTALL_TARGET_CMDS - (cd $(@D); $(HOST_DIR)/usr/bin/python setup.py install --prefix=$(TARGET_DIR)/usr) -endef - -$(eval $(generic-package)) +$(eval $(python-package))