From 765471aa303186ad78cec50b725e089620661892 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Wed, 20 Feb 2019 11:26:28 -0300 Subject: [PATCH] coccinelle: update to 1.0.7. --- srcpkgs/coccinelle/patches/no-docs.patch | 12 --------- srcpkgs/coccinelle/template | 32 ++++++++---------------- 2 files changed, 11 insertions(+), 33 deletions(-) delete mode 100644 srcpkgs/coccinelle/patches/no-docs.patch diff --git a/srcpkgs/coccinelle/patches/no-docs.patch b/srcpkgs/coccinelle/patches/no-docs.patch deleted file mode 100644 index 761b94c825e..00000000000 --- a/srcpkgs/coccinelle/patches/no-docs.patch +++ /dev/null @@ -1,12 +0,0 @@ -Building docs requires pdflatex. - ---- Makefile.orig 2016-06-08 17:54:25.406353442 +0200 -+++ Makefile 2016-06-08 17:54:06.599352471 +0200 -@@ -144,7 +144,6 @@ - $(MAKE) .depend - $(MAKE) $(TARGET_SPATCH) - $(MAKE) preinstall -- $(MAKE) docs - @$(ECHO) -e "\n\tcoccinelle can now be installed via 'make install'" - - all.opt: Makefile.config diff --git a/srcpkgs/coccinelle/template b/srcpkgs/coccinelle/template index b1519d53c65..62625e5b000 100644 --- a/srcpkgs/coccinelle/template +++ b/srcpkgs/coccinelle/template @@ -1,34 +1,24 @@ # Template file for 'coccinelle' pkgname=coccinelle -version=1.0.6 -revision=3 -build_style="gnu-configure" -configure_args="--without-pdflatex" -makedepends="ocaml ocaml-findlib ocaml-num camlp4 pcre-devel python-devel" +version=1.0.7 +revision=1 +build_style=gnu-configure +configure_args="--without-pdflatex --enable-release + --with-python=/usr/bin/python3" +hostmakedepends="python3 automake libtool" +makedepends="ocaml ocaml-findlib ocaml-num camlp4 pcre-devel python3-devel" short_desc="Program matching and transformation engine" maintainer="Orphaned " license="GPL-2.0-only" homepage="http://coccinelle.lip6.fr/" -distfiles="http://coccinelle.lip6.fr/distrib/coccinelle-${version}.tgz" -checksum=8452ed265c209dae99cbb33b67bc7912e72f8bca1e24f33f1a88ba3d7985e909 +distfiles="http://coccinelle.lip6.fr/distrib/coccinelle-${version}.tar.gz" +checksum=475e2bed5486023d19d9e0dec5e109b04b872a9917b62faf83ce3521676f728b export OCAMLPARAM="safe-string=0,_" disable_parallel_build=yes nocross=yes conflicts="pfff" # /usr/bin/spatch -post_extract() { - # cleanup crap from the release tarball - rm ./bundles/pyml/pyml-current/pytypes.o \ - ./bundles/pyml/pyml-current/dllpyml_stubs.so \ - ./bundles/pyml/pyml-current/generate \ - ./bundles/pyml/pyml-current/pycaml.o \ - ./bundles/pyml/pyml-current/generate.o \ - ./bundles/pyml/pyml-current/pyml_stubs.o \ - ./bundles/pyml/pyml-current/pywrappers.o \ - ./bundles/pyml/pyml-current/pyml_compat.o \ - ./bundles/pyml/pyml-current/py.o \ - ./dllpyml_stubs.so \ - ./tools/spgen/source/spgen.opt \ - ./tools/spgen/source/spgen +pre_configure() { + autoreconf -fi }