[152357] trunk/dports/python/py-pyplusplus/Portfile
Ryan Schmidt
ryandesign at macports.org
Sun Sep 4 17:53:27 PDT 2016
> On Sep 4, 2016, at 3:56 PM, mmoll at macports.org wrote:
>
> Revision
> 152357
> Author
> mmoll at macports.org
> Date
> 2016-09-04 13:56:42 -0700 (Sun, 04 Sep 2016)
> Log Message
>
> py-pyplusplus: update to version 1.7.0
> Modified Paths
>
> • trunk/dports/python/py-pyplusplus/Portfile
> Diff
>
> Modified: trunk/dports/python/py-pyplusplus/Portfile (152356 => 152357)
>
> --- trunk/dports/python/py-pyplusplus/Portfile 2016-09-04 20:56:16 UTC (rev 152356)
> +++ trunk/dports/python/py-pyplusplus/Portfile 2016-09-04 20:56:42 UTC (rev 152357)
> @@ -4,9 +4,9 @@
> PortGroup python 1.0
> PortGroup bitbucket 1.0
>
> -bitbucket.setup ompl pyplusplus 1.6
> +bitbucket.setup ompl pyplusplus 1.7.0
> name py-pyplusplus
> -epoch 2
> +epoch 3
Increasing the epoch here does no harm, but note there's no reason to increase the epoch unless the new version number appears (to the MacPorts vercmp procedure) to be less than or equal to the old one. But vercmp correctly interprets that "1.7.0" is greater than "1.6" so increasing the epoch was not necessary. (It cannot, however, now be decreased below 3.)
If you're ever not sure how vercmp compares two version numbers, you can test using a script in my users directory:
$ ~/macports/users/ryandesign/scripts/vercmp 1.6 1.7.0
MacPorts considers 1.6 to be less than 1.7.0.
More information about the macports-dev
mailing list