Push the original port from 2020Q2

This commit is contained in:
Xavier Beaudouin
2024-09-26 15:28:26 +02:00
parent 81b70f3a5e
commit ca11902c51
5 changed files with 1827 additions and 0 deletions

View File

@ -0,0 +1,37 @@
# Created by: Fukang Chen <loader@FreeBSD.org>
# $FreeBSD$
PORTNAME= frappe-bench
PORTVERSION= 0.92
DISTVERSIONPREFIX= v
CATEGORIES= www python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= loader@FreeBSD.org
COMMENT= Frappe / ERPNext apps setup tool
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE.md
DEPRECATED= Uses deprecated version of python
EXPIRATION_DATE= 2020-08-15
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>0:devel/py-click@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}virtualenv>0:devel/py-virtualenv@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}honcho>0:sysutils/py-honcho@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}semantic_version>0:devel/py-semantic_version@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}GitPython>=1.0.1:devel/py-gitpython@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pip>0:devel/py-pip@${PY_FLAVOR} \
git:devel/git
USE_GITHUB= yes
GH_ACCOUNT= frappe
GH_PROJECT= bench
NO_ARCH= yes
USES= python:2.7
USE_PYTHON= autoplist distutils concurrent
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (frappe-bench-v0.92_GH0.tar.gz) = 4095b752bd777166d48054df6fb198ad1349e0bdf60d112e632ea622a9b99587
SIZE (frappe-bench-v0.92_GH0.tar.gz) = 30835

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,20 @@
--- setup.py.orig 2015-07-31 10:13:11 UTC
+++ setup.py
@@ -3,7 +3,7 @@ from setuptools import setup, find_packa
setup(
name='bench',
version='0.92',
- 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>=0.3.2.RC1'
],
entry_points='''
[console_scripts]

View File

@ -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