Skip to content
Permalink
Browse files

youtube-dl: update to 2014.03.21.5; add python34 variant

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@118116 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
ryandesign committed Mar 23, 2014
1 parent 51fb8c9 commit c37f0070506591f8e686d8563bd6ec2c41440f43
Showing with 11 additions and 6 deletions.
  1. +11 −6 net/youtube-dl/Portfile
@@ -4,7 +4,7 @@
PortSystem 1.0

name youtube-dl
version 2014.03.18.1
version 2014.03.21.5
categories net
platforms darwin
maintainers ryandesign openmaintainer
@@ -18,8 +18,8 @@ long_description ${name} is a small ${description}.
homepage http://rg3.github.com/youtube-dl/
master_sites http://youtube-dl.org/downloads/${version}

checksums rmd160 5aeda20df6a356360e4571432df7b0ca638bc4a6 \
sha256 c1deb27e99e6793a2dd00a70f3a9ebac895b13d94ad3de27f28a6c5514dfde7b
checksums rmd160 acc300657f9637492b0a5384906a2ef70bee38bd \
sha256 82c1c9de140b5030ee836c9b0f3586e812fc5bc5881703322d97ed5eb35b064d

depends_build bin:zip:zip

@@ -55,17 +55,22 @@ post-destroot {
xinstall -m 644 -W ${worksrcpath} LICENSE README.md ${destroot}${docdir}
}

variant python27 conflicts python33 description {Use Python 2.7} {
variant python27 conflicts python33 python34 description {Use Python 2.7} {
depends_run-append port:python27
configure.python ${prefix}/bin/python2.7
}

variant python33 conflicts python27 description {Use Python 3.3} {
variant python33 conflicts python27 python34 description {Use Python 3.3} {
depends_run-append port:python33
configure.python ${prefix}/bin/python3.3
}

if {![variant_isset python27] && ![variant_isset python33]} {
variant python34 conflicts python27 python33 description {Use Python 3.4} {
depends_run-append port:python33
configure.python ${prefix}/bin/python3.3
}

if {![variant_isset python27] && ![variant_isset python33] && ![variant_isset python34]} {
default_variants +python27
}

0 comments on commit c37f007

Please sign in to comment.
You can’t perform that action at this time.