From owner-cvs-all@FreeBSD.ORG Tue Dec 13 17:45:02 2011 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A316B1065670; Tue, 13 Dec 2011 17:45:02 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2C29C8FC18; Tue, 13 Dec 2011 17:45:01 +0000 (UTC) Received: by iakl21 with SMTP id l21so7588100iak.13 for ; Tue, 13 Dec 2011 09:45:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=LD9e2ReGGuB3lZYWeudpg+x6qXm0V4Piviz8WcCwGQo=; b=X3BtYzYnAjNTxwE9eQqEXFbPwlbk4Xt6n36y4GvjLTJRZgHJJJkO9ckQMKgP7T1tSN PdAqf2vD8RDrUz88RWT9IiROJnxQsjGiGO+XtveqgBc0Lq4KCilN6Cu8RISZQgQRz/qt B2iuuJgMrOrdOtVEBy+KBEmI7zDs3QRhwVwTU= Received: by 10.42.178.66 with SMTP id bl2mr16364715icb.43.1323798301367; Tue, 13 Dec 2011 09:45:01 -0800 (PST) MIME-Version: 1.0 Sender: utisoft@gmail.com Received: by 10.231.199.18 with HTTP; Tue, 13 Dec 2011 09:44:30 -0800 (PST) In-Reply-To: <20111213010655.GA3611@FreeBSD.org> References: <201112111707.pBBH7GHd079459@repoman.freebsd.org> <20111212005714.GA98735@FreeBSD.org> <4EE60DD8.1070402@yandex.ru> <20111213010655.GA3611@FreeBSD.org> From: Chris Rees Date: Tue, 13 Dec 2011 17:44:30 +0000 X-Google-Sender-Auth: tKWorwxiC6LEKleqfnlpuEpg-6I Message-ID: To: Alexey Dokuchaev Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Nicola Vitale , cvs-ports@freebsd.org, cvs-all@freebsd.org, Ruslan Mahmatkhanov , ports-committers@freebsd.org Subject: Re: cvs commit: ports/games/py-pychess Makefile X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Dec 2011 17:45:02 -0000 2011/12/13 Alexey Dokuchaev : > On Mon, Dec 12, 2011 at 06:21:12PM +0400, Ruslan Mahmatkhanov wrote: >> Nicola Vitale wrote on 12.12.2011 17:51: >> >> [2011/12/12 Alexey Dokuchaev ] >> >> [...] perhaps you could consider moving this to a better >> >> named "games/pychess". =A0Note that py- prefix should not be used for >> >> normal applications. >> > >> > AFAIK, py- prefix should be used for all port that install files under >> > PYTHON_SITELIBDIR, i.e., that use PYTHON_PKGNAMEPREFIX in their >> > package name. > > I've always wondered how this discussion spawns again and again. =A0:-) > > To put it shortly, what's more important is that such ports install files > under "bin/" -- which is the first thing our users care about, not whethe= r > it uses any resources or libraries for its operation (those that go under > PYTHON_SITELIBDIR). > > Actually, we have two issues here (quoting my earlier email to cs@): > > 1) what should be name of the port directory? =A0My answer is "pychess". = =A0As a > user, I don't really care which language was used to write software. =A0I= want > a chess client, and google tells me there is one named "pychess". =A0So I > will naturally try to look for it spelled like that. > > 2) what should be PKGNAME? =A0Less obvious, but then I'll ask myself, why= do I > need to embed the Python version in the package name? =A0Given sufficient > reasons I might agree, but so far as I see it, it is a self-contained por= t > with bunch of its local Python stuff under PYTHON_SITELIBDIR, and taintin= g > both port directory and package name does not bring any noticeable good. > >> > audio/py-sonata or www/google-appengine -> www/py-google-appengine, >> > even if they were Python applications. >> > Otherwise, we should rename hundreds of ports, not only that one. > > Ideally, yes, however, the cost of such rename is a bit too high. =A0Inst= ead > we should refine our documentation in this area and try to be more carefu= l > in the future. > >> Hmm, i though that PYTHON_PKGNAMEPREFIX is added only if the port in >> question - it's a library. For that reason i omitted py-prefix for >> deskutils/gtg, multimedia/gtk-recordmydesktop, www/zope213 etc. All of >> them install their files into %%PYTHON_SITELIBDIR%%. > > Yes, exactly. =A0Prefixes are for libraries, extensions, bindings, plugin= s, > etc. -- "batteries", not for "normal" applications and utilities. Cool. Perhaps this could be discussed on ports@ and then documented? Chris