aboutsummaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
authorRuslan Makhmatkhanov <rm@FreeBSD.org>2014-02-09 23:40:57 +0000
committerRuslan Makhmatkhanov <rm@FreeBSD.org>2014-02-09 23:40:57 +0000
commit9d274025bf73a0735a899a8c108f8e65ade6534c (patch)
tree2f7b0cc290f837f90df6882a8449c1d3b26a7f42 /net-p2p
parent5b6853d660c57cfead29bc4b44a4168d0e68159e (diff)
downloadports-9d274025bf73a0735a899a8c108f8e65ade6534c.tar.gz
ports-9d274025bf73a0735a899a8c108f8e65ade6534c.zip
Notes
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/py-transmissionrpc/Makefile26
-rw-r--r--net-p2p/py-transmissionrpc/pkg-plist33
2 files changed, 7 insertions, 52 deletions
diff --git a/net-p2p/py-transmissionrpc/Makefile b/net-p2p/py-transmissionrpc/Makefile
index 006fbd9e77ec..87674cf596fa 100644
--- a/net-p2p/py-transmissionrpc/Makefile
+++ b/net-p2p/py-transmissionrpc/Makefile
@@ -3,6 +3,7 @@
PORTNAME= transmissionrpc
PORTVERSION= 0.11
+PORTREVISION= 1
CATEGORIES= net-p2p python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -15,27 +16,14 @@ LICENSE= MIT
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:${PORTSDIR}/devel/py-six
-USE_PYTHON= yes
-USE_PYDISTUTILS=easy_install
-PYTHON_PY3K_PLIST_HACK= yes
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+PYDISTUTILS_AUTOPLIST= yes
-NO_STAGE= yes
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MDOCS}
-PLIST_DIRS= %%DOCSDIR%%
-PLIST_FILES+= %%DOCSDIR%%/README
-.endif
-
-post-patch:
- @${REINPLACE_CMD} -e 's,zip_safe=True,zip_safe=False,g' \
- ${WRKSRC}/setup.py
+PORTDOCS= *
post-install:
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/net-p2p/py-transmissionrpc/pkg-plist b/net-p2p/py-transmissionrpc/pkg-plist
deleted file mode 100644
index 745ee676fcdb..000000000000
--- a/net-p2p/py-transmissionrpc/pkg-plist
+++ /dev/null
@@ -1,33 +0,0 @@
-%%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%%