[Bug 205852] Be nicer about multiple sqlalchemy ports
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Jan 3 23:35:50 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205852
--- Comment #3 from Mikhail Teterin <mi at 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 this
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= MIT
-RUN_DEPENDS=
${PYTHON_PKGNAMEPREFIX}sqlalchemy>=0.7.3:${PORTSDIR}/databases/py-sqlalchemy \
+RUN_DEPENDS=
${PYTHON_PKGNAMEPREFIX}sqlalchemy[0-9]*$$>=0.7.3:${PORTSDIR}/databases/py-sqlalchemy
\
${PYTHON_PKGNAMEPREFIX}mako>=0:${PORTSDIR}/textproc/py-mako
+PKG_INFO= ${PKG_BIN} info -x
USES= python
USE_PYTHON= distutils autoplist
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-ports-bugs
mailing list