[packages] prefix python packages with "python-"

git-svn-id: svn://svn.openwrt.org/openwrt/packages@9208 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico 2007-10-09 01:22:26 +00:00
parent ca8c770b28
commit 96277af139
8 changed files with 33 additions and 33 deletions

View 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))

View 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))

View 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))

View 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))

View 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))

View 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))

View 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))

View 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))