diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2010-05-25 20:14:18 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2010-05-25 20:14:18 +0000 |
commit | 3425efcfd407a2d46781e373a6e8d9b22fcbd717 (patch) | |
tree | 8ba6df84b42409933cbd2e91fc5b13791b612ef1 /net-im | |
parent | 05e815f4bd44d98fe8905b932c8694ae526aeca3 (diff) | |
download | ports-3425efcfd407a2d46781e373a6e8d9b22fcbd717.tar.gz ports-3425efcfd407a2d46781e373a6e8d9b22fcbd717.zip |
Notes
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/Makefile | 1 | ||||
-rw-r--r-- | net-im/pwytter/Makefile | 50 | ||||
-rw-r--r-- | net-im/pwytter/distinfo | 3 | ||||
-rw-r--r-- | net-im/pwytter/pkg-descr | 15 | ||||
-rw-r--r-- | net-im/pwytter/pkg-plist | 127 |
5 files changed, 196 insertions, 0 deletions
diff --git a/net-im/Makefile b/net-im/Makefile index 8d57b1f96696..8e7b767c7b95 100644 --- a/net-im/Makefile +++ b/net-im/Makefile @@ -130,6 +130,7 @@ SUBDIR += pork SUBDIR += prosody SUBDIR += psi + SUBDIR += pwytter SUBDIR += py-jabber SUBDIR += py-jabberbot SUBDIR += py-msnp diff --git a/net-im/pwytter/Makefile b/net-im/pwytter/Makefile new file mode 100644 index 000000000000..a45affe9281f --- /dev/null +++ b/net-im/pwytter/Makefile @@ -0,0 +1,50 @@ +# New ports collection makefile for: Pwytter +# Date created: 24 May 2010 +# Whom: Alexey Dokuchaev <danfe@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= pwytter +PORTVERSION= 0.8 +CATEGORIES= net-im www python +MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} +DISTNAME= ${PORTNAME}-${PORTVERSION}-src + +MAINTAINER= danfe@FreeBSD.org +COMMENT= A free multi-platform Twitter client written in Python + +BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter \ + ${PYTHON_SITELIBDIR}/PIL/_imaging.so:${PORTSDIR}/graphics/py-imaging \ + ${PYTHON_PKGNAMEPREFIX}simplejson>=1.7.1:${PORTSDIR}/devel/py-simplejson + +RUN_DEPENDS:= ${BUILD_DEPENDS} + +USE_ZIP= yes +USE_GETTEXT= yes +USE_PYTHON= yes +USE_PYDISTUTILS= easy_install +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} + +post-patch: .SILENT + ${RM} -r ${WRKSRC}/twclient/simplejson +# Prefer system-wide `simplejson' module; fix for broken `setup.py': include +# `pwCache.py' in sources list, adjust locale data path + ${REINPLACE_CMD} -e "s|'simplejson|}, #&|" \ + -e "s|pwParam|pwCache','&|" ${WRKSRC}/setup.py + ${REINPLACE_CMD} -e 's|locale_path =|& "${PYEASYINSTALL_SITELIBDIR}/${PYEASYINSTALL_EGG}/locale" #|' \ + ${WRKSRC}/pwytter.py +# Adjust paths for themes and media (don't assume they are relative to .) + ${REINPLACE_CMD} -e 's|media"|${DATADIR}/&|' ${WRKSRC}/pwytter.py \ + ${WRKSRC}/twclient/__init__.py + ${REINPLACE_CMD} -e "s|theme'|${DATADIR}/&|" ${WRKSRC}/pwTheme.py +# Remove gettext `.po' files: not needed when we have them precompiled + ${FIND} ${WRKSRC}/locale -name pwytter.po -delete + +post-install: +# Install themes and media files where they belong + @${MKDIR} ${DATADIR}/media ${DATADIR}/theme + @${INSTALL_DATA} ${WRKSRC}/media/* ${DATADIR}/media + @${INSTALL_DATA} ${WRKSRC}/theme/* ${DATADIR}/theme + +.include <bsd.port.mk> diff --git a/net-im/pwytter/distinfo b/net-im/pwytter/distinfo new file mode 100644 index 000000000000..e13831b5eda2 --- /dev/null +++ b/net-im/pwytter/distinfo @@ -0,0 +1,3 @@ +MD5 (pwytter-0.8-src.zip) = 44a9c2e193614f155ea9d832eb95373f +SHA256 (pwytter-0.8-src.zip) = b14f64922d25ecdcfa4152ff33c8eef607b06956700ea7b491febea5c6f15f62 +SIZE (pwytter-0.8-src.zip) = 137671 diff --git a/net-im/pwytter/pkg-descr b/net-im/pwytter/pkg-descr new file mode 100644 index 000000000000..ec19bec5d14c --- /dev/null +++ b/net-im/pwytter/pkg-descr @@ -0,0 +1,15 @@ +Pwytter is a multi-platform, standalone Twitter client written in Python +using Tkinter. It currently features: + + - Switchable timelines: User (own tweets), Friends, Public, Replies, + Direct messages, Composite + - Clean and compact user interface + - Full Unicode support for all languages + - Friends and Followers list display + - Easy Replies and Direct Messages + - In message URL detection + - Image and request caching for fast UI response + - Automatic and manual refresh + - Pwytter update autodetection + +WWW: http://www.pwytter.com/ diff --git a/net-im/pwytter/pkg-plist b/net-im/pwytter/pkg-plist new file mode 100644 index 000000000000..6e920cae54ca --- /dev/null +++ b/net-im/pwytter/pkg-plist @@ -0,0 +1,127 @@ +bin/pwytter.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/scripts/pwytter.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/locale/de_DE/LC_MESSAGES/pwytter.mo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/locale/en_US/LC_MESSAGES/pwytter.mo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/locale/es_ES/LC_MESSAGES/pwytter.mo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/locale/fr_FR/LC_MESSAGES/pwytter.mo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/locale/it_IT/LC_MESSAGES/pwytter.mo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/locale/ja_JP/LC_MESSAGES/pwytter.mo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/locale/pl_PL/LC_MESSAGES/pwytter.mo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/locale/pt_BR/LC_MESSAGES/pwytter.mo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/locale/ro_RO/LC_MESSAGES/pwytter.mo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/locale/ru_RU/LC_MESSAGES/pwytter.mo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/locale/sr_RS/LC_MESSAGES/pwytter.mo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/locale/sv_SE/LC_MESSAGES/pwytter.mo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/locale/zh_CN/LC_MESSAGES/pwytter.mo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/locale/zh_TW/LC_MESSAGES/pwytter.mo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pwCache.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pwCache.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pwCache.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pwParam.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pwParam.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pwParam.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pwSplashScreen.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pwSplashScreen.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pwSplashScreen.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pwTheme.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pwTheme.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pwTheme.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pwTools.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pwTools.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pwTools.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pwytter.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pwytter.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pwytter.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/text/CHANGES.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/text/COPYING.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/text/LICENSE.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tkBalloon.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tkBalloon.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tkBalloon.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/twclient/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/twclient/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/twclient/__init__.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/twclient/twitter.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/twclient/twitter.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/twclient/twitter.pyo +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/twclient +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/text +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/locale/zh_TW/LC_MESSAGES +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/locale/zh_TW +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/locale/zh_CN/LC_MESSAGES +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/locale/zh_CN +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/locale/sv_SE/LC_MESSAGES +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/locale/sv_SE +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/locale/sr_RS/LC_MESSAGES +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/locale/sr_RS +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/locale/ru_RU/LC_MESSAGES +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/locale/ru_RU +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/locale/ro_RO/LC_MESSAGES +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/locale/ro_RO +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/locale/pt_BR/LC_MESSAGES +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/locale/pt_BR +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/locale/pl_PL/LC_MESSAGES +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/locale/pl_PL +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/locale/ja_JP/LC_MESSAGES +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/locale/ja_JP +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/locale/it_IT/LC_MESSAGES +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/locale/it_IT +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/locale/fr_FR/LC_MESSAGES +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/locale/fr_FR +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/locale/es_ES/LC_MESSAGES +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/locale/es_ES +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/locale/en_US/LC_MESSAGES +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/locale/en_US +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/locale/de_DE/LC_MESSAGES +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/locale/de_DE +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/locale +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/scripts +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% +%%DATADIR%%/media/arrow_down.png +%%DATADIR%%/media/arrow_nb.png +%%DATADIR%%/media/arrow_refresh.png +%%DATADIR%%/media/arrow_right.png +%%DATADIR%%/media/arrow_undo.png +%%DATADIR%%/media/asterisk_nb.png +%%DATADIR%%/media/asterisk_yellow.png +%%DATADIR%%/media/award_star_gold_2.png +%%DATADIR%%/media/br.gif +%%DATADIR%%/media/cn.gif +%%DATADIR%%/media/cog.png +%%DATADIR%%/media/comment.png +%%DATADIR%%/media/cross.png +%%DATADIR%%/media/de.gif +%%DATADIR%%/media/es.gif +%%DATADIR%%/media/fr.gif +%%DATADIR%%/media/home.png +%%DATADIR%%/media/it.gif +%%DATADIR%%/media/jp.gif +%%DATADIR%%/media/loading.png +%%DATADIR%%/media/page_go.png +%%DATADIR%%/media/pl.gif +%%DATADIR%%/media/pwytter.icns +%%DATADIR%%/media/pwytter.ico +%%DATADIR%%/media/pwytter.png +%%DATADIR%%/media/pwytter.svg +%%DATADIR%%/media/ro.gif +%%DATADIR%%/media/rs.gif +%%DATADIR%%/media/ru.gif +%%DATADIR%%/media/se.gif +%%DATADIR%%/media/side_contract.png +%%DATADIR%%/media/side_expand.png +%%DATADIR%%/media/tw.gif +%%DATADIR%%/media/us.gif +%%DATADIR%%/media/world_go.png +%%DATADIR%%/media/world_nb.png +%%DATADIR%%/theme/black.pwt +%%DATADIR%%/theme/blue.pwt +%%DATADIR%%/theme/white.pwt +@dirrm %%DATADIR%%/theme +@dirrm %%DATADIR%%/media +@dirrm %%DATADIR%% |