Date: Mon, 3 Sep 2018 07:27:21 +0000 (UTC) From: Emanuel Haupt <ehaupt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r478845 - in head/www/buku: . files Message-ID: <201809030727.w837RLrr051117@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <gregf@hugops.pw> 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',
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201809030727.w837RLrr051117>