Re: git: 766195a14073 - main - devel/py-asn1: Fix version numbers going backwards
Date: Thu, 06 Apr 2023 19:05:32 UTC
07.04.2023 1:52, Muhammad Moinur Rahman wrote:
> The branch main has been updated by bofh:
>
> URL: https://cgit.FreeBSD.org/ports/commit/?id=766195a14073adffe24db585bca7a18ed8c66248
>
> commit 766195a14073adffe24db585bca7a18ed8c66248
> Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
> AuthorDate: 2023-04-06 18:49:10 +0000
> Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
> CommitDate: 2023-04-06 18:52:07 +0000
>
> devel/py-asn1: Fix version numbers going backwards
>
> Although this is a new port but there was an entry in the MOVED file
> from 2015 when devel/py-asn1 was moved to devel/py-pyasn1 to match the
> upstreaming rename. This entry from MOVED was not removed while adding
> the new port.
>
> Reported by: eugen
> Approved by: portmgr (just-fix-it)
> ---
> MOVED | 1 -
> devel/py-asn1/Makefile | 1 +
> 2 files changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/MOVED b/MOVED
> index e9237d74642d..d58e79fd6d76 100644
> --- a/MOVED
> +++ b/MOVED
> @@ -7775,7 +7775,6 @@ devel/py-experimental.cssselect||2015-11-15|The only consumer of this port switc
> databases/mariadb-client||2015-11-18|Vulnerable, no updates expected, use mariadb55 or mariadb100 instead
> databases/mariadb-server||2015-11-18|Vulnerable, no updates expected, use mariadb55 or mariadb100 instead
> databases/mariadb-scripts||2015-11-18|Vulnerable, no updates expected, use mariadb55 or mariadb100 instead
> -devel/py-asn1|devel/py-pyasn1|2015-11-18|Renamed to match upstream naming
> devel/py-pytz3|devel/py3-pytz|2015-11-19|Port Renamed
> devel/ocaml-typeconv|devel/ocaml-type_conv|2015-11-20|Renamed to match upstream naming
> www/py3-aiohttp|www/py-aiohttp|2015-11-21|Duplicate port
> diff --git a/devel/py-asn1/Makefile b/devel/py-asn1/Makefile
> index 3228a63927df..079e82a10a67 100644
> --- a/devel/py-asn1/Makefile
> +++ b/devel/py-asn1/Makefile
> @@ -1,5 +1,6 @@
> PORTNAME= asn1
> PORTVERSION= 2.7.0
> +PORTEPOCH= 1
> CATEGORIES= devel python
> MASTER_SITES= PYPI
> PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
I do not like such a solution. Why PORTEPOCH for new port?