mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-04 08:57:44 +00:00
python-bottle: 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
a6bba674a2
commit
1a60e06162
@ -7,16 +7,8 @@
|
|||||||
PYTHON_BOTTLE_VERSION = 0.11.6
|
PYTHON_BOTTLE_VERSION = 0.11.6
|
||||||
PYTHON_BOTTLE_SOURCE = bottle-$(PYTHON_BOTTLE_VERSION).tar.gz
|
PYTHON_BOTTLE_SOURCE = bottle-$(PYTHON_BOTTLE_VERSION).tar.gz
|
||||||
PYTHON_BOTTLE_SITE = http://pypi.python.org/packages/source/b/bottle
|
PYTHON_BOTTLE_SITE = http://pypi.python.org/packages/source/b/bottle
|
||||||
PYTHON_BOTTLE_DEPENDENCIES = python
|
|
||||||
PYTHON_BOTTLE_LICENSE = MIT
|
PYTHON_BOTTLE_LICENSE = MIT
|
||||||
# README.rst refers to the file "LICENSE" but it's not included
|
# README.rst refers to the file "LICENSE" but it's not included
|
||||||
|
PYTHON_BOTTLE_SETUP_TYPE = distutils
|
||||||
|
|
||||||
define PYTHON_BOTTLE_BUILD_CMDS
|
$(eval $(python-package))
|
||||||
(cd $(@D); $(HOST_DIR)/usr/bin/python setup.py build --executable=/usr/bin/python)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define PYTHON_BOTTLE_INSTALL_TARGET_CMDS
|
|
||||||
(cd $(@D); $(HOST_DIR)/usr/bin/python setup.py install --prefix=$(TARGET_DIR)/usr)
|
|
||||||
endef
|
|
||||||
|
|
||||||
$(eval $(generic-package))
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user