[MacPorts] #45898: Portfile for py-libnacl

MacPorts noreply at macports.org
Sun Nov 16 01:58:48 PST 2014


#45898: Portfile for py-libnacl
-------------------------+--------------------------------
  Reporter:  cr@…        |      Owner:  macports-tickets@…
      Type:  submission  |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.3.2
Resolution:              |   Keywords:
      Port:  libnacl     |
-------------------------+--------------------------------

Comment (by ryandesign@…):

 Replying to [comment:2 cr@…]:
 > I'm confused--six is a compatibility library and I see there is a 'py-
 six' port as well as a one for py26, py27, py34, etc.  Why does the py-six
 port exist?

 All python module ports are made this way. There is a py-whatever
 portfile, which creates "subports" for each version of python, e.g.
 py27-whatever, py34-whatever, etc. based on the `python.versions` option.
 The main py-whatever port is not meant to be installed; installing it
 serves no purpose; the only thing it installs is a readme saying it is a
 stub port.

 > libnacl is a python binding to libsodium.  It's compatible with Python
 2.6 through 3.4.  Is there a way to create a Portfile that will result in
 ports for all those Python versions or do I need to create a separate
 Portfile for each?

 Then what you want is to make a py-libnacl port and set `python.versions
 27 34`. (We're in the process of excising python 2 < 2.7 and python 3 <
 3.4 from MacPorts so there's no need to create those versions.)

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


More information about the macports-tickets mailing list