From cce089ba7ae933e6b588cb9e405a311510a88bb7 Mon Sep 17 00:00:00 2001 From: Ulrich Müller Date: Wed, 3 Apr 2019 19:22:11 +0200 Subject: dev-util/ninka: Moved to gentoo repository. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ulrich Müller --- dev-util/ninka/Manifest | 1 - .../files/ninka-2.0_pre1_p20170402-braces.patch | 11 ----- .../files/ninka-2.0_pre1_p20170402-makefile.patch | 33 -------------- dev-util/ninka/metadata.xml | 7 --- dev-util/ninka/ninka-2.0_pre1_p20170402.ebuild | 52 ---------------------- 5 files changed, 104 deletions(-) delete mode 100644 dev-util/ninka/Manifest delete mode 100644 dev-util/ninka/files/ninka-2.0_pre1_p20170402-braces.patch delete mode 100644 dev-util/ninka/files/ninka-2.0_pre1_p20170402-makefile.patch delete mode 100644 dev-util/ninka/metadata.xml delete mode 100644 dev-util/ninka/ninka-2.0_pre1_p20170402.ebuild diff --git a/dev-util/ninka/Manifest b/dev-util/ninka/Manifest deleted file mode 100644 index 442d11b..0000000 --- a/dev-util/ninka/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST ninka-2.0_pre1_p20170402.tar.xz 136080 BLAKE2B 9c612dd3586681b1bb037d5c7271341fc652ca62d3e22ee29f330922d78e9a460e3bb2700f4216ea3fa564ed2e5c83a9c50cdea5db796851bbdc999b9f35658a SHA512 fc1c8f6e134c6c618852bc62b306c4e73fcd7443900f4d31d9abffe718e8b4fa7e3853631d0207f70e1223d00a72e976f4c3e7c8780a892113644ba5167f30a1 diff --git a/dev-util/ninka/files/ninka-2.0_pre1_p20170402-braces.patch b/dev-util/ninka/files/ninka-2.0_pre1_p20170402-braces.patch deleted file mode 100644 index 54e4d4a..0000000 --- a/dev-util/ninka/files/ninka-2.0_pre1_p20170402-braces.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- ninka-orig/lib/Ninka/SentenceExtractor.pm -+++ ninka/lib/Ninka/SentenceExtractor.pm -@@ -114,7 +114,7 @@ - - # check for trailing bullets of different types - s/^o //; -- s/^\s*[0-9]{1-2}+\s*[\-\)]//; -+ s/^\s*[0-9]{1,2}+\s*[\-\)]//; - s/^[ \t]+//; - s/[ \t]+$//; - diff --git a/dev-util/ninka/files/ninka-2.0_pre1_p20170402-makefile.patch b/dev-util/ninka/files/ninka-2.0_pre1_p20170402-makefile.patch deleted file mode 100644 index 1799d41..0000000 --- a/dev-util/ninka/files/ninka-2.0_pre1_p20170402-makefile.patch +++ /dev/null @@ -1,33 +0,0 @@ ---- ninka-orig/comments/Makefile -+++ ninka/comments/Makefile -@@ -11,12 +11,13 @@ - #DEBUG = -g -DDEBUG -DIODEBUG - - --all: -- g++ $(DEBUG) $(OPTIONS) $(DEFINES) -c io.cpp -- g++ $(DEBUG) $(OPTIONS) $(DEFINES) -c dformat.cpp -- g++ $(DEBUG) $(OPTIONS) $(DEFINES) -c func.cpp -- g++ $(DEBUG) $(OPTIONS) $(DEFINES) -c main.cpp -- g++ -o $(NAME) main.o io.o dformat.o func.o -+all: $(NAME) -+ -+%.o: %.cpp -+ $(CXX) $(CXXFLAGS) $(DEFINES) -c $< -+ -+$(NAME): main.o io.o dformat.o func.o -+ $(CXX) $(LDFLAGS) -o $@ $^ - - install: - @echo -n "Installing binary: " ---- ninka-orig/Makefile.PL -+++ ninka/Makefile.PL -@@ -13,7 +13,7 @@ - 'Yuki Manabe ', - 'René Scheibe ', - ], -- EXE_FILES => ['bin/ninka'], -+ EXE_FILES => ['bin/ninka', 'bin/ninka-excel', 'bin/ninka-sqlite'], - CONFIGURE_REQUIRES => { - 'ExtUtils::MakeMaker' => '6.52', - }, diff --git a/dev-util/ninka/metadata.xml b/dev-util/ninka/metadata.xml deleted file mode 100644 index c665e48..0000000 --- a/dev-util/ninka/metadata.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - - ulm@gentoo.org - - diff --git a/dev-util/ninka/ninka-2.0_pre1_p20170402.ebuild b/dev-util/ninka/ninka-2.0_pre1_p20170402.ebuild deleted file mode 100644 index 3a18623..0000000 --- a/dev-util/ninka/ninka-2.0_pre1_p20170402.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit perl-module toolchain-funcs - -DESCRIPTION="A license identification tool for source code" -HOMEPAGE="http://ninka.turingmachine.org/" -# snapshot of https://github.com/dmgerman/ninka -SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz" - -LICENSE="GPL-2+ myspell-en_CA-KevinAtkinson public-domain Princeton Ispell" -SLOT="0" -KEYWORDS="~amd64" -IUSE="sqlite test" - -RDEPEND="dev-perl/IO-CaptureOutput - dev-perl/Spreadsheet-WriteExcel - virtual/perl-File-Temp - sqlite? ( - dev-perl/DBD-SQLite - dev-perl/DBI - )" - -DEPEND="virtual/perl-ExtUtils-MakeMaker - test? ( - ${RDEPEND} - virtual/perl-Test-Simple - dev-perl/Test-Pod - )" -# Test::Strict not packaged yet - -S="${WORKDIR}/${PN}" - -PATCHES=( - "${FILESDIR}"/${P}-braces.patch - "${FILESDIR}"/${P}-makefile.patch -) - -src_compile() { - perl-module_src_compile - emake -C comments CXX="$(tc-getCXX)" -} - -src_install() { - perl-module_src_install - use sqlite || rm "${ED}"/usr/bin/ninka-sqlite || die - dobin comments/comments - doman comments/comments.1 - dodoc BUGS.org -} -- cgit v1.2.3-65-gdbad