From owner-freebsd-python@FreeBSD.ORG  Fri Oct  3 15:49:42 2014
Return-Path: <owner-freebsd-python@FreeBSD.ORG>
Delivered-To: python@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 BA1F59CC
 for <python@FreeBSD.org>; Fri,  3 Oct 2014 15:49:42 +0000 (UTC)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id A1219EAA
 for <python@FreeBSD.org>; Fri,  3 Oct 2014 15:49:42 +0000 (UTC)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s93FngY3074954
 for <python@FreeBSD.org>; Fri, 3 Oct 2014 15:49:42 GMT
 (envelope-from bugzilla-noreply@freebsd.org)
From: bugzilla-noreply@freebsd.org
To: python@FreeBSD.org
Subject: [Bug 190065] New port: net-p2p/py-transmission-remote-curses Remote
 Curses UI for Transmission daemon
Date: Fri, 03 Oct 2014 15:49:42 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Ports Tree
X-Bugzilla-Component: Individual Port(s)
X-Bugzilla-Version: Latest
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: jbeich@vfemail.net
X-Bugzilla-Status: In Discussion
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: python@FreeBSD.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: 
Message-ID: <bug-190065-21822-p5G2dPNCj9@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-190065-21822@https.bugs.freebsd.org/bugzilla/>
References: <bug-190065-21822@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-python@freebsd.org
X-Mailman-Version: 2.1.18-1
Precedence: list
List-Id: FreeBSD-specific Python issues <freebsd-python.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-python>,
 <mailto:freebsd-python-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-python/>
List-Post: <mailto:freebsd-python@freebsd.org>
List-Help: <mailto:freebsd-python-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-python>,
 <mailto:freebsd-python-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 03 Oct 2014 15:49:42 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=190065

--- Comment #4 from Jan Beich <jbeich@vfemail.net> ---
> MASTER_SITES=  https://codeload.github.com/${GH_ACCOUNT}/${GH_PROJECT}/legacy.tar.gz/v${PORTVERSION}?dummy=/
> DISTNAME=      ${GH_PROJECT}-v${PORTVERSION}

No need to specify those with USE_GITHUB. Instead put

  GH_TAGNAME=    v${DISTVERSION}

and re-fetch the distfile.

> PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

Don't define unless the port installs files under PYTHON_SITELIBDIR or at least
allows generating *non-conflicting* packages for different python versions.

> USE_PYTHON=     YES

Convert to USES=python,run

> NO_BUILD=       yes

Define NO_ARCH as well unless the port installs binaries for a specific ARCH.

>        ${INSTALL_SCRIPT} ${WRKSRC}/transmission-remote-cli ${STAGEDIR}${BINDIR}/${PORTNAME}

Wrap long lines to fit on 80 characters terminal.

> OPTIONS_DEFINE= ADNS GEOIP

ADNS_DESC is not defined anywhere.

> #LIB_DEPENDS+=  ${PYTHON_SITELIBDIR}/adns.so:${PORTSDIR}/dns/py-adns
> LIB_DEPENDS+=   libadns.so:${PORTSDIR}/dns/py-adns
...
> #LIB_DEPENDS+=  ${PYTHON_SITELIBDIR}/GeoIP.so:${PORTSDIR}/net/py-GeoIP
> LIB_DEPENDS+=   libGeoIP.so:${PORTSDIR}/net/py-GeoIP

Use RUN_DEPENDS and convert to option helpers, see Mk/bsd.options.mk or
net/py-kombu/Makefile for an example.

-- 
You are receiving this mail because:
You are the assignee for the bug.