[111665] trunk/dports/devel/osc/Portfile

ryandesign at macports.org ryandesign at macports.org
Fri Sep 27 23:35:26 PDT 2013


Revision: 111665
          https://trac.macports.org/changeset/111665
Author:   ryandesign at macports.org
Date:     2013-09-27 23:35:25 -0700 (Fri, 27 Sep 2013)
Log Message:
-----------
osc: update to 0.141.0; project has switched to github hosting; switch to python27; add modeline

Modified Paths:
--------------
    trunk/dports/devel/osc/Portfile

Modified: trunk/dports/devel/osc/Portfile
===================================================================
--- trunk/dports/devel/osc/Portfile	2013-09-28 05:44:34 UTC (rev 111664)
+++ trunk/dports/devel/osc/Portfile	2013-09-28 06:35:25 UTC (rev 111665)
@@ -1,16 +1,17 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
 PortSystem          1.0
+PortGroup           github 1.0
 PortGroup           python 1.0
 
-name                osc
-version             0.130.1
-
+github.setup        OpenSUSE osc 0.141.0
 categories          devel python
 platforms           darwin
 maintainers         nomaintainer
 
 description         A command line client for the openSUSE build service
+
 long_description    osc is a subversion-like client written in Python. \
                     It serves as client for the source code repository part \
                     of the openSUSE build service, and is used to edit \
@@ -18,23 +19,24 @@
 
 homepage            http://en.opensuse.org/Build_Service/CLI
 
-python.default_version 25
+checksums           rmd160  7418a2fff55117eec80abfde8ec46d8ac01fd299 \
+                    sha256  40b78dfe868b288bd1ec46550633f0711a5663c943cfe26bdfe37956f4c5273e
 
+python.default_version 27
+
 depends_lib-append  port:py${python.version}-elementtree \
                     port:py${python.version}-urlgrabber \
                     port:py${python.version}-m2crypto
 
 depends_run         path:share/curl/curl-ca-bundle.crt:curl-ca-bundle
 
-fetch.type          git
-git.url             git://gitorious.org/opensuse/osc.git
-git.branch          3547326982aa6858d2aea80fbdd71d09341d9c9d
-
 post-patch {
     reinplace "s|/etc/pki/tls/cert.pem|${prefix}/share/curl/curl-ca-bundle.crt|g" \
         ${worksrcpath}/osc/conf.py \
 }
 
 post-destroot {
-    ln -s osc-wrapper.py ${destroot}${prefix}/bin/osc
+    ln -s ${python.prefix}/bin/osc-wrapper.py ${destroot}${prefix}/bin/osc
 }
+
+python.link_binaries no
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130927/12ef2a19/attachment.html>


More information about the macports-changes mailing list