summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorimil <imil@pkgsrc.org>2012-08-14 15:35:00 +0000
committerimil <imil@pkgsrc.org>2012-08-14 15:35:00 +0000
commit0a95f0c542c29bbd3d38397f36f860fae74db435 (patch)
treedecd84f1615090933c98e085c54c6fc41067d753 /net
parent6349fac7670103cfbc6ad97e02c8dd92cb104246 (diff)
downloadpkgsrc-0a95f0c542c29bbd3d38397f36f860fae74db435.tar.gz
Initial import of coilmq, version 0.6.1, into the NetBSD Packages Collection.
CoilMQ is a simple, configurable STOMP message broker (aka STOMP server) written in Python. This project is inspired by the simple design of the Ruby stompserver project by Patrick Hurley and Lionel Bouton. The goal of this project is to provide a well-tested and well-documented Python implementation with a good set of built-in functionality and numerous paths for extensibility.
Diffstat (limited to 'net')
-rw-r--r--net/coilmq/DESCR5
-rw-r--r--net/coilmq/Makefile57
-rw-r--r--net/coilmq/PLIST126
-rw-r--r--net/coilmq/distinfo5
4 files changed, 193 insertions, 0 deletions
diff --git a/net/coilmq/DESCR b/net/coilmq/DESCR
new file mode 100644
index 00000000000..e943f21aa04
--- /dev/null
+++ b/net/coilmq/DESCR
@@ -0,0 +1,5 @@
+CoilMQ is a simple, configurable STOMP message broker (aka STOMP server)
+written in Python. This project is inspired by the simple design of the Ruby
+stompserver project by Patrick Hurley and Lionel Bouton. The goal of this
+project is to provide a well-tested and well-documented Python implementation
+with a good set of built-in functionality and numerous paths for extensibility.
diff --git a/net/coilmq/Makefile b/net/coilmq/Makefile
new file mode 100644
index 00000000000..b54fe68c4c8
--- /dev/null
+++ b/net/coilmq/Makefile
@@ -0,0 +1,57 @@
+# $NetBSD: Makefile,v 1.1 2012/08/14 15:35:00 imil Exp $
+#
+
+DISTNAME= CoilMQ-0.6.1
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= net python
+MASTER_SITES= http://coilmq.googlecode.com/files/
+
+MAINTAINER= imil@NetBSD.org
+HOMEPAGE= http://code.google.com/p/coilmq/
+COMMENT= Lightweight Python STOMP message broker
+LICENSE= apache-2.0
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+DEPENDS+= ${PYPKGPREFIX}-sqlalchemy>=0.6.9:../../databases/py-sqlalchemy
+DEPENDS+= ${PYPKGPREFIX}-stompclient>=0.3.2:../../devel/py-stompclient
+DEPENDS+= ${PYPKGPREFIX}-daemon>=1.5.5:../../devel/py-daemon
+
+USE_LANGUAGES= # none
+
+REPLACE_INTERPRETER+= python
+REPLACE.python.old= python
+REPLACE.python.new= ${PYTHONBIN}
+REPLACE_FILES.python= distribute_setup.py coilmq/start.py
+
+SUBST_CLASSES+= cfg
+SUBST_STAGE.cfg= post-patch
+SUBST_FILES.cfg= coilmq/config/__init__.py
+SUBST_SED.cfg= -e 's,/path/to/config.cfg,${PKG_SYSCONFDIR}/coilmq/defaults.cfg,'
+
+.include "../../lang/python/egg.mk"
+
+# setup.py has python distribute as a dependency
+.if ${_PYTHON_VERSION} < 31
+SUBST_CLASSES+= setup
+SUBST_STAGE.setup= post-patch
+SUBST_FILES.setup= setup.py
+SUBST_SED.setup= -e 's,distribute,setuptools,'
+.endif
+
+EGDIR= ${PREFIX}/share/examples/coilmq
+
+INSTALLATION_DIRS+= ${EGDIR} ${PKG_SYSCONFDIR}/coilmq
+
+CONF_FILES= ${EGDIR}/defaults.cfg \
+ ${PKG_SYSCONFDIR}/coilmq/defaults.cfg \
+ ${EGDIR}/coilmq.cfg-sample \
+ ${PKG_SYSCONFDIR}/coilmq/coilmq.cfg
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/coilmq/config/defaults.cfg \
+ ${DESTDIR}${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/coilmq/config/coilmq.cfg-sample \
+ ${DESTDIR}${EGDIR}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/coilmq/PLIST b/net/coilmq/PLIST
new file mode 100644
index 00000000000..3317b843b1e
--- /dev/null
+++ b/net/coilmq/PLIST
@@ -0,0 +1,126 @@
+@comment $NetBSD: PLIST,v 1.1 2012/08/14 15:35:00 imil Exp $
+bin/coilmq
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/coilmq/__init__.py
+${PYSITELIB}/coilmq/__init__.pyc
+${PYSITELIB}/coilmq/__init__.pyo
+${PYSITELIB}/coilmq/auth/__init__.py
+${PYSITELIB}/coilmq/auth/__init__.pyc
+${PYSITELIB}/coilmq/auth/__init__.pyo
+${PYSITELIB}/coilmq/auth/simple.py
+${PYSITELIB}/coilmq/auth/simple.pyc
+${PYSITELIB}/coilmq/auth/simple.pyo
+${PYSITELIB}/coilmq/config/__init__.py
+${PYSITELIB}/coilmq/config/__init__.pyc
+${PYSITELIB}/coilmq/config/__init__.pyo
+${PYSITELIB}/coilmq/config/coilmq.cfg-sample
+${PYSITELIB}/coilmq/config/defaults.cfg
+${PYSITELIB}/coilmq/engine.py
+${PYSITELIB}/coilmq/engine.pyc
+${PYSITELIB}/coilmq/engine.pyo
+${PYSITELIB}/coilmq/exception.py
+${PYSITELIB}/coilmq/exception.pyc
+${PYSITELIB}/coilmq/exception.pyo
+${PYSITELIB}/coilmq/queue.py
+${PYSITELIB}/coilmq/queue.pyc
+${PYSITELIB}/coilmq/queue.pyo
+${PYSITELIB}/coilmq/scheduler.py
+${PYSITELIB}/coilmq/scheduler.pyc
+${PYSITELIB}/coilmq/scheduler.pyo
+${PYSITELIB}/coilmq/server/__init__.py
+${PYSITELIB}/coilmq/server/__init__.pyc
+${PYSITELIB}/coilmq/server/__init__.pyo
+${PYSITELIB}/coilmq/server/socketserver.py
+${PYSITELIB}/coilmq/server/socketserver.pyc
+${PYSITELIB}/coilmq/server/socketserver.pyo
+${PYSITELIB}/coilmq/start.py
+${PYSITELIB}/coilmq/start.pyc
+${PYSITELIB}/coilmq/start.pyo
+${PYSITELIB}/coilmq/store/__init__.py
+${PYSITELIB}/coilmq/store/__init__.pyc
+${PYSITELIB}/coilmq/store/__init__.pyo
+${PYSITELIB}/coilmq/store/dbm.py
+${PYSITELIB}/coilmq/store/dbm.pyc
+${PYSITELIB}/coilmq/store/dbm.pyo
+${PYSITELIB}/coilmq/store/memory.py
+${PYSITELIB}/coilmq/store/memory.pyc
+${PYSITELIB}/coilmq/store/memory.pyo
+${PYSITELIB}/coilmq/store/sa/__init__.py
+${PYSITELIB}/coilmq/store/sa/__init__.pyc
+${PYSITELIB}/coilmq/store/sa/__init__.pyo
+${PYSITELIB}/coilmq/store/sa/meta.py
+${PYSITELIB}/coilmq/store/sa/meta.pyc
+${PYSITELIB}/coilmq/store/sa/meta.pyo
+${PYSITELIB}/coilmq/store/sa/model.py
+${PYSITELIB}/coilmq/store/sa/model.pyc
+${PYSITELIB}/coilmq/store/sa/model.pyo
+${PYSITELIB}/coilmq/tests/__init__.py
+${PYSITELIB}/coilmq/tests/__init__.pyc
+${PYSITELIB}/coilmq/tests/__init__.pyo
+${PYSITELIB}/coilmq/tests/functional/__init__.py
+${PYSITELIB}/coilmq/tests/functional/__init__.pyc
+${PYSITELIB}/coilmq/tests/functional/__init__.pyo
+${PYSITELIB}/coilmq/tests/functional/test_basic.py
+${PYSITELIB}/coilmq/tests/functional/test_basic.pyc
+${PYSITELIB}/coilmq/tests/functional/test_basic.pyo
+${PYSITELIB}/coilmq/tests/functional/test_basic_sa.py
+${PYSITELIB}/coilmq/tests/functional/test_basic_sa.pyc
+${PYSITELIB}/coilmq/tests/functional/test_basic_sa.pyo
+${PYSITELIB}/coilmq/tests/mock.py
+${PYSITELIB}/coilmq/tests/mock.pyc
+${PYSITELIB}/coilmq/tests/mock.pyo
+${PYSITELIB}/coilmq/tests/resources/__init__.py
+${PYSITELIB}/coilmq/tests/resources/__init__.pyc
+${PYSITELIB}/coilmq/tests/resources/__init__.pyo
+${PYSITELIB}/coilmq/tests/resources/auth.ini
+${PYSITELIB}/coilmq/tests/store/__init__.py
+${PYSITELIB}/coilmq/tests/store/__init__.pyc
+${PYSITELIB}/coilmq/tests/store/__init__.pyo
+${PYSITELIB}/coilmq/tests/store/test_dbm.py
+${PYSITELIB}/coilmq/tests/store/test_dbm.pyc
+${PYSITELIB}/coilmq/tests/store/test_dbm.pyo
+${PYSITELIB}/coilmq/tests/store/test_memory.py
+${PYSITELIB}/coilmq/tests/store/test_memory.pyc
+${PYSITELIB}/coilmq/tests/store/test_memory.pyo
+${PYSITELIB}/coilmq/tests/store/test_sa.py
+${PYSITELIB}/coilmq/tests/store/test_sa.pyc
+${PYSITELIB}/coilmq/tests/store/test_sa.pyo
+${PYSITELIB}/coilmq/tests/test_auth.py
+${PYSITELIB}/coilmq/tests/test_auth.pyc
+${PYSITELIB}/coilmq/tests/test_auth.pyo
+${PYSITELIB}/coilmq/tests/test_engine.py
+${PYSITELIB}/coilmq/tests/test_engine.pyc
+${PYSITELIB}/coilmq/tests/test_engine.pyo
+${PYSITELIB}/coilmq/tests/test_queue.py
+${PYSITELIB}/coilmq/tests/test_queue.pyc
+${PYSITELIB}/coilmq/tests/test_queue.pyo
+${PYSITELIB}/coilmq/tests/test_queue_dbm.py
+${PYSITELIB}/coilmq/tests/test_queue_dbm.pyc
+${PYSITELIB}/coilmq/tests/test_queue_dbm.pyo
+${PYSITELIB}/coilmq/tests/test_queue_sa.py
+${PYSITELIB}/coilmq/tests/test_queue_sa.pyc
+${PYSITELIB}/coilmq/tests/test_queue_sa.pyo
+${PYSITELIB}/coilmq/tests/test_scheduler.py
+${PYSITELIB}/coilmq/tests/test_scheduler.pyc
+${PYSITELIB}/coilmq/tests/test_scheduler.pyo
+${PYSITELIB}/coilmq/tests/test_topic.py
+${PYSITELIB}/coilmq/tests/test_topic.pyc
+${PYSITELIB}/coilmq/tests/test_topic.pyo
+${PYSITELIB}/coilmq/topic.py
+${PYSITELIB}/coilmq/topic.pyc
+${PYSITELIB}/coilmq/topic.pyo
+${PYSITELIB}/coilmq/util/__init__.py
+${PYSITELIB}/coilmq/util/__init__.pyc
+${PYSITELIB}/coilmq/util/__init__.pyo
+${PYSITELIB}/coilmq/util/concurrency.py
+${PYSITELIB}/coilmq/util/concurrency.pyc
+${PYSITELIB}/coilmq/util/concurrency.pyo
+share/examples/coilmq/coilmq.cfg-sample
+share/examples/coilmq/defaults.cfg
+@pkgdir etc/coilmq
diff --git a/net/coilmq/distinfo b/net/coilmq/distinfo
new file mode 100644
index 00000000000..86fe1d697fb
--- /dev/null
+++ b/net/coilmq/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2012/08/14 15:35:00 imil Exp $
+
+SHA1 (CoilMQ-0.6.1.tar.gz) = 347ec03cc3a4baecd6aa6ff211ad85ea49a2ecaf
+RMD160 (CoilMQ-0.6.1.tar.gz) = bdc6832b6916cda983816e8450b901cd4432d8c7
+Size (CoilMQ-0.6.1.tar.gz) = 39648 bytes