svn commit: r345665 - in head/net-im: . py-libturpial py-libturpial/files
Olivier Duchateau
olivierd at FreeBSD.org
Sat Feb 22 16:48:22 UTC 2014
Author: olivierd
Date: Sat Feb 22 16:48:20 2014
New Revision: 345665
URL: http://svnweb.freebsd.org/changeset/ports/345665
QAT: https://qat.redports.org/buildarchive/r345665/
Log:
libturpial is a library that handles multiple microblogging protocols
(Identi.ca, Twitter). It implements a lot of features and aims to support
all the features for each protocol.
WWW: http://turpial.org.ve/
Added:
head/net-im/py-libturpial/
head/net-im/py-libturpial/Makefile (contents, props changed)
head/net-im/py-libturpial/distinfo (contents, props changed)
head/net-im/py-libturpial/files/
head/net-im/py-libturpial/files/patch-libturpial__common____init__.py (contents, props changed)
head/net-im/py-libturpial/files/patch-libturpial__common__tools.py (contents, props changed)
head/net-im/py-libturpial/pkg-descr (contents, props changed)
Modified:
head/net-im/Makefile
Modified: head/net-im/Makefile
==============================================================================
--- head/net-im/Makefile Sat Feb 22 16:45:59 2014 (r345664)
+++ head/net-im/Makefile Sat Feb 22 16:48:20 2014 (r345665)
@@ -128,6 +128,7 @@
SUBDIR += pwytter
SUBDIR += py-jabber
SUBDIR += py-jabberbot
+ SUBDIR += py-libturpial
SUBDIR += py-punjab
SUBDIR += py-pyxmpp
SUBDIR += py-skype4py
Added: head/net-im/py-libturpial/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-im/py-libturpial/Makefile Sat Feb 22 16:48:20 2014 (r345665)
@@ -0,0 +1,24 @@
+# Created by: Olivier Duchateau
+# $FreeBSD$
+
+PORTNAME= libturpial
+PORTVERSION= 1.6.0
+CATEGORIES= net-im python
+MASTER_SITES= http://files.turpial.org.ve/sources/stable/ \
+ CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= python at FreeBSD.org
+COMMENT= Twitter and Identi.ca API
+
+LICENSE= GPLv3
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}simplejson>=3.3.1:${PORTSDIR}/devel/py-simplejson \
+ ${PYTHON_PKGNAMEPREFIX}oauth>=1.0.1:${PORTSDIR}/net/py-oauth \
+ ${PYTHON_PKGNAMEPREFIX}requests>=1.2.3:${PORTSDIR}/www/py-requests
+
+USE_PYTHON= 2
+USE_PYDISTUTILS= yes
+PYDISTUTILS_AUTOPLIST= yes
+
+.include <bsd.port.mk>
Added: head/net-im/py-libturpial/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-im/py-libturpial/distinfo Sat Feb 22 16:48:20 2014 (r345665)
@@ -0,0 +1,2 @@
+SHA256 (libturpial-1.6.0.tar.gz) = 19082e952fb6c1c6a50cb9f1709735402905027c941bd40143e7f7da5ce61b77
+SIZE (libturpial-1.6.0.tar.gz) = 182951
Added: head/net-im/py-libturpial/files/patch-libturpial__common____init__.py
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-im/py-libturpial/files/patch-libturpial__common____init__.py Sat Feb 22 16:48:20 2014 (r345665)
@@ -0,0 +1,11 @@
+--- ./libturpial/common/__init__.py.orig 2013-07-14 22:25:31.000000000 +0000
++++ ./libturpial/common/__init__.py 2014-02-22 11:24:15.000000000 +0000
+@@ -12,6 +12,8 @@
+ NUM_STATUSES = 20
+
+ OS_LINUX = 'linux' #: Constant to identify Linux based operating systems
++OS_FREEBSD = 'freebsd' #: Constant to identify FreeBSD based operating systems
++OS_DFLY = 'dragonfly' #: Constant to identify DragonFly based operating systems
+ OS_WINDOWS = 'windows' #: Constant to identify Windows operating systems
+ OS_MAC = 'darwin' #: Constant to identify Mac operating systems
+ OS_JAVA = 'java' #: Constant to identify Java based operating systems
Added: head/net-im/py-libturpial/files/patch-libturpial__common__tools.py
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-im/py-libturpial/files/patch-libturpial__common__tools.py Sat Feb 22 16:48:20 2014 (r345665)
@@ -0,0 +1,14 @@
+--- ./libturpial/common/tools.py.orig 2014-01-18 13:59:52.000000000 +0000
++++ ./libturpial/common/tools.py 2014-02-22 11:26:39.000000000 +0000
+@@ -33,6 +33,11 @@
+ """ Returns a string according to the OS host """
+ if sys.platform.startswith('linux'):
+ return OS_LINUX
++ elif sys.platform.startswith('freebsd'):
++ return OS_FREEBSD
++ # Need test on real DragonFly system instead of guess
++ elif 'dragonfly' in sys.platform:
++ return OS_DFLY
+ elif sys.platform.startswith('win32'):
+ return OS_WINDOWS
+ elif sys.platform.startswith('darwin'):
Added: head/net-im/py-libturpial/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-im/py-libturpial/pkg-descr Sat Feb 22 16:48:20 2014 (r345665)
@@ -0,0 +1,5 @@
+libturpial is a library that handles multiple microblogging protocols
+(Identi.ca, Twitter). It implements a lot of features and aims to support
+all the features for each protocol.
+
+WWW: http://turpial.org.ve/
More information about the svn-ports-all
mailing list