# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 PYTHON_COMPAT=( python3_{7,8,9} ) inherit python-single-r1 toolchain-funcs MY_P="ncbi-blast-${PV}+-src" # workdir/ncbi-blast-2.2.30+-src # ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.30/ncbi-blast-2.2.30+-src.tar.gz # ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/LATEST/ncbi-blast-2.3.0+-src.tar.gz DESCRIPTION="A subset of NCBI C++ Toolkit containing just the NCBI BLAST+" HOMEPAGE="https://ncbi.github.io/cxx-toolkit/" SRC_URI=" ftp://ftp.ncbi.nih.gov/blast/executables/blast+/${PV}/${MY_P}.tar.gz" # http://dev.gentoo.org/~jlec/distfiles/${PN}-${PV#0.}-asneeded.patch.xz" # should also install ftp://ftp.ncbi.nlm.nih.gov/blast/db/taxdb.tar.gz # see http://www.biostars.org/p/76551/ and http://blastedbio.blogspot.cz/2012/05/blast-tabular-missing-descriptions.html LICENSE="public-domain" SLOT="0" IUSE=" debug static-libs static threads pch test wxwidgets odbc berkdb boost bzip2 cppunit curl expat fltk freetype gif glut gnutls hdf5 icu jpeg lzo mesa mysql muparser opengl pcre png python sablotron sqlite tiff xerces xalan xml xpm xslt X" KEYWORDS="~amd64 ~x86" RESTRICT="!test? ( test )" REQUIRED_USE="${PYTHON_REQUIRED_USE}" # sys-libs/db should be compiled with USE=cxx DEPEND=" ${S}/99${PN} doenvd "${S}/99${PN}" } pkg_postinst() { einfo 'Please run "source /etc/profile" before using this package in the current shell.' einfo 'Documentation is at http://www.ncbi.nlm.nih.gov/books/NBK7167/' }