[Bug 205852] Be nicer about multiple sqlalchemy ports

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jan 3 20:59:23 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205852

            Bug ID: 205852
           Summary: Be nicer about multiple sqlalchemy ports
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Some People
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr at FreeBSD.org
          Reporter: mi at FreeBSD.org
                CC: freebsd-ports-bugs at FreeBSD.org, lwhsu at FreeBSD.org

I'm porting something called MediaGoblin, which requires sqlalchemy above 0.8
(it uses the new with_polimorph feature), but also sqlalchemy-migrate and
alembic. Currently, sqlalchemy-0.8 is installed by
databases/py-sqlalchemy-devel and creates package named sqlachlemy08

Those two list py-sqlalchemy>0.7 among dependencies, which translates into
databases/py-sqlalchemy.

I'm proposing a patch, which relaxes the DEPENDS-line to accept whatever
sqlalchemy is already installed on the system:

-RUN_DEPENDS=  
${PYTHON_PKGNAMEPREFIX}sqlalchemy>=0.7:${PORTSDIR}/databases/py-sqlalchemy \
+RUN_DEPENDS=  
${PYTHON_PKGNAMEPREFIX}sqlalchemy*>=0.7:${PORTSDIR}/databases/py-sqlalchemy \

Although my patch addresses only the two ports mentioned (maintainer CC-ed), it
is very likely, that most (if not all) of the other ports needing sqlalchemy
could do the same thing -- which is why I'm calling portmgr's attention to this
ticket.

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


More information about the freebsd-ports-bugs mailing list