1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-28 10:08:24 +00:00

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/
This commit is contained in:
Olivier Duchateau 2014-02-22 16:48:20 +00:00
parent 3b4b318649
commit e5798c6f6f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345665
6 changed files with 57 additions and 0 deletions

View File

@ -128,6 +128,7 @@
SUBDIR += pwytter
SUBDIR += py-jabber
SUBDIR += py-jabberbot
SUBDIR += py-libturpial
SUBDIR += py-punjab
SUBDIR += py-pyxmpp
SUBDIR += py-skype4py

View File

@ -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@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>

View File

@ -0,0 +1,2 @@
SHA256 (libturpial-1.6.0.tar.gz) = 19082e952fb6c1c6a50cb9f1709735402905027c941bd40143e7f7da5ce61b77
SIZE (libturpial-1.6.0.tar.gz) = 182951

View File

@ -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

View File

@ -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'):

View File

@ -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/