summaryrefslogtreecommitdiff
path: root/app-text/sloccount
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:56:41 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:56:41 +0100
commitd87262dd706fec50cd150aab3e93883b6337466d (patch)
tree246b44c33ad7a57550430b0a60fa0df86a3c9e68 /app-text/sloccount
parent71bc00c87bba1ce31de0dac6c3b7fd1aee6917fc (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-text/sloccount')
-rw-r--r--app-text/sloccount/Manifest6
-rw-r--r--app-text/sloccount/files/sloccount-2.26-coreutils-tail-n-fix.patch12
-rw-r--r--app-text/sloccount/files/sloccount-2.26-gentoo.patch20
-rw-r--r--app-text/sloccount/files/sloccount-2.26-libexec.patch81
-rw-r--r--app-text/sloccount/metadata.xml7
-rw-r--r--app-text/sloccount/sloccount-2.26-r3.ebuild50
6 files changed, 0 insertions, 176 deletions
diff --git a/app-text/sloccount/Manifest b/app-text/sloccount/Manifest
deleted file mode 100644
index 343ab7d1103b..000000000000
--- a/app-text/sloccount/Manifest
+++ /dev/null
@@ -1,6 +0,0 @@
-AUX sloccount-2.26-coreutils-tail-n-fix.patch 468 BLAKE2B 81f7e84e738ef592c9863590b8648e1bb3446b8556b2562fe20f42af060719bb639fd93c25a1350ee738b095aff6943fb77b7498aaa6d5b2c6d405affacfbfea SHA512 200ccf47b4ca21a17cbe06ccf7b9a8022c794d1b5c0e0f59477b74a37704a6d5a106d4a7791ab84f6387032c938c132ffc1971e4db6532b21d5a0f2fef6df03e
-AUX sloccount-2.26-gentoo.patch 852 BLAKE2B 5e41be564f2aedb7d5094453148e9a9048894473316f77d50570f94dfcf973aa84f362533b4ceaf617fb8f1eb24db03e42a3562c6ba4da2716e652101acb1b86 SHA512 226a28d6ce4bc42f3074dc4390379e0d4539d9e2d9dabe3ec7b60fd41a9b3d9d882d4c4b0dce6803eb137230b67cc622d2b3ab6c4ead0cb90a410efe4b5b18af
-AUX sloccount-2.26-libexec.patch 2293 BLAKE2B 7e2dbbf27535e8a2c6ebba2eca790b67b84cd102a0b000a45bf2b56434138891de72906b42170a488f1a1ef6df4a848f0d72137662b835d5f002350b747f1b33 SHA512 87101dc6c6632d38ff25b842b3342ee7caae0a926ce7c62f07360691a1494f8fefb8a039743d6cc49e3ca53a2eb179a06a97763ff5cf6224056a0916317afa35
-DIST sloccount-2.26.tar.gz 190948 BLAKE2B 060cba3796ba4edc5f64ca3cc16de6f7dd8d1d18e45f9ccc0abe7a27e37daa6c02dd7a3f31b124b5e9ccc81ab59a7c4c6405b86ebb17ca9853c1ac1dafcba095 SHA512 ed6ab315a56dbdc86c654b94e790c9ea9e2dcad0db26b63c0973c33eb7fa634b4ade0a1f3c6ccfd5172ea95f648c1dd3b0ae2575b0aa44b3fec708c24a6aca54
-EBUILD sloccount-2.26-r3.ebuild 1267 BLAKE2B 5f1d76f99046efe81cf597fae62e50078078a68d25eea23e20a5eeba8b605976c8656c722a616772b7feaf919bd751ff44fc6b4f7953a1f3c2a2eb3aecb2645c SHA512 c6bedf3aaaafa0fcd5b3145fbf46034a60081ab9deb8f6168258574581a085afc22cafcb36a70ab24680286cbfc670a08099f0d677a1da0961707b7ff6a11782
-MISC metadata.xml 216 BLAKE2B 20531789dc11e43feee7ec315a0c1c7249fdf73764e29cb7d6db439826e9ff72f24a5cdb8eb7f1ab99bbb41fb6e4226874a1d1fa4185de52598602bb3b0479a3 SHA512 e881b59fe49746eb25ad66c258b41aba501e4eb563129093a3898ea970a20506e7898f7c355cfcf99605234962bf2c77c1309c258b9a2b84ee4302ccb71c9dbd
diff --git a/app-text/sloccount/files/sloccount-2.26-coreutils-tail-n-fix.patch b/app-text/sloccount/files/sloccount-2.26-coreutils-tail-n-fix.patch
deleted file mode 100644
index caf30cf894de..000000000000
--- a/app-text/sloccount/files/sloccount-2.26-coreutils-tail-n-fix.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Nur sloccount-2.22/compute_sloc_lang sloccount-2.22-new/compute_sloc_lang
---- sloccount-2.22/compute_sloc_lang 2002-02-28 13:34:09.000000000 +0100
-+++ sloccount-2.22-new/compute_sloc_lang 2004-10-23 12:36:56.295312577 +0200
-@@ -30,7 +30,7 @@
- *) ${language}_count -f ${language}_list.dat > ${language}_outfile.dat
- ;;
- esac
-- tail -1 < ${language}_outfile.dat
-+ tail -n 1 < ${language}_outfile.dat
-
- else
- rm -f ${language}_outfile.dat
diff --git a/app-text/sloccount/files/sloccount-2.26-gentoo.patch b/app-text/sloccount/files/sloccount-2.26-gentoo.patch
deleted file mode 100644
index c3a031190a36..000000000000
--- a/app-text/sloccount/files/sloccount-2.26-gentoo.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- break_filelist.old 2013-10-14 17:23:01.523330534 +0800
-+++ break_filelist 2004-08-01 12:17:28.000000000 +0800
-@@ -177,7 +177,7 @@
- "p" => "pascal", "pas" => "pascal", "pp" => "pascal", "dpr" => "pascal",
- "py" => "python",
- "s" => "asm", "S" => "asm", "asm" => "asm",
-+ "sh" => "sh", "bash" => "sh", "ebuild" => "sh",
-- "sh" => "sh", "bash" => "sh",
- "csh" => "csh", "tcsh" => "csh",
- "java" => "java",
- "lisp" => "lisp", "el" => "lisp", "scm" => "lisp", "sc" => "lisp",
-@@ -879,7 +879,7 @@
- $command = $2;
- }
-
-+ if ( ($command =~ m/^(bash|ksh|zsh|pdksh|sh|runscript)[0-9\.]*(\.exe)?$/i) ||
-- if ( ($command =~ m/^(bash|ksh|zsh|pdksh|sh)[0-9\.]*(\.exe)?$/i) ||
- ($firstline =~
- m~^#!\s*\@_?(SCRIPT_)?(PATH_)?(BA|K)?SH(ELL)?(\d+)?\@?(\s|\Z)~)) {
- # Note: wish(1) uses a funny trick; see wish(1) for more info.
diff --git a/app-text/sloccount/files/sloccount-2.26-libexec.patch b/app-text/sloccount/files/sloccount-2.26-libexec.patch
deleted file mode 100644
index cb8250f68cf6..000000000000
--- a/app-text/sloccount/files/sloccount-2.26-libexec.patch
+++ /dev/null
@@ -1,81 +0,0 @@
-Files sloccount-2.26.orig/.makefile.swp and sloccount-2.26/.makefile.swp differ
-Files sloccount-2.26.orig/.sloccount.swp and sloccount-2.26/.sloccount.swp differ
-diff -ruN sloccount-2.26.orig/makefile sloccount-2.26/makefile
---- sloccount-2.26.orig/makefile 2005-02-20 21:26:00.000000000 +0100
-+++ sloccount-2.26/makefile 2005-02-20 21:32:58.000000000 +0100
-@@ -70,6 +70,7 @@
- ARCH=i386
- VERSIONEDNAME=$(NAME)-$(VERSION)
- INSTALL_DIR=$(PREFIX)/bin
-+LIBEXEC_DIR=$(PREFIX)/libexec/$(NAME)
- MAN_DIR=$(PREFIX)/share/man
- MAN_DIR_MAN1=$(MAN_DIR)/man1
- DOC_DIR=$(PREFIX)/share/doc/$(VERSIONEDNAME)-$(RPM_VERSION)
-@@ -115,11 +116,12 @@
- sed_count \
- sh_count \
- show_filecount \
-- sloccount \
- sql_count \
- tcl_count \
- $(COMPILED_EXECUTABLES)
-
-+MAIN_EXECUTABLE=sloccount
-+
- MANPAGES=sloccount.1.gz
-
- MYDOCS=sloccount.html README TODO ChangeLog
-@@ -162,12 +164,24 @@
- c_lines: C_LINES.C
- $(CC) C_LINES.C -o c_lines$(EXE_SUFFIX)
-
-+install_prefix:
-+ $(INSTALL_A_DIR) $(PREFIX)
-
--install_programs: all
-- $(INSTALL) $(EXECUTABLES) $(INSTALL_DIR)
-+install_program:
-+ $(INSTALL_A_DIR) $(INSTALL_DIR)
-+ $(INSTALL) $(MAIN_EXECUTABLE) $(INSTALL_DIR)
-+
-+uninstall_program:
-+ cd $(INSTALL_DIR) && rm -f $(MAIN_EXECUTABLE)
-+
-+install_libexec: all
-+ $(INSTALL_A_DIR) $(LIBEXEC_DIR)
-+ $(INSTALL) $(EXECUTABLES) $(LIBEXEC_DIR)
-+
-+uninstall_libexec:
-+ cd $(LIBEXEC_DIR) && rm -f $(EXECUTABLES)
-+ rmdir $(LIBEXEC_DIR)
-
--uninstall_programs:
-- cd $(INSTALL_DIR) && rm -f $(EXECUTABLES)
-
- install_man: $(MANPAGES)
- $(INSTALL_A_DIR) $(MAN_DIR_MAN1)
-@@ -184,9 +198,9 @@
- rm -fr $(DOC_DIR)
-
-
--install: install_programs install_man install_docs
-+install: install_prefix install_program install_libexec install_man install_docs
-
--uninstall: uninstall_programs uninstall_docs uninstall_man
-+uninstall: uninstall_program uninstall_libexec uninstall_docs uninstall_man
-
-
- clean:
-diff -ruN sloccount-2.26.orig/sloccount sloccount-2.26/sloccount
---- sloccount-2.26.orig/sloccount 2005-02-20 21:26:00.000000000 +0100
-+++ sloccount-2.26/sloccount 2005-02-20 21:33:25.000000000 +0100
-@@ -39,6 +39,9 @@
-
- startingdir=`pwd`
-
-+libexec_dir=/usr/libexec/sloccount
-+export PATH=$PATH:$libexec_dir
-+
-
- # "datadir" is some suitable safe place for the data; here's the default:
- datadir=${HOME}/.slocdata
diff --git a/app-text/sloccount/metadata.xml b/app-text/sloccount/metadata.xml
deleted file mode 100644
index 79d462e85571..000000000000
--- a/app-text/sloccount/metadata.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer type="person">
- <email>robbat2@gentoo.org</email>
-</maintainer>
-</pkgmetadata>
diff --git a/app-text/sloccount/sloccount-2.26-r3.ebuild b/app-text/sloccount/sloccount-2.26-r3.ebuild
deleted file mode 100644
index 0c1bc3de2f75..000000000000
--- a/app-text/sloccount/sloccount-2.26-r3.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="4"
-
-inherit eutils toolchain-funcs
-
-DESCRIPTION="Tools for counting Source Lines of Code (SLOC) for a large number of languages"
-HOMEPAGE="http://www.dwheeler.com/sloccount/"
-SRC_URI="http://www.dwheeler.com/sloccount/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
-IUSE=""
-RDEPEND="dev-lang/perl
- >=sys-apps/sed-4
- app-shells/bash"
-DEPEND="${RDEPEND}"
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-libexec.patch
- epatch "${FILESDIR}"/${P}-coreutils-tail-n-fix.patch
- # support for .ebuild and #!/sbin/openrc-run:
- epatch "${FILESDIR}"/${P}-gentoo.patch
-
- sed -i \
- -e 's|^CC=gcc|CFLAGS+=|g' \
- -e 's|$(CC)|& $(CFLAGS) $(LDFLAGS)|g' \
- -e '/^DOC_DIR/ { s/-$(RPM_VERSION)//g }' \
- -e '/^MYDOCS/ { s/[^ =]\+\.html//g }' \
- makefile || die "sed makefile failed"
-
- #fixed hard-codes libexec_dir in sloccount
- sed -i "s|libexec_dir=|&\"${EPREFIX}\"|" sloccount || die
-}
-
-src_compile() {
- emake CC=$(tc-getCC)
-}
-
-src_test() {
- PATH+=":${S}"
- emake test
-}
-
-src_install() {
- emake PREFIX="${ED}/usr" DOC_DIR="${ED}/usr/share/doc/${PF}/" install
- dohtml *html
-}