Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Jan 2016 23:35:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 205852] Be nicer about multiple sqlalchemy ports
Message-ID:  <bug-205852-13-3o3mr7uhyf@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-205852-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-205852-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D205852

--- Comment #3 from Mikhail Teterin <mi@FreeBSD.org> ---
(In reply to Antoine Brodin from comment #2)
> could match ${PYTHON_PKGNAMEPREFIX}sqlalchemy-migrate for instance.

Yes, indeed... The desired result can not be expressed with a glob-pattern =
--
only with a regex. Fortunately, a port can overwrite PKG_INFO -- even if th=
is
makes things messier, than I was hoping for.

If PKG_INFO can not be made to use "-x" instead of "-g" globally, how about
something like this for the ports in question:

--- Makefile    (revision 405181)
+++ Makefile    (working copy)
@@ -11,9 +11,10 @@

 LICENSE=3D       MIT

-RUN_DEPENDS=3D=20=20
${PYTHON_PKGNAMEPREFIX}sqlalchemy>=3D0.7.3:${PORTSDIR}/databases/py-sqlalch=
emy \
+RUN_DEPENDS=3D=20=20
${PYTHON_PKGNAMEPREFIX}sqlalchemy[0-9]*$$>=3D0.7.3:${PORTSDIR}/databases/py=
-sqlalchemy
\
                ${PYTHON_PKGNAMEPREFIX}mako>=3D0:${PORTSDIR}/textproc/py-ma=
ko

+PKG_INFO=3D      ${PKG_BIN} info -x
 USES=3D          python
 USE_PYTHON=3D    distutils autoplist

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-205852-13-3o3mr7uhyf>