From 17ed872c6334185fdebf3d60b2aa219fc1fe7516 Mon Sep 17 00:00:00 2001 From: Aaron Bauman Date: Fri, 3 Jul 2020 22:22:37 -0400 Subject: */*: drop last-rited py2 packages Signed-off-by: Aaron Bauman --- sci-biology/last/Manifest | 1 - .../last/files/last-299-fix-build-system.patch | 74 ---------------- .../last/files/last-299-portable-shebangs.patch | 99 ---------------------- sci-biology/last/last-299-r1.ebuild | 45 ---------- sci-biology/last/metadata.xml | 8 -- 5 files changed, 227 deletions(-) delete mode 100644 sci-biology/last/Manifest delete mode 100644 sci-biology/last/files/last-299-fix-build-system.patch delete mode 100644 sci-biology/last/files/last-299-portable-shebangs.patch delete mode 100644 sci-biology/last/last-299-r1.ebuild delete mode 100644 sci-biology/last/metadata.xml (limited to 'sci-biology') diff --git a/sci-biology/last/Manifest b/sci-biology/last/Manifest deleted file mode 100644 index 22e3590e9d28..000000000000 --- a/sci-biology/last/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST last-299.zip 453159 BLAKE2B 3f8ddc24a2eba189880f2547f458ebbc2b349f0517c25165257f4cf3a90f68d8df313f7eece3930c33376aa0e16185c54b586b6f411975a1fb15e6426c535ca0 SHA512 74e89129cc17482ec1a99e2d940ca62374c130fea2fa53ea7d2c3703b6ca5751f348110909d61562c4839d8fb1793619c2f41c25c8968b3ab53f0c7191f4a00b diff --git a/sci-biology/last/files/last-299-fix-build-system.patch b/sci-biology/last/files/last-299-fix-build-system.patch deleted file mode 100644 index 0a89cea60278..000000000000 --- a/sci-biology/last/files/last-299-fix-build-system.patch +++ /dev/null @@ -1,74 +0,0 @@ -Make build system respect user flags - ---- a/makefile -+++ b/makefile -@@ -1,6 +1,5 @@ --CXXFLAGS = -O3 - all: -- @cd src && $(MAKE) CXXFLAGS="$(CXXFLAGS)" -+ $(MAKE) -C src - - prefix = /usr/local - exec_prefix = $(prefix) -@@ -10,15 +9,15 @@ - cp src/last?? scripts/*.?? $(bindir) - - clean: -- @cd src && $(MAKE) clean -+ $(MAKE) -C src clean - - html: -- @cd doc && $(MAKE) -+ $(MAKE) -C doc - - distdir = last-`hg id -n` - - dist: log html -- @cd src && $(MAKE) version.hh -+ $(MAKE) -C src version.hh - rsync -rC --exclude 'last??' doc examples makefile s* *.txt $(distdir) - zip -qrm $(distdir) $(distdir) - ---- a/src/makefile -+++ b/src/makefile -@@ -1,12 +1,9 @@ --CXX = g++ --CC = gcc -- --CXXFLAGS = -O3 -Wall -Wextra -Wcast-qual -Wswitch-enum -Wundef \ ---Wcast-align -Wno-long-long -ansi -pedantic -+last_CXXFLAGS = -Wall -Wextra -Wcast-qual -Wswitch-enum -Wundef \ -+-Wcast-align -Wno-long-long -pedantic - # -Wconversion - # -fomit-frame-pointer ? - --CFLAGS = -Wall -+last_CFLAGS = -Wall - - DBSRC = Alphabet.cc MultiSequence.cc CyclicSubsetSeed.cc \ - SubsetSuffixArray.cc LastdbArguments.cc io.cc fileMap.cc \ -@@ -49,17 +46,20 @@ - - all: lastdb lastal lastex - -+.cpp.o: -+ $(CXX) $(CPPFLAGS) $(last_CXXFLAGS) $(CXXFLAGS) -c -o $@ $< -+ - lastdb: $(DBSRC) $(DBINC) makefile -- $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ $(DBSRC) -+ $(CXX) $(CPPFLAGS) $(last_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ $(DBSRC) - - lastal: $(ALSRC) $(ALINC) makefile $(OBJ) -- $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ $(ALSRC) $(OBJ) -+ $(CXX) $(CPPFLAGS) $(last_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ $(ALSRC) $(OBJ) - - lastex: $(EXSRC) $(EXINC) makefile -- $(CXX) -Igumbel_params $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ $(EXSRC) -+ $(CXX) $(CPPFLAGS) -Igumbel_params $(last_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ $(EXSRC) - - $(OBJ): CA_code/*.c CA_code/*.h makefile -- $(CC) $(CPPFLAGS) $(CFLAGS) -c CA_code/lambda_calculator.c -+ $(CC) $(CPPFLAGS) $(last_CFLAGS) $(CFLAGS) -c -o $@ CA_code/lambda_calculator.c - - clean: - rm -f lastdb lastal lastex $(OBJ) diff --git a/sci-biology/last/files/last-299-portable-shebangs.patch b/sci-biology/last/files/last-299-portable-shebangs.patch deleted file mode 100644 index 03ecbdcbde20..000000000000 --- a/sci-biology/last/files/last-299-portable-shebangs.patch +++ /dev/null @@ -1,99 +0,0 @@ -Make shebangs portable and prefix friendly -See also: https://blogs.gentoo.org/mgorny/2016/02/08/a-quick-note-on-portable-shebangs/ - ---- a/scripts/last-dotplot.py -+++ b/scripts/last-dotplot.py -@@ -1,4 +1,4 @@ --#! /usr/bin/env python -+#!/usr/bin/env python2 - - # Read pair-wise alignments in MAF or LAST tabular format: write an - # "Oxford grid", a.k.a. dotplot. ---- a/scripts/last-map-probs.py -+++ b/scripts/last-map-probs.py -@@ -1,4 +1,4 @@ --#! /usr/bin/env python -+#!/usr/bin/env python2 - - # Copyright 2010, 2011, 2012 Martin C. Frith - ---- a/scripts/last-merge-batches.py -+++ b/scripts/last-merge-batches.py -@@ -1,4 +1,4 @@ --#! /usr/bin/env python -+#!/usr/bin/env python2 - - # Copyright 2010, 2011 Martin C. Frith - ---- a/scripts/last-pair-probs.py -+++ b/scripts/last-pair-probs.py -@@ -1,4 +1,4 @@ --#! /usr/bin/env python -+#!/usr/bin/env python2 - - # Copyright 2011, 2012, 2013 Martin C. Frith - ---- a/scripts/last-reduce-alignments.sh -+++ b/scripts/last-reduce-alignments.sh -@@ -1,4 +1,4 @@ --#! /bin/sh -+#!/usr/bin/env sh - - # This script reads MAF-format alignments with lastal header - # information, removes "uninteresting" alignments, and writes the ---- a/scripts/last-remove-dominated.py -+++ b/scripts/last-remove-dominated.py -@@ -1,4 +1,4 @@ --#! /usr/bin/env python -+#!/usr/bin/env python2 - - # Read MAF-format alignments, and write those are not "dominated" by - # any other one. X dominates Y if they overlap on the top sequence, ---- a/scripts/last-split-probs.py -+++ b/scripts/last-split-probs.py -@@ -1,4 +1,4 @@ --#! /usr/bin/env python -+#!/usr/bin/env python2 - - # Copyright 2012 Martin C. Frith - ---- a/scripts/maf-convert.py -+++ b/scripts/maf-convert.py -@@ -1,4 +1,4 @@ --#! /usr/bin/env python -+#!/usr/bin/env python2 - # Copyright 2010, 2011 Martin C. Frith - # Read MAF-format alignments: write them in other formats. - # Seems to work with Python 2.x, x>=4 ---- a/scripts/maf-cull.py -+++ b/scripts/maf-cull.py -@@ -1,4 +1,4 @@ --#! /usr/bin/env python -+#!/usr/bin/env python2 - - # Read MAF-format alignments. Write them, omitting alignments whose - # coordinates in the top-most sequence are contained in those of >= ---- a/scripts/maf-join.py -+++ b/scripts/maf-join.py -@@ -1,4 +1,4 @@ --#! /usr/bin/env python -+#!/usr/bin/env python2 - - # Copyright 2009, 2010, 2011 Martin C. Frith - ---- a/scripts/maf-sort.sh -+++ b/scripts/maf-sort.sh -@@ -1,4 +1,4 @@ --#! /bin/sh -+#!/usr/bin/env sh - - # Sort MAF-format alignments by sequence name, then strand, then start - # position, then end position, of the top sequence. Also, merge ---- a/scripts/maf-swap.py -+++ b/scripts/maf-swap.py -@@ -1,4 +1,4 @@ --#! /usr/bin/env python -+#!/usr/bin/env python2 - - # Read MAF-format alignments, and write them, after moving the Nth - # sequence to the top in each alignment. diff --git a/sci-biology/last/last-299-r1.ebuild b/sci-biology/last/last-299-r1.ebuild deleted file mode 100644 index b6adee215970..000000000000 --- a/sci-biology/last/last-299-r1.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 ) - -inherit toolchain-funcs python-single-r1 - -DESCRIPTION="Genome-scale comparison of biological sequences" -HOMEPAGE="http://last.cbrc.jp/" -SRC_URI="http://last.cbrc.jp/${P}.zip" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND="${PYTHON_DEPS}" -DEPEND="app-arch/unzip" - -PATCHES=( - "${FILESDIR}"/${PN}-299-fix-build-system.patch - "${FILESDIR}"/${PN}-299-portable-shebangs.patch -) - -src_configure() { - tc-export CC CXX -} - -src_install() { - local DOCS=( doc/*.txt ChangeLog.txt README.txt ) - local HTML_DOCS=( doc/*html ) - einstalldocs - - dobin src/last{al,db,ex} - - cd scripts || die - local i - for i in *py; do - newbin ${i} ${i%.py} - done - dobin *sh -} diff --git a/sci-biology/last/metadata.xml b/sci-biology/last/metadata.xml deleted file mode 100644 index 959160fe46b1..000000000000 --- a/sci-biology/last/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - sci-biology@gentoo.org - Gentoo Biology Project - - -- cgit v1.2.3-65-gdbad