Page MenuHomeFreeBSD

D3120.id7054.diff
No OneTemporary

D3120.id7054.diff

Index: www/Makefile
===================================================================
--- www/Makefile
+++ www/Makefile
@@ -1488,6 +1488,7 @@
SUBDIR += py-beaker
SUBDIR += py-beautifulsoup
SUBDIR += py-beautifulsoup32
+ SUBDIR += py-bench
SUBDIR += py-bjoern
SUBDIR += py-bleach
SUBDIR += py-blogofile
Index: www/py-bench/Makefile
===================================================================
--- /dev/null
+++ www/py-bench/Makefile
@@ -0,0 +1,32 @@
+# Created by: loader <loader@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= bench
+PORTVERSION= 0.1.s20150713
+CATEGORIES= www python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= loader@FreeBSD.org
+COMMENT= Frappe / ERPNext apps setup tool
+
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/LICENSE.md
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>0:${PORTSDIR}/devel/py-click \
+ ${PYTHON_PKGNAMEPREFIX}Jinja2>0:${PORTSDIR}/devel/py-Jinja2 \
+ ${PYTHON_PKGNAMEPREFIX}virtualenv>0:${PORTSDIR}/devel/py-virtualenv \
+ ${PYTHON_PKGNAMEPREFIX}requests>0:${PORTSDIR}/www/py-requests \
+ ${PYTHON_PKGNAMEPREFIX}honcho>0:${PORTSDIR}/sysutils/py-honcho \
+ ${PYTHON_PKGNAMEPREFIX}semantic_version>0:${PORTSDIR}/devel/py-semantic_version \
+ ${PYTHON_PKGNAMEPREFIX}GitPython>0:${PORTSDIR}/devel/py-gitpython \
+ ${PYTHON_PKGNAMEPREFIX}pip>0:${PORTSDIR}/devel/py-pip \
+ git:${PORTSDIR}/devel/git
+
+USE_GITHUB= yes
+GH_ACCOUNT= frappe
+GH_TAGNAME= 7a9dc9a
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+.include <bsd.port.mk>
Index: www/py-bench/distinfo
===================================================================
--- /dev/null
+++ www/py-bench/distinfo
@@ -0,0 +1,2 @@
+SHA256 (frappe-bench-0.1.s20150713-7a9dc9a_GH0.tar.gz) = 96b08b6f302257ae7ec6577b85ea0dcc62c54fc06fa8db87678f9edc06efca2e
+SIZE (frappe-bench-0.1.s20150713-7a9dc9a_GH0.tar.gz) = 37269
Index: www/py-bench/files/patch-bench_utils.py
===================================================================
--- /dev/null
+++ www/py-bench/files/patch-bench_utils.py
@@ -0,0 +1,11 @@
+--- bench/utils.py.orig 2015-06-22 11:07:35 UTC
++++ bench/utils.py
+@@ -122,7 +122,7 @@ def setup_backups(bench='.'):
+ def add_to_crontab(line):
+ current_crontab = read_crontab()
+ if not line in current_crontab:
+- s = subprocess.Popen("crontab", stdin=subprocess.PIPE)
++ s = subprocess.Popen(["crontab", "-"], stdin=subprocess.PIPE)
+ s.stdin.write(current_crontab)
+ s.stdin.write(line + '\n')
+ s.stdin.close()
Index: www/py-bench/files/patch-setup.py
===================================================================
--- /dev/null
+++ www/py-bench/files/patch-setup.py
@@ -0,0 +1,20 @@
+--- setup.py.orig 2014-11-19 06:36:44 UTC
++++ setup.py
+@@ -3,7 +3,7 @@ from setuptools import setup, find_packa
+ setup(
+ name='bench',
+ version='0.1',
+- py_modules=find_packages(),
++ packages=find_packages(),
+ include_package_data=True,
+ url='https://github.com/frappe/bench',
+ author='Web Notes Technologies Pvt. Ltd.',
+@@ -15,7 +15,7 @@ setup(
+ 'requests',
+ 'honcho',
+ 'semantic_version',
+- 'GitPython==0.3.2.RC1'
++ 'GitPython'
+ ],
+ entry_points='''
+ [console_scripts]
Index: www/py-bench/pkg-descr
===================================================================
--- /dev/null
+++ www/py-bench/pkg-descr
@@ -0,0 +1,5 @@
+The bench allows you to setup Frappe / ERPNext apps on
+your local machine or a production server. You can use
+the bench to serve multiple frappe sites.
+
+WWW: https://github.com/frappe/bench

File Metadata

Mime Type
text/plain
Expires
Sat, Mar 28, 2:43 AM (17 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30454601
Default Alt Text
D3120.id7054.diff (3 KB)

Event Timeline