Commits

Ryan Schmidt authored 6a74b0bec40
youtube-upload: Remove python26 variant

Closes: https://trac.macports.org/ticket/58621
No tags

net/youtube-upload/Portfile

Modified
1 1 # -*- 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
2 2
3 3 PortSystem 1.0
4 4 PortGroup github 1.0
5 5 PortGroup python 1.0
6 6
7 7 github.setup tokland youtube-upload 0.8.0
8 +revision 0
9 +checksums rmd160 f8c72d83736e54765afd72e60124e340b2cb9754 \
10 + sha256 86fe582ceaac9e5de0bdba2e95afad3b7a9dd4dc9f17295d70bc164e68f8aef3 \
11 + size 8178
12 +
8 13 categories net
9 14 platforms darwin
10 -maintainers ryandesign openmaintainer
15 +maintainers {ryandesign @ryandesign} openmaintainer
11 16 license GPL-3+
12 17 supported_archs noarch
13 18
14 19 description script to upload videos to YouTube
15 20
16 21 long_description ${name} is a command-line script that uploads videos to \
17 22 YouTube.
18 23
19 -checksums rmd160 f8c72d83736e54765afd72e60124e340b2cb9754 \
20 - sha256 86fe582ceaac9e5de0bdba2e95afad3b7a9dd4dc9f17295d70bc164e68f8aef3
21 -
22 24 post-destroot {
23 25 set docdir ${prefix}/share/doc/${subport}/
24 26 xinstall -d ${destroot}${docdir}
25 - xinstall -m 644 -W ${worksrcpath} \
27 + xinstall -m 0644 -W ${worksrcpath} \
26 28 CHANGELOG \
27 29 README.md \
28 30 ${destroot}${docdir}
29 31 # https://trac.macports.org/ticket/47687
30 32 delete ${destroot}${docdir}/examples
31 33 copy ${worksrcpath}/examples ${destroot}${docdir}
32 34 }
33 35
34 -if {![variant_isset python26] && ![variant_isset python27]} {
35 - default_variants +python27
36 -}
37 -
38 -variant python26 conflicts python27 description {Use python26} {}
39 -if {[variant_isset python26]} {
40 - python.default_version 26
41 -}
36 +default_variants +python27
42 37
43 -variant python27 conflicts python26 description {Use python27} {}
38 +variant python27 description {Use python27} {}
44 39 if {[variant_isset python27]} {
45 40 python.default_version 27
46 41 }
47 42
48 43 depends_lib-append port:py${python.version}-curl \
49 44 port:py${python.version}-gdata \
50 45 port:py${python.version}-progressbar

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut