Import py27-proteus-3.4.2 as devel/py-proteus.
Proteus is a library to access Tryton's models like a client.
This commit is contained in:
parent
0fae22cf16
commit
f8e58e89eb
5 changed files with 90 additions and 0 deletions
1
devel/py-proteus/DESCR
Normal file
1
devel/py-proteus/DESCR
Normal file
|
@ -0,0 +1 @@
|
|||
Proteus is a library to access Tryton's models like a client.
|
26
devel/py-proteus/Makefile
Normal file
26
devel/py-proteus/Makefile
Normal file
|
@ -0,0 +1,26 @@
|
|||
# $NetBSD: Makefile,v 1.1 2015/03/15 00:21:45 rodent Exp $
|
||||
TRYTON_MODULE_NAME= proteus
|
||||
.include "../../devel/py-trytond/Makefile.common"
|
||||
CATEGORIES= devel python
|
||||
|
||||
MAINTAINER= pkgsrc-users@NetBSD.org
|
||||
HOMEPAGE= http://www.tryton.org/
|
||||
COMMENT= Library to access Tryton's models like a client
|
||||
LICENSE= gnu-gpl-v3
|
||||
|
||||
DEPENDS+= ${PYPKGPREFIX}-python-sql-[0-9]*:../../databases/py-python-sql
|
||||
DEPENDS+= ${PYPKGPREFIX}-trytond-[0-9]*:../../devel/py-trytond
|
||||
|
||||
PYTHON_VERSIONED_DEPENDENCIES= dateutil
|
||||
|
||||
USE_LANGUAGES= # none
|
||||
|
||||
.include "options.mk"
|
||||
|
||||
REPLACE_PYTHON+= tests/test_wizard.py tests/test_report.py tests/test_model.py tests/test_context.py
|
||||
REPLACE_PYTHON+= tests/test_config.py
|
||||
|
||||
.include "../../lang/python/application.mk"
|
||||
.include "../../lang/python/egg.mk"
|
||||
.include "../../lang/python/versioned_dependencies.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
37
devel/py-proteus/PLIST
Normal file
37
devel/py-proteus/PLIST
Normal file
|
@ -0,0 +1,37 @@
|
|||
@comment $NetBSD: PLIST,v 1.1 2015/03/15 00:21:45 rodent Exp $
|
||||
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
|
||||
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
|
||||
${PYSITELIB}/${EGG_INFODIR}/requires.txt
|
||||
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
|
||||
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
|
||||
${PYSITELIB}/${EGG_INFODIR}/zip-safe
|
||||
${PYSITELIB}/proteus/__init__.py
|
||||
${PYSITELIB}/proteus/__init__.pyc
|
||||
${PYSITELIB}/proteus/__init__.pyo
|
||||
${PYSITELIB}/proteus/config.py
|
||||
${PYSITELIB}/proteus/config.pyc
|
||||
${PYSITELIB}/proteus/config.pyo
|
||||
${PYSITELIB}/proteus/pyson.py
|
||||
${PYSITELIB}/proteus/pyson.pyc
|
||||
${PYSITELIB}/proteus/pyson.pyo
|
||||
${PYSITELIB}/proteus/tests/__init__.py
|
||||
${PYSITELIB}/proteus/tests/__init__.pyc
|
||||
${PYSITELIB}/proteus/tests/__init__.pyo
|
||||
${PYSITELIB}/proteus/tests/common.py
|
||||
${PYSITELIB}/proteus/tests/common.pyc
|
||||
${PYSITELIB}/proteus/tests/common.pyo
|
||||
${PYSITELIB}/proteus/tests/test_config.py
|
||||
${PYSITELIB}/proteus/tests/test_config.pyc
|
||||
${PYSITELIB}/proteus/tests/test_config.pyo
|
||||
${PYSITELIB}/proteus/tests/test_context.py
|
||||
${PYSITELIB}/proteus/tests/test_context.pyc
|
||||
${PYSITELIB}/proteus/tests/test_context.pyo
|
||||
${PYSITELIB}/proteus/tests/test_model.py
|
||||
${PYSITELIB}/proteus/tests/test_model.pyc
|
||||
${PYSITELIB}/proteus/tests/test_model.pyo
|
||||
${PYSITELIB}/proteus/tests/test_report.py
|
||||
${PYSITELIB}/proteus/tests/test_report.pyc
|
||||
${PYSITELIB}/proteus/tests/test_report.pyo
|
||||
${PYSITELIB}/proteus/tests/test_wizard.py
|
||||
${PYSITELIB}/proteus/tests/test_wizard.pyc
|
||||
${PYSITELIB}/proteus/tests/test_wizard.pyo
|
5
devel/py-proteus/distinfo
Normal file
5
devel/py-proteus/distinfo
Normal file
|
@ -0,0 +1,5 @@
|
|||
$NetBSD: distinfo,v 1.1 2015/03/15 00:21:45 rodent Exp $
|
||||
|
||||
SHA1 (tryton-3.4/proteus-3.4.2.tar.gz) = 6f672efcc6322fa26a663dcd9ab7b30fb91cf569
|
||||
RMD160 (tryton-3.4/proteus-3.4.2.tar.gz) = f3faa1267faca96ab429c71132c22f7fe3323e58
|
||||
Size (tryton-3.4/proteus-3.4.2.tar.gz) = 21775 bytes
|
21
devel/py-proteus/options.mk
Normal file
21
devel/py-proteus/options.mk
Normal file
|
@ -0,0 +1,21 @@
|
|||
# $NetBSD: options.mk,v 1.1 2015/03/15 00:21:45 rodent Exp $
|
||||
|
||||
PKG_OPTIONS_VAR= PKG_OPTIONS.py-proteus
|
||||
PKG_SUPPORTED_OPTIONS+= cdecimal simplejson
|
||||
# track py-trytond for cdecimal suggested option selection
|
||||
PKG_SUGGESTED_OPTIONS+= ${PKG_DEFAULT_OPTIONS:Mcdecimal} ${PKG_OPTIONS.py-trytond:Mcdecimal}
|
||||
PKG_SUGGESTED_OPTIONS+= simplejson
|
||||
|
||||
.include "../../mk/bsd.options.mk"
|
||||
|
||||
# XXX Supports unoconv http://dag.wieers.com/home-made/unoconv/) and
|
||||
# XXX python-Levenshtein (http://github.com/miohtama/python-Levenshtein) options
|
||||
|
||||
.if !empty(PKG_OPTIONS:Mcdecimal)
|
||||
PYTHON_VERSIONS_INCOMPATIBLE= 33 34 34 34 34 # py-cdecimal is obsolete for that version and thus not available
|
||||
DEPENDS+= ${PYPKGPREFIX}-cdecimal-[0-9]*:../../math/py-cdecimal
|
||||
.endif
|
||||
|
||||
.if !empty(PKG_OPTIONS:Msimplejson)
|
||||
DEPENDS+= ${PYPKGPREFIX}-simplejson-[0-9]*:../../converters/py-simplejson
|
||||
.endif
|
Loading…
Reference in a new issue