[MacPorts] #51678: yum @3.2.29_1 Cannot import yum module in python after install

MacPorts noreply at macports.org
Fri Aug 19 11:00:07 PDT 2016


#51678: yum @3.2.29_1  Cannot import yum module in python after install
-------------------------+---------------------
  Reporter:  aszostak@…  |      Owner:  n3npq@…
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.3.4
Resolution:              |   Keywords:
      Port:  yum         |
-------------------------+---------------------

Comment (by afb@…):

 Most likely it is hardcoded to lib/python somewhere.

 {{{
 PYSYSDIR := $(shell $(PYTHON) -c 'import sys; print sys.prefix')
 PYLIBDIR = $(PYSYSDIR)/lib/python$(PYVER)
 PKGDIR = $(PYLIBDIR)/site-packages/$(PACKAGE)
 }}}

 It is not meant to be portable, whatsoever.

-- 
Ticket URL: <https://trac.macports.org/ticket/51678#comment:4>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list