Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jan 2013 12:44:51 -0600
From:      Scot Hetzel <swhetzel@gmail.com>
To:        "D'Arcy J.M. Cain" <darcy@vex.com>
Cc:        ports@freebsd.org
Subject:   Re: New version of PyGreSQL
Message-ID:  <CACdU%2Bf8VPqmatqen70KZVvGevM8NcHRygVJmXDcn%2BGKBGe2boQ@mail.gmail.com>
In-Reply-To: <20130103131817.7576a4b2@dilbert>
References:  <20130103091424.2af924a7@dilbert> <50E5C4C9.7070500@yandex.ru> <20130103131817.7576a4b2@dilbert>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jan 3, 2013 at 12:18 PM, D'Arcy J.M. Cain <darcy@vex.com> wrote:
> On Thu, 03 Jan 2013 21:50:01 +0400
> Ruslan Makhmatkhanov <cvs-src@yandex.ru> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACdU%2Bf8VPqmatqen70KZVvGevM8NcHRygVJmXDcn%2BGKBGe2boQ>