Date: Sun, 03 Oct 2010 11:34:34 -0700 (PDT) From: Julien Laffaye <kimelto@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Cc: daniel@netwalk.org Subject: ports/151176: [PATCH] news/sabnzbdplus: add missing SQLite dep Message-ID: <4ca8ccba.12d1d80a.1567.7811@mx.google.com> Resent-Message-ID: <201010031840.o93Ie0bM001196@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 151176 >Category: ports >Synopsis: [PATCH] news/sabnzbdplus: add missing SQLite dep >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Oct 03 18:40:00 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Julien Laffaye >Release: FreeBSD 8.1-RELEASE amd64 >Organization: >Environment: System: FreeBSD chulak.lan 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:36:49 UTC 2010 >Description: - Add missing SQLite dep - Use ${PYTHON_REL} from bsd.python.mk for python version checks - Add LICENSE Port maintainer (daniel@netwalk.org) is cc'd. Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: >Fix: --- sabnzbdplus-0.5.4.patch begins here --- diff -ruN --exclude=CVS /usr/ports/news/sabnzbdplus.orig/Makefile /usr/ports/news/sabnzbdplus/Makefile --- /usr/ports/news/sabnzbdplus.orig/Makefile 2010-10-03 18:04:41.000000000 +0100 +++ /usr/ports/news/sabnzbdplus/Makefile 2010-10-03 18:41:45.000000000 +0100 @@ -17,11 +17,10 @@ RUN_DEPENDS= cheetah:${PORTSDIR}/devel/py-cheetah \ ${PYTHON_SITELIBDIR}/cherrypy/__init__.py:${PORTSDIR}/www/py-cherrypy \ ${PYTHON_SITELIBDIR}/pythonutils/configobj.py:${PORTSDIR}/devel/py-utils -BUILD_DEPENDS= ${RUN_DEPENDS} -USE_PYTHON= 2.4+ +LICENSE= GPLv2 -PYVERSION= ${PYTHON_VERSION:S/^python//} +USE_PYTHON= 2.4+ NO_BUILD= yes WRKSRC= ${WRKDIR}/SABnzbd-${PORTVERSION} @@ -37,10 +36,16 @@ .include <bsd.port.pre.mk> -.if defined(PYTHON_VERSION) && ${PYVERSION:S/.//} < 25 +.if ${PYTHON_REL} < 250 RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/cElementTree.so:${PORTSDIR}/devel/py-celementtree .endif +.if ${PYTHON_REL} < 250 +RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/pysqlite2/__init__.py:${PORTSDIR}/databases/py-pysqlite23 +.else +RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/_sqlite3.so:${PORTSDIR}/databases/py-sqlite3 +.endif + .if !defined(WITHOUT_PAR2CMDLINE) RUN_DEPENDS+= par2repair:${PORTSDIR}/archivers/par2cmdline .endif --- sabnzbdplus-0.5.4.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ca8ccba.12d1d80a.1567.7811>