- import telepathy-pinocchio 0.3.1
Telepathy-pinocchio is a connection manager meant for testing Telepathy applications. Pinocchio interacts with settings files on the filesystem instead of a remote server, thereby removing two of the biggest stumbling blocks for testing a Telepathy-based application: the network and control over the back-end server.
This commit is contained in:
parent
7666650d0c
commit
c363c5c471
18
net/telepathy/telepathy-pinocchio/Makefile
Normal file
18
net/telepathy/telepathy-pinocchio/Makefile
Normal file
@ -0,0 +1,18 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2008/10/27 00:10:16 jasper Exp $
|
||||
|
||||
COMMENT= connection manager meant for testing Telepathy
|
||||
|
||||
DISTNAME= telepathy-pinocchio-0.3.1
|
||||
|
||||
MASTER_SITES= ${MASTER_SITES_TELEPATHY:=telepathy-pinocchio/}
|
||||
|
||||
MODULES= lang/python
|
||||
|
||||
NO_REGRESS= Yes
|
||||
|
||||
SUBST_VARS= MODPY_BIN
|
||||
|
||||
pre-configure:
|
||||
${SUBST_CMD} ${WRKSRC}/bin/pinocchio-ctl ${WRKSRC}/pinocchio/common.py
|
||||
|
||||
.include <bsd.port.mk>
|
5
net/telepathy/telepathy-pinocchio/distinfo
Normal file
5
net/telepathy/telepathy-pinocchio/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (telepathy-pinocchio-0.3.1.tar.gz) = CL7QNjKWcIVTRsUISkJLDQ==
|
||||
RMD160 (telepathy-pinocchio-0.3.1.tar.gz) = hhxWyUbaEMICt1UXdb5P5K9Wflk=
|
||||
SHA1 (telepathy-pinocchio-0.3.1.tar.gz) = Lxk+o+W5MnlKvX9M+yM9vkCJgr4=
|
||||
SHA256 (telepathy-pinocchio-0.3.1.tar.gz) = eaCa8t+62bZ53Q5l20r5qOThSaQABUytCcpn5xRnjtE=
|
||||
SIZE (telepathy-pinocchio-0.3.1.tar.gz) = 69221
|
@ -0,0 +1,9 @@
|
||||
$OpenBSD: patch-bin_pinocchio-ctl,v 1.1.1.1 2008/10/27 00:10:16 jasper Exp $
|
||||
--- bin/pinocchio-ctl.orig Sun Oct 26 20:25:00 2008
|
||||
+++ bin/pinocchio-ctl Sun Oct 26 20:25:02 2008
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/bin/env python
|
||||
+#!${MODPY_BIN}
|
||||
|
||||
# pinocchio-ctl - manipulate an account on the telepathy-pinocchio connection
|
||||
# manager
|
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-pinocchio_common_py,v 1.1.1.1 2008/10/27 00:10:16 jasper Exp $
|
||||
--- pinocchio/common.py.orig Sun Oct 26 19:52:52 2008
|
||||
+++ pinocchio/common.py Sun Oct 26 19:53:03 2008
|
||||
@@ -28,7 +28,7 @@ ACCOUNT_DEFAULT = 'default@default'
|
||||
CONTACTS_FILENAME='contacts.xml'
|
||||
# this is a pseudo-enum
|
||||
PREFIX_DEFAULT, PREFIX_SAVED, PREFIX_SAVED_PREFERRED = range(3)
|
||||
-DATA_DIR_DEFAULT = '/var/lib/telepathy-pinocchio'
|
||||
+DATA_DIR_DEFAULT = '${PREFIX}/share/telepathy-pinocchio'
|
||||
DATA_DIR_SAVED = os.path.join(os.path.expanduser('~'), '.telepathy-pinocchio')
|
||||
AVATAR_DIR_DEFAULT = os.path.join(DATA_DIR_DEFAULT, 'avatars')
|
||||
AVATAR_DIR_SAVED = os.path.join(DATA_DIR_SAVED, 'avatars')
|
19
net/telepathy/telepathy-pinocchio/patches/patch-setup_py
Normal file
19
net/telepathy/telepathy-pinocchio/patches/patch-setup_py
Normal file
@ -0,0 +1,19 @@
|
||||
$OpenBSD: patch-setup_py,v 1.1.1.1 2008/10/27 00:10:16 jasper Exp $
|
||||
--- setup.py.orig Sun Oct 26 19:47:06 2008
|
||||
+++ setup.py Sun Oct 26 19:52:24 2008
|
||||
@@ -18,12 +18,12 @@ setup(name='telepathy-pinocchio',
|
||||
('share/dbus-1/services',
|
||||
['data/org.freedesktop.Telepathy.ConnectionManager'
|
||||
'.pinocchio.service']),
|
||||
- ('/var/lib/telepathy-pinocchio/accounts/'
|
||||
+ ('share/telepathy-pinocchio/accounts/'
|
||||
'anotherdefault_40default',
|
||||
['data/accounts/anotherdefault_40default/contacts.xml']),
|
||||
- ('/var/lib/telepathy-pinocchio/accounts/default_40default',
|
||||
+ ('share/telepathy-pinocchio/accounts/default_40default',
|
||||
['data/accounts/default_40default/contacts.xml']),
|
||||
- ('/var/lib/telepathy-pinocchio/avatars',
|
||||
+ ('share/telepathy-pinocchio/avatars',
|
||||
['data/avatars/a.png',
|
||||
'data/avatars/avatar.png',
|
||||
'data/avatars/b.png',
|
5
net/telepathy/telepathy-pinocchio/pkg/DESCR
Normal file
5
net/telepathy/telepathy-pinocchio/pkg/DESCR
Normal file
@ -0,0 +1,5 @@
|
||||
Telepathy-pinocchio is a connection manager meant for testing Telepathy
|
||||
applications. Pinocchio interacts with settings files on the filesystem
|
||||
instead of a remote server, thereby removing two of the biggest
|
||||
stumbling blocks for testing a Telepathy-based application: the network
|
||||
and control over the back-end server.
|
51
net/telepathy/telepathy-pinocchio/pkg/PLIST
Normal file
51
net/telepathy/telepathy-pinocchio/pkg/PLIST
Normal file
@ -0,0 +1,51 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/10/27 00:10:16 jasper Exp $
|
||||
bin/pinocchio-ctl
|
||||
lib/python${MODPY_VERSION}/site-packages/pinocchio/
|
||||
lib/python${MODPY_VERSION}/site-packages/pinocchio/__init__.py
|
||||
lib/python${MODPY_VERSION}/site-packages/pinocchio/__init__.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/pinocchio/channel/
|
||||
lib/python${MODPY_VERSION}/site-packages/pinocchio/channel/__init__.py
|
||||
lib/python${MODPY_VERSION}/site-packages/pinocchio/channel/__init__.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/pinocchio/channel/contact_list.py
|
||||
lib/python${MODPY_VERSION}/site-packages/pinocchio/channel/contact_list.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/pinocchio/common.py
|
||||
lib/python${MODPY_VERSION}/site-packages/pinocchio/common.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/pinocchio/connection/
|
||||
lib/python${MODPY_VERSION}/site-packages/pinocchio/connection/__init__.py
|
||||
lib/python${MODPY_VERSION}/site-packages/pinocchio/connection/__init__.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/pinocchio/connection/aliasing.py
|
||||
lib/python${MODPY_VERSION}/site-packages/pinocchio/connection/aliasing.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/pinocchio/connection/avatars.py
|
||||
lib/python${MODPY_VERSION}/site-packages/pinocchio/connection/avatars.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/pinocchio/connection/capabilities.py
|
||||
lib/python${MODPY_VERSION}/site-packages/pinocchio/connection/capabilities.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/pinocchio/connection/presence.py
|
||||
lib/python${MODPY_VERSION}/site-packages/pinocchio/connection/presence.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/pinocchio/connection_manager.py
|
||||
lib/python${MODPY_VERSION}/site-packages/pinocchio/connection_manager.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/pinocchio/server/
|
||||
lib/python${MODPY_VERSION}/site-packages/pinocchio/server/__init__.py
|
||||
lib/python${MODPY_VERSION}/site-packages/pinocchio/server/__init__.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/telepathy_pinocchio-0.3.1-py${MODPY_VERSION}.egg-info
|
||||
lib/telepathy/
|
||||
lib/telepathy/telepathy-pinocchio
|
||||
lib/telepathy/telepathy-pinocchio-wrapper.sh
|
||||
share/dbus-1/
|
||||
share/dbus-1/services/
|
||||
share/dbus-1/services/org.freedesktop.Telepathy.ConnectionManager.pinocchio.service
|
||||
share/telepathy/
|
||||
share/telepathy-pinocchio/
|
||||
share/telepathy-pinocchio/accounts/
|
||||
share/telepathy-pinocchio/accounts/anotherdefault_40default/
|
||||
share/telepathy-pinocchio/accounts/anotherdefault_40default/contacts.xml
|
||||
share/telepathy-pinocchio/accounts/default_40default/
|
||||
share/telepathy-pinocchio/accounts/default_40default/contacts.xml
|
||||
share/telepathy-pinocchio/avatars/
|
||||
share/telepathy-pinocchio/avatars/a.png
|
||||
share/telepathy-pinocchio/avatars/avatar.png
|
||||
share/telepathy-pinocchio/avatars/b.png
|
||||
share/telepathy-pinocchio/avatars/c.png
|
||||
share/telepathy-pinocchio/avatars/foo_bar_baz.png
|
||||
share/telepathy-pinocchio/avatars/qux.jpg
|
||||
share/telepathy/managers/
|
||||
share/telepathy/managers/pinocchio.manager
|
Loading…
x
Reference in New Issue
Block a user