prefix python packages with "python-"
authorNicolas Thill <nico@openwrt.org>
Tue, 9 Oct 2007 01:22:26 +0000 (01:22 +0000)
committerNicolas Thill <nico@openwrt.org>
Tue, 9 Oct 2007 01:22:26 +0000 (01:22 +0000)
SVN-Revision: 9208

lang/egenix-mx/Makefile
lang/kid/Makefile
lang/psycopg/Makefile
lang/pyevent/Makefile
lang/pymysql/Makefile
lang/pypcap/Makefile
lang/pysqlite/Makefile
lang/yapsnmp/Makefile

index efd4abadc5705d61123baa1c466f607d11b7ea7b..1517a25b022610e02bedfbc203fac887f8b7331e 100644 (file)
@@ -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))
index 89085b58a68e8e36dc77d9f3840359ff587585e7..663a9bb7e0799664adcdf5fd3e42da045209396b 100644 (file)
@@ -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))
index f6e1be7a61d8e868a9fee4928bcb9fdef270c65f..a8cf762ae2a23eb6b367fa980773e8c85bbd8d40 100644 (file)
@@ -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))
index 45bb8806fd9d7db748e30a42f5d93caa23f995e8..0492a2569f61fada71c1f77f513e586064a9fbbc 100644 (file)
@@ -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))
index 177c239fc84ab099cd38f42e4ba2afbdf3399958..8c6b8fc45bca4d602f4a54bea023c91d19d220f7 100644 (file)
@@ -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))
index 9f6353e2c7efe500a5ef51be3cd6d03ba68f1384..ddf3cc4394db59e433d25d1c21fdd537cc2849b8 100644 (file)
@@ -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))
index 18507ea0d67cc2a97377202748f01681a7f44f10..bcc76754d6892825ed392a38351a0808ee05a18f 100644 (file)
@@ -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))
index 0882650165d4384ef1880ae344109e34757d6a1f..651337dc59d05222277acd237604a31fbde7845e 100644 (file)
@@ -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))