sci-chemistry/votca-xtp: Fix EAPI-7 bump, drop unused multilib

CMAKE_MAKEFILE_GENERATOR=ninja is default in EAPI-7/cmake.eclass
Use https
Use double brackets
Sort RDEPEND
Use BDEPEND

Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner 2021-02-28 14:03:57 +01:00
parent 700140c89f
commit fb448cd504
No known key found for this signature in database
GPG Key ID: 508AA000E0EE83E0
2 changed files with 26 additions and 30 deletions

View File

@ -3,35 +3,33 @@
EAPI=7
CMAKE_MAKEFILE_GENERATOR="ninja"
inherit bash-completion-r1 cmake
inherit bash-completion-r1 cmake multilib
IUSE=""
if [ "${PV}" != "9999" ]; then
if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/${PN/-//}.git"
else
SRC_URI="https://github.com/${PN/-//}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86 ~amd64-linux"
S="${WORKDIR}/${P#votca-}"
else
inherit git-r3
EGIT_REPO_URI="https://github.com/${PN/-//}.git"
fi
DESCRIPTION="Votca excitation and charge properties module"
HOMEPAGE="http://www.votca.org"
HOMEPAGE="https://www.votca.org/"
LICENSE="Apache-2.0"
SLOT="0"
IUSE=""
RDEPEND="
~sci-libs/votca-tools-${PV}
>=dev-cpp/eigen-3.3
sci-libs/hdf5[cxx]
~sci-chemistry/votca-csg-${PV}
sci-libs/libxc"
DEPEND="${RDEPEND}
virtual/pkgconfig"
sci-libs/hdf5[cxx]
sci-libs/libxc
~sci-libs/votca-tools-${PV}
"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
DOCS=( README.md NOTICE CHANGELOG.md )

View File

@ -3,35 +3,33 @@
EAPI=7
CMAKE_MAKEFILE_GENERATOR="ninja"
inherit bash-completion-r1 cmake
inherit bash-completion-r1 cmake multilib
IUSE=""
if [ "${PV}" != "9999" ]; then
if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/${PN/-//}.git"
else
SRC_URI="https://github.com/${PN/-//}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86 ~amd64-linux"
S="${WORKDIR}/${P#votca-}"
else
inherit git-r3
EGIT_REPO_URI="https://github.com/${PN/-//}.git"
fi
DESCRIPTION="Votca excitation and charge properties module"
HOMEPAGE="http://www.votca.org"
HOMEPAGE="https://www.votca.org/"
LICENSE="Apache-2.0"
SLOT="0"
IUSE=""
RDEPEND="
~sci-libs/votca-tools-${PV}
>=dev-cpp/eigen-3.3
sci-libs/hdf5[cxx]
~sci-chemistry/votca-csg-${PV}
sci-libs/libxc"
DEPEND="${RDEPEND}
virtual/pkgconfig"
sci-libs/hdf5[cxx]
sci-libs/libxc
~sci-libs/votca-tools-${PV}
"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
DOCS=( README.md NOTICE CHANGELOG.md )