[MacPorts] #53753: tldr c client

classic Classic list List threaded Threaded
14 messages Options
Reply | Threaded
Open this post in threaded view
|

[MacPorts] #53753: tldr c client

MacPorts
#53753: tldr c client
------------------------+-----------------------------
 Reporter:  1-61803     |      Owner:
     Type:  submission  |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:
 Keywords:              |       Port:  tldr-cpp-client
------------------------+-----------------------------
 https://github.com/tldr-pages/tldr-cpp-client

 Unfortunately `CHANGELOG.md` and `CONTRIBUTING.md` don't come with the
 tarball, so they are not included.

--
Ticket URL: <https://trac.macports.org/ticket/53753>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #53753: tldr c client

MacPorts
#53753: tldr c client
------------------------------+-----------------
  Reporter:  1-61803          |      Owner:
      Type:  submission       |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:
Resolution:                   |   Keywords:
      Port:  tldr-cpp-client  |
------------------------------+-----------------
Changes (by 1-61803):

 * Attachment "Portfile" added.


--
Ticket URL: <https://trac.macports.org/ticket/53753>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #53753: tldr c client

MacPorts
In reply to this post by MacPorts
#53753: tldr c client
------------------------------+-----------------
  Reporter:  1-61803          |      Owner:
      Type:  submission       |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:
Resolution:                   |   Keywords:
      Port:  tldr-cpp-client  |
------------------------------+-----------------
Changes (by kurthindenburg):

 * cc: kurthindenburg (added)


Comment:

 Any reason to not use the python version?  It appears to be updated more
 recently.

--
Ticket URL: <https://trac.macports.org/ticket/53753#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #53753: tldr c client

MacPorts
In reply to this post by MacPorts
#53753: tldr c client
------------------------------+-----------------
  Reporter:  1-61803          |      Owner:
      Type:  submission       |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:
Resolution:                   |   Keywords:
      Port:  tldr-cpp-client  |
------------------------------+-----------------

Comment (by 1-61803):

 `tldr-cpp-client` has autocompletion[[BR]]

 `tldr-python-client` is more configurable (cache, colors), but no
 autocomplete — I guess I could use it from the `c` client[[BR]]

 `tldr-node-client` has it all with a little more elbow grease

 Thing is, I gave the `python` client a shot but failed with
 {{{
 Most other sources (such as GitHub's tarballs, a git checkout without the
 .git folder) don't contain the necessary
 metadata and will not work.
 }}}

 Let me know if you can take a look at it (`portfile` and `main.log`
 attached), otherwise I'll post it to the list, and if found a solution,
 I'll submit it separately.

--
Ticket URL: <https://trac.macports.org/ticket/53753#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #53753: tldr c client

MacPorts
In reply to this post by MacPorts
#53753: tldr c client
------------------------------+-----------------
  Reporter:  1-61803          |      Owner:
      Type:  submission       |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:
Resolution:                   |   Keywords:
      Port:  tldr-cpp-client  |
------------------------------+-----------------
Changes (by 1-61803):

 * Attachment "Portfile.2" added.

 python client

--
Ticket URL: <https://trac.macports.org/ticket/53753>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #53753: tldr c client

MacPorts
In reply to this post by MacPorts
#53753: tldr c client
------------------------------+-----------------
  Reporter:  1-61803          |      Owner:
      Type:  submission       |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:
Resolution:                   |   Keywords:
      Port:  tldr-cpp-client  |
------------------------------+-----------------
Changes (by 1-61803):

 * Attachment "main.log" added.

 log for python client

--
Ticket URL: <https://trac.macports.org/ticket/53753>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #53753: tldr c client

MacPorts
In reply to this post by MacPorts
#53753: tldr c client
------------------------------+-----------------
  Reporter:  1-61803          |      Owner:
      Type:  submission       |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:
Resolution:                   |   Keywords:
      Port:  tldr-cpp-client  |
------------------------------+-----------------

Comment (by 1-61803):

 @kurthindenburg, is there a problem committing this one in the meantime?

--
Ticket URL: <https://trac.macports.org/ticket/53753#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #53753: tldr c client

MacPorts
In reply to this post by MacPorts
#53753: tldr c client
------------------------------+----------------------------
  Reporter:  1-61803          |      Owner:  kurthindenburg
      Type:  submission       |     Status:  closed
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:
Resolution:  fixed            |   Keywords:
      Port:  tldr-cpp-client  |
------------------------------+----------------------------
Changes (by kurthindenburg):

 * owner:   => kurthindenburg
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"a79493e56cb89324f1ed86295373eb31fe86739e/macports-ports"
 a79493e5/macports-ports]:
 {{{
 #!ConfigurableCommitTicketReference repository="macports-ports"
 revision="a79493e56cb89324f1ed86295373eb31fe86739e"
 tldr-cpp-client: new port

 closes https://trac.macports.org/ticket/53753
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/53753#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #53753: tldr c client

MacPorts
In reply to this post by MacPorts
#53753: tldr c client
------------------------------+----------------------------
  Reporter:  1-61803          |      Owner:  kurthindenburg
      Type:  submission       |     Status:  closed
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:
Resolution:  fixed            |   Keywords:
      Port:  tldr-cpp-client  |
------------------------------+----------------------------

Comment (by kurthindenburg):

 If you want to add another ticket for the python version, go ahead -
 although perhaps this one is enough.

--
Ticket URL: <https://trac.macports.org/ticket/53753#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #53753: tldr c client

MacPorts
In reply to this post by MacPorts
#53753: tldr c client
------------------------------+----------------------------
  Reporter:  1-61803          |      Owner:  kurthindenburg
      Type:  submission       |     Status:  closed
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:
Resolution:  fixed            |   Keywords:
      Port:  tldr-cpp-client  |
------------------------------+----------------------------

Comment (by 1-61803):

 ok, any ideas about the log I attached for the python client?

--
Ticket URL: <https://trac.macports.org/ticket/53753#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #53753: tldr c client

MacPorts
In reply to this post by MacPorts
#53753: tldr c client
------------------------------+----------------------------
  Reporter:  1-61803          |      Owner:  kurthindenburg
      Type:  submission       |     Status:  closed
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:
Resolution:  fixed            |   Keywords:
      Port:  tldr-cpp-client  |
------------------------------+----------------------------

Comment (by 1-61803):

 While cutting leaves I realised it doesn't only depend during the build
 phase on these
 {{{
 depends_lib         port:curl \
                     port:libzip
 }}}
 Do you need a separate ticket?

--
Ticket URL: <https://trac.macports.org/ticket/53753#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #53753: tldr c client

MacPorts
In reply to this post by MacPorts
#53753: tldr c client
------------------------------+----------------------------
  Reporter:  1-61803          |      Owner:  kurthindenburg
      Type:  submission       |     Status:  closed
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:
Resolution:  fixed            |   Keywords:
      Port:  tldr-cpp-client  |
------------------------------+----------------------------

Comment (by 1-61803):

 Also, please add
 {{{
 conflicts           tldr-python-client
 }}}
 See #53788.

--
Ticket URL: <https://trac.macports.org/ticket/53753#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #53753: tldr c client

MacPorts
In reply to this post by MacPorts
#53753: tldr c client
------------------------------+----------------------------
  Reporter:  1-61803          |      Owner:  kurthindenburg
      Type:  submission       |     Status:  closed
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:
Resolution:  fixed            |   Keywords:
      Port:  tldr-cpp-client  |
------------------------------+----------------------------

Comment (by kurthindenburg):

 You are  correct


 {{{
  otool -L /opt/local/bin/tldr
 /opt/local/bin/tldr:
         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
 version 1238.0.0)
         /opt/local/lib/libcurl.4.dylib (compatibility version 9.0.0,
 current version 9.0.0)
         /opt/local/lib/libzip.4.dylib (compatibility version 5.0.0,
 current version 5.0.0)
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/53753#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #53753: tldr c client

MacPorts
In reply to this post by MacPorts
#53753: tldr c client
------------------------------+----------------------------
  Reporter:  1-61803          |      Owner:  kurthindenburg
      Type:  submission       |     Status:  closed
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:
Resolution:  fixed            |   Keywords:
      Port:  tldr-cpp-client  |
------------------------------+----------------------------

Comment (by 1-61803):

 Ok, then please post back when you commit both changes above so that I can
 delete my local port.

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