svn commit: r454678 - in head/www: . py-buku py-buku/files
Emanuel Haupt
ehaupt at FreeBSD.org
Wed Nov 22 07:16:53 UTC 2017
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 <ehaupt at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= buku
+PORTVERSION= 3.5
+DISTVERSIONPREFIX= v
+CATEGORIES= www python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= ehaupt at 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 <bsd.port.mk>
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
More information about the svn-ports-head
mailing list