[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#969451: coccinelle: use the system pyml library



Source: coccinelle
Version: 1.0.8.deb-4
Severity: wishlist
Tags: patch

Hi,

coccinelle has a bundled copy of pyml; it is used during the build
because no system pyml is found.
Adding libpyml-ocaml-dev as build dependency and libpyml-ocaml as
dependency does the job: the system version is found and used;
patch attached for this.

That said, I haven't tried checking whether the Python capabilities
still work; the build time test suite passes in the same way as before,
and the existing autopkgtest works. Maybe it would be worth extending
the autopkgtests for this...

Thanks,
-- 
Pino
--- a/debian/control
+++ b/debian/control
@@ -10,6 +10,7 @@ Build-Depends: debhelper-compat (=12),
                libmenhir-ocaml-dev (>= 20090204.dfsg),
                libparmap-ocaml-dev (>= 1.0~rc4-5~),
                libpcre-ocaml-dev,
+               libpyml-ocaml-dev,
 	       libstdcompat-ocaml-dev,
                menhir (>= 20090204.dfsg),
                ocaml-findlib,
@@ -31,6 +32,7 @@ Vcs-Browser: https://salsa.debian.org/oc
 Package: coccinelle
 Architecture: any
 Depends: libparmap-ocaml,
+         libpyml-ocaml,
          ocaml-findlib,
          ${misc:Depends},
          ${ocaml:Depends},

Reply to: