svn commit: r547792 - head/devel/py-contextlib2
Stefan Esser
se at freebsd.org
Tue Sep 8 16:49:20 UTC 2020
Am 06.09.20 um 16:42 schrieb Yuri Victorovich:
> Author: yuri
> Date: Sun Sep 6 14:42:21 2020
> New Revision: 547792
> URL: https://svnweb.freebsd.org/changeset/ports/547792
>
> Log:
> devel/py-contextlib2: Update 0.6.0 -> 0.6.0.post1
>
> Modified:
> head/devel/py-contextlib2/Makefile
> head/devel/py-contextlib2/distinfo
>
> Modified: head/devel/py-contextlib2/Makefile
> ==============================================================================
> --- head/devel/py-contextlib2/Makefile Sun Sep 6 14:40:22 2020 (r547791)
> +++ head/devel/py-contextlib2/Makefile Sun Sep 6 14:42:21 2020 (r547792)
> @@ -2,7 +2,7 @@
> # $FreeBSD$
>
> PORTNAME= contextlib2
> -PORTVERSION= 0.6.0
> +DISTVERSION= 0.6.0.post1
Hi Yuri,
this is probably not what you wanted:
$ pkg version -t 0.6.0 0.6.0.post1
>
$ pkg version -t 0.6.0 0.6.0.p1
>
Since this is considered a downgrade, "pkg upgrade" will not install a
package built from the new port.
You probably meant to use a PORTVERSION of 0.6.0p1:
$ pkg version -t 0.6.0 0.6.0p1
<
The version parsing and comparison rules are somewhat complex, but at
least documented in section 5.2.2 of the Porter's Handbook:
https://www.freebsd.org/doc/en/books/porters-handbook/makefile-naming.html#makefile-versions-ex-pkg-version
See cases (4) and (6) of Example 5.1 and Example 5.5 ...
Regards, STefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20200908/a05fbc2d/attachment.sig>
More information about the svn-ports-all
mailing list