1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

- Update to 3.7.1

- Remove files/patch-googler

Changes:        https://github.com/jarun/googler/releases/tag/v3.7.1
This commit is contained in:
Nicola Vitale 2018-12-05 16:14:33 +00:00
parent a0c0f7e7a2
commit 2ac4243084
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=486681
3 changed files with 5 additions and 19 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= googler
PORTVERSION= 3.6
PORTVERSION= 3.7.1
DISTVERSIONPREFIX= v
PORTREVISION= 0
CATEGORIES= www
@ -26,7 +26,7 @@ NO_ARCH= yes
PLIST_FILES= bin/googler man/man1/googler.1.gz
post-patch:
@${SED} -i.bak 's/^\(ENABLE_SELF_UPGRADE_MECHANISM=\)True$$/\1False/' \
@${SED} -i.bak 's/^\(ENABLE_SELF_UPGRADE_MECHANISM = \)True$$/\1False/' \
${WRKSRC}/${PORTNAME}
do-install:

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1534410147
SHA256 (jarun-googler-v3.6_GH0.tar.gz) = 514218f5155a2c1bd653462a503507beafca9d7ddff7203aeabb3ab4812e4b44
SIZE (jarun-googler-v3.6_GH0.tar.gz) = 71738
TIMESTAMP = 1544025699
SHA256 (jarun-googler-v3.7.1_GH0.tar.gz) = 1ceadab40fea49a113f46807a5c7297fcf145eeaa8128e33d53aadb275377f37
SIZE (jarun-googler-v3.7.1_GH0.tar.gz) = 72114

View File

@ -1,14 +0,0 @@
--- googler.orig 2018-05-23 03:22:46 UTC
+++ googler
@@ -2083,9 +2083,9 @@ class GooglerCmd(object):
try:
# try copying the url to clipboard using native utilities
if sys.platform.startswith(('linux', 'freebsd', 'openbsd')):
- if shutil.which('xsel') is None:
+ if shutil.which('xclip') is None:
raise FileNotFoundError
- copier_params = ['xsel', '-b', '-i']
+ copier_params = ['xclip', '-selection', 'clipboard']
elif sys.platform == 'darwin':
copier_params = ['pbcopy']
elif sys.platform == 'win32':