Opened 9 years ago

Closed 9 years ago

#48250 closed submission (duplicate)

py27-horton @2.0.0 New port submission

Reported by: tczorro (Derrick) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: petrrr
Port:

Description

Main Webpage:http://theochem.github.io/horton/

py27-horton is a quantum chemistry package for python developed by our group.

BTW: In this portfile, I want to use numpy27 +atlas to build numpy with atlas, but I don't know how to realize it.

Attachments (2)

Portfile (3.9 KB) - added by tczorro (Derrick) 9 years ago.
Portfile2 (4.0 KB) - added by tczorro (Derrick) 9 years ago.

Download all attachments as: .zip

Change History (6)

Changed 9 years ago by tczorro (Derrick)

Attachment: Portfile added

comment:1 in reply to:  description ; Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to yangx59@…:

BTW: In this portfile, I want to use numpy27 +atlas to build numpy with atlas, but I don't know how to realize it.

MacPorts base doesn't support declaring dependencies on variants of ports, and we try to discourage attempting to do this. But if you must, you would use the require_active_variants procedure from the active_variants 1.1 portgroup.

comment:2 in reply to:  1 Changed 9 years ago by tczorro (Derrick)

Replying to ryandesign@…:

Replying to yangx59@…:

BTW: In this portfile, I want to use numpy27 +atlas to build numpy with atlas, but I don't know how to realize it.

MacPorts base doesn't support declaring dependencies on variants of ports, and we try to discourage attempting to do this. But if you must, you would use the require_active_variants procedure from the active_variants 1.1 portgroup.

It seems just test whether the dependency port is installed with the variants rather than installed the port with declared variants. I just updated the portfile, would you please help me figure out or give me an example how to let it install the dependency port with some variants like numpy +atlas. I will really appreciate it.

Changed 9 years ago by tczorro (Derrick)

Attachment: Portfile2 added

comment:3 Changed 9 years ago by petrrr

Cc: petr@… added

Cc Me!

comment:4 Changed 9 years ago by petrrr

Resolution: duplicate
Status: newclosed

Duplicated several times. Keeping the latest #48413 and closing all others!

Note: See TracTickets for help on using tickets.