summaryrefslogtreecommitdiff
path: root/lang/python/python-lxml
diff options
context:
space:
mode:
authorAlexandru Ardelean <ardeleanalex@gmail.com>2017-07-04 22:44:08 +0300
committerAlexandru Ardelean <ardeleanalex@gmail.com>2017-07-07 18:07:10 +0300
commitf9dddb6bb05cbad5f228d1c668d4e5f12994d57c (patch)
tree146d1040769f0258428759d302d0e4eff3b29de0 /lang/python/python-lxml
parent4333d1dcbfd67dde4ca7d08717bc345cc424fbf8 (diff)
python-lxml: override PyBuild/Compile & Py3Build/Compile rules
And depend on python-light only if python-lxml is selected. Same thing for python3-lxml. Otherwise, this builds both Python & Python3 intepreters. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Diffstat (limited to 'lang/python/python-lxml')
-rw-r--r--lang/python/python-lxml/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/lang/python/python-lxml/Makefile b/lang/python/python-lxml/Makefile
index 2710feffb..798cf279f 100644
--- a/lang/python/python-lxml/Makefile
+++ b/lang/python/python-lxml/Makefile
@@ -37,14 +37,14 @@ endef
define Package/python-lxml
$(call Package/python-lxml/Default)
TITLE:=python-lxml
- DEPENDS+=+python-light +python-codecs
+ DEPENDS+=+PACKAGE_python-lxml:python-light +PACKAGE_python-lxml:python-codecs
VARIANT:=python
endef
define Package/python3-lxml
$(call Package/python-lxml/Default)
TITLE:=python3-lxml
- DEPENDS+=+python3-light
+ DEPENDS+=+PACKAGE_python3-lxml:python3-light
VARIANT:=python3
endef
@@ -61,7 +61,7 @@ endef
TARGET_LDFLAGS += -lxml2 -lxslt -lexslt
-define PyBuild/Compile/Default
+define PyBuild/Compile
$(call Build/Compile/PyMod,, \
install --prefix="/usr" --root="$(PKG_INSTALL_DIR)" \
--static \
@@ -74,7 +74,7 @@ define PyBuild/Compile/Default
)
endef
-define Py3Build/Compile/Default
+define Py3Build/Compile
$(call Build/Compile/Py3Mod,, \
install --prefix="/usr" --root="$(PKG_INSTALL_DIR)" \
--static \