[MacPorts] #62580: hamlib @4.1: please enable python (and python3) bindings.

MacPorts noreply at macports.org
Thu Apr 1 15:51:36 UTC 2021


#62580: hamlib @4.1: please enable python (and python3) bindings.
----------------------+---------------------
  Reporter:  RobK88   |      Owner:  ra1nb0w
      Type:  request  |     Status:  closed
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.6.4
Resolution:  fixed    |   Keywords:
      Port:  hamlib   |
----------------------+---------------------

Comment (by RobK88):

 Ken and Davide -- Thanks for all your help!

 Yes I can confirm that the Hamlib portfile does build hamlib with python
 3.9 bindings.   Best of all, I no longer have to use the PYTHONPATH
 environment variable!

 {{{
 hamlib           WORKS!
 hamlib+python27  WORKS!
 hamlib+python37  WORKS!
 hamlib+python38  WORKS!
 hamlib+python39  WORKS!
 }}}

 You may be wondering why I needed Hamlib with python 3 bindings.  I am
 trying to get PyQSO, a ham radio logginbg program, to run.
 (see https://github.com/ctjacobs/pyqso )  Hamlib with Python 3 bindings is
 needed if you want the pyQSO to automatically read the frequency and mode
 from your connected radio.

 Most of the python dependencies are available on Macports but some are
 currently broken like py39-numpy (but the fix is in the works apparently).
 Once py39-numpy get fixed, I suspect (and hope) that the other broken
 dependencies will work!

 Even with the broken and missing dependencies, pyQSO works pretty well
 right now.  One can add, delete and edit contacts (or QSOs).  And the
 DXCluster client works.  But the world map does not work nor does some of
 the stats.  These features should work once the various ports on Macports
 get fixed and once one adds the missing dependencies manually.

 **PyQSO Dependencies:**

 **Basic Dependencies (Available on Macports)**

 Python39
 py39-gobject3
 py39-cairo
 py39-cairocffi
 py39-sphinx

 hamlib+python39

 **Broken Dependencies on Macports  (Needed for World Map)**

 py39-numpy
 py39-matplotlib
 py39-cartopy
 py39-scipy

 **Missing Dependencies (Install via pip3 or via source or create
 portfile!)**

 geocoder
 (see https://pypi.org/project/geocoder/#files )


 **geocoder Dependencies (Available on Macports)**

 py39-click
 py39-requests
 py39-six
 py39-future

 **Missing geocoder Dependencies  (Install via pip3 or via source or create
 portfile!)**

 ratelim
 (see https://pypi.org/project/ratelim/#files )

 **ratelim Dependencies (Available on Macports)**

 py39-decorator


 **BOTTOM LINE: **

 Need to pray that the dependencies available on Macports that are
 currently broken get fixed and will need to create port files (or build
 from source manually) the following:

 ratelim
 geocoder
 pyqso

 I am still trying to figure out how to create working portfiles for
 Macports.  Eventually I will get there.

 73s

 Rob
 VA2FB

-- 
Ticket URL: <https://trac.macports.org/ticket/62580#comment:27>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list