Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Nov 2023 18:12:49 +0100
From:      Jan Beich <jbeich@FreeBSD.org>
To:        Wen Heping <wen@FreeBSD.org>
Cc:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   Re: git: 3232af189573 - main - www/py-flask: Update to 3.0.0
Message-ID:  <4jh7-w25q-wny@FreeBSD.org>
In-Reply-To: <h6l7-xk1g-wny@FreeBSD.org> (Jan Beich's message of "Mon, 27 Nov 2023 17:01:15 %2B0100")
References:  <202311271241.3ARCflmq026164@gitrepo.freebsd.org> <h6l7-xk1g-wny@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Jan Beich <jbeich@FreeBSD.org> writes:

> [00:00:23] Warning: www/flexget dependency on www/py-flask@py39 has wrong PKGNAME of 'py39-Flask' but should be 'py39-flask'; Is the dependency missing a @FLAVOR?
> [00:00:24] Warning: www/py-flask-compress dependency on www/py-flask@py39 has wrong PKGNAME of 'py39-Flask' but should be 'py39-flask'; Is the dependency missing a @FLAVOR?
> [00:00:24] Warning: www/py-flask-login dependency on www/py-flask@py39 has wrong PKGNAME of 'py39-Flask' but should be 'py39-flask'; Is the dependency missing a @FLAVOR?
> [00:00:24] Warning: www/py-flask-restx dependency on www/py-flask@py39 has wrong PKGNAME of 'py39-Flask' but should be 'py39-flask'; Is the dependency missing a @FLAVOR?
> [00:00:24] Warning: www/py-flask-cors dependency on www/py-flask@py39 has wrong PKGNAME of 'py39-Flask' but should be 'py39-flask'; Is the dependency missing a @FLAVOR?

Adjusting *_DEPENDS is trivial but may not be correct.

$ git grep -lF :www/py-flask | xargs sed -i '' '/py-flask@/s/Flask/flask/'
$ git diff
[...]
-               ${PYTHON_PKGNAMEPREFIX}Flask>0:www/py-flask@${PY_FLAVOR} \
+               ${PYTHON_PKGNAMEPREFIX}flask>0:www/py-flask@${PY_FLAVOR} \
[...]

See also
https://wiki.freebsd.org/Python/PortsPolicy#PORTNAME
https://pypi.org/project/Flask/ (still capitalized)

>>>> import flask_restx
>>>> import flask_login

Fixed in 0335abf42682 and c50a6746b601. Also compatible with the old
py-flask and py-werkzeug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4jh7-w25q-wny>