Ignore:
Timestamp:
Mar 11, 2016, 11:33:20 PM (3 years ago)
Author:
ryandesign@…
Message:

python-1.0.tcl: make every effort to clear distfiles of the stub port (#50874); update copyright year

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/_resources/port1.0/group/python-1.0.tcl

    r143452 r146556  
    22# $Id$
    33#
    4 # Copyright (c) 2011 The MacPorts Project
     4# Copyright (c) 2011-2016 The MacPorts Project
    55#
    66# Redistribution and use in source and binary forms, with or without
     
    106106        }
    107107        if {$subport eq $name || $subport eq ""} {
     108            # Ensure the stub port does not do anything with distfiles—not
     109            # if the port overrides distfiles, not if there's a post-extract
     110            # block (e.g. the github portgroup).
     111            distfiles
     112            pre-fetch {
     113                distfiles
     114            }
     115            fetch {}
     116            pre-checksum {
     117                distfiles
     118            }
     119            checksum {}
     120            pre-extract {
     121                distfiles
     122            }
     123            extract {}
     124
    108125            # set up py-foo as a stub port that depends on the default pyXY-foo
    109             fetch {}
    110             checksum {}
    111             extract {}
    112126            supported_archs noarch
    113127            global python.default_version python.version
Note: See TracChangeset for help on using the changeset viewer.