Changeset 29277


Ignore:
Timestamp:
2011-11-20T14:42:14+01:00 (6 years ago)
Author:
nico
Message:

packages/python: add bzip2 module (closes: #9494)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/lang/python/Makefile

    r29276 r29277  
    11# 
    2 # Copyright (C) 2006-2010 OpenWrt.org 
     2# Copyright (C) 2006-2011 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    1010PKG_NAME:=python 
    1111PKG_VERSION:=2.6.4 
    12 PKG_RELEASE:=3 
     12PKG_RELEASE:=4 
    1313 
    1414PKG_SOURCE:=Python-$(PKG_VERSION).tar.bz2 
     
    7474  TITLE:=Python interactive documentation 
    7575  DEPENDS+=+python-mini 
     76endef 
     77 
     78define Package/python-bzip2 
     79$(call Package/python/Default) 
     80  TITLE:=Python support for Bzip2 
     81  DEPENDS+=+python-mini +libbz2 
    7682endef 
    7783 
     
    196202-|/usr/lib/python$(PYTHON_VERSION)/lib2to3 
    197203-|/usr/lib/python$(PYTHON_VERSION)/lib-old 
     204-|/usr/lib/python$(PYTHON_VERSION)/lib-dynload/bz2.so 
    198205-|/usr/lib/python$(PYTHON_VERSION)/lib-dynload/gdbm.so 
    199206-|/usr/lib/python$(PYTHON_VERSION)/lib-dynload/_sqlite3.so 
     
    368375endef 
    369376 
     377define PyPackage/python-bzip2/filespec 
     378+|/usr/lib/python$(PYTHON_VERSION)/lib-dynload/bz2.so 
     379endef 
     380 
    370381define PyPackage/python-expat/filespec 
    371382+|/usr/lib/python$(PYTHON_VERSION)/lib-dynload/pyexpat.so 
     
    426437$(eval $(call PyPackage,python-mini)) 
    427438$(eval $(call PyPackage,python-doc)) 
     439$(eval $(call PyPackage,python-bzip2)) 
    428440$(eval $(call PyPackage,python-expat)) 
    429441$(eval $(call PyPackage,python-gzip)) 
     
    436448$(eval $(call BuildPackage,python-mini)) 
    437449$(eval $(call BuildPackage,python-doc)) 
     450$(eval $(call BuildPackage,python-bzip2)) 
    438451$(eval $(call BuildPackage,python-expat)) 
    439452$(eval $(call BuildPackage,python-gzip)) 
Note: See TracChangeset for help on using the changeset viewer.