aboutsummaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2010-08-22 12:29:38 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2010-08-22 12:29:38 +0000
commit01601437cfe573ca26279bc4ec53dfa503c48a4c (patch)
tree5bb491836b96da9152ef170b8e96ccdfd1967aab /net-p2p
parent8fb574ad60042aaf49a9aec686a54b6c4fc392d8 (diff)
Add py-transmissionrpc 0.3, a python module communicates with
Transmission through json-rpc. PR: ports/141133 Submitted by: Vladimir Korkodinov <newbieman at perm.raid.ru>
Notes
Notes: svn path=/head/; revision=259731
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/Makefile1
-rw-r--r--net-p2p/py-transmissionrpc/Makefile27
-rw-r--r--net-p2p/py-transmissionrpc/distinfo3
-rw-r--r--net-p2p/py-transmissionrpc/pkg-descr3
-rw-r--r--net-p2p/py-transmissionrpc/pkg-plist3
5 files changed, 37 insertions, 0 deletions
diff --git a/net-p2p/Makefile b/net-p2p/Makefile
index 458b19d9d6d8..9d138e6a2029 100644
--- a/net-p2p/Makefile
+++ b/net-p2p/Makefile
@@ -102,6 +102,7 @@
SUBDIR += py-fngrab
SUBDIR += py-kenosis
SUBDIR += py-py2play
+ SUBDIR += py-transmissionrpc
SUBDIR += py-vertex
SUBDIR += pyslsk
SUBDIR += qbittorrent-22
diff --git a/net-p2p/py-transmissionrpc/Makefile b/net-p2p/py-transmissionrpc/Makefile
new file mode 100644
index 000000000000..4c32cd87d77a
--- /dev/null
+++ b/net-p2p/py-transmissionrpc/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: py-transmissionrpc
+# Date created: 2009-12-03
+# Whom: Vladimir Korkodinov <newbieman@perm.raid.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= transmissionrpc
+PORTVERSION= 0.3
+CATEGORIES= net-p2p python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DIST_SUBDIR= python
+
+MAINTAINER= cvs-src@yandex.ru
+COMMENT= A python module communicates with Transmission through json-rpc
+
+USE_PYTHON= 2.6+
+USE_PYDISTUTILS= easy_install
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/net-p2p/py-transmissionrpc/distinfo b/net-p2p/py-transmissionrpc/distinfo
new file mode 100644
index 000000000000..d0f0280f6084
--- /dev/null
+++ b/net-p2p/py-transmissionrpc/distinfo
@@ -0,0 +1,3 @@
+MD5 (python/transmissionrpc-0.3.tar.gz) = 76a39663051daa7d1628e0cfd12c15e6
+SHA256 (python/transmissionrpc-0.3.tar.gz) = fec29408e87179174a19af98e0988628ab8c3a4d6ea452ac4d1ef73751d12f56
+SIZE (python/transmissionrpc-0.3.tar.gz) = 9926
diff --git a/net-p2p/py-transmissionrpc/pkg-descr b/net-p2p/py-transmissionrpc/pkg-descr
new file mode 100644
index 000000000000..ccb3fd9554d2
--- /dev/null
+++ b/net-p2p/py-transmissionrpc/pkg-descr
@@ -0,0 +1,3 @@
+This is a python module that can communicate with Transmission through json-rpc.
+
+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..e6155a5cb3a7
--- /dev/null
+++ b/net-p2p/py-transmissionrpc/pkg-plist
@@ -0,0 +1,3 @@
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%@dirrm %%DOCSDIR%%