From fb3cabfd077d72888821b5304e500eabd06ebe6e Mon Sep 17 00:00:00 2001
From: Guilhem Saurel <guilhem.saurel@laas.fr>
Date: Tue, 17 Sep 2019 14:24:02 +0200
Subject: [PATCH] [wip/py-dynamic-graph-v3] requires python < 3

While here, use jrl-cmakemodules
---
 py-dynamic-graph-v3/Makefile | 11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)

diff --git a/py-dynamic-graph-v3/Makefile b/py-dynamic-graph-v3/Makefile
index a569dc07..fbb534ac 100644
--- a/py-dynamic-graph-v3/Makefile
+++ b/py-dynamic-graph-v3/Makefile
@@ -6,13 +6,8 @@ ORG=			stack-of-tasks
 NAME=			dynamic-graph-python
 VERSION=		3.3.2
 
-DISTNAME=		${NAME}-${VERSION}
 PKGNAME=		${PKGTAG.python-}dynamic-graph-v3-${VERSION}
 
-MASTER_SITES=		${MASTER_SITE_OPENROBOTS:=${NAME}/}
-MASTER_REPOSITORY=	${MASTER_REPOSITORY_GITHUB}${ORG}/${NAME}
-CHECKOUT_VCS_OPTS+=	--recursive
-
 CATEGORIES=		wip
 COMMENT=		Efficient data-flow C++ library for robotics (python bindings)
 LICENSE=		2-clause-bsd
@@ -21,11 +16,9 @@ MAINTAINER=		gepetto-soft@laas.fr
 CONFLICTS+=		py[0-9][0-9]-${NAME}
 CONFLICTS+=		py[0-9][0-9]-${NAME}-v3  # there is stuff not in ${PYTHON_SITELIB}
 
-CMAKE_ARGS+=		-DCMAKE_INSTALL_LIBDIR=lib
-CMAKE_ARGS+=		-DCXX_DISABLE_WERROR=yes
-
-DYNAMIC_PLIST_DIRS+=	share/doc/${NAME}
+DEPEND_ABI.python+=	python<3
 
+include ../../wip/jrl-cmakemodules/Makefile.common
 include ../../wip/dynamic-graph-v3/depend.mk
 include ../../math/eigen3/depend.mk
 include ../../pkgtools/pkg-config/depend.mk
-- 
GitLab