Modified: trunk/dports/_resources/port1.0/group/python26-1.0.tcl (133392 => 133393)
--- trunk/dports/_resources/port1.0/group/python26-1.0.tcl 2015-02-28 15:05:41 UTC (rev 133392)
+++ trunk/dports/_resources/port1.0/group/python26-1.0.tcl 2015-02-28 16:39:11 UTC (rev 133393)
@@ -32,14 +32,10 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
-# This PortGroup is DEPRECATED. Please do not use for new development.
-# Please switch existing ports using this to 'PortGroup python 1.0' (which
-# supports multiple python versions) at your earliest convenience.
-
pre-fetch {
- ui_warn "The $name port is using the deprecated 'python26'\
-PortGroup, which will be disabled in the near future and eventually removed.\
-The maintainer should switch to the 'python' PortGroup."
+ ui_error "The $name port is using the obsolete 'python26'\
+PortGroup. The maintainer should switch to the 'python' PortGroup."
+ error "obsolete PortGroup"
}
set python.branch 2.6
@@ -54,8 +50,6 @@
dist_subdir python
-depends_lib port:python26
-
# we want the default universal variant added despite not using configure
use_configure no
universal_variant yes
@@ -64,41 +58,10 @@
build.target build
options python.add_archflags
default python.add_archflags yes
-pre-build {
- if {${python.add_archflags}} {
- if {[variant_exists universal] && [variant_isset universal]} {
- build.env-append CFLAGS="${configure.universal_cflags}" \
- OBJCFLAGS="${configure.universal_cflags}" \
- CXXFLAGS="${configure.universal_cxxflags}" \
- LDFLAGS="${configure.universal_ldflags}"
- } else {
- build.env-append CFLAGS="${configure.cc_archflags}" \
- OBJCFLAGS="${configure.objc_archflags}" \
- CXXFLAGS="${configure.cxx_archflags}" \
- FFLAGS="${configure.f77_archflags}" \
- F90FLAGS="${configure.f90_archflags}" \
- FCFLAGS="${configure.fc_archflags}" \
- LDFLAGS="${configure.ld_archflags}"
- }
- }
-}
destroot.cmd ${python.bin} setup.py --no-user-cfg
destroot.destdir --prefix=${python.prefix} --root=${destroot}
-pre-destroot {
- xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}/examples
-}
-
options python.link_binaries python.link_binaries_suffix
default python.link_binaries yes
default python.link_binaries_suffix {-${python.branch}}
-post-destroot {
- if {${python.link_binaries}} {
- foreach bin [glob -nocomplain -tails -directory "${destroot}${python.prefix}/bin" *] {
- if {[catch {file type "${destroot}${prefix}/bin/${bin}${python.link_binaries_suffix}"}]} {
- ln -s "${python.prefix}/bin/${bin}" "${destroot}${prefix}/bin/${bin}${python.link_binaries_suffix}"
- }
- }
- }
-}
Modified: trunk/dports/_resources/port1.0/group/python27-1.0.tcl (133392 => 133393)
--- trunk/dports/_resources/port1.0/group/python27-1.0.tcl 2015-02-28 15:05:41 UTC (rev 133392)
+++ trunk/dports/_resources/port1.0/group/python27-1.0.tcl 2015-02-28 16:39:11 UTC (rev 133393)
@@ -32,14 +32,10 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
-# This PortGroup is DEPRECATED. Please do not use for new development.
-# Please switch existing ports using this to 'PortGroup python 1.0' (which
-# supports multiple python versions) at your earliest convenience.
-
pre-fetch {
- ui_warn "The $name port is using the deprecated 'python27'\
-PortGroup, which will be disabled in the near future and eventually removed.\
-The maintainer should switch to the 'python' PortGroup."
+ ui_error "The $name port is using the obsolete 'python27'\
+PortGroup. The maintainer should switch to the 'python' PortGroup."
+ error "obsolete PortGroup"
}
set python.branch 2.7
@@ -54,8 +50,6 @@
dist_subdir python
-depends_lib port:python27
-
# we want the default universal variant added despite not using configure
use_configure no
universal_variant yes
@@ -64,41 +58,10 @@
build.target build
options python.add_archflags
default python.add_archflags yes
-pre-build {
- if {${python.add_archflags}} {
- if {[variant_exists universal] && [variant_isset universal]} {
- build.env-append CFLAGS="${configure.universal_cflags}" \
- OBJCFLAGS="${configure.universal_cflags}" \
- CXXFLAGS="${configure.universal_cxxflags}" \
- LDFLAGS="${configure.universal_ldflags}"
- } else {
- build.env-append CFLAGS="${configure.cc_archflags}" \
- OBJCFLAGS="${configure.objc_archflags}" \
- CXXFLAGS="${configure.cxx_archflags}" \
- FFLAGS="${configure.f77_archflags}" \
- F90FLAGS="${configure.f90_archflags}" \
- FCFLAGS="${configure.fc_archflags}" \
- LDFLAGS="${configure.ld_archflags}"
- }
- }
-}
destroot.cmd ${python.bin} setup.py --no-user-cfg
destroot.destdir --prefix=${python.prefix} --root=${destroot}
-pre-destroot {
- xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}/examples
-}
-
options python.link_binaries python.link_binaries_suffix
default python.link_binaries yes
default python.link_binaries_suffix {-${python.branch}}
-post-destroot {
- if {${python.link_binaries}} {
- foreach bin [glob -nocomplain -tails -directory "${destroot}${python.prefix}/bin" *] {
- if {[catch {file type "${destroot}${prefix}/bin/${bin}${python.link_binaries_suffix}"}]} {
- ln -s "${python.prefix}/bin/${bin}" "${destroot}${prefix}/bin/${bin}${python.link_binaries_suffix}"
- }
- }
- }
-}