Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Sep 2020 18:49:15 +0200
From:      Stefan Esser <se@freebsd.org>
To:        Yuri Victorovich <yuri@FreeBSD.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r547792 - head/devel/py-contextlib2
Message-ID:  <3db7c3c2-d1c2-f5e8-6756-a4b4a9d958d4@freebsd.org>
In-Reply-To: <202009061442.086EgMa9049877@repo.freebsd.org>
References:  <202009061442.086EgMa9049877@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--xcmROLq7i7ZlGZvdrKSDXEoBfINL1u1fI
Content-Type: multipart/mixed; boundary="tZnbiWVGbmEPKg6dY5lMW9lIcSgUmfyHV";
 protected-headers="v1"
From: Stefan Esser <se@freebsd.org>
To: Yuri Victorovich <yuri@FreeBSD.org>
Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org,
 svn-ports-head@freebsd.org
Message-ID: <3db7c3c2-d1c2-f5e8-6756-a4b4a9d958d4@freebsd.org>
Subject: Re: svn commit: r547792 - head/devel/py-contextlib2
References: <202009061442.086EgMa9049877@repo.freebsd.org>
In-Reply-To: <202009061442.086EgMa9049877@repo.freebsd.org>

--tZnbiWVGbmEPKg6dY5lMW9lIcSgUmfyHV
Content-Type: multipart/mixed;
 boundary="------------C48A4230F676EF318159131C"
Content-Language: en-US

This is a multi-part message in MIME format.
--------------C48A4230F676EF318159131C
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable

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
>=20
> Log:
>    devel/py-contextlib2: Update 0.6.0 -> 0.6.0.post1
>=20
> Modified:
>    head/devel/py-contextlib2/Makefile
>    head/devel/py-contextlib2/distinfo
>=20
> Modified: head/devel/py-contextlib2/Makefile
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
> --- head/devel/py-contextlib2/Makefile	Sun Sep  6 14:40:22 2020	(r54779=
1)
> +++ head/devel/py-contextlib2/Makefile	Sun Sep  6 14:42:21 2020	(r54779=
2)
> @@ -2,7 +2,7 @@
>   # $FreeBSD$
>  =20
>   PORTNAME=3D	contextlib2
> -PORTVERSION=3D	0.6.0
> +DISTVERSION=3D	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.htm=
l#makefile-versions-ex-pkg-version

See cases (4) and (6) of Example 5.1 and Example 5.5 ...

Regards, STefan

--------------C48A4230F676EF318159131C--

--tZnbiWVGbmEPKg6dY5lMW9lIcSgUmfyHV--

--xcmROLq7i7ZlGZvdrKSDXEoBfINL1u1fI
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature"

-----BEGIN PGP SIGNATURE-----

wsB5BAABCAAjFqEEo3HqZZwL7MgrcVMTR+u171r99UQFAl9XtgwFAwAAAAAACgkQR+u171r99UQO
Fgf6AvvfB3NJsXIh+xd7cThkdVRLjhOgZVCUjMwY50/VN2KMiIqN57C63LGf8AlrOsUXBUB2x01u
QZABPpT1IgHsMKS6B194STgexaRnKXyIEVLHfMLXIaqSidTzHQ1U37PS9hAEWgTdMeKJJOEosev3
nNBuR4DuZ0NwjYb9lVkFUUjMxE8jjptMswXRAgpwGmcNWrVOiYCmiEtrmI05ntvb2S9hpznFxatM
L8eg1x/jIcArRQryk7DT6LqS+rAzVcls1XM6X4iEHcJ3XVkWwKPIM9sNeBVb8ntQMXNE77uthiht
oEwNW7OiTccKOf7fVQQ4UzX2qdIJNQdZg9PCYZKNRw==
=mwu+
-----END PGP SIGNATURE-----

--xcmROLq7i7ZlGZvdrKSDXEoBfINL1u1fI--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3db7c3c2-d1c2-f5e8-6756-a4b4a9d958d4>