aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/py-jabberbot
diff options
context:
space:
mode:
authorrm <rm@FreeBSD.org>2012-08-14 03:48:28 +0800
committerrm <rm@FreeBSD.org>2012-08-14 03:48:28 +0800
commitf34bf5f226d04fd9a53cfc11faa69de052a3fc0e (patch)
treec8d429059231e400d69563674480868ef8758a2f /net-im/py-jabberbot
parent419b2f7a3d883ef559a45ab4dff2a7401b22cd88 (diff)
downloadfreebsd-ports-gnome-f34bf5f226d04fd9a53cfc11faa69de052a3fc0e.tar.gz
freebsd-ports-gnome-f34bf5f226d04fd9a53cfc11faa69de052a3fc0e.tar.zst
freebsd-ports-gnome-f34bf5f226d04fd9a53cfc11faa69de052a3fc0e.zip
- update to version 0.15
while here: - strict python version to 2.x only - move pkg-plist contents to PLIST_FILES - tab -> space in pkg-descr:WWW - use PYTHON_PKGNAMEPREFIX in dependency PR: 170475 Submitted by: Veniamin Gvozdikov <g.veniamin at googlemail dot com> (maintainer)
Diffstat (limited to 'net-im/py-jabberbot')
-rw-r--r--net-im/py-jabberbot/Makefile10
-rw-r--r--net-im/py-jabberbot/distinfo4
-rw-r--r--net-im/py-jabberbot/pkg-descr2
-rw-r--r--net-im/py-jabberbot/pkg-plist3
4 files changed, 10 insertions, 9 deletions
diff --git a/net-im/py-jabberbot/Makefile b/net-im/py-jabberbot/Makefile
index c8c356bfb14d..7183f72c9289 100644
--- a/net-im/py-jabberbot/Makefile
+++ b/net-im/py-jabberbot/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= jabberbot
-PORTVERSION= 0.14
+PORTVERSION= 0.15
CATEGORIES= net-im python
MASTER_SITES= SF/pythonjabberbot/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -16,11 +16,15 @@ COMMENT= A simple Jabber Bot for Python
LICENSE= GPLv3
-BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/xmpp/auth.py:${PORTSDIR}/net-im/py-xmpppy
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}xmpppy>0:${PORTSDIR}/net-im/py-xmpppy
-USE_PYTHON= 2.5+
+USE_PYTHON= -2.7
USE_PYDISTUTILS= yes
+PLIST_FILES= %%PYTHON_SITELIBDIR%%/jabberbot.py \
+ %%PYTHON_SITELIBDIR%%/jabberbot.pyc \
+ %%PYTHON_SITELIBDIR%%/jabberbot.pyo
+
post-patch:
@${GREP} -lr '/usr/bin/python' ${WRKSRC} | \
${XARGS} ${REINPLACE_CMD} -e "s,^#!/usr/bin/python,#!${PYTHON_CMD},"
diff --git a/net-im/py-jabberbot/distinfo b/net-im/py-jabberbot/distinfo
index e9e07ae1630e..1436da956460 100644
--- a/net-im/py-jabberbot/distinfo
+++ b/net-im/py-jabberbot/distinfo
@@ -1,2 +1,2 @@
-SHA256 (jabberbot-0.14.tar.gz) = e84ff88326213a503e4078c658f50ebf04520527af636a6d43ff7344435f2c64
-SIZE (jabberbot-0.14.tar.gz) = 23745
+SHA256 (jabberbot-0.15.tar.gz) = b8b946958e15f5413adcb02fecf7cffd6d008669a692ef6a2bc4bf3717c06a1d
+SIZE (jabberbot-0.15.tar.gz) = 25044
diff --git a/net-im/py-jabberbot/pkg-descr b/net-im/py-jabberbot/pkg-descr
index ad3a4aab7702..ec4b064d326c 100644
--- a/net-im/py-jabberbot/pkg-descr
+++ b/net-im/py-jabberbot/pkg-descr
@@ -4,4 +4,4 @@ provide information about your running systems, to make your website
interact with your visitors or notify you about updates or changes
you monitor with your Python scripts.
-WWW: http://thpinfo.com/2007/python-jabberbot/
+WWW: http://thpinfo.com/2007/python-jabberbot/
diff --git a/net-im/py-jabberbot/pkg-plist b/net-im/py-jabberbot/pkg-plist
deleted file mode 100644
index b2625272c997..000000000000
--- a/net-im/py-jabberbot/pkg-plist
+++ /dev/null
@@ -1,3 +0,0 @@
-%%PYTHON_SITELIBDIR%%/jabberbot.py
-%%PYTHON_SITELIBDIR%%/jabberbot.pyc
-%%PYTHON_SITELIBDIR%%/jabberbot.pyo