From owner-svn-ports-all@freebsd.org Mon Sep 3 07:27:22 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8348AFE0E24; Mon, 3 Sep 2018 07:27:22 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 36A32793C7; Mon, 3 Sep 2018 07:27:22 +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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2D6C524D53; Mon, 3 Sep 2018 07:27:22 +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 w837RMO9051119; Mon, 3 Sep 2018 07:27:22 GMT (envelope-from ehaupt@FreeBSD.org) Received: (from ehaupt@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w837RLrr051117; Mon, 3 Sep 2018 07:27:21 GMT (envelope-from ehaupt@FreeBSD.org) Message-Id: <201809030727.w837RLrr051117@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ehaupt set sender to ehaupt@FreeBSD.org using -f From: Emanuel Haupt Date: Mon, 3 Sep 2018 07:27:21 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r478845 - in head/www/buku: . files X-SVN-Group: ports-head X-SVN-Commit-Author: ehaupt X-SVN-Commit-Paths: in head/www/buku: . files X-SVN-Commit-Revision: 478845 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.27 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: Mon, 03 Sep 2018 07:27:22 -0000 Author: ehaupt Date: Mon Sep 3 07:27:21 2018 New Revision: 478845 URL: https://svnweb.freebsd.org/changeset/ports/478845 Log: Starting with buku 3.8 buku comes with a new command bukuserver that spins up a web server for hosting buku as a webinstance. This new command depends on a bunch of Flask dependencies some of which are not available in ports. Unbundle bukuserver at this point until we have the Flask dependencies available. Buku requires www/py-html5lib to run. PR: 231112 (based on) Notified by: Greg Fitzgerald Added: head/www/buku/files/ head/www/buku/files/patch-setup.py (contents, props changed) Modified: head/www/buku/Makefile Modified: head/www/buku/Makefile ============================================================================== --- head/www/buku/Makefile Mon Sep 3 05:23:21 2018 (r478844) +++ head/www/buku/Makefile Mon Sep 3 07:27:21 2018 (r478845) @@ -4,6 +4,7 @@ PORTNAME= buku PORTVERSION= 3.9 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= www python MAINTAINER= ehaupt@FreeBSD.org @@ -15,7 +16,8 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4.0 ${PYTHON_PKGNAMEPREFIX}cryptography>=1.3.4:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.0.1:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}urllib3>=1.21.1:net/py-urllib3@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}html5lib>0:www/py-html5lib@${PY_FLAVOR} USES= python:3.4+ USE_GITHUB= yes @@ -26,6 +28,9 @@ GH_ACCOUNT= jarun GH_PROJECT= Buku PLIST_FILES= man/man1/buku.1.gz + +post-extract: + @${RM} -rf ${WRKSRC}/bukuserver post-install: ${INSTALL_MAN} ${WRKSRC}/buku.1 ${STAGEDIR}${MANPREFIX}/man/man1 Added: head/www/buku/files/patch-setup.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/buku/files/patch-setup.py Mon Sep 3 07:27:21 2018 (r478845) @@ -0,0 +1,35 @@ +--- setup.py.orig 2018-08-30 12:28:10 UTC ++++ setup.py +@@ -28,19 +28,6 @@ tests_require = [ + ] + + +-server_require = [ +- 'arrow>=0.12.1', +- 'click>=6.7', +- 'Flask-Admin==1.5.1', +- 'Flask-API>=0.6.9', +- 'Flask-Bootstrap>=3.3.7.1', +- 'flask-paginate>=0.5.1', +- 'Flask-WTF>=0.14.2', +- 'Flask>=0.12', +- 'requests>=2.18.4', +- 'Werkzeug>=0.11.15', +-] +- + setup( + name='buku', + version=version, +@@ -63,11 +50,10 @@ setup( + packages=find_packages(exclude=['tests']), + include_package_data=True, + entry_points={ +- 'console_scripts': ['buku=buku:main', 'bukuserver=bukuserver.server:cli'] ++ 'console_scripts': ['buku=buku:main'] + }, + extras_require={ + 'tests': tests_require, +- 'server': server_require, + 'packaging': ['twine>=1.11.0'] + }, + test_suite='tests',