Date: Wed, 26 Apr 2017 12:37:31 +0000 (UTC) From: Mark Felder <feld@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r439445 - in head/net-p2p/couchpotato: . files Message-ID: <201704261237.v3QCbVrR059087@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: feld Date: Wed Apr 26 12:37:31 2017 New Revision: 439445 URL: https://svnweb.freebsd.org/changeset/ports/439445 Log: net-p2p/couchpotato: Port improvements - Remove unnecessary libcurl and docbook-xml dependencies - Add missing py-lxml and py-openssl dependencies for better performance - Force python requirement to 2.7 - Add unrar as optional dependency - Remove hardcoded user in rc script - New MAINTAINER PR: 218837 Modified: head/net-p2p/couchpotato/Makefile head/net-p2p/couchpotato/files/couchpotato.in Modified: head/net-p2p/couchpotato/Makefile ============================================================================== --- head/net-p2p/couchpotato/Makefile Wed Apr 26 12:34:45 2017 (r439444) +++ head/net-p2p/couchpotato/Makefile Wed Apr 26 12:37:31 2017 (r439445) @@ -3,25 +3,25 @@ PORTNAME= couchpotato PORTVERSION= 0.0.20170327 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= net-p2p python -MAINTAINER= feld@FreeBSD.org +MAINTAINER= joshruehlig@gmail.com COMMENT= Automatic NZB and torrent downloader LICENSE= GPLv3 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3 \ - fpc-libcurl>0:ftp/fpc-libcurl \ - docbook-xml>0:textproc/docbook-xml + ${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml \ + ${PYTHON_PKGNAMEPREFIX}openssl>0:security/py-openssl USE_RC_SUBR= couchpotato -SUB_LIST= PYTHON_CMD=${PYTHON_CMD} +SUB_LIST= PYTHON_CMD=${PYTHON_CMD} USERS=${USERS} NO_ARCH= yes NO_BUILD= yes -USES= python shebangfix +USES= python:2.7 shebangfix SHEBANG_FILES= CouchPotato.py USERS= couchpotato @@ -31,6 +31,9 @@ GH_ACCOUNT= CouchPotato GH_PROJECT= CouchPotatoServer GH_TAGNAME= 711310d +OPTIONS_DEFINE= UNRAR +UNRAR_RUN_DEPENDS= unrar:archivers/unrar + do-install: ${MKDIR} ${STAGEDIR}/${DATADIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}) Modified: head/net-p2p/couchpotato/files/couchpotato.in ============================================================================== --- head/net-p2p/couchpotato/files/couchpotato.in Wed Apr 26 12:34:45 2017 (r439444) +++ head/net-p2p/couchpotato/files/couchpotato.in Wed Apr 26 12:37:31 2017 (r439445) @@ -23,7 +23,7 @@ rcvar=couchpotato_enable load_rc_config ${name} : ${couchpotato_enable:=NO} -: ${couchpotato_user:=couchpotato} +: ${couchpotato_user:=%%USERS%%} : ${couchpotato_datadir=/var/db/couchpotato} : ${couchpotato_conf=%%ETCDIR%%/settings.conf}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704261237.v3QCbVrR059087>