<pre style='margin:0'>
Eric Le Lay (elelay) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/693cebaa4eb9e33c0701198dea8319d41868e1d2">https://github.com/macports/macports-ports/commit/693cebaa4eb9e33c0701198dea8319d41868e1d2</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 693cebaa4eb9e33c0701198dea8319d41868e1d2
</span>Author: Eric Le Lay <elelay@macports.org>
AuthorDate: Sat Mar 20 21:49:07 2021 +0100
<span style='display:block; white-space:pre;color:#404040;'> gpodder: update to 3.10.17; pythonXY variants
</span>---
gnome/gpodder/Portfile | 83 +++++++++++++++++++++++++++-----------------------
1 file changed, 45 insertions(+), 38 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/gpodder/Portfile b/gnome/gpodder/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index ffe19f8015e..ee49cc808a9 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/gnome/gpodder/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gnome/gpodder/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,9 +1,10 @@
</span> # -*- 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
PortSystem 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup python 1.0
</span>
name gpodder
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 3.9.6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 3.10.17
</span> categories gnome audio
license GPL-3
maintainers nomaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -16,11 +17,11 @@ long_description gPodder is a standalone podcast manager. \
</span> the content, e.g. Apple QuickTime Player.
homepage http://gpodder.org
<span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites https://github.com/gpodder/gpodder/archive
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites https://github.com/gpodder/gpodder/archive/refs/tags
</span> distfiles ${version}.tar.gz
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 a104f2f22e80c7f693b784bb190706ac3ff6d43d \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 5ae1c6d4337834fd29697250dffd439bd3f234a6878ef461b53cd218898b5e72
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 4f358c76d5d2a7314964834bc6cfb317ffdcb2f1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 36a04e4d6a81f50b50d1f7691955d4f460e72f71b9519dad42b805a987434210
</span>
depends_build port:help2man\
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -28,50 +29,62 @@ depends_build port:help2man\
</span>
depends_lib port:vorbis-tools\
port:lame \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py27-podcastparser \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:dbus-python27 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py27-mygpoclient \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py27-pygtk
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:gtk3 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:librsvg
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# python group overrides
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+destroot.cmd make
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+destroot.destdir DESTDIR=${destroot}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python36 conflicts python27 python35 python37 python38 python39 description {Use Python 3.6} {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python37 conflicts python27 python35 python36 python38 python39 description {Use Python 3.7} {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python38 conflicts python27 python35 python36 python37 python39 description {Use Python 3.8} {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python39 conflicts python27 python35 python36 python37 python38 description {Use Python 3.9} {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {![variant_isset python36] && ![variant_isset python37] && ![variant_isset python38] && ![variant_isset python39]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants +python39
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {[variant_isset python36]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ python.default_version 36
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} elseif {[variant_isset python37]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ python.default_version 37
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} elseif {[variant_isset python38]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ python.default_version 38
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} elseif {[variant_isset python39]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ python.default_version 39
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set python.version 27
</span> set python.branch "[string range ${python.version} 0 end-1].[string index ${python.version} end]"
set my_python "${frameworks_dir}/Python.framework/Versions/${python.branch}"
<span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-gobject3 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:dbus-python${python.version} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-mutagen \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-mygpoclient \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-podcastparser \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:youtube-dl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> post-patch {
reinplace s|python|${my_python}/bin/python|g ${worksrcpath}/makefile
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # DISPLAY is not needed with quartz
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[variant_isset quartz]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace -E {s|if not gpodder.ui.win32|if not gpodder.ui.osx|} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -E {s|if not gpodder.ui.win32|if not gpodder.ui.osx|} \
</span> "bin/gpodder"
<span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# install in python 2.7 prefix
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# install in python prefix
</span> destroot.args PREFIX=${my_python}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Install the apps in the standard path :
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-post-destroot {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- foreach {app} {gpodder gpo gpodder-backup gpodder-migrate2tres} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ln -s ${my_python}/bin/${app} ${destroot}${prefix}/bin/${app}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span>
variant quartz {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:py27-gtk-osx-application-gtk2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> post-destroot {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # Command-XX shortcuts in gPodder menus
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system "/usr/bin/xsltproc -o ${destroot}${my_python}/share/gpodder/ui/gtk/gpodder.ui \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${filespath}/adjust-modifiers.xsl ${worksrcpath}/share/gpodder/ui/gtk/gpodder.ui"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Command-XX shortcuts in gPodder menus
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "/usr/bin/xsltproc -o ${destroot}${my_python}/share/gpodder/ui/gtk/gpodder.ui \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${filespath}/adjust-modifiers.xsl ${worksrcpath}/share/gpodder/ui/gtk/gpodder.ui"
</span> }
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant html_notes description {Use WebkitGtk+ to show episode notes in HTML format} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- notes-append "HTML shownotes are not available in this version of gPodder"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-use_configure no
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> build {}
post-destroot {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -84,7 +97,7 @@ post-destroot {
</span> APPLICATIONSDIR=\"${destroot}${applications_dir}\"\
VERSION=\"${version}\"\
OSXVERSION=\"${os.platform}${os.major}\" all"
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # ticket #39613 gPodder +x11 keeps bouncing otherwise
if {![variant_isset quartz]} {
reinplace -E {s|(<string>org.gpodder.gpodder</string>)|\1 <key>LSUIElement</key><string>1</string>|} \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -92,12 +105,6 @@ post-destroot {
</span> }
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-notes-append "
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-To subscribe to YouTube user feeds (e.g. yt:gobelins),
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-you must enter a google API key.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-See http://wiki.gpodder.org/wiki/Youtube for detailed instructions.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> livecheck.type regex
livecheck.url ${master_sites}
livecheck.regex "gpodder-(\\d+(?:\\.\\d+)*)${extract.suffix}"
</pre><pre style='margin:0'>
</pre>