From owner-freebsd-ports@FreeBSD.ORG Sat Oct 4 08:41:27 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 34AC079F for ; Sat, 4 Oct 2014 08:41:27 +0000 (UTC) Received: from mail-wg0-x22b.google.com (mail-wg0-x22b.google.com [IPv6:2a00:1450:400c:c00::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9C62D651 for ; Sat, 4 Oct 2014 08:41:26 +0000 (UTC) Received: by mail-wg0-f43.google.com with SMTP id m15so3147721wgh.14 for ; Sat, 04 Oct 2014 01:41:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to:content-type; bh=IVak/GaozVGSOO4YEuJNRAS0iIRAjeSrP1IF9/LGbHg=; b=KlNOaX2RvsrR6DP+Xh8UGR+T4f1WZjWpUlkL5z98f5i6B5mivtlXwWgNjpXfDCyS3K MeepSDfl3qPjt0vvBqHV/TUA8dr7jqvtD37VNZB+PykT1eJchalOChNhiuBZprky4UJE QnPFwMC/mOxVdNuht17HBVS1r0C2meBK4IAxeQzZQhbZWKELu0+LNp74VxM4VKUdIAYK ezBbzID/ueG0+Ndpigw5XkLBVGj3AV/icAXBO47pti+EgUcekmIoGQ3qWvsd7VDm/Qrr myZiPX6Y2M/XysrX/V5ijow/e10O7HggOwBV0GuZ/35xsA/x+C0RoqINY+1wPP+DlTXg qoAw== X-Received: by 10.180.72.49 with SMTP id a17mr4164580wiv.21.1412412084108; Sat, 04 Oct 2014 01:41:24 -0700 (PDT) MIME-Version: 1.0 Sender: cochard@gmail.com Received: by 10.194.164.73 with HTTP; Sat, 4 Oct 2014 01:41:04 -0700 (PDT) From: =?ISO-8859-1?Q?Olivier_Cochard=2DLabb=E9?= Date: Sat, 4 Oct 2014 10:41:04 +0200 X-Google-Sender-Auth: UN-YUfExDVxAeTFlqNG_kIgRQQ0 Message-ID: Subject: How to correctly manage RUN_DEPENDS for python based ports ? To: FreeBSD Ports ML Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Oct 2014 08:41:27 -0000 Hi, I'm working on porting www/py-bottle-cork (an authenticate module for www/py-bootle). This module support lot's of backend like: - MySQL, MariaDB, PostgreSQL using SQLAlchemy - MongoDb - SQLite - Local JSON files for low-traffic web applications For my needs I only use local JSON files. Then the Makefile currently include 2 RUN_DEPENDS: RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bottle>=0.12:${PORTSDIR}/www/py-bottle \ ${PYTHON_PKGNAMEPREFIX}beaker>=1.6.4:${PORTSDIR}/www/py-beaker But as soon as you want to use other backend you end up with error like "no module named sqlite3". Should I put "minimum" RUN_DEPENDS and let users manage by them-self all missing deps or should I use OPTIONS ? Thanks