Ignore:
Timestamp:
Nov 5, 2008, 1:45:07 PM (12 years ago)
Author:
pguyot@…
Message:

Handle new syntax for dependencies, to allow work for dependencies to happen on trunk/ where ports lie, while base/ is frozen for most users (cf bug #126)

Location:
trunk/base/tests/test/dependencies-d
Files:
2 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/base/tests/test/dependencies-d/Portfile

    r23701 r41526  
    22
    33PortSystem 1.0
    4 name            dependencies-c
     4name            dependencies-d
    55version         1
    66categories      test
     
    2121}
    2222
    23 default_variants        +i_want_a
     23# Check that macports doesn't chunk on this junk.
     24# This might mean this port depends on port dependencies-a without variant
     25# i_want_b (which is a default variant).
     26depends_lib     port:-i_want_b:dependencies-a
    2427
    25 variant i_want_a {
    26         depends_lib-append      port:dependencies-a
    27 }
     28# Check that macports doesn't chunk on this junk, but just generates a warning.
     29depends {configure {dependencies-a +i_want_b >= 1}}
    2830
    2931test {
  • trunk/base/tests/test/dependencies-d/master

    r37270 r41526  
     1Warning: depends option is not handled yet
     2Warning: depends option is not handled yet
    13--->  Fetching dependencies-b
    24--->  Verifying checksum(s) for dependencies-b
    35--->  Extracting dependencies-b
    46--->  Configuring dependencies-b
    5 --->  Building dependencies-b with target all
     7--->  Building dependencies-b
    68--->  Staging dependencies-b into destroot
    79--->  Installing dependencies-b @1_0
     
    1214--->  Extracting dependencies-a
    1315--->  Configuring dependencies-a
    14 --->  Building dependencies-a with target all
     16--->  Building dependencies-a
    1517--->  Staging dependencies-a into destroot
    1618--->  Installing dependencies-a @1_0+i_want_b
    1719--->  Activating dependencies-a @1_0+i_want_b
    1820--->  Cleaning dependencies-a
    19 --->  Fetching dependencies-c
    20 --->  Verifying checksum(s) for dependencies-c
    21 --->  Extracting dependencies-c
    22 --->  Configuring dependencies-c
    23 --->  Building dependencies-c with target all
    24 --->  Testing dependencies-c
     21--->  Fetching dependencies-d
     22--->  Verifying checksum(s) for dependencies-d
     23--->  Extracting dependencies-d
     24--->  Configuring dependencies-d
     25--->  Building dependencies-d
     26--->  Testing dependencies-d
Note: See TracChangeset for help on using the changeset viewer.