summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-12-11 20:26:41 (GMT)
committer Peter Korsgaard <peter@korsgaard.com>2013-12-15 12:36:59 (GMT)
commit1825edece08e4bc5e5e7c52268ff39cb7cdc174c (patch)
treecbdbaff1f7b2cfa4471869c5838a77f93f563724
parentd26c5bc2e9945f4b2b0b8d130ada6dfa1a7957b9 (diff)
downloadbuildroot-1825edece08e4bc5e5e7c52268ff39cb7cdc174c.tar.gz
buildroot-1825edece08e4bc5e5e7c52268ff39cb7cdc174c.tar.bz2
python-ipy: convert to the Python package infrastructure
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/python-ipy/python-ipy.mk17
1 files changed, 2 insertions, 15 deletions
diff --git a/package/python-ipy/python-ipy.mk b/package/python-ipy/python-ipy.mk
index c03f91f..6e05ee9 100644
--- a/package/python-ipy/python-ipy.mk
+++ b/package/python-ipy/python-ipy.mk
@@ -6,21 +6,8 @@
PYTHON_IPY_VERSION = IPy-0.75
PYTHON_IPY_SITE = $(call github,haypo,python-ipy,$(PYTHON_IPY_VERSION))
-PYTHON_IPY_DEPENDENCIES = host-python python
PYTHON_IPY_LICENSE = BSD-3c
PYTHON_IPY_LICENSE_FILES = COPYING
+PYTHON_IPY_SETUP_TYPE = distutils
-define PYTHON_IPY_BUILD_CMDS
- (cd $(@D); \
- $(TARGET_CONFIGURE_OPTS) \
- $(HOST_DIR)/usr/bin/python setup.py build_ext \
- --include-dirs=$(STAGING_DIR)/usr/include/python$(PYTHON_VERSION_MAJOR) \
- )
- (cd $(@D); $(HOST_DIR)/usr/bin/python setup.py build)
-endef
-
-define PYTHON_IPY_INSTALL_TARGET_CMDS
- (cd $(@D); $(HOST_DIR)/usr/bin/python setup.py install --prefix=$(TARGET_DIR)/usr)
-endef
-
-$(eval $(generic-package))
+$(eval $(python-package))