2013-03-11 08:27:53 -04:00
|
|
|
# $OpenBSD: Makefile.inc,v 1.13 2013/03/11 12:27:54 sthen Exp $
|
2011-06-10 07:49:30 -04:00
|
|
|
|
2013-03-02 09:10:16 -05:00
|
|
|
MODPY_EGG_VERSION ?= 2.6.3
|
2012-10-28 06:41:10 -04:00
|
|
|
|
|
|
|
PKG_ARCH= *
|
2011-06-10 07:49:30 -04:00
|
|
|
|
|
|
|
CATEGORIES += productivity
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.tryton.org/
|
|
|
|
|
|
|
|
MAINTAINER ?= Antoine Jacoutot <ajacoutot@openbsd.org>
|
|
|
|
|
|
|
|
# GPLv3
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
|
2011-06-13 13:07:45 -04:00
|
|
|
DIST_SUBDIR= tryton
|
2012-09-12 02:58:58 -04:00
|
|
|
MASTER_SITES= http://downloads2.tryton.org/${MODPY_EGG_VERSION:C/^([0-9]+\.[0-9]+).*/\1/}/
|
2011-06-10 07:49:30 -04:00
|
|
|
|
|
|
|
MODULES += lang/python
|
|
|
|
|
|
|
|
MODPY_SETUPTOOLS= Yes
|
|
|
|
|
2013-03-11 07:35:43 -04:00
|
|
|
TEST_DEPENDS ?= ${RUN_DEPENDS}
|
2011-06-10 07:49:30 -04:00
|
|
|
|
2012-05-02 02:56:27 -04:00
|
|
|
# needs py-dateutil>=2 (downloaded automatically)
|
2011-06-13 13:07:45 -04:00
|
|
|
# Some regression tests need read access to /etc/trytond.conf (not
|
|
|
|
# available for unprivilege users) and a trytond server running.
|
2013-03-11 07:35:43 -04:00
|
|
|
TEST_IS_INTERACTIVE= Yes
|
2011-06-20 01:19:26 -04:00
|
|
|
|
|
|
|
.if defined(TRYTOND_MODULE)
|
2011-06-20 12:04:12 -04:00
|
|
|
COMMENT ?= trytond ${TRYTOND_MODULE} module
|
2011-06-20 01:19:26 -04:00
|
|
|
DISTNAME ?= trytond_${TRYTOND_MODULE}-${MODPY_EGG_VERSION}
|
|
|
|
PKGNAME ?= trytond-module-${TRYTOND_MODULE}-${MODPY_EGG_VERSION}
|
|
|
|
RUN_DEPENDS += productivity/tryton/trytond
|
|
|
|
.endif
|