diff options
| author | Alexandru Ardelean <ardeleanalex@gmail.com> | 2015-03-13 18:12:46 +0200 |
|---|---|---|
| committer | Alexandru Ardelean <ardeleanalex@gmail.com> | 2015-03-13 18:39:08 +0200 |
| commit | d69d8ec0b913f764204ea2a7cf63044db7c6f853 (patch) | |
| tree | 684c4509952511bc5ea2557ba2b0f34d77e14827 /lang/python/files/python-package-unittest.mk | |
| parent | 4ecbe056636d3eb968acc139a929dfd5829daae0 (diff) | |
python: refine packaging and split more modules into packages
Rule of thumb is: any Python file that is greater than 100kb
(or adds a dependency with which it adds more than 100 kb)
should be a pretty useful/commonly used lib to stay in `python-light`.
An example, is the Python IO lib, which summarized (Python source +
binary module) is over 200kb.
Also moved some files that should have been put into previously
existing packages before, and re-organized the packages a bit.
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Diffstat (limited to 'lang/python/files/python-package-unittest.mk')
| -rw-r--r-- | lang/python/files/python-package-unittest.mk | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lang/python/files/python-package-unittest.mk b/lang/python/files/python-package-unittest.mk new file mode 100644 index 000000000..6e1ab552d --- /dev/null +++ b/lang/python/files/python-package-unittest.mk @@ -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-unittest +$(call Package/python/Default) + TITLE:=Python $(PYTHON_VERSION) unittest module + DEPENDS:=+python-light +endef + +$(eval $(call PyBasePackage,python-unittest, \ + /usr/lib/python$(PYTHON_VERSION)/unittest \ +)) |
