mirror of
https://github.com/openwrt/packages.git
synced 2025-12-22 21:14:32 +04:00
python: packetize some python modules
Packetize some Python modules to reduce size of the overall Python package. Basically, a new package is introduced, call `python-light`, and everything that's extra (or big) is put in other packages. The `python` package becomes a metapackage that installs `python-light` along with the rest of the packages. Base work started by Jan Čermák. Signed-off-by: Jan Čermák <jan.cermak@nic.cz> Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
This commit is contained in:
16
lang/python/files/python-package-dbm.mk
Normal file
16
lang/python/files/python-package-dbm.mk
Normal file
@@ -0,0 +1,16 @@
|
||||
#
|
||||
# Copyright (C) 2006-2015 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
define Package/python-dbm
|
||||
$(call Package/python/Default)
|
||||
TITLE:=Python $(PYTHON_VERSION) dbm module
|
||||
DEPENDS:=+python-light +libdb47
|
||||
endef
|
||||
|
||||
$(eval $(call PyBasePackage,python-dbm, \
|
||||
/usr/lib/python$(PYTHON_VERSION)/lib-dynload/dbm.so \
|
||||
))
|
||||
Reference in New Issue
Block a user