jlec 14/05/19 08:48:08 Modified: metadata.xml ChangeLog Added: shelx-20060317-r2.ebuild Log: sci-chemistry/shelx: Bump to EAPI=5, add missing die, add prefix support (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
Revision Changes Path 1.7 sci-chemistry/shelx/metadata.xml file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/shelx/metadata.xml?rev=1.7&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/shelx/metadata.xml?rev=1.7&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/shelx/metadata.xml?r1=1.6&r2=1.7 Index: metadata.xml =================================================================== RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/shelx/metadata.xml,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- metadata.xml 19 Oct 2012 10:29:30 -0000 1.6 +++ metadata.xml 19 May 2014 08:48:08 -0000 1.7 @@ -1,9 +1,9 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <herd>sci-chemistry</herd> - <use> - <flag name="dosformat">Use CR/LF to end lines; useful in mixed Linux/Windows + <herd>sci-chemistry</herd> + <use> + <flag name="dosformat">Use CR/LF to end lines; useful in mixed Linux/Windows environments</flag> - </use> + </use> </pkgmetadata> 1.23 sci-chemistry/shelx/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/shelx/ChangeLog?rev=1.23&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/shelx/ChangeLog?rev=1.23&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/shelx/ChangeLog?r1=1.22&r2=1.23 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/shelx/ChangeLog,v retrieving revision 1.22 retrieving revision 1.23 diff -u -r1.22 -r1.23 --- ChangeLog 19 Oct 2012 10:29:30 -0000 1.22 +++ ChangeLog 19 May 2014 08:48:08 -0000 1.23 @@ -1,6 +1,12 @@ # ChangeLog for sci-chemistry/shelx -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/shelx/ChangeLog,v 1.22 2012/10/19 10:29:30 jlec Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/shelx/ChangeLog,v 1.23 2014/05/19 08:48:08 jlec Exp $ + +*shelx-20060317-r2 (19 May 2014) + + 19 May 2014; Justin Lecher <[email protected]> +shelx-20060317-r2.ebuild, + metadata.xml: + Bump to EAPI=5, add missing die, add prefix support 19 Oct 2012; Justin Lecher <[email protected]> shelx-20060317-r1.ebuild, metadata.xml: 1.1 sci-chemistry/shelx/shelx-20060317-r2.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/shelx/shelx-20060317-r2.ebuild?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/shelx/shelx-20060317-r2.ebuild?rev=1.1&content-type=text/plain Index: shelx-20060317-r2.ebuild =================================================================== # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sci-chemistry/shelx/shelx-20060317-r2.ebuild,v 1.1 2014/05/19 08:48:08 jlec Exp $ EAPI=5 inherit autotools eutils fortran-2 flag-o-matic toolchain-funcs DESCRIPTION="Programs for crystal structure determination from single-crystal diffraction data" HOMEPAGE="http://shelx.uni-ac.gwdg.de/SHELX/" SRC_URI=" ${P}.tgz openmp? ( ${P}-mp.tgz )" SLOT="0" LICENSE="free-noncomm" KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" IUSE="dosformat openmp" S="${WORKDIR}/unix" RESTRICT="fetch" pkg_nofetch() { elog "Go to ${HOMEPAGE}" elog "Fill out the application form, and send it in." elog "Download unix.tgz, rename it to ${P}.tgz," use openmp && elog "download mp.tgz, rename it to ${P}-mp.tgz," elog "and place renamed tarballs in ${DISTDIR}." } src_prepare() { EPATCH_OPTS="-p1" \ epatch \ "${FILESDIR}"/${PV}-autotool.patch \ "${FILESDIR}"/${PV}-gfortran.patch if use openmp; then for i in shelxh shelxlv; do cp "${WORKDIR}"/mp/${i}_omp.f "${WORKDIR}"/unix/${i}.f || die done fi sed -i \ -e "s:CIFDIR='/usr/local/bin/':CIFDIR='${EPREFIX}/usr/share/${PN}/':g" \ "${S}"/ciftab.f || die if use dosformat; then sed -i \ -e "s/KD=CHAR(32)/KD=CHAR(13)/g" \ "${S}"/*f fi cd "${S}" || die eautoreconf } src_configure() { case $(tc-getF77) in *gfortran) append-flags -fopenmp ;; ifort) append-flags -openmp ;; *) ewarn "Please add any necessary OpenMP build flags to F77FLAGS." ;; esac econf \ FC="$(tc-getFC)" } pkg_info() { use openmp && einfo "Set OMP_NUM_THREADS to the number of threads you want." } pkg_postinst() { pkg_info }
