[136000] trunk/dports/net/youtube-upload/Portfile

ryandesign at macports.org ryandesign at macports.org
Sat May 9 02:58:05 PDT 2015


Revision: 136000
          https://trac.macports.org/changeset/136000
Author:   ryandesign at macports.org
Date:     2015-05-09 02:58:05 -0700 (Sat, 09 May 2015)
Log Message:
-----------
youtube-upload: update to 0.8.0

Modified Paths:
--------------
    trunk/dports/net/youtube-upload/Portfile

Modified: trunk/dports/net/youtube-upload/Portfile
===================================================================
--- trunk/dports/net/youtube-upload/Portfile	2015-05-09 09:50:45 UTC (rev 135999)
+++ trunk/dports/net/youtube-upload/Portfile	2015-05-09 09:58:05 UTC (rev 136000)
@@ -2,10 +2,10 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           github 1.0
 PortGroup           python 1.0
 
-name                youtube-upload
-version             0.7.3
+github.setup        tokland youtube-upload 0.8.0
 categories          net
 platforms           darwin
 maintainers         ryandesign openmaintainer
@@ -17,39 +17,35 @@
 long_description    ${name} is a command-line script that uploads videos to \
                     YouTube.
 
-homepage            http://code.google.com/p/youtube-upload/
-master_sites        googlecode
-extract.suffix      .tgz
+checksums           rmd160  f8c72d83736e54765afd72e60124e340b2cb9754 \
+                    sha256  86fe582ceaac9e5de0bdba2e95afad3b7a9dd4dc9f17295d70bc164e68f8aef3
 
-checksums           rmd160  b6083b513f90cc3274b205d9287ea40ec56b3762 \
-                    sha256  140f9076a40391ec2798351ec635d23c30a9b7d702239e812ea5376d236f9722
-
 post-destroot {
-    set docdir ${prefix}/share/doc/${name}
-    xinstall -d ${destroot}${docdir} ${destroot}${prefix}/share/examples
+    set docdir ${prefix}/share/doc/${subport}/
+    xinstall -d ${destroot}${docdir}
     xinstall -m 644 -W ${worksrcpath} \
         CHANGELOG \
-        README \
+        README.md \
         ${destroot}${docdir}
-    copy ${worksrcpath}/examples ${destroot}${prefix}/share/examples/${name}
+    # https://trac.macports.org/ticket/47687
+    delete ${destroot}${docdir}/examples
+    copy ${worksrcpath}/examples ${destroot}${docdir}
 }
 
-python.link_binaries_suffix
+if {![variant_isset python26] && ![variant_isset python27]} {
+    default_variants +python27
+}
 
-variant python26 conflicts python27 description {Use python26} {
+variant python26 conflicts python27 description {Use python26} {}
+if {[variant_isset python26]} {
     python.default_version  26
-    depends_lib-append      port:py${python.version}-curl \
-                            port:py${python.version}-gdata \
-                            port:py${python.version}-progressbar
 }
 
-variant python27 conflicts python26 description {Use python27} {
+variant python27 conflicts python26 description {Use python27} {}
+if {[variant_isset python27]} {
     python.default_version  27
-    depends_lib-append      port:py${python.version}-curl \
-                            port:py${python.version}-gdata \
-                            port:py${python.version}-progressbar
 }
 
-if {![variant_isset python26] && ![variant_isset python27]} {
-    default_variants +python27
-}
+depends_lib-append  port:py${python.version}-curl \
+                    port:py${python.version}-gdata \
+                    port:py${python.version}-progressbar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150509/70f68be8/attachment.html>


More information about the macports-changes mailing list