[124056] trunk/dports/python/py-bokeh
stromnov at macports.org
stromnov at macports.org
Sun Aug 17 13:03:23 PDT 2014
Revision: 124056
https://trac.macports.org/changeset/124056
Author: stromnov at macports.org
Date: 2014-08-17 13:03:23 -0700 (Sun, 17 Aug 2014)
Log Message:
-----------
py-bokeh: update to version 0.5.2
Modified Paths:
--------------
trunk/dports/python/py-bokeh/Portfile
trunk/dports/python/py-bokeh/files/patch-setup.py.diff
Modified: trunk/dports/python/py-bokeh/Portfile
===================================================================
--- trunk/dports/python/py-bokeh/Portfile 2014-08-17 20:00:07 UTC (rev 124055)
+++ trunk/dports/python/py-bokeh/Portfile 2014-08-17 20:03:23 UTC (rev 124056)
@@ -5,7 +5,7 @@
PortGroup github 1.0
PortGroup python 1.0
-github.setup ContinuumIO bokeh 0.5.1
+github.setup ContinuumIO bokeh 0.5.2
name py-bokeh
revision 0
@@ -13,8 +13,6 @@
platforms darwin
license BSD
-dist_subdir ${name}/${version}_1
-
python.versions 27
maintainers stromnov openmaintainer
@@ -27,8 +25,8 @@
homepage https://github.com/ContinuumIO/Bokeh
-checksums rmd160 438989ff6979803dfac7646ebde30ed87b469dfa \
- sha256 544d170087544d15b53c3c74ae8b3ced030efad087fe78a3cf5bae9748d3a593
+checksums rmd160 490a8b0277dddd16e1f8b71569842caa140058d8 \
+ sha256 027be6b7c321e95da407b7cf40e4b3b3778a659a6899d6d725a542d4f13100c9
if {${name} ne ${subport}} {
depends_lib-append port:py${python.version}-flask \
Modified: trunk/dports/python/py-bokeh/files/patch-setup.py.diff
===================================================================
--- trunk/dports/python/py-bokeh/files/patch-setup.py.diff 2014-08-17 20:00:07 UTC (rev 124055)
+++ trunk/dports/python/py-bokeh/files/patch-setup.py.diff 2014-08-17 20:03:23 UTC (rev 124056)
@@ -1,18 +1,25 @@
---- setup.py.orig 2014-07-23 20:23:58.000000000 +0400
-+++ setup.py 2014-07-24 00:13:13.000000000 +0400
-@@ -253,15 +253,6 @@
+--- setup.py.orig 2014-08-17 23:58:44.000000000 +0400
++++ setup.py 2014-08-18 00:01:13.000000000 +0400
+@@ -234,22 +234,6 @@
site_packages = getsitepackages()[0]
bokeh_path = join(site_packages, "bokeh")
-if exists(bokeh_path) and isdir(bokeh_path):
+- prompt = "\nFound existing bokeh install: %s\nRemove it? [y|N] " % bokeh_path
- if sys.version_info[0] < 3:
-- val = raw_input("found existing bokeh install, remove it?[y|N]")
+- val = raw_input(prompt)
- else:
-- val = input("found existing bokeh install, remove it?[y|N]")
+- val = input(prompt)
- if val == "y":
-- print ("removing old bokeh install")
-- shutil.rmtree(bokeh_path)
-- print ("not removing old bokeh install")
+- print ("Removing old bokeh install...")
+- try:
+- shutil.rmtree(bokeh_path)
+- print ("Removed.")
+- except (IOError, OSError):
+- print ("Unable to remove old bokeh at: %s" % bokeh_path)
+- sys.exit(-1)
+- else:
+- print ("Not removing old bokeh install")
path_file = join(site_packages, "bokeh.pth")
path = abspath(dirname(__file__))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140817/fd25379d/attachment.html>
More information about the macports-changes
mailing list