From: Nicolas Thill Date: Tue, 9 Oct 2007 01:22:26 +0000 (+0000) Subject: prefix python packages with "python-" X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=28be59785efc547c4cc58fe8723cb4fe79947e11;p=openwrt%2Fsvn-archive%2Fpackages.git prefix python packages with "python-" SVN-Revision: 9208 --- diff --git a/lang/egenix-mx/Makefile b/lang/egenix-mx/Makefile index efd4abadc..1517a25b0 100644 --- a/lang/egenix-mx/Makefile +++ b/lang/egenix-mx/Makefile @@ -21,12 +21,12 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-base-$(PKG_VERSION) include $(INCLUDE_DIR)/package.mk include ../python/python-package.mk -define PyPackage/egenix-mx +define PyPackage/python-egenix-mx TITLE:=Egenix mxBase URL:=http://www.egenix.com/products/python/mxBase/ endef -define PyPackage/egenix-mx/description +define PyPackage/python-egenix-mx/description This package contains a set of base packages from Egenix required by other python packages. endef @@ -79,7 +79,7 @@ define Build/UninstallDev rm -rf $(STAGING_DIR)$(PYTHON_PKG_DIR)/mx endef -define PyPackage/egenix-mx/install +define PyPackage/python-egenix-mx/install $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR) $(CP) $(PKG_BUILD_DIR)/foo/mx $(1)$(PYTHON_PKG_DIR)/ ln -sf $(1)$(PYTHON_PKG_DIR)/mx/BeeBase/ExitFunctions.py \ @@ -87,4 +87,4 @@ define PyPackage/egenix-mx/install rm -rf $(1)$(PYTHON_PKG_DIR)/mx/*/Examples endef -$(eval $(call PyPackage,egenix-mx)) +$(eval $(call PyPackage,python-egenix-mx)) diff --git a/lang/kid/Makefile b/lang/kid/Makefile index 89085b58a..663a9bb7e 100644 --- a/lang/kid/Makefile +++ b/lang/kid/Makefile @@ -19,17 +19,17 @@ PKG_MD5SUM:=31e7156698a6f214b4067afb9e13728f include $(INCLUDE_DIR)/package.mk include ../python/python-package.mk -define PyPackage/kid +define PyPackage/python-kid TITLE:=XML-based Templating URL=http://www.kid-templating.org/ endef -define PyPackage/kid/description +define PyPackage/python-kid/description Kid is a simple template language for XML based vocabularies written in Python. endef -define PyPackage/kid/filespec +define PyPackage/python-kid/filespec +|$(PYTHON_PKG_DIR)/kid -|$(PYTHON_PKG_DIR)/kid/test endef @@ -40,4 +40,4 @@ define Build/Compile ) endef -$(eval $(call PyPackage,kid)) +$(eval $(call PyPackage,python-kid)) diff --git a/lang/psycopg/Makefile b/lang/psycopg/Makefile index f6e1be7a6..a8cf762ae 100644 --- a/lang/psycopg/Makefile +++ b/lang/psycopg/Makefile @@ -19,13 +19,13 @@ PKG_MD5SUM:=a31f79f68d6d32898d6f24e11369a106 include $(INCLUDE_DIR)/package.mk include ../python/python-package.mk -define PyPackage/psycopg - TITLE:=PostgreSQL database adapter +define PyPackage/python-psycopg + TITLE:=PostgreSQL database adapter for Python URL=http://www.initd.org/ - DEPENDS+= +libpq +egenix-mx + DEPENDS+= +libpq +python-egenix-mx endef -define PyPackage/psycopg/description +define PyPackage/python-psycopg/description This package contains is a PostgreSQL database adapter for the Python programming language. endef @@ -41,9 +41,9 @@ define Build/Compile OPT="$(TARGET_CFLAGS)" endef -define PyPackage/psycopg/install +define PyPackage/python-psycopg/install $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR) $(INSTALL_BIN) $(PKG_BUILD_DIR)/psycopgmodule.so $(1)$(PYTHON_PKG_DIR)/ endef -$(eval $(call PyPackage,psycopg)) +$(eval $(call PyPackage,python-psycopg)) diff --git a/lang/pyevent/Makefile b/lang/pyevent/Makefile index 45bb8806f..0492a2569 100644 --- a/lang/pyevent/Makefile +++ b/lang/pyevent/Makefile @@ -19,13 +19,13 @@ PKG_MD5SUM:=584912c92d08bf005283fb29a47a6e4d include $(INCLUDE_DIR)/package.mk include ../python/python-package.mk -define PyPackage/pyevent +define PyPackage/python-event TITLE:=Python interface to libevent URL=http://code.google.com/p/pyevent/ DEPENDS+= +libevent endef -define PyPackage/pyevent/filespec +define PyPackage/python-event/filespec +|$(PYTHON_PKG_DIR)/event.so endef @@ -36,4 +36,4 @@ define Build/Compile ) endef -$(eval $(call PyPackage,pyevent)) +$(eval $(call PyPackage,python-event)) diff --git a/lang/pymysql/Makefile b/lang/pymysql/Makefile index 177c239fc..8c6b8fc45 100644 --- a/lang/pymysql/Makefile +++ b/lang/pymysql/Makefile @@ -19,18 +19,18 @@ PKG_MD5SUM:=532268f02870bea18c1d465e88afff30 include $(INCLUDE_DIR)/package.mk include ../python/python-package.mk -define PyPackage/pymysql +define PyPackage/python-mysql TITLE:=MySQL database adapter for Python URL=http://mysql-python.sourceforge.net/ DEPENDS+= +libmysqlclient endef -define PyPackage/pymysql/description +define PyPackage/python-mysql/description MySQLdb is an thread-compatible interface to the popular MySQL database server that provides the Python database API. endef -define PyPackage/pymysql/filespec +define PyPackage/python-mysql/filespec +|$(PYTHON_PKG_DIR)/_mysql.so +|$(PYTHON_PKG_DIR)/_mysql_exceptions.py* +|$(PYTHON_PKG_DIR)/MySQLdb @@ -42,4 +42,4 @@ define Build/Compile ) endef -$(eval $(call PyPackage,pymysql)) +$(eval $(call PyPackage,python-mysql)) diff --git a/lang/pypcap/Makefile b/lang/pypcap/Makefile index 9f6353e2c..ddf3cc439 100644 --- a/lang/pypcap/Makefile +++ b/lang/pypcap/Makefile @@ -19,13 +19,13 @@ PKG_MD5SUM:=034c3cbbfa81aa19e8f685b767c65764 include $(INCLUDE_DIR)/package.mk include ../python/python-package.mk -define PyPackage/pypcap +define PyPackage/python-pcap TITLE:=Python interface to lipcap URL:=http://code.google.com/p/pypcap/ DEPENDS+= +libpcap endef -define PyPackage/pypcap/filespec +define PyPackage/python-pcap/filespec +|$(PYTHON_PKG_DIR)/pcap.so endef @@ -36,4 +36,4 @@ define Build/Compile ) endef -$(eval $(call PyPackage,pypcap)) +$(eval $(call PyPackage,python-pcap)) diff --git a/lang/pysqlite/Makefile b/lang/pysqlite/Makefile index 18507ea0d..bcc76754d 100644 --- a/lang/pysqlite/Makefile +++ b/lang/pysqlite/Makefile @@ -19,18 +19,18 @@ PKG_MD5SUM:=b4a185e936848370fcc1a5b17755b641 include $(INCLUDE_DIR)/package.mk include ../python/python-package.mk -define PyPackage/pysqlite - TITLE:=SQLite database adapter +define PyPackage/python-sqlite + TITLE:=SQLite database adapter for Python URL=http://www.initd.org/tracker/pysqlite/wiki/pysqlite DEPENDS+= +libsqlite3 endef -define PyPackage/pysqlite/description +define PyPackage/python-sqlite/description This package contains an SQLite database adapter for the Python programming language. endef -define PyPackage/pysqlite/filespec +define PyPackage/python-sqlite/filespec +|$(PYTHON_PKG_DIR)/pysqlite2 -|$(PYTHON_PKG_DIR)/pysqlite2/test endef @@ -41,4 +41,4 @@ define Build/Compile ) endef -$(eval $(call PyPackage,pysqlite)) +$(eval $(call PyPackage,python-sqlite)) diff --git a/lang/yapsnmp/Makefile b/lang/yapsnmp/Makefile index 088265016..651337dc5 100644 --- a/lang/yapsnmp/Makefile +++ b/lang/yapsnmp/Makefile @@ -19,20 +19,20 @@ PKG_MD5SUM:=8a3e9a5b814388d7907c639105cb2365 include $(INCLUDE_DIR)/package.mk include ../python/python-package.mk -define PyPackage/yapsnmp +define PyPackage/python-yapsnmp TITLE:=Python interface to Net-SNMP URL:=http://yapsnmp.sourceforge.net/ DEPENDS+= +libnetsnmp endef -define PyPackage/yapsnmp/description +define PyPackage/python-yapsnmp/description This package contains a Python SNMP module based on the net-snmp (formerly known as ucd-snmp) library. It's composed of a low level interface to the library, created using SWIG, and a higher level python module removing all the complexity out of dealing with SNMP. endef -define PyPackage/yapsnmp/filespec +define PyPackage/python-yapsnmp/filespec +|$(PYTHON_PKG_DIR)/netsnmp.py +|$(PYTHON_PKG_DIR)/netsnmpc.so +|$(PYTHON_PKG_DIR)/yapsnmp.py @@ -61,4 +61,4 @@ define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)" install endef -$(eval $(call PyPackage,yapsnmp)) +$(eval $(call PyPackage,python-yapsnmp))