svn commit: r457636 - in head/net-p2p: . py-tremc py-tremc/files

Steve Wills swills at FreeBSD.org
Sat Dec 30 20:23:14 UTC 2017


Author: swills
Date: Sat Dec 30 20:23:12 2017
New Revision: 457636
URL: https://svnweb.freebsd.org/changeset/ports/457636

Log:
  net-p2p/py-tremc: create port
  
  Curses interface for transmission.
  
  Python3 fork of the no longer maintained transmission-remote-cli. Some
  extra modifications have been included and development will follow the
  original project as much as possible.
  
  WWW: https://github.com/louipc/tremc
  
  Submitted by:	lbdm at privacychain.ch
  Differential Revision:	https://reviews.freebsd.org/D13618

Added:
  head/net-p2p/py-tremc/
  head/net-p2p/py-tremc/Makefile   (contents, props changed)
  head/net-p2p/py-tremc/distinfo   (contents, props changed)
  head/net-p2p/py-tremc/files/
  head/net-p2p/py-tremc/files/pkg-message.in   (contents, props changed)
  head/net-p2p/py-tremc/pkg-descr   (contents, props changed)
Modified:
  head/net-p2p/Makefile

Modified: head/net-p2p/Makefile
==============================================================================
--- head/net-p2p/Makefile	Sat Dec 30 19:50:46 2017	(r457635)
+++ head/net-p2p/Makefile	Sat Dec 30 20:23:12 2017	(r457636)
@@ -72,6 +72,7 @@
     SUBDIR += p5-WWW-BitTorrent
     SUBDIR += phex
     SUBDIR += py-py2play
+    SUBDIR += py-tremc
     SUBDIR += py-transmissionrpc
     SUBDIR += py-vertex
     SUBDIR += qbittorrent

Added: head/net-p2p/py-tremc/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-p2p/py-tremc/Makefile	Sat Dec 30 20:23:12 2017	(r457636)
@@ -0,0 +1,44 @@
+# $FreeBSD$
+
+PORTNAME=	tremc
+DISTVERSION=	g20171202
+CATEGORIES=	net-p2p python
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	lbdm at privacychain.ch
+COMMENT=	Console client for the BitTorrent client Transmission
+
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+USES=		python:3.4+ shebangfix
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	louipc
+GH_TAGNAME=	e06d08d
+
+NO_ARCH=	yes
+NO_BUILD=	yes
+SHEBANG_FILES=	${PORTNAME}
+
+PLIST_FILES=	bin/${PORTNAME} \
+		man/man1/${PORTNAME}.1.gz \
+		share/bash-completion/completions/${PORTNAME}
+SUB_FILES=	pkg-message
+
+OPTIONS_DEFINE=	GEOIP XEROX
+
+XEROX_DESC=	Copy magnet links to the system clipboard
+
+GEOIP_RUN_DEPENDS=	${PYTHON_SITELIBDIR}/GeoIP.so:net/py-GeoIP@${PY_FLAVOR}
+XEROX_RUN_DEPENDS=	${PYTHON_SITELIBDIR}/xerox/__init__.py:devel/py-xerox@${PY_FLAVOR}
+
+do-install:
+
+	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
+	${INSTALL} -d ${STAGEDIR}${PREFIX}/share/bash-completion/completions
+	${INSTALL_DATA} ${WRKSRC}/completion/bash/transmission-remote-cli-bash-completion.sh \
+		${STAGEDIR}${PREFIX}/share/bash-completion/completions/${PORTNAME}
+
+.include <bsd.port.mk>

Added: head/net-p2p/py-tremc/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-p2p/py-tremc/distinfo	Sat Dec 30 20:23:12 2017	(r457636)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1514265585
+SHA256 (louipc-tremc-g20171202-e06d08d_GH0.tar.gz) = 4559922bc047c4d95f5c2936dd844f2fd4614fef76028beb441553c68bef2ebf
+SIZE (louipc-tremc-g20171202-e06d08d_GH0.tar.gz) = 255734

Added: head/net-p2p/py-tremc/files/pkg-message.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-p2p/py-tremc/files/pkg-message.in	Sat Dec 30 20:23:12 2017	(r457636)
@@ -0,0 +1,10 @@
+###################################################################
+
+Please do run "tremc --create-config" to create the configuration
+file with default values.
+
+NOTE: A config file won't be created unless you provide this
+option at least once. After that, it is rewritten whenever tremc
+exits.
+
+###################################################################

Added: head/net-p2p/py-tremc/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-p2p/py-tremc/pkg-descr	Sat Dec 30 20:23:12 2017	(r457636)
@@ -0,0 +1,7 @@
+Curses interface for transmission.
+
+Python3 fork of the no longer maintained transmission-remote-cli. Some
+extra modifications have been included and development will follow the
+original project as much as possible.
+
+WWW: https://github.com/louipc/tremc


More information about the svn-ports-head mailing list