From: "Horea Christian" <horea.christ@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/wannier90/
Date: Mon, 28 Sep 2020 10:12:21 +0000 (UTC) [thread overview]
Message-ID: <1601287705.42c49460f202ef0b13e5d091e5c0258417101876.chymera@gentoo> (raw)
commit: 42c49460f202ef0b13e5d091e5c0258417101876
Author: Horea Christian <chr <AT> chymera <DOT> eu>
AuthorDate: Mon Sep 28 10:08:25 2020 +0000
Commit: Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Mon Sep 28 10:08:25 2020 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=42c49460
sci-libs/wannier90: rm old version and doc USE due to missing dep
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Horea Christian <chr <AT> chymera.eu>
sci-libs/wannier90/wannier90-1.2-r3.ebuild | 70 -----------------------------
sci-libs/wannier90/wannier90-2.0.1.1.ebuild | 27 ++---------
sci-libs/wannier90/wannier90-2.0.1.ebuild | 15 ++-----
3 files changed, 6 insertions(+), 106 deletions(-)
diff --git a/sci-libs/wannier90/wannier90-1.2-r3.ebuild b/sci-libs/wannier90/wannier90-1.2-r3.ebuild
deleted file mode 100644
index 952c9baaf..000000000
--- a/sci-libs/wannier90/wannier90-1.2-r3.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils fortran-2 multilib toolchain-funcs
-
-DESCRIPTION="Calculates maximally localized Wannier functions (MLWFs)"
-HOMEPAGE="http://www.wannier.org/"
-SRC_URI="http://wannier.org/code/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux"
-IUSE="doc examples perl static-libs test"
-
-RDEPEND="
- virtual/blas
- virtual/lapack
- perl? ( dev-lang/perl )"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- doc? ( virtual/latex-base
- dev-texlive/texlive-latexextra
- )"
-
-src_prepare() {
- # Patch taken from sci-physics/abinit-5.7.3 bundled version
- epatch \
- "${FILESDIR}"/${PN}-1.1-0001.patch \
- "${FILESDIR}"/${PN}-1.1-0002.patch
-}
-
-src_configure() {
- cat <<- EOF >> "${S}"/make.sys
- F90 = $(tc-getFC)
- FCOPTS = ${FCFLAGS:- ${FFLAGS:- -O2}}
- LDOPTS = ${LDFLAGS}
- LIBS = $($(tc-getPKG_CONFIG) --libs blas lapack)
- EOF
-}
-
-src_compile() {
- emake -j1 wannier
- emake -j1 lib
- if use doc; then
- VARTEXFONTS="${T}/fonts"
- emake -j1 doc
- fi
-}
-
-src_test() {
- einfo "Compare the 'Standard' and 'Current' outputs of this test."
- cd tests
- emake test
- cat wantest.log
-}
-
-src_install() {
- dobin wannier90.x
- use perl && dobin utility/kmesh.pl
- use static-libs && dolib.a libwannier.a
- doheader src/*.mod
- if use examples; then
- insinto /usr/share/${PN}
- doins -r examples
- fi
- use doc && dodoc doc/*.pdf
- dodoc README README.install CHANGE.log
-}
diff --git a/sci-libs/wannier90/wannier90-2.0.1.1.ebuild b/sci-libs/wannier90/wannier90-2.0.1.1.ebuild
index cd58f4bcd..096bf6645 100644
--- a/sci-libs/wannier90/wannier90-2.0.1.1.ebuild
+++ b/sci-libs/wannier90/wannier90-2.0.1.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -13,7 +13,7 @@ SRC_URI="https://launchpad.net/${PN}/2.0/${PV}/+download/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux"
-IUSE="doc mpi perl test"
+IUSE="mpi perl test"
RDEPEND="
virtual/blas
@@ -21,10 +21,7 @@ RDEPEND="
perl? ( dev-lang/perl )"
DEPEND="${RDEPEND}
virtual/pkgconfig
- doc? ( virtual/latex-base
- dev-texlive/texlive-latexextra
- dev-tex/revtex
- )"
+"
pkg_setup() {
# fortran-2.eclass does not handle mpi wrappers
@@ -60,18 +57,6 @@ src_compile() {
pushd "${BUILD_DIR}"/utility > /dev/null || die
emake || die "emake in utility failed"
popd > /dev/null || die
- if use doc; then
- VARTEXFONTS="${T}/fonts"
- pushd "${BUILD_DIR}"/doc/user_guide > /dev/null || die
- emake || die 'emake in doc/user_guide failed'
- cd "${BUILD_DIR}"/doc/tutorial
- emake || die 'emake in doc/tutorial failed'
- cd "${BUILD_DIR}"/utility/w90vdw/doc
- emake || die 'emake in utility/w90vdw/doc failed'
- cd "${BUILD_DIR}"/utility/w90pov/doc
- emake || die 'emake in utility/w90pov/doc failed'
- popd > /dev/null || die
- fi
}
src_test() {
@@ -87,10 +72,4 @@ src_install() {
dobin "${BUILD_DIR}"/utility/w90pov/src/w90pov.x
dobin "${BUILD_DIR}"/utility/PL_assessment/w90_pl_assess.x
use perl && dobin "$S"/utility/w90_kmesh.pl
- if use doc; then
- dodoc "${BUILD_DIR}"/doc/tutorial/tutorial.pdf
- dodoc "${BUILD_DIR}"/doc/user_guide/user_guide.pdf
- dodoc "${BUILD_DIR}"/utility/w90vdw/doc/w90vdw.pdf
- dodoc "${BUILD_DIR}"/utility/w90pov/doc/w90pov.pdf
- fi
}
diff --git a/sci-libs/wannier90/wannier90-2.0.1.ebuild b/sci-libs/wannier90/wannier90-2.0.1.ebuild
index 3eafd6a88..fe9e598fe 100644
--- a/sci-libs/wannier90/wannier90-2.0.1.ebuild
+++ b/sci-libs/wannier90/wannier90-2.0.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -12,7 +12,7 @@ SRC_URI="http://wannier.org/code/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux"
-IUSE="doc examples perl static-libs test"
+IUSE="examples perl static-libs test"
RDEPEND="
virtual/blas
@@ -20,10 +20,7 @@ RDEPEND="
perl? ( dev-lang/perl )"
DEPEND="${RDEPEND}
virtual/pkgconfig
- doc? ( virtual/latex-base
- dev-texlive/texlive-latexextra
- dev-tex/revtex
- )"
+"
src_configure() {
cat <<- EOF >> "${S}"/make.sys
@@ -37,10 +34,6 @@ src_configure() {
src_compile() {
emake -j1 wannier
emake -j1 lib
- if use doc; then
- VARTEXFONTS="${T}/fonts"
- emake -j1 doc
- fi
}
src_test() {
@@ -59,6 +52,4 @@ src_install() {
insinto /usr/share/${PN}
doins -r examples
fi
- use doc && dodoc doc/*.pdf
- dodoc README README.install CHANGE.log
}
next reply other threads:[~2020-09-28 10:12 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-28 10:12 Horea Christian [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-12-16 10:57 [gentoo-commits] proj/sci:master commit in: sci-libs/wannier90/ Andrew Ammerlaan
2021-01-30 10:49 Andrew Ammerlaan
2021-01-19 16:56 Andrew Ammerlaan
2020-09-28 10:12 Horea Christian
2015-04-22 14:43 Honza Macháček
2014-12-10 9:47 Honza Macháček
2014-11-15 0:21 Christoph Junghans
2013-09-26 9:41 Honza Macháček
2013-09-19 13:27 ` Honza Macháček
2013-09-20 9:48 Justin Lecher
2013-02-22 10:15 Justin Lecher
2012-06-22 22:44 Alexey Shvetsov
2011-09-04 12:41 Alexey Shvetsov
2011-06-21 11:54 Justin Lecher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1601287705.42c49460f202ef0b13e5d091e5c0258417101876.chymera@gentoo \
--to=horea.christ@gmail.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox