[147402] trunk/dports/devel/gvfs
devans at macports.org
devans at macports.org
Sat Apr 2 17:42:59 PDT 2016
Revision: 147402
https://trac.macports.org/changeset/147402
Author: devans at macports.org
Date: 2016-04-02 17:42:59 -0700 (Sat, 02 Apr 2016)
Log Message:
-----------
gvfs: update to version 1.28.0, add variants +python34 +python35, default +python34.
Modified Paths:
--------------
trunk/dports/devel/gvfs/Portfile
trunk/dports/devel/gvfs/files/patch-test-gvfs-test.diff
Property Changed:
----------------
trunk/dports/devel/gvfs/
Property changes on: trunk/dports/devel/gvfs
___________________________________________________________________
Modified: svn:mergeinfo
- /users/devans/GNOME-3/stable/dports/devel/gvfs:118155-145845
/users/devans/GNOME-3/unstable/dports/devel/gvfs:116416-120100,123992-125723,128305-134374
+ /users/devans/GNOME-3/stable/dports/devel/gvfs:118155-147311
/users/devans/GNOME-3/unstable/dports/devel/gvfs:116416-120100,123992-125723,128305-134374,143561-147065
Modified: trunk/dports/devel/gvfs/Portfile
===================================================================
--- trunk/dports/devel/gvfs/Portfile 2016-04-03 00:42:23 UTC (rev 147401)
+++ trunk/dports/devel/gvfs/Portfile 2016-04-03 00:42:59 UTC (rev 147402)
@@ -5,7 +5,7 @@
name gvfs
epoch 1
-version 1.26.3
+version 1.28.0
set branch [join [lrange [split ${version} .] 0 1] .]
maintainers devans openmaintainer
categories devel
@@ -35,8 +35,8 @@
use_xz yes
-checksums rmd160 2cb33b022c34d1493fd44e90d3ddb7c6095e6191 \
- sha256 a70f75fa60d66f3f478c0c8aec43d0e43455a8cc75a4dfa8029e51c816401b4a
+checksums rmd160 94bd782c3a244763cbd6a779330c9f168b01ed32 \
+ sha256 cf72fc0adf0ca702ead5b3fab3c1fa46b09678eb7c1290de7e30bb7cbaf5f704
depends_build port:pkgconfig \
port:intltool \
@@ -45,8 +45,7 @@
port:automake \
port:libtool \
port:pidof \
- port:gsed \
- port:py34-gobject3
+ port:gsed
depends_lib port:gtk3 \
port:gettext \
@@ -64,9 +63,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
@@ -107,6 +103,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"
Modified: trunk/dports/devel/gvfs/files/patch-test-gvfs-test.diff
===================================================================
--- trunk/dports/devel/gvfs/files/patch-test-gvfs-test.diff 2016-04-03 00:42:23 UTC (rev 147401)
+++ trunk/dports/devel/gvfs/files/patch-test-gvfs-test.diff 2016-04-03 00:42:59 UTC (rev 147402)
@@ -1,6 +1,6 @@
--- test/gvfs-test.orig 2016-02-18 11:43:03.000000000 -0800
+++ test/gvfs-test 2016-02-18 11:44:43.000000000 -0800
-@@ -63,7 +63,7 @@
+@@ -62,7 +62,7 @@
have_httpd = httpd_cmd is not None
sshd_path = subprocess.check_output(['which', 'sshd'], universal_newlines=True).strip()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160402/82248ad9/attachment.html>
More information about the macports-changes
mailing list