freebsd-ports/devel/ros/files/patch-tools__rosdep__src__rosdep__freebsd.py
Rene Ladan da287c3a37 Upgrade the Robot Operating System ports to their 1.4 aka Diamondback versions.
Detailed changelists are available on the WWW sites.

Port changes:
- distribution files are now fetched from upstream servers instead of
  using local copies from my server
- Python files are now always compiled (to .pyc and .pyo) and use Python 2.7
- devel/ros is now split in to devel/ros, devel/ros-documentation,
  devel/ros-rx, and devel-ros-comm to allow more lightweight installations
- Connect latter 3 ports to the build
2011-05-31 22:24:13 +00:00

16 lines
668 B
Python

--- ./tools/rosdep/src/rosdep/freebsd.py.orig 2011-02-24 23:45:21.000000000 +0100
+++ ./tools/rosdep/src/rosdep/freebsd.py 2011-03-20 15:21:34.000000000 +0100
@@ -44,11 +44,11 @@
if p == "gtk20":
portname = "gtk-2.\*"
elif p == "py-gtk2":
- portname = "py26-gtk-2.\*"
+ portname = "py27-gtk-2.\*"
elif p[:9] in ["autoconf2", "automake1"]:
portname = p[:8] + "-" + p[8] + "." + p[9:] + "\*"
elif p[:3] == "py-":
- portname = "py26-" + p[3:] + "\*"
+ portname = "py27-" + p[3:] + "\*"
else:
portname = p + "-\*"
pop = subprocess.Popen("/usr/sbin/pkg_info -qE " + portname, shell=True)