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
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 \
rm -rf $(1)$(PYTHON_PKG_DIR)/mx/*/Examples
endef
-$(eval $(call PyPackage,egenix-mx))
+$(eval $(call PyPackage,python-egenix-mx))
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
)
endef
-$(eval $(call PyPackage,kid))
+$(eval $(call PyPackage,python-kid))
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
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))
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
)
endef
-$(eval $(call PyPackage,pyevent))
+$(eval $(call PyPackage,python-event))
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
)
endef
-$(eval $(call PyPackage,pymysql))
+$(eval $(call PyPackage,python-mysql))
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
)
endef
-$(eval $(call PyPackage,pypcap))
+$(eval $(call PyPackage,python-pcap))
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
)
endef
-$(eval $(call PyPackage,pysqlite))
+$(eval $(call PyPackage,python-sqlite))
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
$(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)" install
endef
-$(eval $(call PyPackage,yapsnmp))
+$(eval $(call PyPackage,python-yapsnmp))