public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: profiles/, dev-util/cccc/, dev-util/cccc/files/
@ 2019-05-15 20:41 Michał Górny
  0 siblings, 0 replies; only message in thread
From: Michał Górny @ 2019-05-15 20:41 UTC (permalink / raw
  To: gentoo-commits

commit:     b2bf07129a4c300fefe60a91011951a428fad3c2
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed May 15 20:37:25 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed May 15 20:41:25 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2bf0712

dev-util/cccc: Remove last-rited pkg

Closes: https://bugs.gentoo.org/651446
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-util/cccc/Manifest                   |  1 -
 dev-util/cccc/cccc-3.1.5-r1.ebuild       | 70 ----------------------------
 dev-util/cccc/files/cccc-MFC-dialect.opt | 21 ---------
 dev-util/cccc/files/cccc-c_dialect.patch | 79 --------------------------------
 dev-util/cccc/metadata.xml               | 19 --------
 profiles/package.mask                    |  6 ---
 6 files changed, 196 deletions(-)

diff --git a/dev-util/cccc/Manifest b/dev-util/cccc/Manifest
deleted file mode 100644
index 887fa77c8cf..00000000000
--- a/dev-util/cccc/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST cccc-3.1.5.tar.gz 662760 BLAKE2B 57817ef9a44f002c017245d7dd3b1ef97fec59b59bce465d5e5e1cc12409b5602cfd8bf7ee938e526af9bcc11398639900d26848aa4f8c7f623669159de17117 SHA512 61544669a75ff7bd99c6ff5bb1e6ec163f2a09f4538493fe60e8f9f95eab7ba19ad6d39b6717ae010a223b8efe48c497a4feb8ead218e350ee2ab91b9c52c969

diff --git a/dev-util/cccc/cccc-3.1.5-r1.ebuild b/dev-util/cccc/cccc-3.1.5-r1.ebuild
deleted file mode 100644
index a26523720d4..00000000000
--- a/dev-util/cccc/cccc-3.1.5-r1.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils toolchain-funcs flag-o-matic
-
-DESCRIPTION="Source metrics (line counts, complexity, etc) for Java and C++"
-HOMEPAGE="http://sarnold.github.io/cccc/"
-if [[ ${PV} = 9999* ]]; then
-	EGIT_REPO_URI="https://github.com/sarnold/cccc.git"
-	EGIT_BRANCH="master"
-	inherit git-r3
-else
-	SRC_URI="https://github.com/sarnold/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="apidoc debug doc mfc"
-
-RDEPEND=""
-DEPEND="${RDEPEND}
-	apidoc? ( app-doc/doxygen[dot] )
-	"
-
-src_prepare() {
-	is-flagq -flto* && filter-flags -flto* -fuse-linker-plugin
-	use mfc && eapply "${FILESDIR}"/${PN}-c_dialect.patch
-	default
-
-}
-
-src_compile() {
-	tc-export CC CXX LD AS AR NM RANLIB STRIP OBJCOPY
-	if use debug ; then
-		DEBUG="true" emake CCC=$(tc-getCXX) CC=$(tc-getCC) cccc
-	else
-		emake CCC=$(tc-getCXX) CC=$(tc-getCC) cccc
-	fi
-
-	use apidoc && emake CCC=$(tc-getCXX) metrics docs
-}
-
-src_test() {
-	emake CCC=$(tc-getCXX) test
-}
-
-src_install() {
-	dobin cccc/cccc
-
-	dodoc README.md
-
-	if use mfc ; then
-		insinto /usr/share/doc/${PF}
-		doins "${FILESDIR}"/cccc-MFC-dialect.opt
-	fi
-
-	if use doc ; then
-		insinto /usr/share/doc/${PF}/html
-		doins cccc/*.html || die "html docs failed"
-		if use apidoc ; then
-			insinto /usr/share/doc/${PF}/html/api
-			doins -r doxygen/html/* || die "dox failed"
-			insinto /usr/share/doc/${PF}/html/metrics
-			doins ccccout/* || die "metrics failed"
-		fi
-	fi
-}

diff --git a/dev-util/cccc/files/cccc-MFC-dialect.opt b/dev-util/cccc/files/cccc-MFC-dialect.opt
deleted file mode 100644
index 4c4acb32e1f..00000000000
--- a/dev-util/cccc/files/cccc-MFC-dialect.opt
+++ /dev/null
@@ -1,21 +0,0 @@
-;;Pro*C embedded SQL
-;; looks like
-;; EXEC SQL UPDATE ARM43_OD_PRODUIT_SERV
-;; SET ARM43ID_TPS_FIN = NULL WHERE
-ARM43ID_TPS_FIN = 0;
-
-CCCC_FileExt@.pc@c++.ansi@
-
-CCCC_Dialect@c++.pc@EXEC@skip_stmt@
-
-;;MFC
-CCCC_Dialect@c++.mfc@ON_WM_PAINT@skip_line@
-CCCC_Dialect@c++.mfc@DECLARE_MESSAGE_MAP@skip_line@
-CCCC_Dialect@c++.mfc@DECLARE_DISPATCH_MAP@skip_line@
-
-CCCC_Dialect@c++.stl@__STL_BEGIN_NAMESPACE@ignore@
-CCCC_Dialect@c++.stl@__STL_END_NAMESPACE@ignore@
-
-CCCC_Dialect@c++.mfc@BEGIN_EVENT_MAP@start_skipping@
-CCCC_Dialect@c++.mfc@END_EVENT_MAP@stop_skipping@
-

diff --git a/dev-util/cccc/files/cccc-c_dialect.patch b/dev-util/cccc/files/cccc-c_dialect.patch
deleted file mode 100644
index c8951aef13c..00000000000
--- a/dev-util/cccc/files/cccc-c_dialect.patch
+++ /dev/null
@@ -1,79 +0,0 @@
-diff --git a/cccc/cccc.g b/cccc/cccc.g
-index bdb6805..fd7b504 100644
---- a/cccc/cccc.g
-+++ b/cccc/cccc.g
-@@ -84,6 +84,30 @@ inline void endOfLine(CLexer &lexer)
- #token MAC_NL		"\r"	<< endOfLine(*this); >>
- #token UNIX_NL		"\n"    << endOfLine(*this); >>
- 
-+/* augment dialect policies -- M.H added */
-+#lexclass SKIP_STMT
-+#token SKCOLON ";" << skip();mode(START); >>
-+#token SKANYTHING "~[; \t\n]" << skip();more();>>
-+#token SKNL "\n" << skip();endOfLine(*this);>>
-+#token SKBLANK "[ \t]+" << skip(); >>
-+#lexclass START
-+
-+#lexclass SKIP_BLOCK
-+#token SK_ANY "[a-zA-Z0-9_]*"
-+<<
-+std::string treatment = 
-+	CCCC_Options::dialectKeywordPolicy(parse_language,lextext());
-+
-+if ( treatment != "stop_skipping" )
-+{
-+    skip();
-+}
-+else
-+{
-+    mode(COMMENT_LINE);skip();
-+}
-+>>
-+#lexclass START
- 
- /* preprocessor constructs - comments, #defines etc */
- 
-@@ -343,17 +367,29 @@ inline void endOfLine(CLexer &lexer)
-         if( treatment == "ignore" )
- 	{
- 	    skip();
-+	    //std::cout << toktext << std::endl <<" :ignore" << std::endl;
- 	}
- 	// Ultimately, the next two cases will need to be handled 
- 	// using a #lexclass or something similar, for the moment
- 	// we just try to skip the tokens themselves.
- 	else if ( treatment == "start_skipping" )
- 	{
--	    skip();
-+	    mode(SKIP_BLOCK);skip();
- 	}	
- 	else if ( treatment == "stop_skipping" ) 
- 	{
--	    skip();
-+	    skip(); mode(COMMENT_LINE);
-+	    //gobble end of line M.H.
-+	}
-+	else if ( treatment == "skip_line" )//M.H added
-+	{
-+	    mode(COMMENT_LINE);skip(); 
-+	    //std::cout << "skip_line" << std::endl;
-+	}
-+	else if ( treatment == "skip_stmt" )//M.H added
-+	{
-+	    mode(SKIP_STMT);skip();
-+	    //std::cout << "skip_stmt" << std::endl;
- 	}
- >>
- 
-@@ -426,8 +462,10 @@ void init(const string& filename, const string& language)
- 	pu=ParseUtility::currentInstance();
- 	ps=ParseStore::currentInstance();
- 
--	ANTLRParser::init();
- 	parse_language=language;
-+	ANTLRParser::init();
-+	//parse_language=language;
-+	//move above, M.H.1st otherwise time init not to language
- }
- 
- >>

diff --git a/dev-util/cccc/metadata.xml b/dev-util/cccc/metadata.xml
deleted file mode 100644
index ecde1cfd0a0..00000000000
--- a/dev-util/cccc/metadata.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-	<maintainer type="person">
-		<email>nerdboy@gentoo.org</email>
-	</maintainer>
-	<longdescription lang="en">
-		cccc provides source code metrics (line counts, complexity,
-		object-oriented, and structural metrics) for Java and C++
-	</longdescription>
-	<upstream>
-		<remote-id type="github">sarnold/cccc</remote-id>
-		<bugs-to>https://github.com/sarnold/cccc/issues</bugs-to>
-	</upstream>
-	<use>
-		<flag name="apidoc">Build software docs with doxygen/graphviz and metrics with cccc</flag>
-		<flag name="mfc">Add patch for MFC dialect options</flag>
-	</use>
-</pkgmetadata>

diff --git a/profiles/package.mask b/profiles/package.mask
index c8b2db98182..9218929d2a5 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -492,12 +492,6 @@ app-text/active-dvi
 # Removal in 30 days.  Bug #651450.
 dev-util/cyclo
 
-# Michał Górny <mgorny@gentoo.org> (14 Apr 2019)
-# The ebuild violates EAPI and relies on STRIP_MASK.  Also has
-# suspicious USE=debug logic.  Not touched since 2016.
-# Removal in 30 days.  Bug #651446.
-dev-util/cccc
-
 # Aaron Bauman <bman@gentoo.org> (13 Apr 2019)
 # Unmaintained in Gentoo and outstanding vulnerability
 # Masked for removal in 30 days. Bug #522578


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-05-15 20:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-15 20:41 [gentoo-commits] repo/gentoo:master commit in: profiles/, dev-util/cccc/, dev-util/cccc/files/ Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox