[98717] trunk/dports/devel/protobuf-python24/Portfile

blair at macports.org blair at macports.org
Sat Oct 13 12:04:00 PDT 2012


Revision: 98717
          http://trac.macports.org//changeset/98717
Author:   blair at macports.org
Date:     2012-10-13 12:04:00 -0700 (Sat, 13 Oct 2012)
Log Message:
-----------
protobuf-python24: replaced by py24-protobuf.

Modified Paths:
--------------
    trunk/dports/devel/protobuf-python24/Portfile

Modified: trunk/dports/devel/protobuf-python24/Portfile
===================================================================
--- trunk/dports/devel/protobuf-python24/Portfile	2012-10-13 19:02:13 UTC (rev 98716)
+++ trunk/dports/devel/protobuf-python24/Portfile	2012-10-13 19:04:00 UTC (rev 98717)
@@ -1,13 +1,13 @@
 # $Id$
 
 PortSystem      1.0
-PortGroup       python24 1.0
 
 name            protobuf-python24
 version         2.4.1
+revision        1
+replaced_by     py24-protobuf
 categories      devel
 maintainers     blair
-supported_archs noarch
 license         BSD
 description     Encode data in an efficient yet extensible format.
 
@@ -29,28 +29,10 @@
                 name-value pairs.
 
 homepage        http://code.google.com/p/protobuf/
-master_sites    googlecode:protobuf
-
-distname        protobuf-${version}
-dist_subdir     protobuf-cpp
-use_bzip2       yes
-checksums       md5 ed436802019c9e1f40cc750eaf78f318 \
-                sha1 df5867e37a4b51fb69f53a8baf5b994938691d6d \
-                rmd160 405eccad08463c2f84064bb68d8a8e757235765f
-
+distfiles
 platforms       darwin
 
-depends_lib     port:protobuf-cpp \
-                port:py24-distribute
-
-worksrcdir      ${worksrcdir}/python
-
-build.env       PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=cpp
-build.cmd-append build_ext -I${prefix}/include
-
-destroot.env    PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=cpp
-
-test.run        yes
-test.env        PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=cpp
-test.cmd        "${prefix}/bin/python2.4 setup.py"
-test.target     test
+pre-configure {
+    ui_error "Please install py24-protobuf instead."
+    return -code error "obsolete port"
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121013/65a7d927/attachment.html>


More information about the macports-changes mailing list