aboutsummaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
authorRuslan Makhmatkhanov <rm@FreeBSD.org>2013-10-16 21:03:48 +0000
committerRuslan Makhmatkhanov <rm@FreeBSD.org>2013-10-16 21:03:48 +0000
commitc78cafee0d0458c47afca6b91d0ec1abde69eba7 (patch)
treeb9b2421b7800f31d9a914a62e24a22b5dc1172c9 /net-p2p
parentf4b3a5f46d95eb36acfdb3b78b7b01a8d0eb6a04 (diff)
downloadports-c78cafee0d0458c47afca6b91d0ec1abde69eba7.tar.gz
ports-c78cafee0d0458c47afca6b91d0ec1abde69eba7.zip
Notes
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/py-transmissionrpc/Makefile10
-rw-r--r--net-p2p/py-transmissionrpc/distinfo4
-rw-r--r--net-p2p/py-transmissionrpc/pkg-descr2
-rw-r--r--net-p2p/py-transmissionrpc/pkg-plist33
4 files changed, 43 insertions, 6 deletions
diff --git a/net-p2p/py-transmissionrpc/Makefile b/net-p2p/py-transmissionrpc/Makefile
index 617cbdb64e2d..006fbd9e77ec 100644
--- a/net-p2p/py-transmissionrpc/Makefile
+++ b/net-p2p/py-transmissionrpc/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= transmissionrpc
-PORTVERSION= 0.10
+PORTVERSION= 0.11
CATEGORIES= net-p2p python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -17,10 +17,10 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:${PORTSDIR}/devel/py-six
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
-
-PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
+PYTHON_PY3K_PLIST_HACK= yes
NO_STAGE= yes
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
@@ -28,6 +28,10 @@ PLIST_DIRS= %%DOCSDIR%%
PLIST_FILES+= %%DOCSDIR%%/README
.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's,zip_safe=True,zip_safe=False,g' \
+ ${WRKSRC}/setup.py
+
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
diff --git a/net-p2p/py-transmissionrpc/distinfo b/net-p2p/py-transmissionrpc/distinfo
index f223fa42e8ff..911192efef69 100644
--- a/net-p2p/py-transmissionrpc/distinfo
+++ b/net-p2p/py-transmissionrpc/distinfo
@@ -1,2 +1,2 @@
-SHA256 (python/transmissionrpc-0.10.tar.gz) = 22a44e731e102e1baef0615b9382e1cb8abd795f6e6df8afc385a68b03a28d97
-SIZE (python/transmissionrpc-0.10.tar.gz) = 65953
+SHA256 (python/transmissionrpc-0.11.tar.gz) = ec43b460f9fde2faedbfa6d663ef495b3fd69df855a135eebe8f8a741c0dde60
+SIZE (python/transmissionrpc-0.11.tar.gz) = 96091
diff --git a/net-p2p/py-transmissionrpc/pkg-descr b/net-p2p/py-transmissionrpc/pkg-descr
index 5e655cf63341..0a0c721e41a3 100644
--- a/net-p2p/py-transmissionrpc/pkg-descr
+++ b/net-p2p/py-transmissionrpc/pkg-descr
@@ -1,3 +1,3 @@
This is a python module that can communicate with Transmission through json-rpc.
-WWW: http://bitbucket.org/blueluna/transmissionrpc/wiki/Home
+WWW: http://bitbucket.org/blueluna/transmissionrpc/wiki/Home/
diff --git a/net-p2p/py-transmissionrpc/pkg-plist b/net-p2p/py-transmissionrpc/pkg-plist
new file mode 100644
index 000000000000..745ee676fcdb
--- /dev/null
+++ b/net-p2p/py-transmissionrpc/pkg-plist
@@ -0,0 +1,33 @@
+%%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/requires.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/transmissionrpc/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/transmissionrpc/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/transmissionrpc/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/transmissionrpc/client.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/transmissionrpc/client.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/transmissionrpc/client.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/transmissionrpc/constants.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/transmissionrpc/constants.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/transmissionrpc/constants.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/transmissionrpc/error.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/transmissionrpc/error.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/transmissionrpc/error.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/transmissionrpc/httphandler.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/transmissionrpc/httphandler.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/transmissionrpc/httphandler.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/transmissionrpc/session.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/transmissionrpc/session.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/transmissionrpc/session.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/transmissionrpc/torrent.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/transmissionrpc/torrent.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/transmissionrpc/torrent.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/transmissionrpc/utils.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/transmissionrpc/utils.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/transmissionrpc/utils.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/transmissionrpc
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%