head 1.2; access; symbols; locks; strict; comment @# @; 1.2 date 2017.11.17.08.15.43; author adam; state dead; branches; next 1.1; commitid b4HPalCK5jsUDmfA; 1.1 date 2017.11.11.21.30.21; author tnn; state Exp; branches; next ; commitid Iq2Ds9gSc60NeFeA; desc @@ 1.2 log @py-selenium: downgraded to 3.7.0 The package was actually 3.7.0, but marked as 3.7.1. Now, it does not depend on Java, and pulls the (pre-built) distfile from PyPI. @ text @$NetBSD: patch-buck_bin_buck,v 1.1 2017/11/11 21:30:21 tnn Exp $ Fix path to bash and python. --- ../buck-buck-release-be2bf932342e5d67f58c9b26f5065c745d285d0d/bin/buck.orig 2017-09-21 14:10:58.000000000 +0000 +++ ../buck-buck-release-be2bf932342e5d67f58c9b26f5065c745d285d0d/bin/buck @@@@ -1,4 +1,4 @@@@ -#!/bin/bash +#!/usr/bin/env bash # Resolve symlinks if necessary, otherwise madness will follow. # On a GNU system, we could use "-f" to follow all symlinks. BSD based @@@@ -18,5 +18,6 @@@@ function abs_script_dir_path { BUCK_DIR=$(abs_script_dir_path "$0") -PYTHON=$(command -v python2 python | head -1) +PYTHON=${PREFIX}/bin/python2.7 +export PYTHON PYTHONPATH="$BUCK_DIR"/../third-party/nailgun exec $PYTHON "$BUCK_DIR"/../programs/buck.py "$@@" @ 1.1 log @www/py-selenium: import py27-selenium-3.7.1 Python language bindings for Selenium WebDriver. The Selenium package is used to automate web browser interaction from Python. @ text @d1 1 a1 1 $NetBSD$ @