Opened 12 years ago

Closed 8 years ago

#37396 closed submission (fixed)

NEW: jq 1.1

Reported by: robsonpeixoto@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: jq

Description

JQ is a lightweight and flexible command-line JSON processor.

Attachments (3)

Portfile.v2 (830 bytes) - added by robsonpeixoto@… 12 years ago.
Portfile (828 bytes) - added by robsonpeixoto@… 12 years ago.
JQ Version 1.2
Portfile.2 (824 bytes) - added by robsonpeixoto@… 11 years ago.
jq 1.3

Download all attachments as: .zip

Change History (7)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Thanks. Some comments:

  • The line "file mkdir ${destroot}${prefix}/bin" can be removed; MacPorts makes standard directories for you before the destroot phase runs.
  • Are bison and flex really need at runtime? Often they're only needed at build time.
  • You declare a python27 dependency, but I don't see anything that tells the port to actually use the python installed by the python27 port.
  • You use "use_configure no" but I don't see anything that tells the port how to build with the right architectures. Or is this software not architecture-specific? In that case, add "supported_archs noarch".

comment:2 Changed 12 years ago by jmroot (Joshua Root)

Summary: jq 1.1NEW: jq 1.1
Version: 2.1.2

comment:3 in reply to:  1 Changed 12 years ago by robsonpeixoto@…

Replying to ryandesign@…:

Thanks. Some comments:

  • The line "file mkdir ${destroot}${prefix}/bin" can be removed; MacPorts makes standard directories for you before the destroot phase runs.

Done !

  • Are bison and flex really need at runtime? Often they're only needed at build time.

Are you right. Done =D

  • You declare a python27 dependency, but I don't see anything that tells the port to actually use the python installed by the python27 port.

It's only need of python binary to compile. Maybe use the official apple's python ?

  • You use "use_configure no" but I don't see anything that tells the port how to build with the right architectures. Or is this software not architecture-specific? In that case, add "supported_archs noarch".

JQ don't support configure file. In this case the Makefile compile to the current architecture.

Attaching a new version

Thanks

Last edited 12 years ago by robsonpeixoto@… (previous) (diff)

Changed 12 years ago by robsonpeixoto@…

Attachment: Portfile.v2 added

Changed 12 years ago by robsonpeixoto@…

Attachment: Portfile added

JQ Version 1.2

Changed 11 years ago by robsonpeixoto@…

Attachment: Portfile.2 added

jq 1.3

comment:4 Changed 8 years ago by l2dy (Zero King)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.