[Bug 240735] astro/pyephem: This port is only a stub now, which should load the main port as a dependency

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Sep 21 17:34:36 UTC 2019


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

            Bug ID: 240735
           Summary: astro/pyephem: This port is only a stub now, which
                    should load the main port as a dependency
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: wen at FreeBSD.org
          Reporter: rhurlin at gwdg.de
          Assignee: wen at FreeBSD.org
             Flags: maintainer-feedback?(wen at FreeBSD.org)

Created attachment 207699
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=207699&action=edit
astro/pyephem takes astro/py-ephem as a dependency

With the newest version 3.7.7.0, the port astro/pyephem only installs a
nonfunctional stub without any functional Python code[1]. This is, because the
naming scheme of the sources changed from pyephem to ephem. Since some other
ports expect the old name pyephem, a new functional port astro/py-ephem with
the Python code was created[2].

With the attached patch, astro/pyephem (the existing one) takes a new port
astro/py-ephem as a dependency, so that other ports like comms/gnuradio will
find the Python code installed by ephem again:

>From comms/gnuradio Makefile:
BUILD_DEPENDS=${PYTHON_SITELIBDIR}/ephem/__init__.py:astro/pyephem@${PY_FLAVOR}

[1] Description section of PKG-INFO:l9-17

   "This package is a stub
    that contains no Python code,
    but lists ``ephem`` as its install requirement
    in case any old projects depend on this ``pyephem`` package name.
    New projects are encouraged to directly require the main package,
    which can be found at: https://pypi.org/project/ephem/ "

[2] https://pypi.org/project/ephem/

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list