Changeset 31152


Ignore:
Timestamp:
2012-03-30T15:24:08+02:00 (6 years ago)
Author:
mirko
Message:

[packages/python] Python 2.7.3 got released meanwhile - level up, package python-readline

  • thanks again to Cybjit
Location:
packages/lang/python
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • packages/lang/python/Makefile

    r31140 r31152  
    99 
    1010PKG_NAME:=python 
    11 PKG_VERSION:=2.7.3rc2 
    12 PKG_RELEASE:=1 
     11 
     12PY_VERSION:=2.7.3 
     13PY_RC:=rc2 
     14PKG_VERSION:=$(PY_VERSION)$(PY_RC) 
     15PKG_RELEASE:=2 
    1316 
    1417PKG_SOURCE:=Python-$(PKG_VERSION).tar.bz2 
    15 PKG_SOURCE_URL:=http://www.python.org/ftp/python/$(PKG_VERSION)/ 
     18PKG_SOURCE_URL:=http://www.python.org/ftp/python/$(PY_VERSION)/ 
    1619PKG_MD5SUM:=67059e1bcaf19e19394d16b80637f75f 
    1720 
     
    117120 TITLE:=Python support for gdbm 
    118121 DEPENDS+=+python-mini +libgdbm 
     122endef 
     123 
     124define Package/python-readline 
     125$(call Package/python/Default) 
     126 TITLE:=Python support for readline 
     127 DEPENDS+=+python-mini +libreadline +libncurses @BROKEN 
    119128endef 
    120129 
     
    148157                --with-system-ffi="$(STAGING_DIR)/usr" \ 
    149158                $(ENABLE_IPV6) \ 
    150                 ac_cv_lib_readline_readline=no \ 
    151159                ac_cv_have_chflags=no \ 
    152160                ac_cv_have_lchflags=no \ 
     
    428436endef 
    429437 
     438define PyPackage/python-readline/filespec 
     439+|/usr/lib/python$(PYTHON_VERSION)/lib-dynload/readline.so 
     440endef 
     441 
    430442define Host/Configure 
    431443        -$(MAKE) -C $(HOST_BUILD_DIR) distclean 
     
    468480$(eval $(call PyPackage,python-sqlite3)) 
    469481$(eval $(call PyPackage,python-gdbm)) 
     482$(eval $(call PyPackage,python-readline)) 
    470483 
    471484$(eval $(call BuildPackage,python)) 
     
    479492$(eval $(call BuildPackage,python-sqlite3)) 
    480493$(eval $(call BuildPackage,python-gdbm)) 
     494$(eval $(call BuildPackage,python-readline)) 
Note: See TracChangeset for help on using the changeset viewer.