Remove coccinelle
A newer version of coccinelle is available in the main repo now.
This commit is contained in:
parent
94b5d28f2f
commit
28506867bc
@ -1,5 +0,0 @@
|
||||
AUX 50coccinelle-gentoo.el 154 SHA256 7cdd838a8c19178eb129154d5e2b1a4ece2fa04f69a7b78597ed47ddf716bd86 SHA512 9f57373513f4ce9479a3c5d094001ac1468763592feda20ee45e8c1cd05c7dd231757f5010476a35ccd380aa36e3b064ef03793029eb3a0f72ae785892155527 WHIRLPOOL 10f7c3482cd24c1329a2e73c38e0cbbbe68ef8da479dcbd4527156d9993573391789ac03d554b0ebedf389340a7846525aff847901bc0322f3670ddc01e4e137
|
||||
DIST coccinelle-1.0.8.tar.gz 2670961 SHA256 9f994bf98bc88c333ac7a54a03d4fa1826122eec7016a1f22c6b2ef2a6a4347f SHA512 496b1632c92cc026fbe28f784f56d4cd78f89a8ccd28dc7db1069c0c6b2b239675a10da305e37ed2a03c605668ecd3399aeed522f12ec3fbbf3ca07277ab7bce WHIRLPOOL c30e7ab2bc662045260436bdcc005ab822314e56f53e6057bf4b835699d2201135a5285e22baf28d8793fe9717d4c19559294f23413c5c4678aacbcac7d92c63
|
||||
DIST coccinelle-1.1.0.tar.gz 2718866 SHA256 e40bdd51eda84f9bf3154c592ebb4af73a4dd9656c03e7ca1d3aa0247d98d185 SHA512 bdaf797cfc4dacd95c6fe78557a678e75a77465247a00130e2dc84b16215fef3176168665600c55e265d3ef92f6de768c3767dd1f262b2adb9520eb15816cac6 WHIRLPOOL eac713d127b6555f8f382123fab3ec5ea79a26e3bdaaca7cba737584269e260e91a1faeec25fec418abd8ec391f8e04e2f6a002af55719db2d640d11c2072c99
|
||||
EBUILD coccinelle-1.0.8.ebuild 2555 SHA256 dff9f0fa4747470627408aa4fcdbe9dc36baf3a6c8be7306dfddb4e0bfd7afe6 SHA512 033d0ce2ef07135eec2b8f05c294430b78cd2ceb85c3f83acb0564c94db6c03d30efef5b56d6453b6fcf9a215cf3b89e5de855bfc65482726c84a1d5adce3e7b WHIRLPOOL 353786f2bceee06c0e47431cf4ef5ded3c16357e3331bf701b33eba5e35ec5dfebfa17b52a2f153123e8dddd6108a5b0ca2e0174ad65751cce232c8d65e7f214
|
||||
EBUILD coccinelle-1.1.0.ebuild 2555 SHA256 54b656edf9a449b3f17bff38fb6af8157a434024b23468b762a5f0da8febded8 SHA512 80011795c65f3b604b71ae74fb13b46c646c21ab10f6d8662091e7546a61214327d5e534015c9138e452b7308941624d69e80b82c389c0374c5ecf0cc41a8553 WHIRLPOOL 3ae15f34d926d23a3e581acb3ab0e2c41fdf440101aa03cad93109e79140cf1c23ee67efb037796be53926388663c7a38d02938cd44c5c0e46ded5eb8b633ddf
|
||||
@ -1,122 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python3_9 )
|
||||
|
||||
inherit autotools multilib eutils python-single-r1 bash-completion-r1 elisp-common
|
||||
|
||||
DESCRIPTION="Program matching and transformation engine"
|
||||
HOMEPAGE="http://coccinelle.lip6.fr/"
|
||||
SRC_URI="https://github.com/coccinelle/coccinelle/archive/1.0.8.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc emacs ocaml +ocamlopt pcre python test vim-syntax"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
# ocaml enables ocaml scripting (uses findlib)
|
||||
CDEPEND=">=dev-lang/ocaml-3.12:=[ocamlopt?]
|
||||
dev-ml/sexplib:=[ocamlopt(+)?]
|
||||
dev-ml/menhir:=[ocamlopt?]
|
||||
dev-ml/camlp4:=[ocamlopt?]
|
||||
dev-ml/parmap:=[ocamlopt?]
|
||||
emacs? ( >=app-editors/emacs-23.1:* )
|
||||
ocaml? ( dev-ml/findlib:= )
|
||||
pcre? ( dev-ml/pcre-ocaml:=[ocamlopt(+)?] )
|
||||
python? ( ${PYTHON_DEPS} )"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )"
|
||||
|
||||
# dev-texlive/texlive-fontsextra contains 'ifsym.sty'
|
||||
DEPEND="${CDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? (
|
||||
virtual/latex-base
|
||||
dev-texlive/texlive-latexextra
|
||||
dev-texlive/texlive-fontsextra
|
||||
)"
|
||||
|
||||
DOCS=( authors.txt bugs.txt changes.txt credits.txt readme.txt )
|
||||
|
||||
RESTRICT="strip !test? ( test )"
|
||||
|
||||
SITEFILE=50coccinelle-gentoo.el
|
||||
|
||||
pkg_setup() {
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
eautoreconf
|
||||
if use python ; then
|
||||
# fix python install location
|
||||
sed -e "s:\$(LIBDIR)/python:$(python_get_sitedir):" \
|
||||
-i Makefile || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable python) \
|
||||
$(use_enable ocaml) \
|
||||
$(use_enable pcre) \
|
||||
$(use_enable pcre pcre-syntax) \
|
||||
$(use_enable ocamlopt opt)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1
|
||||
|
||||
if use ocamlopt ; then
|
||||
emake all.opt
|
||||
else
|
||||
emake TARGET_SPATCH=byte-only all-dev
|
||||
fi
|
||||
|
||||
if use doc ; then
|
||||
VARTEXFONTS="${T}"/fonts emake docs
|
||||
fi
|
||||
|
||||
if use emacs ; then
|
||||
elisp-compile editors/emacs/cocci.el || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake check
|
||||
use python && emake pycocci-check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
use doc && dodoc docs/manual/*.pdf
|
||||
newbashcomp scripts/spatch.bash_completion spatch
|
||||
|
||||
if use emacs ; then
|
||||
elisp-install ${PN} editors/emacs/*
|
||||
elisp-site-file-install "${FILESDIR}"/${SITEFILE}
|
||||
fi
|
||||
|
||||
if use vim-syntax ; then
|
||||
newdoc editors/vim/README README-vim
|
||||
rm editors/vim/README || die
|
||||
insinto /usr/share/vim/vimfiles
|
||||
doins -r editors/vim/*
|
||||
fi
|
||||
|
||||
use python && python_optimize
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
@ -1,122 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python3_9 )
|
||||
|
||||
inherit autotools multilib eutils python-single-r1 bash-completion-r1 elisp-common
|
||||
|
||||
DESCRIPTION="Program matching and transformation engine"
|
||||
HOMEPAGE="http://coccinelle.lip6.fr/"
|
||||
SRC_URI="https://github.com/coccinelle/coccinelle/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc emacs ocaml +ocamlopt pcre python test vim-syntax"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
# ocaml enables ocaml scripting (uses findlib)
|
||||
CDEPEND=">=dev-lang/ocaml-3.12:=[ocamlopt?]
|
||||
dev-ml/sexplib:=[ocamlopt(+)?]
|
||||
dev-ml/menhir:=[ocamlopt?]
|
||||
dev-ml/camlp4:=[ocamlopt?]
|
||||
dev-ml/parmap:=[ocamlopt?]
|
||||
emacs? ( >=app-editors/emacs-23.1:* )
|
||||
ocaml? ( dev-ml/findlib:= )
|
||||
pcre? ( dev-ml/pcre-ocaml:=[ocamlopt(+)?] )
|
||||
python? ( ${PYTHON_DEPS} )"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )"
|
||||
|
||||
# dev-texlive/texlive-fontsextra contains 'ifsym.sty'
|
||||
DEPEND="${CDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? (
|
||||
virtual/latex-base
|
||||
dev-texlive/texlive-latexextra
|
||||
dev-texlive/texlive-fontsextra
|
||||
)"
|
||||
|
||||
DOCS=( authors.txt bugs.txt changes.txt credits.txt readme.txt )
|
||||
|
||||
RESTRICT="strip !test? ( test )"
|
||||
|
||||
SITEFILE=50coccinelle-gentoo.el
|
||||
|
||||
pkg_setup() {
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
eautoreconf
|
||||
if use python ; then
|
||||
# fix python install location
|
||||
sed -e "s:\$(LIBDIR)/python:$(python_get_sitedir):" \
|
||||
-i Makefile || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable python) \
|
||||
$(use_enable ocaml) \
|
||||
$(use_enable pcre) \
|
||||
$(use_enable pcre pcre-syntax) \
|
||||
$(use_enable ocamlopt opt)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1
|
||||
|
||||
if use ocamlopt ; then
|
||||
emake all.opt
|
||||
else
|
||||
emake TARGET_SPATCH=byte-only all-dev
|
||||
fi
|
||||
|
||||
if use doc ; then
|
||||
VARTEXFONTS="${T}"/fonts emake docs
|
||||
fi
|
||||
|
||||
if use emacs ; then
|
||||
elisp-compile editors/emacs/cocci.el || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake check
|
||||
use python && emake pycocci-check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
use doc && dodoc docs/manual/*.pdf
|
||||
newbashcomp scripts/spatch.bash_completion spatch
|
||||
|
||||
if use emacs ; then
|
||||
elisp-install ${PN} editors/emacs/*
|
||||
elisp-site-file-install "${FILESDIR}"/${SITEFILE}
|
||||
fi
|
||||
|
||||
if use vim-syntax ; then
|
||||
newdoc editors/vim/README README-vim
|
||||
rm editors/vim/README || die
|
||||
insinto /usr/share/vim/vimfiles
|
||||
doins -r editors/vim/*
|
||||
fi
|
||||
|
||||
use python && python_optimize
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
@ -1,6 +0,0 @@
|
||||
;;; site-lisp configuration for coccinelle
|
||||
|
||||
(add-to-list 'load-path "@SITELISP@")
|
||||
|
||||
(autoload 'cocci-mode "cocci" "Major mode for editing cocci code." t)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user