[MacPorts] #58393: py-spdx-lookup: missing runtime dependency on py-spdx

MacPorts noreply at macports.org
Fri Apr 26 22:53:40 UTC 2019


#58393: py-spdx-lookup: missing runtime dependency on py-spdx
------------------------------------+----------------------
  Reporter:  mojca                  |      Owner:  Korusuke
      Type:  defect                 |     Status:  assigned
  Priority:  Normal                 |  Milestone:
 Component:  ports                  |    Version:
Resolution:                         |   Keywords:
      Port:  py-spdx-lookup py-upt  |
------------------------------------+----------------------

Comment (by Korusuke):

 I removed `py-spdx` dependency from `py-upt`
 and then Uninstalling all ports and then just doing `sudo port install py-
 upt` and `sudo port install curl-ca-bundle` still works for me.

 The weird thing about this that I am not able to understand is that
 neither `py-spdx` nor `py-spdx-lookup` are installed and even then
 `upt-3.7 package -f pypi -b macports upt` works perfectly.


 {{{
 > port installed
 The following ports are currently installed:
   bzip2 @1.0.6_0 (active)
   curl-ca-bundle @7.64.1_0 (active)
   expat @2.2.6_1 (active)
   gettext @0.19.8.1_1 (active)
   gperf @3.1_0 (active)
   libedit @20190324-3.1_0 (active)
   libffi @3.2.1_0 (active)
   libiconv @1.15_0 (active)
   ncurses @6.1_0 (active)
   openssl @1.0.2r_0 (active)
   py-upt @0.6_0 (active)
   py37-certifi @2019.03.09_0 (active)
   py37-chardet @3.0.4_1 (active)
   py37-idna @2.8_0 (active)
   py37-jinja2 @2.10.1_0 (active)
   py37-markupsafe @1.1.1_0 (active)
   py37-requests @2.21.0_0 (active)
   py37-setuptools @41.0.0_0 (active)
   py37-upt @0.6_0 (active)
   py37-upt-cpan @0.4_0 (active)
   py37-upt-macports @0.1-20190425_0 (active)
   py37-upt-pypi @0.3_0 (active)
   py37-urllib3 @1.24.2_0 (active)
   python3_select @0.0_1 (active)
   python37 @3.7.3_0 (active)
   python_select @0.3_8 (active)
   sqlite3 @3.28.0_0 (active)
   xz @5.2.4_0 (active)
   zlib @1.2.11_0 (active)
 }}}



 {{{
 > upt-3.7 package -f pypi -b macports upt
 [INFO    ] [Backend] Hello, creating the package
 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c
 -basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

 PortSystem          1.0
 PortGroup           python 1.0

 name                py-upt
 version             0.6
 revision            0

 maintainers         nomaintainer
 description         Package software from any package manager to any
 distribution
 long_description    ${description}

 platforms           darwin
 # uncomment and edit the following line depending on whether the port
 installs architecture-dependent files
 # supported_archs     noarch

 homepage            https://framagit.org/upt/upt
 master_sites        pypi:[string index ${python.rootname}
 0]/${python.rootname}
 distname            ${python.rootname}-${version}

 license             3-clause BSD License
 checksums           sha256
 707b79dd699f5bdd68ef2eeb66bacfe2f86e0c93f99ad3a5c48b1b6a799b222b \
                     rmd160  3b7b367dde8fe48315708de8cbbcf02034286fd5 \
                     size    23609

 python.versions     37

 if {${name} ne ${subport}} {

     depends_build-append \
                     port:py${python.version}-setuptools
     depends_lib-append \
                     port:py${python.version}-spdx-lookup
     livecheck.type  none
 }

 <bound method MacPortsPackage._depends of
 <upt_macports.upt_macports.MacPortsPythonPackage object at 0x10fbddc50>>
 }}}

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


More information about the macports-tickets mailing list