Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jun 2021 00:48:21 +0200
From:      Piotr Kubaj <pkubaj@anongoth.pl>
To:        Bryan Drewery <bdrewery@freebsd.org>
Cc:        ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org
Subject:   Re: git: 9a34ad5a4907 - main - category/port: Package name dependencies do not support globbing.
Message-ID:  <YL6iNVIGH/Sb7gPy@KGPE-D16>
In-Reply-To: <202106072240.157MeM5N088916@gitrepo.freebsd.org>
References:  <202106072240.157MeM5N088916@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--rlGg95UEycSpYT93
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Uhm.

On 21-06-07 22:40:22, Bryan Drewery wrote:
> The branch main has been updated by bdrewery:
>=20
> URL: https://cgit.FreeBSD.org/ports/commit/?id=3D9a34ad5a4907925598c80d6c=
3e3cfeac1ca9e4a9
>=20
> commit 9a34ad5a4907925598c80d6c3e3cfeac1ca9e4a9
> Author:     Bryan Drewery <bdrewery@FreeBSD.org>
> AuthorDate: 2021-06-07 22:24:25 +0000
> Commit:     Bryan Drewery <bdrewery@FreeBSD.org>
> CommitDate: 2021-06-07 22:39:37 +0000
>=20
>     category/port: Package name dependencies do not support globbing.
So now we're working around the limitations we ourselves set?

>    =20
>     5.9.9 of the Porters Handbook defines the use of pkgname/version
>     dependencies which does not include globbing.  Incidentally
>     `pkg info` is used by the ports framework which does support it
>     but external tools, like Poudriere, don't expect this.
>    =20
>     None of these needed globbing.  If there is a good reason beyond
>     convenience for the feature then it needs to be documented and
>     tools updated.
> ---
>  games/py-pychess/Makefile           | 8 ++++----
>  japanese/japana/Makefile            | 2 +-
>  math/octave-forge-geometry/Makefile | 4 +++-
>  www/gnome-user-share/Makefile       | 2 +-
>  4 files changed, 9 insertions(+), 7 deletions(-)
>=20
> diff --git a/games/py-pychess/Makefile b/games/py-pychess/Makefile
> index b542c1da5b3f..dc3724cf3d12 100644
> --- a/games/py-pychess/Makefile
> +++ b/games/py-pychess/Makefile
> @@ -11,10 +11,10 @@ COMMENT=3D	GTK chess client written in Python
>  LICENSE=3D	GPLv3
> =20
>  COMMON_DEPENDS=3D	${PYTHON_PKGNAMEPREFIX}pexpect>0:misc/py-pexpect@${PY_=
FLAVOR} \
> -		${PYTHON_PKGNAMEPREFIX}sqlalchemy*>1.:databases/py-sqlalchemy13@${PY_F=
LAVOR} \
> -		${PYTHON_PKGNAMEPREFIX}psutil*>0.:sysutils/py-psutil@${PY_FLAVOR} \
> -		${PYTHON_PKGNAMEPREFIX}gobject*>2:devel/py-gobject3@${PY_FLAVOR} \
> -		${PYTHON_PKGNAMEPREFIX}websockets*>7.:devel/py-websockets@${PY_FLAVOR}
> +		${PYTHON_PKGNAMEPREFIX}sqlalchemy>1.:databases/py-sqlalchemy13@${PY_FL=
AVOR} \
> +		${PYTHON_PKGNAMEPREFIX}psutil>0.:sysutils/py-psutil@${PY_FLAVOR} \
> +		${PYTHON_PKGNAMEPREFIX}gobject>2:devel/py-gobject3@${PY_FLAVOR} \
> +		${PYTHON_PKGNAMEPREFIX}websockets>7.:devel/py-websockets@${PY_FLAVOR}
>  RUN_DEPENDS=3D	${COMMON_DEPENDS}
>  BUILD_DEPENDS=3D	${COMMON_DEPENDS}
> =20
> diff --git a/japanese/japana/Makefile b/japanese/japana/Makefile
> index cd67464581d0..00f6b8af39a7 100644
> --- a/japanese/japana/Makefile
> +++ b/japanese/japana/Makefile
> @@ -9,7 +9,7 @@ MASTER_SITES=3D	SF
>  MAINTAINER=3D	ports@FreeBSD.org
>  COMMENT=3D	Web proxy converting Japanese into Romaji
> =20
> -RUN_DEPENDS=3D	*p5-Text-Kakasi>=3D2:japanese/p5-Text-Kakasi \
> +RUN_DEPENDS=3D	ja-p5-Text-Kakasi>=3D2:japanese/p5-Text-Kakasi \
>  		p5-AppConfig>=3D0:devel/p5-AppConfig \
>  		p5-libwww>=3D0:www/p5-libwww
> =20
> diff --git a/math/octave-forge-geometry/Makefile b/math/octave-forge-geom=
etry/Makefile
> index 0f8f4ce24b4d..a60f68121b64 100644
> --- a/math/octave-forge-geometry/Makefile
> +++ b/math/octave-forge-geometry/Makefile
> @@ -11,13 +11,15 @@ COMMENT=3D	Octave-forge package ${OCTAVE_PKGNAME}
>  LICENSE=3D	GPLv3
>  LICENSE_FILE=3D	${WRKDIR}/${OCTSRC}/COPYING
> =20
> +USES=3D		python:env
> +
>  # OCTSRC is the name of the directory of the package.
>  # It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
>  OCTSRC=3D		${DISTNAME}
> =20
>  WRKSRC=3D		${WRKDIR}/${OCTSRC}/src
> =20
> -RUN_DEPENDS+=3D	py*-lxml>=3D0:devel/py-lxml
> +RUN_DEPENDS+=3D	${PYTHON_PKGNAMEPREFIX}lxml>=3D0:devel/py-lxml
>  RUN_DEPENDS+=3D	${TARBALLS_DIR}/matgeom.tar.gz:math/octave-forge-matgeom
> =20
>  .include "${.CURDIR}/../../Mk/bsd.octave.mk"
> diff --git a/www/gnome-user-share/Makefile b/www/gnome-user-share/Makefile
> index 7a05e418ff70..e35df9b8cda6 100644
> --- a/www/gnome-user-share/Makefile
> +++ b/www/gnome-user-share/Makefile
> @@ -16,7 +16,7 @@ LIB_DEPENDS=3D	libavahi-client.so:net/avahi-app \
>  		libnotify.so:devel/libnotify \
>  		libcanberra-gtk3.so:audio/libcanberra-gtk3 \
>  		libunique-1.0.so:x11-toolkits/unique
> -RUN_DEPENDS=3D	ap*-mod_dnssd>=3D0:www/mod_dnssd \
> +RUN_DEPENDS=3D	${APACHE_PKGNAMEPREFIX}mod_dnssd>=3D0:www/mod_dnssd \
>  		console-kit-daemon:sysutils/consolekit2
> =20
>  USES=3D		apache:2.2+ gettext gmake gnome libtool pkgconfig tar:xz xorg

--rlGg95UEycSpYT93
Content-Type: application/pgp-signature; name="signature.asc"

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

iQIzBAABCgAdFiEEycyIeNkkgohzsoorelmbhSCDnJ0FAmC+ojUACgkQelmbhSCD
nJ2wpA//VcVEWWAGBLnbBR0XqffbFJxzRRlxd0V0fmYJcTtDOthYYFvrf5kx3eSZ
LDwmY3AJjWqNZzMHRjpPThZMnqtKkN2P6ErORQVasijfyRiAh5o0krW4NIUKgfvh
bhFxT/RKC6vn2cNG4TGoJwONr3ALMRiX/ktfU8mRHcxJQYT/jeDKkWqUdgvGiBB3
LlJ1WYNNXIaRlDMqNcgrz7Ci+BiDFwp07eBmGdRl1EXdOEyfFuRdYTtKshtI0TRQ
1b8xNooX4WY4zeZYmf94DAyjZbh+g9PBvYde/l//L4xH0ngoPYBfvuaZ8Ro1tQ2N
GiH2tTxIyPTDACjOsfKvaxJaU31eG9l3771wCj5eywSZyxkisRG7kSsO8YO/rS6y
zUcMQCOe62j/FCXljloUYS/otQfC1ODFgW3lzmY6b7xBJNzXUaT15bEMcgl0FhgJ
v1hV+uEWnZL4KJI/x7YdSskf0NppHkfM53PJilBnY07gMC0ePbWsqn4Bb2TFEI3D
e5bqC630MoPFQPslk58uaf2eL0H0tZgR7cSAl5qL3rVIAytbTF6mLJz7/SOtlWNv
oLA5bV5c0H9eXBCsedHVoUjkWeDnkRqQCdJw6+zQlqkvVQpJojP9s5MNzmXA+CPL
2e3rhtm0iWcce1w4lFXREHKz7r55Y430uaIxUvu8saPhrgPZNwo=
=sv3p
-----END PGP SIGNATURE-----

--rlGg95UEycSpYT93--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YL6iNVIGH/Sb7gPy>