From owner-freebsd-ports@FreeBSD.ORG Fri Jan 4 18:44:57 2013 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E664C2C0 for ; Fri, 4 Jan 2013 18:44:57 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from mail-ia0-f177.google.com (mail-ia0-f177.google.com [209.85.210.177]) by mx1.freebsd.org (Postfix) with ESMTP id AD9261CC for ; Fri, 4 Jan 2013 18:44:57 +0000 (UTC) Received: by mail-ia0-f177.google.com with SMTP id u21so14038652ial.22 for ; Fri, 04 Jan 2013 10:44:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=EIqVajFiuGDKJQaGe+2YBRQwbY/eAT/+oxaNNA5IbKg=; b=LipNyj1dqetPmvkqsFPs2d9F5jxVzwWR8mxb3aenxZAVh5Z20CPMNpVDhO1Dy2ougS xcId7G6S4bjEp6+Apcsr1rSIhj48WllW9CpHFGITwgK/1tscE8bc8zE2ZbproATZDV/Y QK2s+XUKUL650yBNVFE9N+C9+JNQj25UI6y6c3s/P/zWw168NqSJKyLbHF3kmYuUBZLh PpFW677+Y4sMskmGgipQhdQ2hKQ8ykR5Y+9gxXpTL9Xwy0tcEzXRneLYfwzYRBc5VvpP 0T+F/Cas3i/iDQfu9slS/7rUqW2udNfkFrYeohON8dEzaCEJnxcohs6dzzKIAgeF60LY 84Jg== MIME-Version: 1.0 Received: by 10.50.33.212 with SMTP id t20mr41562032igi.108.1357325091467; Fri, 04 Jan 2013 10:44:51 -0800 (PST) Received: by 10.50.49.3 with HTTP; Fri, 4 Jan 2013 10:44:51 -0800 (PST) In-Reply-To: <20130103131817.7576a4b2@dilbert> References: <20130103091424.2af924a7@dilbert> <50E5C4C9.7070500@yandex.ru> <20130103131817.7576a4b2@dilbert> Date: Fri, 4 Jan 2013 12:44:51 -0600 Message-ID: Subject: Re: New version of PyGreSQL From: Scot Hetzel To: "D'Arcy J.M. Cain" Content-Type: text/plain; charset=ISO-8859-1 Cc: ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jan 2013 18:44:58 -0000 On Thu, Jan 3, 2013 at 12:18 PM, D'Arcy J.M. Cain wrote: > On Thu, 03 Jan 2013 21:50:01 +0400 > Ruslan Makhmatkhanov wrote: >> D'Arcy J.M. Cain wrote on 03.01.2013 18:14: >> > Version 4.1 of PyGreSQL has just been released. I think the >> > following will update your Makefile: >> >> The port was just updated, thank you for heads up. You may point your >> users here: http://www.freshports.org/databases/py-PyGreSQL for >> FreeBSD-specific install instructions. > > I see that you call it 4.1,1. Do you always have a PORTEPOCH? I know > that NetBSD (where I am also a developer) only set the PKGREVISION > variable when the original commit for a version is modified. > >From Mk/bsd.port.mk: # PORTREVISION - Version of port. Optional. Commonly used to indicate # that an update has happened that affects the port # framework itself, but not the distributed software # (e.g., local patches or Makefile changes). # PORTEPOCH - Optional. In certain odd cases, the PORTREVISION logic # can be fooled by ports that appear to go backwards # numerically (e.g. if port-0.3 is newer than port-1998). # In this case, incrementing PORTEPOCH forces the revision. # Default: 0 (no effect). PORTREVISION is the same as PKGREVISION We use PORTEPOCH as noted in the above comment, or when a port has gone backwards in revision for some reason. This allows us to do things like: 3.0 < 3.0-1 < 2.9-7,1 < 3.1,1 < 3.0,2 Once PORTEPOCH is added to a port, it can't be removed. As it would cause the package version to go backwards. -- DISCLAIMER: No electrons were maimed while sending this message. Only slightly bruised.