aboutsummaryrefslogtreecommitdiff
path: root/net/turses
diff options
context:
space:
mode:
authorKubilay Kocak <koobs@FreeBSD.org>2013-06-21 12:35:50 +0000
committerKubilay Kocak <koobs@FreeBSD.org>2013-06-21 12:35:50 +0000
commitb110de560045a5fb9921370a0dc10c67dbb76337 (patch)
treebf7d8303197ce7c84c0fe3fc7c93e10ec7df051a /net/turses
parentfa0e74cf70bdb109d4cb1ae28bfb6348b2dee7a1 (diff)
downloadports-b110de560045a5fb9921370a0dc10c67dbb76337.tar.gz
ports-b110de560045a5fb9921370a0dc10c67dbb76337.zip
Notes
Diffstat (limited to 'net/turses')
-rw-r--r--net/turses/Makefile38
-rw-r--r--net/turses/distinfo2
-rw-r--r--net/turses/files/patch-setup.py21
-rw-r--r--net/turses/pkg-descr21
-rw-r--r--net/turses/pkg-plist54
5 files changed, 136 insertions, 0 deletions
diff --git a/net/turses/Makefile b/net/turses/Makefile
new file mode 100644
index 000000000000..e99bbefef371
--- /dev/null
+++ b/net/turses/Makefile
@@ -0,0 +1,38 @@
+# Created by: Kubilay Kocak <koobs@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= turses
+PORTVERSION= 0.2.14
+CATEGORIES= net python
+MASTER_SITES= CHEESESHOP
+
+MAINTAINER= koobs@FreeBSD.org
+COMMENT= Python Twitter client for the console
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}oauth2>0:${PORTSDIR}/net/py-oauth2 \
+ ${PYTHON_PKGNAMEPREFIX}urwid>0:${PORTSDIR}/devel/py-urwid \
+ ${PYTHON_PKGNAMEPREFIX}tweepy>=2.0:${PORTSDIR}/net/py-tweepy
+
+TEST_DEPENDS:= ${RUN_DEPENDS} \
+ ${PYTHON_PKGNAMEPREFIX}nose>0:${PORTSDIR}/devel/py-nose \
+ ${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock
+
+LICENCE= GPLv3
+
+OPTIONS_DEFINE= TESTS
+TESTS_DESC= Install tools for unit tests
+OPTIONSFILE?= ${PORT_DBDIR}/py-${PORTNAME}/options
+
+.include <bsd.port.options.mk>
+
+USE_PYTHON= -2.7
+USE_PYDISTUTILS= easy_install
+
+.if ${PORT_OPTIONS:MTESTS}
+BUILD_DEPENDS:= ${TEST_DEPENDS}
+.endif
+
+regression-test: build
+ @cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
+
+.include <bsd.port.mk>
diff --git a/net/turses/distinfo b/net/turses/distinfo
new file mode 100644
index 000000000000..ed1611ad91f9
--- /dev/null
+++ b/net/turses/distinfo
@@ -0,0 +1,2 @@
+SHA256 (turses-0.2.14.tar.gz) = b7bdf2c72c8cd490f0d74513a5c3b237cdda313fc2d999a907b02c3211ba72eb
+SIZE (turses-0.2.14.tar.gz) = 51141
diff --git a/net/turses/files/patch-setup.py b/net/turses/files/patch-setup.py
new file mode 100644
index 000000000000..58ceb123d7b5
--- /dev/null
+++ b/net/turses/files/patch-setup.py
@@ -0,0 +1,21 @@
+--- ./setup.py.orig 2013-03-01 06:30:47.000000000 +1100
++++ ./setup.py 2013-06-21 22:07:23.588789531 +1000
+@@ -47,7 +47,7 @@
+ REQUIREMENTS.append("argparse")
+
+ TEST_REQUIREMENTS = list(REQUIREMENTS)
+-TEST_REQUIREMENTS.extend(["mock", "nose", "coverage", "tox"])
++TEST_REQUIREMENTS.extend(["mock", "nose"])
+
+ try:
+ long_description = open("README.rst").read() + "\n\n" + open("HISTORY.rst").read()
+@@ -80,5 +80,8 @@
+ "Programming Language :: Python :: 2.7",
+ "Topic :: Communications",
+ ],
++ zip_safe=False,
++ test_suite = 'nose.collector',
+ install_requires=REQUIREMENTS,
+- tests_require=TEST_REQUIREMENTS)
++ tests_require=TEST_REQUIREMENTS),
++
diff --git a/net/turses/pkg-descr b/net/turses/pkg-descr
new file mode 100644
index 000000000000..a9b79154b8fc
--- /dev/null
+++ b/net/turses/pkg-descr
@@ -0,0 +1,21 @@
+A Twitter client for the console. The goal of the project is to build a
+full-featured, lightweight, and extremely configurable Twitter client.
+
+Features:
+
+ - Multiple timelines (buffers)
+ - Multi-column
+ - Tweet, Reply, Retweet, Delete tweet
+ - Follow/Unfollow
+ - Favorite/Unfavorite
+ - Direct Messages
+ - Open URLs in browser
+ - Thread view
+ - Unread count
+ - Search
+ - View users tweets
+ - Fully customizable
+ - Multiple accounts
+ - View user profile
+
+WWW: https://github.com/alejandrogomez/turses
diff --git a/net/turses/pkg-plist b/net/turses/pkg-plist
new file mode 100644
index 000000000000..e557305b98ed
--- /dev/null
+++ b/net/turses/pkg-plist
@@ -0,0 +1,54 @@
+bin/turses
+%%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/entry_points.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/requires.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/turses/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/turses/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/turses/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/turses/api/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/turses/api/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/turses/api/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/turses/api/backends.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/turses/api/backends.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/turses/api/backends.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/turses/api/base.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/turses/api/base.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/turses/api/base.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/turses/api/debug.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/turses/api/debug.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/turses/api/debug.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/turses/api/helpers.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/turses/api/helpers.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/turses/api/helpers.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/turses/cli.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/turses/cli.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/turses/cli.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/turses/config.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/turses/config.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/turses/config.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/turses/core.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/turses/core.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/turses/core.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/turses/meta.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/turses/meta.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/turses/meta.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/turses/models.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/turses/models.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/turses/models.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/turses/session.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/turses/session.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/turses/session.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/turses/ui.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/turses/ui.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/turses/ui.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/turses/utils.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/turses/utils.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/turses/utils.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/turses/api
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/turses
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%