From owner-svn-ports-all@freebsd.org Wed Nov 22 07:16:53 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 80866DE3188; Wed, 22 Nov 2017 07:16:53 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4ADA170364; Wed, 22 Nov 2017 07:16:53 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vAM7GqKP036941; Wed, 22 Nov 2017 07:16:52 GMT (envelope-from ehaupt@FreeBSD.org) Received: (from ehaupt@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vAM7GpY3036936; Wed, 22 Nov 2017 07:16:51 GMT (envelope-from ehaupt@FreeBSD.org) Message-Id: <201711220716.vAM7GpY3036936@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ehaupt set sender to ehaupt@FreeBSD.org using -f From: Emanuel Haupt Date: Wed, 22 Nov 2017 07:16:51 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r454678 - in head/www: . py-buku py-buku/files X-SVN-Group: ports-head X-SVN-Commit-Author: ehaupt X-SVN-Commit-Paths: in head/www: . py-buku py-buku/files X-SVN-Commit-Revision: 454678 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Nov 2017 07:16:53 -0000 Author: ehaupt Date: Wed Nov 22 07:16:51 2017 New Revision: 454678 URL: https://svnweb.freebsd.org/changeset/ports/454678 Log: Powerful bookmark manager written in Python3 and SQLite3. A flexible cmdline solution with a private, portable, merge-able database along with browser integration. buku fetches the title of a bookmarked web page and stores it along with any additional comments and tags. You can use your favourite editor to compose and update bookmarks. With multiple search options, including regex and a deep scan mode (particularly for URLs), it can find any bookmark instantly. Multiple search results can be opened in the browser at once. WWW: https://github.com/jarun/Buku Added: head/www/py-buku/ head/www/py-buku/Makefile (contents, props changed) head/www/py-buku/distinfo (contents, props changed) head/www/py-buku/files/ head/www/py-buku/files/patch-buku.py (contents, props changed) head/www/py-buku/pkg-descr (contents, props changed) Modified: head/www/Makefile Modified: head/www/Makefile ============================================================================== --- head/www/Makefile Wed Nov 22 06:28:56 2017 (r454677) +++ head/www/Makefile Wed Nov 22 07:16:51 2017 (r454678) @@ -1541,6 +1541,7 @@ SUBDIR += py-boto3 SUBDIR += py-bottle SUBDIR += py-bottle-cork + SUBDIR += py-buku SUBDIR += py-cachecontrol SUBDIR += py-caldav SUBDIR += py-cherrypy Added: head/www/py-buku/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/py-buku/Makefile Wed Nov 22 07:16:51 2017 (r454678) @@ -0,0 +1,34 @@ +# Created by: Emanuel Haupt +# $FreeBSD$ + +PORTNAME= buku +PORTVERSION= 3.5 +DISTVERSIONPREFIX= v +CATEGORIES= www python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= ehaupt@FreeBSD.org +COMMENT= Powerful command-line bookmark manager + +LICENSE= GPLv3 + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4.0:www/py-beautifulsoup \ + ${PYTHON_PKGNAMEPREFIX}cryptography>=1.3.4:security/py3-cryptography \ + ${PYTHON_PKGNAMEPREFIX}requests>=2.0.1:www/py3-requests \ + ${PYTHON_PKGNAMEPREFIX}urllib3>=1.21.1:net/py3-urllib3 \ + ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py${PYTHON_SUFFIX}-sqlite3 + +USES= python:3 +USE_GITHUB= yes +USE_PYTHON= autoplist distutils +NO_ARCH= yes + +GH_ACCOUNT= jarun +GH_PROJECT= Buku + +PLIST_FILES= man/man1/buku.1.gz + +post-install: + ${INSTALL_MAN} ${WRKSRC}/buku.1 ${STAGEDIR}${MANPREFIX}/man/man1 + +.include Added: head/www/py-buku/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/py-buku/distinfo Wed Nov 22 07:16:51 2017 (r454678) @@ -0,0 +1,3 @@ +TIMESTAMP = 1511251288 +SHA256 (jarun-Buku-v3.5_GH0.tar.gz) = b758924b78a45d39e6d8e16915f2df17a7e7d5e184a876819c6aa612cd73fc05 +SIZE (jarun-Buku-v3.5_GH0.tar.gz) = 87096 Added: head/www/py-buku/files/patch-buku.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/py-buku/files/patch-buku.py Wed Nov 22 07:16:51 2017 (r454678) @@ -0,0 +1,11 @@ +--- buku.py.orig 2017-11-10 05:21:06 UTC ++++ buku.py +@@ -2050,7 +2050,7 @@ class BukuDb: + + FF_BM_DB_PATH = None + +- if sys.platform.startswith('linux'): ++ if sys.platform.startswith('linux') or sys.platform.startswith('freebsd'): + GC_BM_DB_PATH = '~/.config/google-chrome/Default/Bookmarks' + CB_BM_DB_PATH = '~/.config/chromium/Default/Bookmarks' + Added: head/www/py-buku/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/py-buku/pkg-descr Wed Nov 22 07:16:51 2017 (r454678) @@ -0,0 +1,11 @@ +Powerful bookmark manager written in Python3 and SQLite3. A flexible cmdline +solution with a private, portable, merge-able database along with browser +integration. + +buku fetches the title of a bookmarked web page and stores it along with any +additional comments and tags. You can use your favourite editor to compose and +update bookmarks. With multiple search options, including regex and a deep scan +mode (particularly for URLs), it can find any bookmark instantly. Multiple +search results can be opened in the browser at once. + +WWW: https://github.com/jarun/Buku