mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
dev-util/ninka: drop 2.0_pre1_p20170402
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST ninka-2.0_pre1_p20170402.tar.xz 136080 BLAKE2B 9c612dd3586681b1bb037d5c7271341fc652ca62d3e22ee29f330922d78e9a460e3bb2700f4216ea3fa564ed2e5c83a9c50cdea5db796851bbdc999b9f35658a SHA512 fc1c8f6e134c6c618852bc62b306c4e73fcd7443900f4d31d9abffe718e8b4fa7e3853631d0207f70e1223d00a72e976f4c3e7c8780a892113644ba5167f30a1
|
||||
DIST ninka-b94e0d36669c4cc086856adf57bc67ced8f1aaf0.tar.gz 266201 BLAKE2B ebc0466cef0e193784fb9a4096d6e35f3c006efa1911e76bba3996f12785cf2748fa4aeb13b0caa2689c4a3a325874d8922f0fd47b27739d4e33e81d11953958 SHA512 3c9abb5e7e5e3b1a2b46e04b0eaa0c9e5f681ffbe37077f0ce5aee727a4e68a2bf169aaa8953678f452abee916c62a47d4305f669f9023350a235442b7cebfca
|
||||
|
||||
@@ -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]+$//;
|
||||
|
||||
@@ -1,53 +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"
|
||||
RESTRICT="!test? ( 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}
|
||||
dev-perl/Test-Pod
|
||||
dev-perl/Test-Strict
|
||||
virtual/perl-Test-Simple
|
||||
)"
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user