diff options
Diffstat (limited to 'sci-biology')
44 files changed, 200 insertions, 2210 deletions
diff --git a/sci-biology/HTSeq/HTSeq-2.0.2.ebuild b/sci-biology/HTSeq/HTSeq-2.0.2.ebuild index 678968788ff7..b4b7974e60d0 100644 --- a/sci-biology/HTSeq/HTSeq-2.0.2.ebuild +++ b/sci-biology/HTSeq/HTSeq-2.0.2.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_IN_SOURCE_BUILD=1 -PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_COMPAT=( python3_{9..11} ) inherit distutils-r1 flag-o-matic @@ -23,8 +23,6 @@ fi LICENSE="GPL-3+" SLOT="0" -IUSE="test" -RESTRICT="!test? ( test )" RDEPEND=" dev-python/numpy[${PYTHON_USEDEP}] diff --git a/sci-biology/HTSeq/HTSeq-9999.ebuild b/sci-biology/HTSeq/HTSeq-9999.ebuild index 678968788ff7..b4b7974e60d0 100644 --- a/sci-biology/HTSeq/HTSeq-9999.ebuild +++ b/sci-biology/HTSeq/HTSeq-9999.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_IN_SOURCE_BUILD=1 -PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_COMPAT=( python3_{9..11} ) inherit distutils-r1 flag-o-matic @@ -23,8 +23,6 @@ fi LICENSE="GPL-3+" SLOT="0" -IUSE="test" -RESTRICT="!test? ( test )" RDEPEND=" dev-python/numpy[${PYTHON_USEDEP}] diff --git a/sci-biology/HTSeq/metadata.xml b/sci-biology/HTSeq/metadata.xml index 649077f8337e..6ada1a530737 100644 --- a/sci-biology/HTSeq/metadata.xml +++ b/sci-biology/HTSeq/metadata.xml @@ -7,5 +7,6 @@ </maintainer> <upstream> <remote-id type="pypi">HTSeq</remote-id> + <remote-id type="github">htseq/htseq</remote-id> </upstream> </pkgmetadata> diff --git a/sci-biology/augustus/augustus-3.4.0-r2.ebuild b/sci-biology/augustus/augustus-3.4.0-r3.ebuild index 30b3d7d0a6f8..7c662aead62f 100644 --- a/sci-biology/augustus/augustus-3.4.0-r2.ebuild +++ b/sci-biology/augustus/augustus-3.4.0-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -26,7 +26,7 @@ RDEPEND=" sci-libs/gsl:= sci-libs/htslib:= sci-libs/suitesparse - sci-mathematics/lpsolve + sci-mathematics/lpsolve:= sys-libs/zlib " DEPEND="${RDEPEND}" diff --git a/sci-biology/augustus/metadata.xml b/sci-biology/augustus/metadata.xml index ccdff086e20b..a4352248acda 100644 --- a/sci-biology/augustus/metadata.xml +++ b/sci-biology/augustus/metadata.xml @@ -5,4 +5,7 @@ <email>sci-biology@gentoo.org</email> <name>Gentoo Biology Project</name> </maintainer> + <upstream> + <remote-id type="github">Gaius-Augustus/Augustus</remote-id> + </upstream> </pkgmetadata> diff --git a/sci-biology/bcftools/Manifest b/sci-biology/bcftools/Manifest index 4dbacdb4a399..2302cb589b4f 100644 --- a/sci-biology/bcftools/Manifest +++ b/sci-biology/bcftools/Manifest @@ -1 +1 @@ -DIST bcftools-1.15.1.tar.bz2 6917252 BLAKE2B d2389df8d2a1bbc48fcaccad47d77ff99d700e82e04330189e7d93acdac97a13506c2b799fbba31bdc0988977c7df7c699e7b156f3530dd35e5f052c6f977731 SHA512 60fedacc41051675d372e68146ac8fa0dc019a7fb694fda487d89e62f34edaf5ac11cca38779e9bcfcf8b3148802fadabed12f7e46ad534ad5087b8d6383f97b +DIST bcftools-1.16.tar.bz2 7325862 BLAKE2B 0e1240448d4efb352d3d0cd83decd286f7544fff3676f0a5cca51dec9c445c47c37ac24a3317aa7b41182c576e7e57dba460fc98aca069dc2f8fe0625c0b0f06 SHA512 998d5ac941f73798c35dd1db7ac7aba9067f275bd3055728aabfd8edd9f40484130df1fb57621d1a762a57b28ffcac358570915c341d420ae6f12bd17f7651a3 diff --git a/sci-biology/bcftools/bcftools-1.15.1.ebuild b/sci-biology/bcftools/bcftools-1.16.ebuild index 7de00114bfa6..6adee705bb46 100644 --- a/sci-biology/bcftools/bcftools-1.15.1.ebuild +++ b/sci-biology/bcftools/bcftools-1.16.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_COMPAT=( python3_{9..11} ) inherit python-single-r1 @@ -19,7 +19,7 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}" RDEPEND=" dev-lang/perl $(python_gen_cond_dep 'dev-python/matplotlib[${PYTHON_USEDEP}]') - =sci-libs/htslib-${PV}*:= + =sci-libs/htslib-$(ver_cut 1-2)*:= sys-libs/zlib ${PYTHON_DEPS}" DEPEND="${RDEPEND}" diff --git a/sci-biology/bedtools/bedtools-2.30.0.ebuild b/sci-biology/bedtools/bedtools-2.30.0.ebuild index 3e0d51b0711b..5a8174fbdfe0 100644 --- a/sci-biology/bedtools/bedtools-2.30.0.ebuild +++ b/sci-biology/bedtools/bedtools-2.30.0.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{8..11} ) +PYTHON_COMPAT=( python3_{9..11} ) inherit python-any-r1 toolchain-funcs diff --git a/sci-biology/biopandas/Manifest b/sci-biology/biopandas/Manifest index 88c904d40ce4..336fb1afefa4 100644 --- a/sci-biology/biopandas/Manifest +++ b/sci-biology/biopandas/Manifest @@ -1 +1,2 @@ DIST biopandas-0.2.7.tar.gz 255846 BLAKE2B b8c6a66f51a00266bc1a271ecfe00b4cfddd24b9766e63e2ad4187048ddd8f985d70eb8083b1be3887a0fd9b666c97553029ecd90c7b73ae882e5347bbc54d2e SHA512 cf4f12601b7f63ca3d5e9a17c6628e4975968f722c9db72e32c00e80ec335c5bf6a928a5f887b16ecd316c49b298d77634cbe1c4ef1ca505379b1de5335e2569 +DIST biopandas-0.4.1.gh.tar.gz 5330292 BLAKE2B 78b783ed77bbd8e6efd115a108f99c502fd71ef4c231746575599828699dac1de85125273df1af74d0bd51e092751113474ef2baf312a184e23b3057cd21222a SHA512 e08694fad927a5ac096b2cd78f641a2af262ebfc7351fc4dc37e5df39e98a6e984ccab26718109f18eed988a4a4af5b29d19c5cf3e8e2d794246b1410a9b5440 diff --git a/sci-biology/biopandas/biopandas-0.2.7.ebuild b/sci-biology/biopandas/biopandas-0.2.7.ebuild index 7b1d22c8781a..7458dbcb1cb9 100644 --- a/sci-biology/biopandas/biopandas-0.2.7.ebuild +++ b/sci-biology/biopandas/biopandas-0.2.7.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_COMPAT=( python3_{9..10} ) inherit distutils-r1 diff --git a/sci-biology/biopandas/biopandas-0.4.1.ebuild b/sci-biology/biopandas/biopandas-0.4.1.ebuild new file mode 100644 index 000000000000..50fe601ed514 --- /dev/null +++ b/sci-biology/biopandas/biopandas-0.4.1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 + +DESCRIPTION="Molecular Structures in Pandas DataFrames" +HOMEPAGE=" + https://rasbt.github.io/biopandas/ + https://github.com/BioPandas/biopandas + https://pypi.org/project/biopandas/ +" +SRC_URI="https://github.com/BioPandas/biopandas/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] +" + +distutils_enable_tests nose diff --git a/sci-biology/biopandas/metadata.xml b/sci-biology/biopandas/metadata.xml index 1b4a0fc84ad0..5133b4eff6ab 100644 --- a/sci-biology/biopandas/metadata.xml +++ b/sci-biology/biopandas/metadata.xml @@ -6,11 +6,11 @@ <name>Gentoo Biology Project</name> </maintainer> <upstream> - <remote-id type="pypi">BioPandas</remote-id> + <remote-id type="pypi">biopandas</remote-id> <maintainer status="unknown"> <email>mail@sebastianraschka.com</email> <name>Sebastian Raschka</name> </maintainer> - <remote-id type="github">rasbt/biopandas</remote-id> + <remote-id type="github">BioPandas/biopandas</remote-id> </upstream> </pkgmetadata> diff --git a/sci-biology/biopython/Manifest b/sci-biology/biopython/Manifest index 014c48aa8401..c693a5a8a963 100644 --- a/sci-biology/biopython/Manifest +++ b/sci-biology/biopython/Manifest @@ -1 +1,2 @@ DIST biopython-1.79.tar.gz 16738730 BLAKE2B 8c97fc23e458f7bc98b0ed0226bd6fb42f6c6f3ce03d562b13fac66c5061451595cd5bd01cad07bbe1fc6b20f4de21b0f03766b5a20e602545da888047a57185 SHA512 81e2718f4015bb038637b4d1181e6bea48018fec1e769c5f0ab75442a769336899191f1222e82e1b9569c1fac470500d7582420e5cbe9bce0056b41751adeaaa +DIST biopython-1.81.tar.gz 19324875 BLAKE2B be3a85f5b60638987d6186af498411b494f8d27389f24cd1b9e658bc6b1a29c799ec8b20a9ac0b955c6d4c239706f4dbb5b75f6d56908f63d731b1d56c9fd587 SHA512 1595fad6631bfb6cf4e1a92ed72e6093e2a0c24f3c0bd4182267ec9742fb03dff16099eedde139598aa6b5b8380bbac9e48246cb9ab8b44109333d60adfd00ed diff --git a/sci-biology/biopython/biopython-1.79.ebuild b/sci-biology/biopython/biopython-1.79.ebuild index a2939330806e..c6a93b3af58d 100644 --- a/sci-biology/biopython/biopython-1.79.ebuild +++ b/sci-biology/biopython/biopython-1.79.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_COMPAT=( python3_{9..10} ) inherit distutils-r1 optfeature diff --git a/sci-biology/biopython/biopython-1.81.ebuild b/sci-biology/biopython/biopython-1.81.ebuild new file mode 100644 index 000000000000..8b90d610c6ae --- /dev/null +++ b/sci-biology/biopython/biopython-1.81.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 optfeature pypi + +DESCRIPTION="Python modules for computational molecular biology" +HOMEPAGE="https://www.biopython.org/ https://pypi.org/project/biopython/" + +LICENSE="HPND" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/networkx[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/rdflib[${PYTHON_USEDEP}] + dev-python/pygraphviz[${PYTHON_USEDEP}] + >=dev-python/reportlab-3.5.13-r1[${PYTHON_USEDEP}] + dev-python/pydot[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND}" +BDEPEND="sys-devel/flex" + +DOCS=( {CONTRIB,DEPRECATED,NEWS,README}.rst Doc/. ) + +python_test() { + distutils_install_for_testing + cp -r {Doc,Tests} "${TEST_DIR}"/lib/ || die + + # need to create symlinks for doctests + mkdir -p "${TEST_DIR}"/lib/Bio/Align || die + ln -r -s "${S}"/Bio/Align/substitution_matrices \ + "${TEST_DIR}"/lib/Bio/Align/substitution_matrices || die + + cd "${TEST_DIR}"/lib/Tests || die + rm test_BioSQL_{psycopg2.py,MySQLdb.py,mysql_connector.py} || die + "${EPYTHON}" run_tests.py --offline --verbose || die +} + +python_install_all() { + # remove files causing ecompressdir to fail + rm Doc/examples/ls_orchid.gbk.{gz,bz2} || die + + distutils-r1_python_install_all + + dodir /usr/share/${PN} + cp -r --preserve=mode Scripts Tests "${ED}"/usr/share/${PN} || die +} + +pkg_postinst() { + optfeature_header "For database support you need to install:" + optfeature "MySQL database support" dev-python/mysqlclient + optfeature "PostgreSQL database support" dev-python/psycopg:2 + + optfeature_header "Some applications need extra packages:" + optfeature "EMBOSS (The European Molecular Biology Open Software Suite)" sci-biology/emboss +} diff --git a/sci-biology/bowtie/Manifest b/sci-biology/bowtie/Manifest index e62703395825..274e5e7b9fb6 100644 --- a/sci-biology/bowtie/Manifest +++ b/sci-biology/bowtie/Manifest @@ -1 +1,2 @@ DIST bowtie2-2.4.4-source.zip 10515984 BLAKE2B be4ceb9d3155d2a9a1f580e5032251b04b89ce0c8c9c89fc3551b34fe3bd71a683362488be7aad6daef24734c6f95c19223f20e67f198f745c4432381243039c SHA512 1b5dadd7e41b90bb9b05f50bfa171fe219cfd03aa8bb6f800de4baaffeb975eef6efc4fb8b49cb0d18833f74a1741cbe1556b87388f59188e04a55dcee6a02da +DIST bowtie2-2.5.1-source.zip 10528859 BLAKE2B 9dc22bfef4b3a1cfaa606cb235acd1d7688015678d82e8ca80d3d7cf269e1f45d6cb60bc29eb334fb6f0c25d5afd8202e83a83e53668c8965857b8885d2692c8 SHA512 31cc642e318ab50e7ef6035a9c2095024d46d92a317011ed0c3ac3ccb3d427a13bf724d0158d29a4f1e07115ddcb85229b95bcb2d4351164fcadd6568293565f diff --git a/sci-biology/bowtie/bowtie-2.4.4.ebuild b/sci-biology/bowtie/bowtie-2.4.4.ebuild index 2ba75bc2bca7..7d28271d336b 100644 --- a/sci-biology/bowtie/bowtie-2.4.4.ebuild +++ b/sci-biology/bowtie/bowtie-2.4.4.ebuild @@ -1,9 +1,9 @@ -# Copyright 2021 Gentoo Authors +# Copyright 2021-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_COMPAT=( python3_{9..10} ) inherit python-single-r1 toolchain-funcs diff --git a/sci-biology/bowtie/bowtie-2.5.1.ebuild b/sci-biology/bowtie/bowtie-2.5.1.ebuild new file mode 100644 index 000000000000..353362fd6026 --- /dev/null +++ b/sci-biology/bowtie/bowtie-2.5.1.ebuild @@ -0,0 +1,73 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) + +inherit python-single-r1 toolchain-funcs + +DESCRIPTION="Popular short read aligner for Next-generation sequencing data" +HOMEPAGE="https://bowtie-bio.sourceforge.net/bowtie2/" +SRC_URI="mirror://sourceforge/project/${PN}-bio/bowtie2/${PV}/bowtie2-${PV}-source.zip" +S="${WORKDIR}/${PN}2-${PV}" + +LICENSE="GPL-3" +SLOT="2" +KEYWORDS="~amd64 ~x86" + +IUSE="test cpu_flags_x86_sse2 examples" +# Test script missing from tarball +# ./scripts/sim/run.sh: No such file or directory +RESTRICT="test" +REQUIRED_USE="cpu_flags_x86_sse2 ${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + dev-lang/perl + sys-libs/zlib +" +DEPEND="${RDEPEND}" +BDEPEND=" + app-arch/unzip + test? ( + dev-perl/App-cpanminus + dev-perl/B-COW + dev-perl/Clone + dev-perl/Config-General + dev-perl/File-Which + dev-perl/local-lib + dev-perl/Math-Random + dev-perl/Test-Deep + dev-perl/Text-Template + ) +" + +src_compile() { + emake \ + CXX="$(tc-getCXX)" \ + CXXFLAGS="" \ + CPPFLAGS="${CPPFLAGS}" \ + EXTRA_FLAGS="${LDFLAGS}" \ + RELEASE_FLAGS="${CXXFLAGS} -msse2" +} + +src_install() { + dobin bowtie2 bowtie2-* + + exeinto /usr/libexec/bowtie2 + doexe scripts/* + + HTML_DOCS=( doc/{manual.html,style.css} ) + einstalldocs + dodoc TUTORIAL + newman MANUAL bowtie2.1 + + python_fix_shebang "${ED}"/usr/bin/bowtie2-{build,inspect} + + if use examples; then + docinto examples + dodoc -r example/. + docompress -x /usr/share/doc/${PF}/examples + fi +} diff --git a/sci-biology/consed/Manifest b/sci-biology/consed/Manifest deleted file mode 100644 index eb7d7f06c3ee..000000000000 --- a/sci-biology/consed/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST consed-29-linux.tar.gz 36172715 BLAKE2B 6706576b404c0bccb7ed28ab6fe2dec86fdac6f7651406d3f30e35caac3e49a66b4762edace2133d2dfb776bbeb730b74797c7323deb950f2648a46c4594fe98 SHA512 63a95d84cb58009045a9d898c8b1a94f98516bed9189f624a5930338cc8f51562504257f309d945fafcc07e0811ffeea122b640789f75fbd6c94535178dab4dd -DIST consed-29-sources.tar.gz 3258845 BLAKE2B 508763ff2a240047cff0a43ba4b9b9a7f9302c0a023478c6b08f86bb77fb2c12a62a9b16165fe6257fe6c86af853dabe279bd9e05632c3e112e3fb7fad2c6bd3 SHA512 fd711a65a02ef1238cca12b90fe7fa9b67da6c37d43cd105f38c7b6475fbc073c1f4d7f99703dec9d3a0a7a2a9317cb14999a114bb6f52589cb9b6e34700eb93 diff --git a/sci-biology/consed/consed-29.ebuild b/sci-biology/consed/consed-29.ebuild deleted file mode 100644 index 32eba4cb16d0..000000000000 --- a/sci-biology/consed/consed-29.ebuild +++ /dev/null @@ -1,110 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit flag-o-matic toolchain-funcs - -DESCRIPTION="A genome sequence finishing program" -HOMEPAGE="http://bozeman.mbt.washington.edu/consed/consed.html" -SRC_URI=" - ${P}-sources.tar.gz - ${P}-linux.tar.gz" - -LICENSE="phrap" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="examples" - -COMMON_DEPEND=" - x11-libs/libX11 - x11-libs/motif:0 - sci-biology/samtools:0.1-legacy -" -DEPEND=" - ${COMMON_DEPEND} - virtual/pkgconfig -" -RDEPEND=" - ${COMMON_DEPEND} - dev-lang/perl - >=sci-biology/phred-071220-r1 - >=sci-biology/phrap-1.080812-r2 -" - -S="${WORKDIR}" - -RESTRICT="fetch" -PATCHES=( - "${FILESDIR}/${PN}-29-fix-build-system.patch" - "${FILESDIR}/${PN}-29-fix-c++14.patch" - "${FILESDIR}/${PN}-29-fix-qa.patch" - "${FILESDIR}/${PN}-29-fix-perl-shebang.patch" -) - -pkg_nofetch() { - einfo "Please visit ${HOMEPAGE} and obtain the file" - einfo "\"sources.tar.gz\", then rename it to \"${P}-sources.tar.gz\"" - einfo "and place it into your DISTDIR directory," - einfo "obtain the file" - einfo "\"consed_linux.tar.gz\", then rename it to \"${P}-linux.tar.gz\"" - einfo "and place it into your DISTDIR directory." -} - -src_prepare() { - default - - sed \ - -e "s!\$szPhredParameterFile = .*!\$szPhredParameterFile = \$ENV{'PHRED_PARAMETER_FILE'} || \'"${EPREFIX}"/usr/share/phred/phredpar.dat\';!" \ - -e "s:/usr/local/genome:${EPREFIX}/usr:" \ - -e "s:niceExe = \"/bin/nice\":niceExe = \"${EPREFIX}/usr/bin/nice\":" \ - -e "s:/wt1/gordon/genome:${EPREFIX}/usr/bin:" \ - -i scripts/* contributions/* || die -} - -src_configure() { - append-cflags -std=gnu99 - append-lfs-flags -} - -src_compile() { - emake \ - CC="$(tc-getCC)" \ - CXX="$(tc-getCXX)" \ - CFLAGS="${CFLAGS}" \ - CXXFLAGS="${CXXFLAGS}" \ - CPPFLAGS="${CPPFLAGS}" \ - LDFLAGS="${LDFLAGS}" \ - SAMTOOLS_CPPFLAGS="-I${EPREFIX}/usr/include/bam-0.1-legacy" \ - LIBS="-L${EPREFIX}/usr/$(get_libdir)" \ - X11_LIBS="$($(tc-getPKG_CONFIG) --libs x11)" \ - SAMTOOLS_LIBS="-lbam-0.1-legacy" -} - -src_install() { - dobin consed misc/{mktrace/mktrace,phd2fasta/phd2fasta,454/sff2scf} scripts/* contributions/* - - insinto /usr/lib/screenLibs - doins misc/*.{fa*,seq} - - if use examples; then - insinto /usr/share/${PN}/examples - doins -r \ - standard polyphred autofinish assembly_view 454_newbler \ - align454reads align454reads_answer solexa_example \ - solexa_example_answer selectRegions selectRegionsAnswer - fi - - cat > 99consed <<-_EOF_ || die - CONSED_HOME=${EPREFIX}/usr - CONSED_PARAMETERS=${EPREFIX}/etc/consedrc - _EOF_ - doenvd 99consed - - dodoc README.txt *_announcement.txt -} - -pkg_postinst() { - einfo "Package documentation is available at" - einfo "http://www.phrap.org/consed/distributions/README.${PV}.0.txt" -} diff --git a/sci-biology/consed/files/consed-29-fix-build-system.patch b/sci-biology/consed/files/consed-29-fix-build-system.patch deleted file mode 100644 index 30819f93ac80..000000000000 --- a/sci-biology/consed/files/consed-29-fix-build-system.patch +++ /dev/null @@ -1,197 +0,0 @@ -Make build system semi-sane: -* Respect CC, CXX, CFLAGS, CXXFLAGS, CPPFLAGS, LDFLAGS and LIBS -* Remove default optimisation flags -* Remove -fpermissive from DEFS (as source builds fine now) -* Add large file support (LFS) via CPPFLAGS and not in Makefile - ---- a/makefile -+++ b/makefile -@@ -47,23 +47,20 @@ - # - # compilation - # --CXX= g++ --KRCC= gcc --CC=gcc -+CXX ?= g++ -+CC ?= gcc - - # - # --CFLGS= -w -DINLINE_RWTPTRORDEREDVECTOR -DINLINE_RWTVALORDEREDVECTOR -DINLINE_MBTVALVECTOR -DLINUX_COMPILE -DSOCKLEN_T_DEFINED -D__BOOL_DEFINED -DANSI_C -DOFSTREAM_OPEN_WITHOUT_PERMISSIONS -fpermissive -DNO_POUND_POUND_MACROS -DUSE_USING_IN_PUBLIC_TEMPLATE_CLASSES -DINT_CHAR_OPERATOR -D_FILE_OFFSET_BITS=64 -DSAMTOOLS_AVAILABLE -+DEFS = -DINLINE_RWTPTRORDEREDVECTOR -DINLINE_RWTVALORDEREDVECTOR -DINLINE_MBTVALVECTOR -DLINUX_COMPILE -DSOCKLEN_T_DEFINED -D__BOOL_DEFINED -DANSI_C -DOFSTREAM_OPEN_WITHOUT_PERMISSIONS -DNO_POUND_POUND_MACROS -DUSE_USING_IN_PUBLIC_TEMPLATE_CLASSES -DINT_CHAR_OPERATOR -DSAMTOOLS_AVAILABLE - --OPT= -O - # - # Include directory for template classes must be included - # in both compilation & link lines, even if .h file is - # found in default path. C front, gotta love it. - # --INC= -I/usr/X11R6/include -I/me1/gordon/samtools/samtools-0.1.18 -+INCLUDES = $(SAMTOOLS_CPPFLAGS) - --DEPENDENCIES= - # - # - # Linking -@@ -80,12 +77,9 @@ - # /lib/ld-linux.so.2 (0x003ee000) - # - # To fix cut/paste bug, I've made X11 always dynamic. --CLIBS= -lX11 --LPATH= -L/usr/X11R6/lib --ARCHIVES= /usr/X11R6/lib/libXm.a \ --/usr/X11R6/lib/libXt.a /usr/X11R6/lib/libSM.a \ --/usr/X11R6/lib/libICE.a /usr/X11R6/lib/libXext.a /usr/X11R6/lib/libXmu.a \ --/usr/X11R6/lib/libXp.a /usr/lib/libm.a /me1/gordon/samtools/samtools-0.1.18/libbam.a /me1/gordon/samtools/samtools-0.1.18/bcftools/libbcf.a /me1/gordon/zlib/zlib-1.2.5/libz.a -+ -+MOTIF_LIBS ?= -lXm -lXt -+ALL_LIBS = $(LIBS) $(MOTIF_LIBS) $(X11_LIBS) $(SAMTOOLS_LIBS) - - - -@@ -94,7 +88,6 @@ - # - #LDFLGS= -g - # static linking --LDFLGS= -g -rdynamic - - # - # the subdirectory used by cfront compilers gets cleaned -@@ -112,10 +105,10 @@ - # general compilation rules for .cpp, .cxx, .c files - # - .cpp.o: -- $(CXX) $(CFLGS) $(OPT) $(INC) -c $< -+ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) $(DEFS) -c $< - - .c.o: -- $(CXX) $(CFLGS) $(OPT) $(INC) -c $< -+ $(CC) $(CFLAGS) $(CPPFLAGS) $(INCLUDES) $(DEFS) -c $< - - # - # targets file included in generated makefile -@@ -593,17 +586,23 @@ - writeToRewriteReferenceFile.o \ - xsynchronize.o - -+SUBDIRS := misc/454 misc/mktrace misc/phd2fasta -+ -+all: consed $(SUBDIRS) -+ -+$(SUBDIRS): -+ $(MAKE) -C $@ -+ -+.PHONY: all $(SUBDIRS) -+ - consed: $(CONSED_OBJS) makefile checkLicenseKeyStub.o -- $(CXX) $(INC) $(LDFLGS) -o consed $(CONSED_OBJS) checkLicenseKeyStub.o \ -- $(ARCHIVES) $(LPATH) $(WARNINGS) $(CLIBS) $(XLIBS) -+ $(CXX) $(LDFLAGS) $(CXXFLAGS) -o consed $(CONSED_OBJS) checkLicenseKeyStub.o $(ALL_LIBS) - - trial_consed: $(CONSED_OBJS) makefile checkLicenseKey.o -- $(CXX) $(INC) $(LDFLGS) -o trial_consed $(CONSED_OBJS) checkLicenseKey.o \ -- $(ARCHIVES) $(LPATH) $(WARNINGS) $(CLIBS) $(XLIBS) -+ $(CXX) $(LDFLAGS) $(CXXFLAGS) -o trial_consed $(CONSED_OBJS) checkLicenseKey.o $(ALL_LIBS) - - pure: $(CONSED_OBJS) makefile checkLicenseKeyStub.o -- $(PURIFY) $(CXX) $(INC) $(LDFLGS) -o consed $(CONSED_OBJS) checkLicenseKeyStub.o \ -- $(ARCHIVES) $(LPATH) $(WARNINGS) $(CLIBS) $(XLIBS) -+ $(CXX) $(LDFLAGS) $(CXXFLAGS) -o consed $(CONSED_OBJS) checkLicenseKeyStub.o $(ALL_LIBS) - - clean: - rm -rf *.o core $(TEMPLATE_DIR) -@@ -613,15 +612,15 @@ - # the Solaris 5.x compiler cannot optimize the following - - consedResources.o: -- $(CXX) $(WARNINGS) $(CFLGS) $(INC) $(DEPENDENCIES) -c consedResources.cpp -+ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) $(DEFS) -c consedResources.cpp - - consedResources2.o: -- $(CXX) $(WARNINGS) $(CFLGS) $(INC) $(DEPENDENCIES) -c consedResources2.cpp -+ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) $(DEFS) -c consedResources2.cpp - - # tlingit cannot optimize the following: - - guiEditResources.o: -- $(CXX) $(WARNINGS) $(CFLGS) $(INC) $(DEPENDENCIES) -c guiEditResources.cpp -+ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) $(DEFS) -c guiEditResources.cpp - - guiEditResources.o : \ - assemblyViewTagTypeAndLine.h assert.h bIsNumericDouble.h \ ---- a/misc/454/Makefile -+++ b/misc/454/Makefile -@@ -0,0 +1,16 @@ -+CC ?= cc -+LIBM = -lm -+ -+DEFS = -DANSI_C -+ -+OBJS= sff2scf.c -+ -+sff2scf: $(OBJS) -+ $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $^ $(LIBM) -+ -+.c.o: -+ $(CC) $(CFLAGS) $(CPPFLAGS) $(DEFS) -c $< -+ -+clean: -+ rm -f $(OBJS) sff2scf -+ ---- a/misc/mktrace/Makefile -+++ b/misc/mktrace/Makefile -@@ -1,13 +1,17 @@ --CC= cc --CFLAGS= -g --CLIB= -lm -+CC ?= cc -+LIBM = -lm -+ -+DEFS = -DANSI_C - - OBJS= mktrace.o readFASTA.o writeSCF.o synTrace.o \ - freeTrace.o rwUtil.o writePhd.o getTime.o \ - readQUAL.o - - mktrace: $(OBJS) -- $(CC) $(CFLAGS) -o mktrace $(OBJS) $(CLIB) -+ $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $^ $(LIBM) -+ -+.c.o: -+ $(CC) $(CFLAGS) $(CPPFLAGS) $(DEFS) -c $< - - clean: - rm -f $(OBJS) mktrace ---- a/misc/phd2fasta/Makefile -+++ b/misc/phd2fasta/Makefile -@@ -1,8 +1,9 @@ --CC=cc --CFLAGS=-O -w --CLIB=-lm -+CC ?= cc -+LIBM = -lm - --OBJ= phd2fasta.o \ -+DEFS = -DANSI_C -+ -+OBJS= phd2fasta.o \ - readParam.o initParam.o checkParam.o \ - freeParam.o helpParam.o \ - readFOF.o readDIR.o readFOX.o \ -@@ -15,10 +16,11 @@ - - INC= phd2fasta.h - --SRC = $(OBJ:.o=.c) -- --phd2fasta: $(OBJ) -- $(CC) $(CFLAGS) -o phd2fasta $(OBJ) $(CLIB) -+phd2fasta: $(OBJS) -+ $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $^ $(LIBM) -+ -+.c.o: -+ $(CC) $(CFLAGS) $(CPPFLAGS) $(DEFS) -c $< - - clean: - rm -f $(OBJ) phd2fasta diff --git a/sci-biology/consed/files/consed-29-fix-c++14.patch b/sci-biology/consed/files/consed-29-fix-c++14.patch deleted file mode 100644 index 212b8d63d1e3..000000000000 --- a/sci-biology/consed/files/consed-29-fix-c++14.patch +++ /dev/null @@ -1,376 +0,0 @@ -Fix building with C++14: -* Add 'noexcept(false)' to throwing destructors in C++11 mode -* Properly guard C declarations with extern "C" scopes -* Avoid erroneous overloaded suffix operator errors, due to missing spaces -* Add explicit casts to avoid -Wnarrowing errors -* Add 'this->' for dependent identifiers in derived class templates, - previously required -fpermissive - ---- a/bvAlignedReads.cpp -+++ b/bvAlignedReads.cpp -@@ -126,7 +126,11 @@ - } - - --bvAlignedReads :: ~bvAlignedReads() { -+bvAlignedReads :: ~bvAlignedReads() -+#if __cplusplus >= 201103L -+ noexcept(false) -+#endif -+{ - - - assert( pBamView_->aBVAlignedReads_.remove( this ) ); ---- a/bvAlignedReads.h -+++ b/bvAlignedReads.h -@@ -81,7 +81,11 @@ - const FileName& filReferenceSequenceFile, - bamView* pBamView ); - -- ~bvAlignedReads(); -+ ~bvAlignedReads() -+#if __cplusplus >= 201103L -+ noexcept(false) -+#endif -+ ; - - bool operator==( const bvAlignedReads& myBVAlignedReads ) const { - return( this == &myBVAlignedReads ); ---- a/chromatData.h -+++ b/chromatData.h -@@ -58,6 +58,9 @@ - #ifndef CHROMATDATA_DEFINED - #define CHROMATDATA_DEFINED - -+#ifdef __cplusplus -+extern "C" { -+#endif - - #ifndef FLOAT - #define FLOAT double -@@ -131,4 +134,8 @@ - int freeChromatData(); - #endif - -+#ifdef __cplusplus -+} -+#endif -+ - #endif ---- a/compareContigs.cpp -+++ b/compareContigs.cpp -@@ -126,6 +126,9 @@ - - - compareContigs :: ~compareContigs() -+#if __cplusplus >= 201103L -+ noexcept(false) -+#endif - { - - if ( !bCalledFromMakeJoins_ ) { ---- a/compareContigs.h -+++ b/compareContigs.h -@@ -137,7 +137,11 @@ - compareContigs( ContigWin* pContigWin, const int nConsPos1); - compareContigs(); // for assemblyView - -- ~compareContigs(); -+ ~compareContigs() -+#if __cplusplus >= 201103L -+ noexcept(false) -+#endif -+ ; - - // this makes RWTPtrOrderedVector in ConsEd happy - bool operator==( const compareContigs& compC ) const { - ---- a/filePopupAndGetAceFilename.cpp -+++ b/filePopupAndGetAceFilename.cpp -@@ -317,7 +317,7 @@ - struct tm* pTM = localtime( &( pAceFile->stat_.st_mtime ) ); - - strftime( szDateTime, nDateTimeSize, -- quote(%H)":"quote(%M)":"quote(%S)" %e-%h-%Y", -+ quote(%H) ":" quote(%M) ":" quote(%S) " %e-%h-%Y", - pTM ); - - RWCString soDescription = RWCString( szDateTime ) + " " + (*pAceFile); -@@ -620,7 +620,7 @@ - struct tm* pTM = localtime( &( pAceFile->stat_.st_mtime ) ); - - strftime( szDateTime, nDateTimeSize, -- quote(%H)":"quote(%M)":"quote(%S)" %e-%h-%Y", -+ quote(%H) ":" quote(%M) ":" quote(%S) " %e-%h-%Y", - pTM ); - - RWCString soDescription = RWCString( szDateTime ) + " " + (*pAceFile); ---- a/findTraceExtrema.h -+++ b/findTraceExtrema.h -@@ -44,8 +44,15 @@ - - #include "chromatData.h" - -+#ifdef __cplusplus -+extern "C" { -+#endif -+ - int findTraceExtrema( ChromatData *chromatData ); - -+#ifdef __cplusplus -+} -+#endif - - #endif - ---- a/makeUpper.h -+++ b/makeUpper.h -@@ -42,6 +42,14 @@ - #ifndef MAKEUPPER_INCLUDED - #define MAKEUPPER_INCLUDED - -+#ifdef __cplusplus -+extern "C" { -+#endif -+ - void makeUpper( char* szStringOfMixedCase ); - -+#ifdef __cplusplus -+} -+#endif -+ - #endif ---- a/nextPhredPipeline.cpp -+++ b/nextPhredPipeline.cpp -@@ -476,7 +476,7 @@ - void nextPhredPipeline :: openAndLockControlFile() { - - -- nFDControlFile_ = open( filControlFile_.data(), O_CREAT |O_RDWR ); -+ nFDControlFile_ = open( filControlFile_.data(), O_CREAT |O_RDWR, 0600); - if ( nFDControlFile_ == -1 ) { - THROW_FILE_ERROR( filControlFile_ ); - } ---- a/readABI.h -+++ b/readABI.h -@@ -56,10 +56,18 @@ - - #include "chromatData.h" - -+#ifdef __cplusplus -+extern "C" { -+#endif -+ - #ifdef ANSI_C - ChromatData *readABI( char *fn, int *status ); - #else - ChromatData *readABI(); - #endif - -+#ifdef __cplusplus -+} -+#endif -+ - #endif ---- a/readData.h -+++ b/readData.h -@@ -44,6 +44,14 @@ - - #include "chromatData.h" - -+#ifdef __cplusplus -+extern "C" { -+#endif -+ - ChromatData *readData( char *filename, int* status ); - -+#ifdef __cplusplus -+} -+#endif -+ - #endif ---- a/readESD.h -+++ b/readESD.h -@@ -53,6 +53,10 @@ - - #include "chromatData.h" - -+#ifdef __cplusplus -+extern "C" { -+#endif -+ - typedef unsigned int4 DWORD; - typedef unsigned char TCHAR; - typedef char BYTE; -@@ -187,5 +191,7 @@ - ChromatData *readESD(); - #endif - -- -+#ifdef __cplusplus -+} -+#endif - ---- a/readSCF.h -+++ b/readSCF.h -@@ -56,6 +56,10 @@ - - #include "chromatData.h" - -+#ifdef __cplusplus -+extern "C" { -+#endif -+ - /* ---- Constants ---- */ - #define SCF_MAGIC (((((int4)'.'<<8)+(int4)'s'<<8)+(int4)'c'<<8)+(int4)'f') - #define scale(V,OLDMAX,NEWMAX) (int2)( (FLOAT) V * (FLOAT) NEWMAX / (FLOAT) OLDMAX ) -@@ -144,4 +148,8 @@ - int readSCF3(); - #endif - -+#ifdef __cplusplus -+} -+#endif -+ - #endif ---- a/readsense_bitmaps.h -+++ b/readsense_bitmaps.h -@@ -56,10 +56,10 @@ - static const int forward_bitmap_height = 19; - static char forward_bitmap_bits[] = { - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, -- 0x00, 0x00, 0x00, 0x00, 0x38, 0x00, 0x00, 0x00, 0xf8, 0x07, 0x00, 0x00, -- 0xf8, 0xff, 0x00, 0x00, 0xf8, 0xff, 0x3f, 0x00, 0xf8, 0xff, 0xff, 0x07, -- 0xf8, 0xff, 0xff, 0x0f, 0xf8, 0xff, 0xff, 0x07, 0xf8, 0xff, 0x1f, 0x00, -- 0xf8, 0xff, 0x00, 0x00, 0xf8, 0x07, 0x00, 0x00, 0x38, 0x00, 0x00, 0x00, -+ 0x00, 0x00, 0x00, 0x00, 0x38, 0x00, 0x00, 0x00, (char)0xf8, 0x07, 0x00, 0x00, -+ (char)0xf8, (char)0xff, 0x00, 0x00, (char)0xf8, (char)0xff, 0x3f, 0x00, (char)0xf8, (char)0xff, (char)0xff, 0x07, -+ (char)0xf8, (char)0xff, (char)0xff, 0x0f, (char)0xf8, (char)0xff, (char)0xff, 0x07, (char)0xf8, (char)0xff, 0x1f, 0x00, -+ (char)0xf8, (char)0xff, 0x00, 0x00, (char)0xf8, 0x07, 0x00, 0x00, 0x38, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00}; - -@@ -67,10 +67,10 @@ - static const int reverse_bitmap_height = 19; - static char reverse_bitmap_bits[] = { - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, -- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0xf8, 0x07, -- 0x00, 0xc0, 0xff, 0x07, 0x00, 0xff, 0xff, 0x07, 0xf8, 0xff, 0xff, 0x07, -- 0xfc, 0xff, 0xff, 0x07, 0xf8, 0xff, 0xff, 0x07, 0x00, 0xfe, 0xff, 0x07, -- 0x00, 0xc0, 0xff, 0x07, 0x00, 0x00, 0xf8, 0x07, 0x00, 0x00, 0x00, 0x07, -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, (char)0xf8, 0x07, -+ 0x00, (char)0xc0, (char)0xff, 0x07, 0x00, (char)0xff, (char)0xff, 0x07, (char)0xf8, (char)0xff, (char)0xff, 0x07, -+ (char)0xfc, (char)0xff, (char)0xff, 0x07, (char)0xf8, (char)0xff, (char)0xff, 0x07, 0x00, (char)0xfe, (char)0xff, 0x07, -+ 0x00, (char)0xc0, (char)0xff, 0x07, 0x00, 0x00, (char)0xf8, 0x07, 0x00, 0x00, 0x00, 0x07, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00}; - ---- a/readType.h -+++ b/readType.h -@@ -56,11 +56,19 @@ - - #include "chromatData.h" - -+#ifdef __cplusplus -+extern "C" { -+#endif -+ - #ifdef ANSI_C - int readType( char *filename ); - #else - int readType(); - #endif - -+#ifdef __cplusplus -+} -+#endif -+ - #endif - ---- a/rwtptrsortedvector.h -+++ b/rwtptrsortedvector.h -@@ -57,7 +57,6 @@ - #ifdef USE_USING_IN_PUBLIC_TEMPLATE_CLASSES - using RWTPtrOrderedVector<TP>::nCurrentLength_; - using RWTPtrOrderedVector<TP>::isEmpty; -- using RWTPtrOrderedVector<TP>::nCurrentLength_; - using RWTPtrOrderedVector<TP>::length; - using RWTPtrOrderedVector<TP>::ppArray_; - using RWTPtrOrderedVector<TP>::data; -@@ -84,7 +83,7 @@ - if ( nInsertBeforeIndex == RW_NPOS ) - nInsertBeforeIndex = nCurrentLength_; - -- insertAt( nInsertBeforeIndex, pVal ); -+ this->insertAt( nInsertBeforeIndex, pVal ); - } - - // don't copy this. copy mbtValOrderedVectorOfRWCString's method instead ---- a/rwtvalsortedvector.h -+++ b/rwtvalsortedvector.h -@@ -74,7 +74,7 @@ - if ( nPos == RW_NPOS ) - nPos = nCurrentLength_; - -- insertAt( nPos, val ); -+ this->insertAt( nPos, val ); - } - - ---- a/rwUtil.h -+++ b/rwUtil.h -@@ -51,6 +51,10 @@ - *|***************************************************************************|* - */ - -+#ifdef __cplusplus -+extern "C" { -+#endif -+ - #ifdef ANSI_C - int2 inSwpSint2( char *ptr ); - int4 inSwpSint4( char *ptr ); -@@ -97,3 +101,6 @@ - int writeUint4(); - #endif - -+#ifdef __cplusplus -+} -+#endif ---- a/soGetDateTime.cpp -+++ b/soGetDateTime.cpp -@@ -62,13 +62,13 @@ - else if ( nFormat == nDotInMiddle ) { - strftime( szDateTime, - nDateTimeSize, -- "%y%m%d."quote(%H)quote(%M)quote(%S), -+ "%y%m%d." quote(%H)quote(%M)quote(%S), - localtime( &timee ) ); - } - else { - strftime( szDateTime, - nDateTimeSize, -- "%y%m%d:"quote(%H)quote(%M)quote(%S), -+ "%y%m%d:" quote(%H)quote(%M)quote(%S), - localtime( &timee ) ); - } - ---- a/szGetTime.h -+++ b/szGetTime.h -@@ -42,9 +42,15 @@ - #ifndef szGetTime_included - #define szGetTime_included - --char *szGetTime(); -+#ifdef __cplusplus -+extern "C" { -+#endif - -+char *szGetTime(); - -+#ifdef __cplusplus -+} -+#endif - - #endif - diff --git a/sci-biology/consed/files/consed-29-fix-perl-shebang.patch b/sci-biology/consed/files/consed-29-fix-perl-shebang.patch deleted file mode 100644 index a27a3537a8d1..000000000000 --- a/sci-biology/consed/files/consed-29-fix-perl-shebang.patch +++ /dev/null @@ -1,701 +0,0 @@ -Make perl shebangs portable, such that the scripts can also be used on Gentoo Prefix. -Rationale: https://blogs.gentoo.org/mgorny/2016/02/08/a-quick-note-on-portable-shebangs/ - ---- a/contributions/ace2fof -+++ b/contributions/ace2fof -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -w -+#!/usr/bin/env perl - - # .-----------------------------------------------------------------------------------. - # | | -@@ -107,6 +107,7 @@ - # | | - # `-----------------------------------------------------------------------------------' - #Fixed this file for taking Aracne's Ace file by syang 05152002 -+use warnings; - use strict; - use POSIX qw(fmod); - ---- a/contributions/ace2OligosWithComments.perl -+++ b/contributions/ace2OligosWithComments.perl -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -w -+#!/usr/bin/env perl - # - # ace2Oligos.perl - # -@@ -18,6 +18,8 @@ - # Rev: 020528 to print comments in oligo tags upon request (Peter Kos) - # - -+use warnings; -+ - $szUsage = "\nUsage: $0 (name of ace file) (name of oligo file) [Print|Comment|PrintComment]\n"; - - die "$szUsage" if (( $#ARGV != 1 ) && ( $#ARGV != 2 )); ---- a/contributions/aceContigs2Phds.perl -+++ b/contributions/aceContigs2Phds.perl -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -w -+#!/usr/bin/env perl - # - # aceContigs2Phd.perl - # -@@ -13,6 +13,8 @@ - # Acknowledgements: Borrowed as much as I could from determineReadTypes.Perl - # and fasta2Phd.perl - -+use warnings; -+ - $szUsage = "Usage: aceContigs2Phds.perl [-s minimum-contig-size] <name of ace file>"; - $nContigLimit = 2000; - ---- a/contributions/acestatus.pl -+++ b/contributions/acestatus.pl -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -w -+#!/usr/bin/env perl - - # acestatus.pl - # author: Cliff Wollam -@@ -14,6 +14,7 @@ - # USAGE FROM THE COMMAND LINE: - # acestatus.pl ace_filename - -+use warnings; - use strict; - - if($#ARGV >= 0) { ---- a/contributions/cons.perl -+++ b/contributions/cons.perl -@@ -1,5 +1,6 @@ --#!/usr/bin/perl -+#!/usr/bin/env perl - -+use warnings; - use strict; - use Cwd; - ---- a/contributions/mergeAces.perl -+++ b/contributions/mergeAces.perl -@@ -1,4 +1,4 @@ --#! /usr/local/bin/perl -w -+#!/usr/bin/env perl - - # Bugs and complaints to Bill Gilliland, billg@ucdavis.edu. - # mergeAces.perl v. 0.2 5/22/01 -@@ -9,6 +9,7 @@ - # project directory (if it doesn't already exist) with all the cgrams - # and phd files of the original projects. - -+use warnings; - use Getopt::Long; - use File::Copy; - $pathRoot = $ENV{"PWD"}; ---- a/contributions/phredPhrapWithPhdBalls -+++ b/contributions/phredPhrapWithPhdBalls -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -w -+#!/usr/bin/env perl - # - # phredPhrapWithPhdBalls - # modified from phredPhrap by Ben Allen at LANL -@@ -73,6 +73,7 @@ - # Rev: 120312 to not duplicate consensus tags during miniassembly - # Rev: 120717 Ben Allen (LANL) to use reads from phdballs as well as phd_dir - -+use warnings; - - $szVersion = "120312"; - ---- a/contributions/recover_consensus_tags -+++ b/contributions/recover_consensus_tags -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -w -+#!/usr/bin/env perl - - # Purpose: Transfers all consensus tags from a set of old assemblies to - # a new assembly. -@@ -14,6 +14,7 @@ - # rct ace_filename <only ace file to be transfer (optional)> - # You must be in the edit_dir where the ace file is located - -+use warnings; - use strict; - - ---- a/contributions/revert_fof -+++ b/contributions/revert_fof -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -w -+#!/usr/bin/env perl - - # PURPOSE: If the user really screws up a read, to back out all changes. - # You must reassemble after using this. -@@ -19,6 +19,8 @@ - # phd extensions. - # revert_fof use file of files to give reads to revert 3/14/01 SL - -+use warnings; -+ - $szUsage = "Enter a file of files name, please!"; - - die $szUsage if ( $#ARGV != 0 ); ---- a/contributions/sff2phd.perl -+++ b/contributions/sff2phd.perl -@@ -1,4 +1,5 @@ --#!/usr/bin/perl -w -+#!/usr/bin/env perl -+use warnings; - use strict; - # SFF to PHD files converter, with 454 paired reads and MID support - # Version 0.15 - 111229 ---- a/contributions/sff2phd_Samborskyy -+++ b/contributions/sff2phd_Samborskyy -@@ -1,4 +1,5 @@ --#!/usr/bin/perl -w -+#!/usr/bin/env perl -+use warnings; - use strict; - # SFF to PHD files converter, with 454 paired reads and MID support - # Version 0.10 - 101110 ---- a/scripts/ace2Fasta.perl -+++ b/scripts/ace2Fasta.perl -@@ -1,7 +1,9 @@ --#!/usr/bin/perl -w -+#!/usr/bin/env perl - # - # Purpose: makes a contigs file out of an ace file - -+use warnings; -+ - $szUsage = "Usage: ace2Contigs.perl (ace file)"; - - ---- a/scripts/ace2Oligos.perl -+++ b/scripts/ace2Oligos.perl -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -w -+#!/usr/bin/env perl - # - # ace2Oligos.perl - # -@@ -16,6 +16,8 @@ - # Rev: 000330 to handle comments in oligo tags - # - -+use warnings; -+ - $szUsage = "Usage: ace2Oligos.perl (name of ace file) (name of oligo file)"; - - if ( $ARGV[0] eq "-V" || $ARGV[0] eq "-v" ) { ---- a/scripts/add454Reads.perl -+++ b/scripts/add454Reads.perl -@@ -1,11 +1,11 @@ --#!/usr/bin/perl -w -+#!/usr/bin/env perl - - # add454Reads.perl - # part of Consed package - # - # DG with help from Hao Wang to screen vector - -- -+use warnings; - use File::Basename; - - ---- a/scripts/addReads2Consed.perl -+++ b/scripts/addReads2Consed.perl -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -w -+#!/usr/bin/env perl - # - # Purpose: called by consed in order to add new reads to an - # existing assembly without reassemblying -@@ -29,6 +29,7 @@ - # Rev: 080320 (David Gordon) to use discrep_lists instead of alignments - # Rev: 130828 (David Gordon) to handle slashes (/) in read names - -+use warnings; - - $szVersion = "130828"; - if ( $#ARGV >= 0 ) { ---- a/scripts/addSangerReads.perl -+++ b/scripts/addSangerReads.perl -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -w -+#!/usr/bin/env perl - - # addSangerReads.perl - -@@ -32,7 +32,7 @@ - # added is printed in a report ending with ".log". The name of this - # file is listed in auto.fof - -- -+use warnings; - - - $szVersion = "120717"; ---- a/scripts/addSolexaReads.perl -+++ b/scripts/addSolexaReads.perl -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -w -+#!/usr/bin/env perl - - # addSolexaReads.perl - -@@ -54,7 +54,7 @@ - - $szUsage = "addSolexaReads.perl -ace (ace file) -fastqfof (solexa files) -fasta (fasta file) -readsList (file of list of desired reads) where -readsList is optional"; - -- -+use warnings; - use Getopt::Long; - - GetOptions( "ace=s" => \$szAceFile, ---- a/scripts/alignRNA2Genomic.perl -+++ b/scripts/alignRNA2Genomic.perl -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -w -+#!/usr/bin/env perl - - # alignRNA2Genomic.perl - -@@ -6,6 +6,8 @@ - # consed-ready ace and phd ball with the RNA aligned against the - # genomic with introns being represented by large gaps - -+use warnings; -+ - $szVersion = "120717"; - - if ( $#ARGV == 0 ) { ---- a/scripts/alignSolexaReads2Refs.perl -+++ b/scripts/alignSolexaReads2Refs.perl -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -w -+#!/usr/bin/env perl - - # Input: a file where each line looks like this: - # (solexa seq file) (read prefix) -@@ -10,6 +10,7 @@ - - # Output: a list of alignment files - -+use warnings; - - defined( $szConsedHome = $ENV{'CONSED_HOME'} ) || - ( $szConsedHome = "/usr/local/genome" ); ---- a/scripts/amplifyTranscripts.perl -+++ b/scripts/amplifyTranscripts.perl -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -w -+#!/usr/bin/env perl - - # PURPOSE: runs consed -autoPCRAmplify in order to pick pcr primers - # for a large group of regions -@@ -40,7 +40,7 @@ - # That is, the left primers are given in top strand orientation, and - # the right primers are given in bottom strand orientation. - -- -+use warnings; - - defined( $szConsedHome = $ENV{'CONSED_HOME'} ) || - ( $szConsedHome = "/usr/local/genome" ); ---- a/scripts/autoPrimers.perl -+++ b/scripts/autoPrimers.perl -@@ -1,5 +1,6 @@ --#!/usr/bin/perl -w -+#!/usr/bin/env perl - -+use warnings; - - $szUsage = "autoPrimers.perl (fasta file of targets)"; - $szVersion = "141226"; ---- a/scripts/bam2Ace.perl -+++ b/scripts/bam2Ace.perl -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -w -+#!/usr/bin/env perl - - - # Purpose: runs: -@@ -6,6 +6,7 @@ - # 2) consed -renameDuplicates - # 3) consed -removeColumnsOfPads - -+use warnings; - - $szUsage = "usage: bam2Ace.perl -bamFile (bam file) -regionsFile (regions file) (see README.txt for format of the regions file) -exec (consed executable name) -newAceFile (new ace file name) where the -exec (exec) is optional"; - ---- a/scripts/convertBedToBamScape.perl -+++ b/scripts/convertBedToBamScape.perl -@@ -1,4 +1,6 @@ --#!/usr/bin/perl -w -+#!/usr/bin/env perl -+ -+use warnings; - - $szUsage = "usage: convertBedToBamScape.perl (Bed file) (BamScape file) (fasta file of all sequences) (conversion of reference names--optional)"; - ---- a/scripts/countEditedBases.perl -+++ b/scripts/countEditedBases.perl -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -w -+#!/usr/bin/env perl - # - # countEditedBases.perl - # -@@ -11,6 +11,8 @@ - # - # - -+use warnings; -+ - while(<>) { - if ( /^CO / ) { - @aWords = split; ---- a/scripts/determineReadTypes.perl -+++ b/scripts/determineReadTypes.perl -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -w -+#!/usr/bin/env perl - # determineReadTypes.perl - # - # Purpose: to write into the phd file information about the template -@@ -173,6 +173,7 @@ - # - ############################################################### - -+use warnings; - - # you can remove or comment out this line when you are satisfied with - # your customized version of this file. ---- a/scripts/fasta2Ace.perl -+++ b/scripts/fasta2Ace.perl -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -w -+#!/usr/bin/env perl - # - # manyFasta2Ace.perl - # -@@ -13,6 +13,7 @@ - # - # NOTE: you must run this in edit_dir - -+use warnings; - use Getopt::Long; - - $szRevision = "141212"; ---- a/scripts/fasta2PhdBall.perl -+++ b/scripts/fasta2PhdBall.perl -@@ -1,4 +1,6 @@ --#!/usr/bin/perl -w -+#!/usr/bin/env perl -+ -+use warnings; - - $nQuality = 20; - ---- a/scripts/fasta2Phd.perl -+++ b/scripts/fasta2Phd.perl -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -w -+#!/usr/bin/env perl - # - # fasta2Phd.perl - # -@@ -20,6 +20,7 @@ - # June 2002, Bill Gilliland to allow the user to specify - # the quality value - -+use warnings; - use Getopt::Long; - GetOptions( "quality=i" => \$qualityValue); - ---- a/scripts/fastq2Phrap.perl -+++ b/scripts/fastq2Phrap.perl -@@ -1,4 +1,6 @@ --#!/usr/bin/perl -w -+#!/usr/bin/env perl -+ -+use warnings; - - $szUsage = "fastq2Phrap.perl (fastq) or for paired reads fastq2Phrap.perl (fastq1) (fastq2) where fastq1 and fastq2 have corresponding mate pairs--e.g., the 5th read in fastq1 is the mate of the 5th read in fastq2--these fastq files are assumed to be in ../solexa_dir--not the current directory\n"; - ---- a/scripts/filter454Reads.perl -+++ b/scripts/filter454Reads.perl -@@ -1,6 +1,6 @@ --#!/usr/bin/perl -w -- -+#!/usr/bin/env perl - -+use warnings; - use File::Basename; - - ---- a/scripts/findSequenceMatchesForConsed.perl -+++ b/scripts/findSequenceMatchesForConsed.perl -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -w -+#!/usr/bin/env perl - - # findSequenceMatchesForConsed.perl - -@@ -16,6 +16,8 @@ - # REVISIONS: 021127 (DG) to write (project).(date).(time).fasta instead of - # (project).fasta.screen.ace.1.(date).(time).fasta - -+use warnings; -+ - $szVersion = "021127"; - - $szUsage = "Usage: findSequenceMatchesForConsed.perl (ace file) (crossmatch parameters, if any)"; ---- a/scripts/fixContigEnd.perl -+++ b/scripts/fixContigEnd.perl -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -w -+#!/usr/bin/env perl - - # fixContigEnd.perl - -@@ -7,6 +7,7 @@ - # consed -ace (acefile) -fixContigEnds - # - -+use warnings; - - $szUsage = "fixContigEnd.perl (fasta file of reads for input) (fof for ace file, output)"; - ---- a/scripts/lib2Phd.perl -+++ b/scripts/lib2Phd.perl -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -w -+#!/usr/bin/env perl - # - # lib2Phd.perl - # -@@ -23,6 +23,8 @@ - # accept fasta library files as input. The output file is named - # according to the first, non-space block of text on each fasta defline. - -+use warnings; -+ - $nQuality = 20; - - $szUsage = "Usage: lib2Phd.perl <name of file with fasta library>"; ---- a/scripts/makePhdBall.perl -+++ b/scripts/makePhdBall.perl -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -w -+#!/usr/bin/env perl - - # PURPOSE: concatenate all phd file into a single phd.ball - # for the purpose of fast startup of consed -@@ -9,6 +9,7 @@ - # - # February 2008, David Gordon - -+use warnings; - - if ( $#ARGV >= 0 ) { - if ( $ARGV[0] eq "-v" || $ARGV[0] eq "-V" ) { ---- a/scripts/makeRegionsFile.perl -+++ b/scripts/makeRegionsFile.perl -@@ -1,10 +1,12 @@ --#!/usr/bin/perl -w -+#!/usr/bin/env perl - - # makeRegionsFile.perl - # To be used with consed -bam2Ace - # Takes a fasta file of sequences and makes a regions file that - # specifies the entire length of each sequence. - -+use warnings; -+ - $szUsage = "makeRegionsFile.perl (name of fasta file)"; - - $szVersion = "110914"; ---- a/scripts/orderPrimerPairs.perl -+++ b/scripts/orderPrimerPairs.perl -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -w -+#!/usr/bin/env perl - - # PURPOSE: puts the primers in 96 well format for ordering. - # creates a file that can be emailed to -@@ -13,6 +13,8 @@ - # 2) a file of primer pairs, sorted by product size - # 3) a fasta file of the primers, for your convenience for analysis - -+use warnings; -+ - $| = 1; - - $szUsage = "orderPrimerPairs.perl"; ---- a/scripts/phd2Ace.perl -+++ b/scripts/phd2Ace.perl -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -w -+#!/usr/bin/env perl - # - # phd2Ace.perl - # -@@ -13,6 +13,8 @@ - # REV: 981002 (David Gordon) for new ace format - # 981210 (DG) to eliminate warning message - -+use warnings; -+ - $szPhdDirPath = "../phd_dir"; - - $szUsage = "Usage: phd2Ace.perl <filename (without directory) of phd file>\nThe phd file is assumed to reside in $szPhdDirPath"; ---- a/scripts/phredPhrap -+++ b/scripts/phredPhrap -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -w -+#!/usr/bin/env perl - # - # phredPhrap - # -@@ -70,6 +70,8 @@ - # Rev: 110609 to allow masking of vector sequence when doing miniassemblies - # Rev: 120312 to not duplicate consensus tags during miniassembly - -+use warnings; -+ - $szVersion = "120312"; - - ---- a/scripts/picard2Regions.perl -+++ b/scripts/picard2Regions.perl -@@ -1,10 +1,12 @@ --#!/usr/bin/perl -w -+#!/usr/bin/env perl - - # PURPOSE: takes a file of locations in the format for bamScape custom - # navigation (Picard IntervalList format), adds 2000 bases of context - # to each side of each location, and prints a region file in format to - # be used by bam2Ace - -+use warnings; -+ - $szRevision = "140903"; # David Gordon - - if ( defined( $ARGV[0] ) && ---- a/scripts/removeReads -+++ b/scripts/removeReads -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -w -+#!/usr/bin/env perl - # - # PURPOSE: removes a list of chromats from an assembly. After running this, - # you must reassemble to create an ace file without the given phd files. -@@ -16,6 +16,8 @@ - # removeReads (name of fof's) - # - -+use warnings; -+ - $szUsage = "Usage: removeReads listOfReads.fof"; - - die "$szUsage" if ( $#ARGV != 0 ); ---- a/scripts/revertToUneditedRead -+++ b/scripts/revertToUneditedRead -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -w -+#!/usr/bin/env perl - # - # PURPOSE: If the user really screws up a read, to back out all changes. - # You must reassemble after using this. -@@ -16,6 +16,7 @@ - # REV: 7/24/98 (DG) - # REV: 8/28/2013 (DG) to handle readnames with slashes (/) - -+use warnings; - - $szUsage = "Usage: revertToUneditedRead (read name without any .phd.# extension)"; - ---- a/scripts/selectOneRegion.perl -+++ b/scripts/selectOneRegion.perl -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -w -+#!/usr/bin/env perl - - # selectOneRegion.perl - # -@@ -11,6 +11,7 @@ - # and you will create an ace file chr15_51000000.ace or chr15_51000000.ace.1 - # (or higher extension) - -+use warnings; - use Getopt::Long; - - ---- a/scripts/selectRegions.perl -+++ b/scripts/selectRegions.perl -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -w -+#!/usr/bin/env perl - - # selectRegions.perl - # -@@ -43,7 +43,7 @@ - # my_new_ace.ace says what the ace file should be called (the - # extension may not start at 1 if there is already a .1 - -- -+use warnings; - - $SIG{__WARN__} = dieWhenGetWarning; - sub dieWhenGetWarning { ---- a/scripts/tagRepeats.perl -+++ b/scripts/tagRepeats.perl -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -w -+#!/usr/bin/env perl - # - # PROGRAM: tagRepeats.perl - # PURPOSE: to put consensus tags on any found ALU or any other -@@ -10,6 +10,7 @@ - # INPUTS: The ace file. You must also provide a fasta file of the - # ALU or any other sequence you want to tag - -+use warnings; - - $szVersion = "090209"; - if ( $#ARGV >= 0 ) { ---- a/scripts/testSocket.perl -+++ b/scripts/testSocket.perl -@@ -1,7 +1,8 @@ --#! /usr/local/bin/perl -w -+#!/usr/bin/env perl - - # open a socket to consed -- -+ -+use warnings; - use IO::Socket; - - # Consed makes a file which has nothing but the port number. ---- a/scripts/transferConsensusTags.perl -+++ b/scripts/transferConsensusTags.perl -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -w -+#!/usr/bin/env perl - # - # Purpose: Transfers consensus tags from an old assembly to - # a new assembly. -@@ -44,6 +44,8 @@ - # Nov 2001, DG to handle cloneEnd tags which have orientation - # Mar 2012, DG to prevent duplicating tags after miniassembly - -+use warnings; -+ - $szUsage = "Usage: transferConsensusTags.perl (old ace file) (new ace file) (file of list of old contigs with consensus tags to be transferred)"; - - if ( $ARGV[0] eq "-V" || $ARGV[0] eq "-v" ) { diff --git a/sci-biology/consed/files/consed-29-fix-qa.patch b/sci-biology/consed/files/consed-29-fix-qa.patch deleted file mode 100644 index 90e180da0174..000000000000 --- a/sci-biology/consed/files/consed-29-fix-qa.patch +++ /dev/null @@ -1,294 +0,0 @@ -Fix various QA violations, due to -* implicit declarations -* incorrect printf() format specifiers -* incorrect function prototypes -* remove unsafe gets() fucntion - ---- a/misc/454/sff2scf.c -+++ b/misc/454/sff2scf.c -@@ -39,6 +39,7 @@ - void writeScfFile(char *filearg, char *outfile); - void writeScfCommand(char *filearg, char *outfile); - -+int sffinfo(int argc, char *argv[], FILE* pTempFile ); - - int main(int argc, char *argv[]) - { ---- a/misc/mktrace/mktrace.c -+++ b/misc/mktrace/mktrace.c -@@ -70,9 +70,9 @@ - else - { - printf( "enter FASTA filename: " ); -- gets( ifnm ); -+ fgets( ifnm, sizeof(ifnm), stdin ); - printf( "enter output filename: " ); -- gets( ofnm ); -+ fgets( ofnm, sizeof(ofnm), stdin ); - } - - /* -@@ -192,7 +192,7 @@ - /* - ** Write phd file. - */ -- if( writePhd( ofnm, numBase, seq, qual, pos, numPoint, trace ) == ERROR ) -+ if( writePhd( ofnm, numBase, seq, qual, pos, numPoint ) == ERROR ) - { - fprintf( stderr, "mktrace: error: bad status: writePhd\n" ); - free( seq ); ---- a/misc/mktrace/mktrace.h -+++ b/misc/mktrace/mktrace.h -@@ -37,8 +37,8 @@ - int writeSCF( char *filename, int numBase, char *seq, int numPoint, float **trace ); - int freeTrace( float **trace ); - char *readFASTA( char *filename, char *entryName, char *comments, int *len ); --int writePhd( char *ofnm, int numBase, char *seq, int *pos, int numPoint ); - int *readQUAL( char *filename, char *entryName, char *comments, int *len ); -+char *getTime( void ); - #else - int writePhd(); - float **synTrace(); ---- a/misc/phd2fasta/phd2fasta.h -+++ b/misc/phd2fasta/phd2fasta.h -@@ -276,6 +276,10 @@ - Comments *comments, Seq *seq, TagList *tagList, char *emsg ); - int checkIntString( char *string ); - int delimiterTest( char *string, unsigned int mask ); -+int checkParam( Option *option ); -+char* getVersion( void ); -+int showDoc( void ); -+char* getTime( void ); - #else - Option *getOption(); - struct Tag *allocTag(); ---- a/misc/phd2fasta/readStdTag.c -+++ b/misc/phd2fasta/readStdTag.c -@@ -699,11 +699,11 @@ - if( fstat ) - { - fprintf( stderr, -- "readStdTag: %s: line: %d: unexpected delimiter %s\n", -+ "readStdTag: %s: line: %p: unexpected delimiter %s\n", - filename, - nline, - line ); -- sprintf( emsg, "%s: line: %d: unexpected delimiter %s\n", -+ sprintf( emsg, "%s: line: %p: unexpected delimiter %s\n", - filename, - nline, - line ); ---- a/misc/phd2fasta/readWholeReadTag.c -+++ b/misc/phd2fasta/readWholeReadTag.c -@@ -393,11 +393,11 @@ - if( fstat ) - { - fprintf( stderr, -- "readWholeReadTag: %s: line: %d: unexpected delimiter %s\n", -+ "readWholeReadTag: %s: line: %p: unexpected delimiter %s\n", - filename, - nline, - line ); -- sprintf( emsg, "%s: line: %d: unexpected delimiter %s\n", -+ sprintf( emsg, "%s: line: %p: unexpected delimiter %s\n", - filename, - nline, - line ); ---- a/misc/phd2fasta/writeFasta.c -+++ b/misc/phd2fasta/writeFasta.c -@@ -39,7 +39,7 @@ - #include "phd2fasta.h" - - #ifdef ANSI_C --writeFasta( FILE *sfp, FILE *qfp, FILE *bfp, -+int writeFasta( FILE *sfp, FILE *qfp, FILE *bfp, - int outBasePosOption, - Comments *comments, Seq *seq, TagList *tagList, char *emsg ) - #else ---- a/motifutils.cpp -+++ b/motifutils.cpp -@@ -202,13 +202,13 @@ - void printButtonEvent( XButtonEvent* pEvent ) { - - printf( "type = %d\n", pEvent->type ); -- printf( "serial = %d\n", pEvent->serial ); -+ printf( "serial = %lu\n", pEvent->serial ); - printf( "send_event = %s\n", szPrintBool( pEvent->send_event ) ); -- printf( "*display = %x\n", pEvent->display ); -- printf( "window = %x\n", pEvent->window ); -- printf( "root = %x\n", pEvent->root ); -- printf( "subwindow = %x\n", pEvent->subwindow ); -- printf( "time = %d\n", pEvent->time ); -+ printf( "*display = %p\n", pEvent->display ); -+ printf( "window = %lu\n", pEvent->window ); -+ printf( "root = %lu\n", pEvent->root ); -+ printf( "subwindow = %lu\n", pEvent->subwindow ); -+ printf( "time = %lu\n", pEvent->time ); - printf( "x = %d\n", pEvent->x ); - printf( "y = %d\n", pEvent->y ); - printf( "x_root = %d\n", pEvent->x_root ); ---- a/parseAceFile.cpp -+++ b/parseAceFile.cpp -@@ -45,6 +45,7 @@ - using namespace std; - #include "basesegment.h" - #include <stdio.h> -+#include <stddef.h> - #include <string.h> - #include <sstream> - #include "mbt_errors.h" -@@ -292,7 +293,7 @@ - char* szPossibleComp = szReadName + nLength - nCOMP; - - if (memcmp( szPossibleComp, szCOMP, nCOMP ) == 0 ) { -- szPossibleComp = '\0'; -+ szPossibleComp = NULL; - return( true ); - } - else ---- a/phaster2PhdBall.cpp -+++ b/phaster2PhdBall.cpp -@@ -547,7 +547,7 @@ - - int nTokens = - sscanf( soLine_.data(), -- "%s %*s %d %d %lld %s %s %*s %d %d %lld %s %s\n", -+ "%s %*s %d %d %ld %s %s %*s %d %d %ld %s %s\n", - soReadName_.data(), - &nRead1Left_, - &nRead1Right_, ---- a/printAutoFinishMiscInfo.cpp -+++ b/printAutoFinishMiscInfo.cpp -@@ -80,7 +80,7 @@ - int nError = stat( (char*) soAceFileFullPathname.data(), &statBuffer ); - - if (nError == 0 ) { -- fprintf( pAO,"size: %d date: %s\n", -+ fprintf( pAO,"size: %ld date: %s\n", - (long) statBuffer.st_size, - ctime( &( statBuffer.st_mtime )) ); - ---- a/printAutoFinishParameters.cpp -+++ b/printAutoFinishParameters.cpp -@@ -206,7 +206,7 @@ - pCP->nInexactSearchForStringMaxPerCentMismatch_ ); - - fprintf( pAO, "! when using the inexact search for string, allow up to this\n"); -- fprintf( pAO, "! % mismatch: the sum of the insertion, deletion, and substitution\n"); -+ fprintf( pAO, "! %% mismatch: the sum of the insertion, deletion, and substitution\n"); - fprintf( pAO, "! differences divided by the length of the query string\n"); - fprintf( pAO, "! (YES)\n"); - fprintf( pAO, "consed.onlyAllowOneReadWriteConsedAtATime: %s\n", -@@ -825,7 +825,7 @@ - fprintf( pAO, "! template will be 1500 bases from the forward read. But if this template\n"); - fprintf( pAO, "! has an insert that is shorter than average, the walk may walk into vector.\n"); - fprintf( pAO, "! To be conservative, we may want to assume that the insert is somewhat \n"); -- fprintf( pAO, "! shorter than average. By default, we assume that it is 90% as large as \n"); -+ fprintf( pAO, "! shorter than average. By default, we assume that it is 90%% as large as \n"); - fprintf( pAO, "! the average. This parameter gives that percentage. This parameter\n"); - fprintf( pAO, "! is used both by Consed and Autofinish.\n"); - fprintf( pAO, "! (OK)\n"); -@@ -1249,9 +1249,9 @@ - pCP->nAutoFinishConfidenceThatReadWillCoverSingleSubcloneRegion_ ); - - fprintf( pAO, "! Autofinish computes the per cent of existing reads are aligned at\n"); -- fprintf( pAO, "! each base position. Typically, this number starts at around 0% at\n"); -- fprintf( pAO, "! base position 1, rises to close to 100% at around base position 300,\n"); -- fprintf( pAO, "! and then drops again to 0% at base position 800 or so. This number\n"); -+ fprintf( pAO, "! each base position. Typically, this number starts at around 0%% at\n"); -+ fprintf( pAO, "! base position 1, rises to close to 100%% at around base position 300,\n"); -+ fprintf( pAO, "! and then drops again to 0%% at base position 800 or so. This number\n"); - fprintf( pAO, "! specifies how high the number must be for Autofinish to consider an\n"); - fprintf( pAO, "! Autofinish read to cover a single subclone region.\n"); - fprintf( pAO, "! (OK)\n"); -@@ -1295,7 +1295,7 @@ - ( ( pCP->bCheckIfTooManyWalks_ ) ? "true" : "false" ) ); - - fprintf( pAO, "! this just checks if the number of walks, pcr ends, and unknown reads\n"); -- fprintf( pAO, "! exceeds 20% of the total number of reads. If this is exceeded, then \n"); -+ fprintf( pAO, "! exceeds 20%% of the total number of reads. If this is exceeded, then \n"); - fprintf( pAO, "! a warning message is given. Typically, such a warning indicates\n"); - fprintf( pAO, "! that you have incorrectly customized determineReadTypes.perl\n"); - fprintf( pAO, "! (OK)\n"); -@@ -1446,7 +1446,7 @@ - ( ( pCP->bProcessMatePairsAtStartup_ ) ? "true" : "false" ) ); - - fprintf( pAO, "! This is necessary to show the mate pair flags, but it does add\n"); -- fprintf( pAO, "! around 15% to startup time.\n"); -+ fprintf( pAO, "! around 15%% to startup time.\n"); - fprintf( pAO, "! (OK)\n"); - fprintf( pAO, "consed.maximumNumberOfTracesShown: %d\n", - pCP->nMaximumNumberOfTracesShown_ ); -@@ -1796,7 +1796,7 @@ - (char*)pCP->soStoreTracePeakPositions_.data() ); - - fprintf( pAO, "! never, always or whenChromatAvailable\n"); -- fprintf( pAO, "! changing this to \"always\" increases memory usage by close to 100%,\n"); -+ fprintf( pAO, "! changing this to \"always\" increases memory usage by close to 100%%,\n"); - fprintf( pAO, "! especially if the assembler is Newbler. always means it will store\n"); - fprintf( pAO, "! the positions if they are present in the phd file/ball.\n"); - fprintf( pAO, "! \"whenChromatAvailable\" means it will store trace peak positions for\n"); ---- a/readPrimerScreenSequences.cpp -+++ b/readPrimerScreenSequences.cpp -@@ -167,7 +167,7 @@ - ++nSequenceNumber ) { - if ( pnLengthOfSequence[ nSequenceNumber ] != - strlen( pszSequence[ nSequenceNumber ] ) ) { -- sprintf( szErrorMessage, "inconsistency between pnLengthOfSequence %d and pszSequence %d for sequence number %d", -+ sprintf( szErrorMessage, "inconsistency between pnLengthOfSequence %d and pszSequence %zu for sequence number %d", - pnLengthOfSequence[ nSequenceNumber ], - strlen( pszSequence[ nSequenceNumber ] ), - nSequenceNumber ); ---- a/rwcstring.cpp -+++ b/rwcstring.cpp -@@ -235,7 +235,7 @@ - - nMaxLength_ = nDefaultLengthForConversions; - -- nCurrentLength_ = sprintf( sz_, "%d", lNumberToConvert ); -+ nCurrentLength_ = sprintf( sz_, "%ld", lNumberToConvert ); - - if ( nCurrentLength_ > nMaxLength_ ) { - // big trouble--might not even make it here--might segmentation fault ---- a/someOtherProgramSentACommandToConsed.cpp -+++ b/someOtherProgramSentACommandToConsed.cpp -@@ -89,7 +89,7 @@ - - char szLine2[ nMaxLine ]; - -- sprintf( szLine2, "# of chars = %d %s", strlen( szLine ), szLine ); -+ sprintf( szLine2, "# of chars = %zu %s", strlen( szLine ), szLine ); - - cout << szLine2 << endl; - ---- a/tag.cpp -+++ b/tag.cpp -@@ -466,7 +466,7 @@ - fprintf( pPhdFile, "DATE: %s\n", soDate_.data() ); - - if ( lID_ != nUndefinedTagID ) { -- fprintf( pPhdFile, "ID: %d\n", lID_ ); -+ fprintf( pPhdFile, "ID: %ld\n", lID_ ); - } - - ---- a/userDefinedTagField.cpp -+++ b/userDefinedTagField.cpp -@@ -64,7 +64,7 @@ - - void userDefinedIntegerTagField :: writeThyselfToAceFileOrPhdBall( FILE* pFile ) { - -- fprintf( pFile, "%s %d\n", -+ fprintf( pFile, "%s %ld\n", - pUserDefinedTagFieldType_->soFieldName_.data(), - l_ ); - } -@@ -119,7 +119,7 @@ - - void userDefinedPointerTagField :: writeThyselfToAceFileOrPhdBall( FILE* pFile ) { - -- fprintf( pFile, "%s %d\n", -+ fprintf( pFile, "%s %ld\n", - pUserDefinedTagFieldType_->soFieldName_.data(), - lID_ ); - diff --git a/sci-biology/consed/metadata.xml b/sci-biology/consed/metadata.xml deleted file mode 100644 index ccdff086e20b..000000000000 --- a/sci-biology/consed/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci-biology@gentoo.org</email> - <name>Gentoo Biology Project</name> - </maintainer> -</pkgmetadata> diff --git a/sci-biology/phrap/Manifest b/sci-biology/phrap/Manifest deleted file mode 100644 index 12d65a0b5974..000000000000 --- a/sci-biology/phrap/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST phrap-1.080812-distrib.tar.gz 317350 BLAKE2B 9cc53d05184b4a55a9a80e6112498f91a622b98a853b255daedd57c892b7c2bb8ef3091ed3d141e297864c158b7e03d02313a272448d2e0fb80e1c51a906e00a SHA512 6b125b9a99b6180eb5de16bccfe068abefdb59237fd3295924c418749f2f2d6e39cdbcecc6786e42738846975334c4d8a645eae8fd0fcbda6b0e99241deb15ca diff --git a/sci-biology/phrap/files/phrap-1.080812-fix-build-system.patch b/sci-biology/phrap/files/phrap-1.080812-fix-build-system.patch deleted file mode 100644 index 6d30c2ce326a..000000000000 --- a/sci-biology/phrap/files/phrap-1.080812-fix-build-system.patch +++ /dev/null @@ -1,100 +0,0 @@ -* Fix perl shebang to be portable -* Make build system honour LDFLAGS - ---- a/makefile -+++ b/makefile -@@ -25,9 +25,8 @@ - # Makefile for swat, phrap, cross_match, phrapview; also swprobs (currently inactivated) - #CC= icc - #CFLAGS= -O2 -wd266,880 --CC= cc --CFLAGS= -O2 --LFLAGS= -lm -+CC ?= cc -+LIBS = -lm - - SWATOBJS= swat.o weibull.o - -@@ -96,46 +95,46 @@ - chmod a+x phrapview - - swat: makefile $(SWATOBJS) $(SWOBJS) -- $(CC) $(CFLAGS) -o $@ $(SWATOBJS) $(SWOBJS) $(LFLAGS) -+ $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(SWATOBJS) $(SWOBJS) $(LIBS) - chmod o-r swat - - alpha_swat: makefile $(ALPHOBJS) $(SWOBJS) -- $(CC) $(CFLAGS) -o $@ $(ALPHOBJS) $(SWOBJS) $(LFLAGS) -+ $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(ALPHOBJS) $(SWOBJS) $(LIBS) - chmod o-r alpha_swat - - swat_counts: makefile $(COUNOBJS) $(SWOBJS) -- $(CC) $(CFLAGS) -o $@ $(COUNOBJS) $(SWOBJS) $(LFLAGS) -+ $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(COUNOBJS) $(SWOBJS) $(LIBS) - chmod o-r swat_counts - - swprobs: makefile $(PROBOBJS) -- $(CC) $(CFLAGS) -o $@ $(PROBOBJS) $(LFLAGS) -+ $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(PROBOBJS) $(LIBS) - - phrap: makefile phrap.o call_subs.o $(PHOBJS) $(SCANOBJS) $(SWOBJS) -- $(CC) $(CFLAGS) -o $@ phrap.o call_subs.o $(PHOBJS) $(SCANOBJS) $(SWOBJS) $(LFLAGS) -+ $(CC) $(LDFLAGS) $(CFLAGS) -o $@ phrap.o call_subs.o $(PHOBJS) $(SCANOBJS) $(SWOBJS) $(LIBS) - chmod o-r phrap - - gcphrap: makefile gcphrap.o gccall_subs.o $(PHOBJS) $(SCANOBJS) $(SWOBJS) $(JKBSWOBJS) -- $(CC) $(CFLAGS) -o $@ gcphrap.o gccall_subs.o $(PHOBJS) $(SCANOBJS) $(SWOBJS) $(JKBSWOBJS) $(LFLAGS) -+ $(CC) $(LDFLAGS) $(CFLAGS) -o $@ gcphrap.o gccall_subs.o $(PHOBJS) $(SCANOBJS) $(SWOBJS) $(JKBSWOBJS) $(LIBS) - chmod o-r gcphrap - - cross_match: makefile cross_match.o call_subs.o $(CROBJS) $(SCANOBJS) $(SWOBJS) -- $(CC) $(CFLAGS) -o $@ cross_match.o call_subs.o $(CROBJS) $(SCANOBJS) $(SWOBJS) $(LFLAGS) -+ $(CC) $(LDFLAGS) $(CFLAGS) -o $@ cross_match.o call_subs.o $(CROBJS) $(SCANOBJS) $(SWOBJS) $(LIBS) - chmod o-r cross_match - - gccross_match: makefile gccross_match.o gccall_subs.o $(CROBJS) $(SCANOBJS) $(SWOBJS) $(JKBSWOBJS) -- $(CC) $(CFLAGS) -o $@ gccross_match.o gccall_subs.o $(CROBJS) $(SCANOBJS) $(SWOBJS) $(JKBSWOBJS) $(LFLAGS) -+ $(CC) $(LDFLAGS) $(CFLAGS) -o $@ gccross_match.o gccall_subs.o $(CROBJS) $(SCANOBJS) $(SWOBJS) $(JKBSWOBJS) $(LIBS) - chmod o-r gccross_match - - cluster: makefile $(CLOBJS) call_subs.o $(SCANOBJS) $(SWOBJS) -- $(CC) $(CFLAGS) -o $@ $(CLOBJS) call_subs.o $(SCANOBJS) $(SWOBJS) $(LFLAGS) -+ $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(CLOBJS) call_subs.o $(SCANOBJS) $(SWOBJS) $(LIBS) - chmod o-r cluster - - loco: makefile $(LOCOOBJS) $(SWOBJS) -- $(CC) $(CFLAGS) -o $@ $(LOCOOBJS) $(SWOBJS) $(LFLAGS) -+ $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(LOCOOBJS) $(SWOBJS) $(LIBS) - chmod o-r loco - - erf_test: $(ERFOBJS) -- $(CC) $(CFLAGS) -o $@ $(ERFOBJS) $(LFLAGS) -+ $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(ERFOBJS) $(LIBS) - - loco.o: swat.h - -@@ -228,7 +227,7 @@ - anomalies.o: swat.h - - fast_smith_wat.s: fast_smith_wat.c -- cc -S -machine_code -source_listing -O3 fast_smith_wat.c -+ $(CC) $(CFLAGS) -S -machine_code -source_listing fast_smith_wat.c - #N.B. fast_smith_wat.s MUST BE EDITTED BEFORE USE!!! - - tig_node.o: swat.h ---- a/phrapview -+++ b/phrapview -@@ -1,4 +1,4 @@ --#!/usr/local/bin/perl -w -+#!/usr/bin/env perl - - - #/***************************************************************************** -@@ -25,6 +25,7 @@ - # - #*****************************************************************************/ - -+use warnings; - use strict; - use Tk; - #phrapview version 0.960731 diff --git a/sci-biology/phrap/metadata.xml b/sci-biology/phrap/metadata.xml deleted file mode 100644 index ccdff086e20b..000000000000 --- a/sci-biology/phrap/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci-biology@gentoo.org</email> - <name>Gentoo Biology Project</name> - </maintainer> -</pkgmetadata> diff --git a/sci-biology/phrap/phrap-1.080812-r2.ebuild b/sci-biology/phrap/phrap-1.080812-r2.ebuild deleted file mode 100644 index 08ea5a1fb71f..000000000000 --- a/sci-biology/phrap/phrap-1.080812-r2.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit toolchain-funcs - -DESCRIPTION="Shotgun assembly and alignment utilities" -HOMEPAGE="http://www.phrap.org/" -SRC_URI="phrap-${PV}-distrib.tar.gz" - -LICENSE="phrap" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND="" -RDEPEND=" - dev-lang/perl - dev-perl/Tk" - -S="${WORKDIR}" - -RESTRICT="fetch" -PATCHES=( "${FILESDIR}/${PN}-1.080812-fix-build-system.patch" ) - -pkg_nofetch() { - einfo "Please visit http://www.phrap.org/phredphrapconsed.html and obtain the file" - einfo "\"distrib.tar.gz\", then rename it to \"phrap-${PV}-distrib.tar.gz\"" - einfo "and put it into your DISTDIR directory." -} - -src_compile() { - emake CC="$(tc-getCC)" \ - CFLAGS="${CFLAGS}" \ - LDFLAGS="${LDFLAGS}" -} - -src_install() { - dobin cross_match loco phrap phrapview swat - newbin cluster cluster_phrap - - local i - for i in {general,phrap,swat}.doc; do - newdoc ${i} ${i}.txt - done -} diff --git a/sci-biology/phred/Manifest b/sci-biology/phred/Manifest deleted file mode 100644 index 1c0aa1a3ee91..000000000000 --- a/sci-biology/phred/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST phred-dist-071220.b-acd.tar.gz 357767 BLAKE2B ae1180f54eaa3631a4e32c2ffe388b35745302e3d014c8fa893119e7e488d4bb4316f7ee0588cd12db5cbbc23033f689f4a0a487cdc7fe42e8c7a67ceb3c43ae SHA512 0a6b0a733e6dcc0495eaab720b75f8e5815df494d0a773b8b8336d5208321c2ba475921084835a769367ec51aed156585ab97346a510100d4337e3215ec75276 diff --git a/sci-biology/phred/files/phred-071220-fix-build-system.patch b/sci-biology/phred/files/phred-071220-fix-build-system.patch deleted file mode 100644 index 997f39941a07..000000000000 --- a/sci-biology/phred/files/phred-071220-fix-build-system.patch +++ /dev/null @@ -1,82 +0,0 @@ -* Fix build system to honour CC, CFLAGS, CPPFLAGS and LDFLAGS -* Specify a default target, in order to keep the ebuild slim - ---- a/Makefile -+++ b/Makefile -@@ -12,9 +12,9 @@ - - # UNIX specific definitions (default) - # --CC= cc --CFLAGS= -O -DANSI_C $(LXFLAGS) --CLIB= -lm -+CC ?= cc -+CPPFLAGS += -DANSI_C $(LXFLAGS) -+LIBS += -lm - - # Windows 'nmake' specific definitions - # -@@ -133,9 +133,6 @@ - $(objdir)writeSDF.o \ - $(objdir)writeSeq.o - --SRCS = $(OBJS:.o=.c) --WOBJ = $(OBJS:.o=.obj) -- - INCS = \ - $(incdir)chromatData.h \ - $(incdir)freeChromatData.h \ -@@ -179,48 +176,18 @@ - # UNIX make specific phred target - # note: a horizontal tab character must precede `$(CC)' - # --phred: $(OBJS) -- $(CC) $(CFLAGS) -o phred $(OBJS) $(CLIB) - - --# Windows nmake specific phred target --# --forwindows: $(WOBJ) -- $(CC) $(CFLAGS) /Fephred $(WOBJ) --# $(CC) $(CFLAGS) /Fedaev daev.c -+.PHONY: all -+all: phred daev - - --# test CC: refuse to compile if --# --# o SunOS --# --# AND --# --# o using /usr/ucb/cc compiler --# --# NOTE: this compiler causes problems: see PHRED.DOC --# --test_cc: -- @if [ `uname` = SunOS ] ; \ -- then \ -- if [ `which $(CC)` = "/usr/ucb/cc" ] ; \ -- then \ -- echo ""; \ -- echo "============================================================"; \ -- echo "| |"; \ -- echo "| This SUN C compiler produces a bad phred executable. |"; \ -- echo "| |"; \ -- echo "| Please see the PHRED.DOC file for more information. |"; \ -- echo "| |"; \ -- echo "============================================================"; \ -- echo ""; \ -- exit 1; \ -- fi \ -- fi -+phred: $(OBJS) -+ $(CC) $(LDFLAGS) $(CFLAGS) -o phred $^ $(LIBS) - - - daev: daev.o -- $(CC) $(CFLAGS) -o daev daev.o -lm -+ $(CC) $(LDFLAGS) $(CFLAGS) -o daev $^ $(LIBS) - - - clean: diff --git a/sci-biology/phred/files/phred-071220-fix-qa.patch b/sci-biology/phred/files/phred-071220-fix-qa.patch deleted file mode 100644 index ab4d2ea023f6..000000000000 --- a/sci-biology/phred/files/phred-071220-fix-qa.patch +++ /dev/null @@ -1,36 +0,0 @@ -Fix implicit declarations: -* daev.c: In function ‘processParameters’: -* daev.c:849:14: warning: implicit declaration of function ‘isdigit’ [-Wimplicit-function-declaration] -* if( !isdigit( argv[iarg][0] ) ) - ---- a/autoPhred.c -+++ b/autoPhred.c -@@ -57,6 +57,7 @@ - static int xstrcmp(); - #endif - -+int freeMBRData( MBRData *mbrData ); - #ifdef ANSI_C - int autoPhred( Option *option ) - #else ---- a/daev.c -+++ b/daev.c -@@ -58,6 +58,7 @@ - #include <sys/stat.h> - #include <time.h> - #include <math.h> -+#include <ctype.h> - - #ifndef _WIN32 - #include <dirent.h> ---- a/mergedBaseRead.c -+++ b/mergedBaseRead.c -@@ -63,7 +63,7 @@ - Peak *peak; - Observed_peak *obs_peak; - -- static initFlag = 0; -+ static int initFlag = 0; - static char mchar[256][256]; - - if( initFlag == 0 ) diff --git a/sci-biology/phred/metadata.xml b/sci-biology/phred/metadata.xml deleted file mode 100644 index ccdff086e20b..000000000000 --- a/sci-biology/phred/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci-biology@gentoo.org</email> - <name>Gentoo Biology Project</name> - </maintainer> -</pkgmetadata> diff --git a/sci-biology/phred/phred-071220-r2.ebuild b/sci-biology/phred/phred-071220-r2.ebuild deleted file mode 100644 index 2d33df654a1b..000000000000 --- a/sci-biology/phred/phred-071220-r2.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit toolchain-funcs - -DESCRIPTION="A base caller for Sanger DNA sequencing" -HOMEPAGE="http://phrap.org/phredphrapconsed.html" -SRC_URI="${PN}-dist-${PV}.b-acd.tar.gz" -S="${WORKDIR}" - -LICENSE="phrap" -SLOT="0" -KEYWORDS="~amd64 ~x86" -RESTRICT="fetch" - -PATCHES=( - "${FILESDIR}"/${PN}-071220-fix-build-system.patch - "${FILESDIR}"/${PN}-071220-fix-qa.patch -) - -pkg_nofetch() { - einfo "Please visit ${HOMEPAGE} and obtain the file" - einfo "${SRC_URI}, then place it into your DISTDIR directory." -} - -src_compile() { - emake CC="$(tc-getCC)" \ - CFLAGS="${CFLAGS}" \ - LDFLAGS="${LDFLAGS}" -} - -src_install() { - dobin phred daev - - insinto /usr/share/phred - doins phredpar.dat - - newenvd - 99phred <<- EOF - PHRED_PARAMETER_FILE="${EPREFIX}/usr/share/phred/phredpar.dat" - EOF - - newdoc DAEV.DOC DAEV.DOC.txt - newdoc PHRED.DOC PHRED.DOC.txt -} diff --git a/sci-biology/pysam/Manifest b/sci-biology/pysam/Manifest index f1a1fe7298b7..fc19ef776276 100644 --- a/sci-biology/pysam/Manifest +++ b/sci-biology/pysam/Manifest @@ -1 +1 @@ -DIST pysam-0.19.1.gh.tar.gz 3649711 BLAKE2B dac3ab5a86ef95048e966fc007a0aa1c96ca8498f7c2672c2ed024f34b508bac42048e58b8ae0b538cea137a51e1874bb5c2c4976c7f3dc657a4c2cf5f9a27fb SHA512 719f3a15e7dd277a90cce7f938b674ff86ef6b8f2d3440c3a0bf2ea22c4fbc2b3c9e0cf297d958c99e09dcd6e9905f32e8c632158aa8d5af8210e79705e1c479 +DIST pysam-0.20.0.gh.tar.gz 3748498 BLAKE2B 1c1b99e5ec34641c196dd574e634cc87d49baa594243eca20ad1f99d2c01b8aadead70a729f389c93cf6f5e95f20d9c7e3d050a47821d1b0dcaaff39d88e6825 SHA512 3f8402057e1d5c807886d1d38180dbdbfa8557700fa97bd59cb42df4d7cc461dcbe54808a169ba5f9696651e801fd0431480cd033b601cd4e9c11bf8bbf14e49 diff --git a/sci-biology/pysam/pysam-0.19.1.ebuild b/sci-biology/pysam/pysam-0.20.0.ebuild index 41afb5307775..6372f1602f70 100644 --- a/sci-biology/pysam/pysam-0.19.1.ebuild +++ b/sci-biology/pysam/pysam-0.20.0.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{8..11} ) +PYTHON_COMPAT=( python3_{9..11} ) inherit distutils-r1 @@ -17,14 +17,14 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" -RDEPEND="=sci-libs/htslib-1.15.1*:=" +RDEPEND="=sci-libs/htslib-1.16*:=" DEPEND="${RDEPEND} dev-python/cython[${PYTHON_USEDEP}] dev-python/setuptools[${PYTHON_USEDEP}]" BDEPEND=" test? ( - =sci-biology/bcftools-1.15.1* - =sci-biology/samtools-1.15.1* + =sci-biology/bcftools-1.16* + =sci-biology/samtools-1.16* )" distutils_enable_tests pytest @@ -35,6 +35,9 @@ EPYTEST_DESELECT=( # only work with bundled htslib 'tests/tabix_test.py::TestRemoteFileHTTP' 'tests/tabix_test.py::TestRemoteFileHTTPWithHeader' + # broken test + # https://github.com/pysam-developers/pysam/issues/1151#issuecomment-1365662253 + 'tests/AlignmentFilePileup_test.py::TestPileupObjects::testIteratorOutOfScope' ) python_prepare_all() { diff --git a/sci-biology/samtools/Manifest b/sci-biology/samtools/Manifest index 0ff07e0d4f83..098c93fb112b 100644 --- a/sci-biology/samtools/Manifest +++ b/sci-biology/samtools/Manifest @@ -1,2 +1,2 @@ DIST samtools-0.1.20.tar.gz 566387 BLAKE2B a62d74c408877754af50f5e5fea0e2289ec1e0c9f25013ed0d039bfe8ef61108600d917f8c9d356e98aca632795b4eb0f01ea1b54526a652577fb74a38a433c2 SHA512 15bd8cf401d14c1ab4faa591b6054f5ea9731c4e966f37f71d33d9081a270cfeb91e8a3d80c631e0725b49da81387f824c206e8c21553ad554d0cfc5c238a6e5 -DIST samtools-1.15.1.tar.bz2 7831692 BLAKE2B 0fe94ff05075b219c77d0da8500c64bdffd53927950b5a67f8708c5c326ebc90a40c193b3bcf0baf3d09baed6fa596d9d024cb529340c6887de88614c9ff4bd6 SHA512 54a8a394b6b5231bd942236ec353027caaf48b4552a00b35573a1e71d680320d8140a73409bb76066c82e86fe62cf74f2f8f2f1a1e4aec96e4e8b9aff0d44a46 +DIST samtools-1.16.1.tar.bz2 8217689 BLAKE2B 51ca62655d1f43dd0c6f9bd38b323b8a9d8f7486ce42496e21186da06ea881d94e096214720f3fb8d1dd12d7a23881bc3b25e27b1a845d56157ac7ffda7130c1 SHA512 f9d6b8652234c782a1b369f028073ad4a66c44e9620ae60f0ecb35e0874f04ca633713078b692fdc1a1cc4f884ebdbf3ecae6881f11fb3b4fd3d27c5b8da67ba diff --git a/sci-biology/samtools/samtools-1.15.1.ebuild b/sci-biology/samtools/samtools-1.16.1.ebuild index 21d2b8a5077d..8047657df992 100644 --- a/sci-biology/samtools/samtools-1.15.1.ebuild +++ b/sci-biology/samtools/samtools-1.16.1.ebuild @@ -15,7 +15,7 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x64-macos" RDEPEND=" dev-lang/perl - =sci-libs/htslib-${PV}*:= + =sci-libs/htslib-$(ver_cut 1-2)*:= sys-libs/ncurses:=[unicode(+)] sys-libs/zlib" DEPEND="${RDEPEND}" diff --git a/sci-biology/seqan/Manifest b/sci-biology/seqan/Manifest index f9ddca8ef871..ed2aa485711a 100644 --- a/sci-biology/seqan/Manifest +++ b/sci-biology/seqan/Manifest @@ -1,2 +1 @@ -DIST seqan-v2.4.0.tar.gz 109626901 BLAKE2B a10b5ee9a95667f560a8c2aec3808131f5f838f3c07d56584f4b29e9622912bf3d00b958b02db7c9d62dd52d9d08a171abcccef7f50cddf0407538168cf2c592 SHA512 f92cfc97304581920850c5d49fe4336f7c3855e99c3bcb035b6172fa7307e08e6f06fb06d1cd8f5b447c3220fc7f669684fbfe25641b43e9f6953999cf9ddd4b DIST seqan3-3.1.0-Source.tar.xz 2656120 BLAKE2B 6a18844f62d935fdbd7008822f83ffeefd596e93b704a8c7b0f478dec87b2265ff532be107ebfd1adc248e2b1db65e4b86cdce2e989c7ac097054d43633a24bd SHA512 686d0ffbe32951e7f831e399a3eab35b7249f45408b7de27ee9cfd6a012215603f033afa6082c8a81783de1cc7c93d3ffbae42cabc122d3b77988c236a049ffd diff --git a/sci-biology/seqan/files/seqan-2.4.0-cmake-add_library-static.patch b/sci-biology/seqan/files/seqan-2.4.0-cmake-add_library-static.patch deleted file mode 100644 index 7617d9f9a665..000000000000 --- a/sci-biology/seqan/files/seqan-2.4.0-cmake-add_library-static.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 1877d143ad9f42d80692073538e3f32b37e15967 Mon Sep 17 00:00:00 2001 -From: Andreas Sturmlechner <asturm@gentoo.org> -Date: Sun, 7 Mar 2021 19:35:44 +0100 -Subject: [PATCH] Fix linking with BUILD_SHARED_LIBS=ON default in EAPI-7 - -Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> ---- - apps/mason2/CMakeLists.txt | 2 +- - apps/pair_align/lib/CMakeLists.txt | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/apps/mason2/CMakeLists.txt b/apps/mason2/CMakeLists.txt -index 2218187..c042ea7 100644 ---- a/apps/mason2/CMakeLists.txt -+++ b/apps/mason2/CMakeLists.txt -@@ -52,7 +52,7 @@ add_definitions (-DSEQAN_REVISION="${SEQAN_REVISION}") - add_definitions (-DSEQAN_DATE="${SEQAN_DATE}") - - # We define a library for the reusable parts of Mason. --add_library (mason_sim -+add_library (mason_sim STATIC - external_split_merge.h - external_split_merge.cpp - fragment_generation.h -diff --git a/apps/pair_align/lib/CMakeLists.txt b/apps/pair_align/lib/CMakeLists.txt -index 75faef7..3b9576e 100644 ---- a/apps/pair_align/lib/CMakeLists.txt -+++ b/apps/pair_align/lib/CMakeLists.txt -@@ -53,5 +53,5 @@ endforeach(GAPS_T) - - # This part can be used instead for cmake version greater or equal to 2.8.8. - # This requires to update the script above as well. --add_library(pair_align_lib pair_align_lib.cpp pair_align_lib.h ${LIB_TARGETS}) -+add_library(pair_align_lib STATIC pair_align_lib.cpp pair_align_lib.h ${LIB_TARGETS}) - target_link_libraries(pair_align_lib ${SEQAN_LIBRARIES}) --- -2.30.1 - diff --git a/sci-biology/seqan/files/seqan-2.4.0-fix-pthread.patch b/sci-biology/seqan/files/seqan-2.4.0-fix-pthread.patch deleted file mode 100644 index b5e4b3642d42..000000000000 --- a/sci-biology/seqan/files/seqan-2.4.0-fix-pthread.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- a/util/cmake/seqan-config.cmake -+++ b/util/cmake/seqan-config.cmake -@@ -307,7 +307,8 @@ - - # some OSes don't link pthread fully when building statically so we explicitly include whole archive - if (UNIX AND NOT APPLE) -- set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--whole-archive -lpthread -Wl,--no-whole-archive") -+ find_package (Threads) -+ set (SEQAN_LIBRARIES ${SEQAN_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT}) - endif () - - if ((${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD") OR (${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD")) diff --git a/sci-biology/seqan/files/seqan-2.4.0-installpaths.patch b/sci-biology/seqan/files/seqan-2.4.0-installpaths.patch deleted file mode 100644 index 35f0718f9d8d..000000000000 --- a/sci-biology/seqan/files/seqan-2.4.0-installpaths.patch +++ /dev/null @@ -1,24 +0,0 @@ ---- a/util/cmake/SeqAnBuildSystem.cmake 2018-01-11 12:32:45.591134000 +0100 -+++ b/util/cmake/SeqAnBuildSystem.cmake 2018-01-11 12:51:55.193282581 +0100 -@@ -399,10 +399,10 @@ - # Install pkg-config file, except on Windows. - if (NOT CMAKE_SYSTEM_NAME MATCHES Windows) - configure_file("util/pkgconfig/seqan.pc.in" "${CMAKE_BINARY_DIR}/util/pkgconfig/seqan-${SEQAN_VERSION_MAJOR}.pc" @ONLY) -- install(FILES "${CMAKE_BINARY_DIR}/util/pkgconfig/seqan-${SEQAN_VERSION_MAJOR}.pc" DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/pkgconfig) -+ install(FILES "${CMAKE_BINARY_DIR}/util/pkgconfig/seqan-${SEQAN_VERSION_MAJOR}.pc" DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig) - endif (NOT CMAKE_SYSTEM_NAME MATCHES Windows) - # Install FindSeqAn TODO(h-2) rename seqan-config.cmake to seqan-config${SEQAN_VERSION_MAJOR}.cmake after 2.x cycle -- install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/util/cmake/seqan-config.cmake" DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/cmake/seqan/) -+ install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/util/cmake/seqan-config.cmake" DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/seqan2/) - - # Install headers - file (GLOB HEADERS -@@ -473,7 +473,7 @@ - set (CMAKE_INSTALL_DOCDIR "${CMAKE_INSTALL_DATAROOTDIR}/doc" CACHE STRING "Documentation root (DATAROOTDIR/doc)" FORCE) - endif () - set (SEQAN_PREFIX_SHARE "${CMAKE_INSTALL_DATADIR}/${APP_NAME}") -- set (SEQAN_PREFIX_SHARE_DOC "${CMAKE_INSTALL_DOCDIR}/${APP_NAME}") -+ set (SEQAN_PREFIX_SHARE_DOC "${CMAKE_INSTALL_DOCDIR}/examples/") - endif () - endmacro (seqan_setup_install_vars) - diff --git a/sci-biology/seqan/metadata.xml b/sci-biology/seqan/metadata.xml index 7b3d5730b341..bdabd1d83788 100644 --- a/sci-biology/seqan/metadata.xml +++ b/sci-biology/seqan/metadata.xml @@ -5,7 +5,4 @@ <email>sci-biology@gentoo.org</email> <name>Gentoo Biology Project</name> </maintainer> - <use> - <flag name="tools">Build and install SeqAn commandline tools, such as the Yara aligner</flag> - </use> </pkgmetadata> diff --git a/sci-biology/seqan/seqan-2.4.0-r1.ebuild b/sci-biology/seqan/seqan-2.4.0-r1.ebuild deleted file mode 100644 index 933b55e04eab..000000000000 --- a/sci-biology/seqan/seqan-2.4.0-r1.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake multibuild toolchain-funcs - -DESCRIPTION="C++ Sequence Analysis Library" -HOMEPAGE="https://www.seqan.de/" - -if [[ ${PV} == *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/seqan/seqan.git" - EGIT_BRANCH="develop" -else - SRC_URI="https://github.com/seqan/seqan/archive/seqan-v${PV}.tar.gz" - KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" - S="${WORKDIR}"/seqan-seqan-v${PV} -fi - -LICENSE="BSD GPL-3" -SLOT="0" -IUSE="cpu_flags_x86_sse4_1 tools" -REQUIRED_USE="cpu_flags_x86_sse4_1" - -RDEPEND=" - app-arch/bzip2:= - sys-libs/zlib - !!sci-biology/seqan:2.0 - !!sci-biology/seqan:2.1 - !!sci-biology/seqan:2.2" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}"/${P}-fix-pthread.patch - "${FILESDIR}"/${P}-installpaths.patch - "${FILESDIR}"/${P}-cmake-add_library-static.patch -) - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use tools && tc-check-openmp -} - -pkg_setup() { - if [[ ${MERGE_TYPE} != binary ]]; then - use tools && tc-check-openmp - - MULTIBUILD_VARIANTS=( $(usev tools) library ) - fi -} - -src_configure() { - my_configure() { - local mycmakeargs=( - -DSEQAN_NO_DOX=ON - ) - case "${MULTIBUILD_ID}" in - tools) - mycmakeargs+=( - -DSEQAN_BUILD_SYSTEM=SEQAN_RELEASE_APPS - ) - ;; - library) - mycmakeargs+=( - -DSEQAN_BUILD_SYSTEM=SEQAN_RELEASE_LIBRARY - ) - ;; - *) - die "${MULTIBUILD_ID} is not recognized" - ;; - esac - cmake_src_configure - } - multibuild_foreach_variant my_configure -} - -src_compile() { - multibuild_foreach_variant cmake_src_compile -} - -src_install() { - multibuild_foreach_variant cmake_src_install -} |