[145739] users/devans/GNOME-3/unstable/dports/devel/gvfs/Portfile
devans at macports.org
devans at macports.org
Mon Feb 15 09:11:42 PST 2016
Revision: 145739
https://trac.macports.org/changeset/145739
Author: devans at macports.org
Date: 2016-02-15 09:11:42 -0800 (Mon, 15 Feb 2016)
Log Message:
-----------
GNOME-3/unstable: gvfs, update to version 1.27.90, add variants +python34 +python35, default +python34.
Modified Paths:
--------------
users/devans/GNOME-3/unstable/dports/devel/gvfs/Portfile
Modified: users/devans/GNOME-3/unstable/dports/devel/gvfs/Portfile
===================================================================
--- users/devans/GNOME-3/unstable/dports/devel/gvfs/Portfile 2016-02-15 16:49:25 UTC (rev 145738)
+++ users/devans/GNOME-3/unstable/dports/devel/gvfs/Portfile 2016-02-15 17:11:42 UTC (rev 145739)
@@ -5,7 +5,7 @@
name gvfs
epoch 1
-version 1.27.4
+version 1.27.90
set branch [join [lrange [split ${version} .] 0 1] .]
maintainers devans openmaintainer
categories devel
@@ -35,8 +35,8 @@
use_xz yes
-checksums rmd160 f51d7f20d4b18c1df8273c95b1a8ac7b378fbc12 \
- sha256 8e954a37b4857a956611c83cffde0e23fc1155c2f070c105fbf1f8333e588736
+checksums rmd160 2a584147bf88e4e2eb69efc917e11a37ed091194 \
+ sha256 2f6aba62466b5c996a92ff97494004d682ad84e0c3c26364a8158b1e4e4b70d4
depends_build port:pkgconfig \
port:intltool \
@@ -44,8 +44,7 @@
port:autoconf \
port:automake \
port:libtool \
- port:pidof \
- port:py34-gobject3
+ port:pidof
depends_lib port:gtk3 \
port:gettext \
@@ -62,9 +61,6 @@
post-patch {
xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
- reinplace "s|^#!.*|#!${prefix}/bin/python3.4|" \
- ${worksrcpath}/test/gvfs-test \
- ${worksrcpath}/test/test_polkitd.py
}
# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
@@ -105,6 +101,28 @@
${destroot}${docdir}
}
+variant python34 conflicts python35 description {Use Python 3.4 for testing} {
+ depends_build-append port:py34-gobject3
+ post-patch {
+ reinplace "s|^#!.*|#!${prefix}/bin/python3.4|" \
+ ${worksrcpath}/test/gvfs-test \
+ ${worksrcpath}/test/test_polkitd.py
+ }
+}
+
+variant python35 conflicts python35 description {Use Python 3.5 for testing} {
+ depends_build-append port:py34-gobject3
+ post-patch {
+ reinplace "s|^#!.*|#!${prefix}/bin/python3.5|" \
+ ${worksrcpath}/test/gvfs-test \
+ ${worksrcpath}/test/test_polkitd.py
+ }
+}
+
+if {![variant_isset python35]} {
+ default_variants +python34
+}
+
post-activate {
system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"
system "${prefix}/bin/gio-querymodules ${prefix}/lib/gio/modules"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160215/38e2bb87/attachment-0001.html>
More information about the macports-changes
mailing list