summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-12-24 19:57:05 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2022-12-24 19:57:05 +0100
commit3d76eae3987f9cc7ed49e4c6c84c504f8cb40ef5 (patch)
treedcac866952d2cb0dbc43f1b65a34bdfc415ce4e2
parentapp-admin/supervisor: add 4.2.5, Python 3.11 support (diff)
downloadgentoo-3d76eae3987f9cc7ed49e4c6c84c504f8cb40ef5.tar.gz
gentoo-3d76eae3987f9cc7ed49e4c6c84c504f8cb40ef5.tar.bz2
gentoo-3d76eae3987f9cc7ed49e4c6c84c504f8cb40ef5.zip
sci-physics/lammps: drop 20200303-r2
Closes: https://bugs.gentoo.org/886977 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r--sci-physics/lammps/Manifest2
-rw-r--r--sci-physics/lammps/lammps-20200303-r2.ebuild133
2 files changed, 0 insertions, 135 deletions
diff --git a/sci-physics/lammps/Manifest b/sci-physics/lammps/Manifest
index e5977998434f..0ba9f3103b2d 100644
--- a/sci-physics/lammps/Manifest
+++ b/sci-physics/lammps/Manifest
@@ -1,3 +1 @@
DIST lammps-17Feb2022.tar.gz 170036241 BLAKE2B 74d370657bff17847dce0bbe082134721722574b298832ea37d319968123b12d37ecdfea5560b2776e846c32d05a98f722710327d8da46f80869f75a36f6c255 SHA512 f2df65847906ca5890aae98efed5712eb6dd694f2b85dc062084a02b9bf43412ecd075f54df2947bff71d3b6313c1ec39c437e02497920da795e9ba0cd5dc068
-DIST lammps-stable_3Mar2020.tar.gz 126001870 BLAKE2B 35ed6ff208fd6dcc8eae50b8e0562a6a0771aa6419c0225353f648d95512ca64b22250ad4a3f9b836b9a25a6838e24e070a1d190fdc02b896dc1ed9838648f01 SHA512 6608cd9f6ea18d8acb55d611a560cb4b329043b41aca23fafd91fac0dfbde5a5286e1a6563bd16b2414bb3bf95929e3a2f270a0b023ce5ede515eb3353d56f04
-DIST lammps-testing-stable_3Mar2020.tar.gz 55729550 BLAKE2B d0de8efa83342b4a350f17a43d3fe96011534b3f410beb295e396a45200ea56298c14664b290b2e30ab4f2fd70b92c01c73927b2878e8171a166dedee8ecf379 SHA512 e3dc592ce57ae625eb66ddd9ca80d7bbaca57c47a07166a7196dcc3074b574a497e706da8baf93b5deacdf588702ceb141014533ac2aaccdd011836fb34943b9
diff --git a/sci-physics/lammps/lammps-20200303-r2.ebuild b/sci-physics/lammps/lammps-20200303-r2.ebuild
deleted file mode 100644
index 539c056cf969..000000000000
--- a/sci-physics/lammps/lammps-20200303-r2.ebuild
+++ /dev/null
@@ -1,133 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..10} )
-CMAKE_MAKEFILE_GENERATOR=emake
-
-inherit cmake fortran-2 python-r1
-
-convert_month() {
- local months=( "" Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec )
- echo ${months[${1#0}]}
-}
-
-MY_PV="stable_$((10#${PV:6:2}))$(convert_month ${PV:4:2})${PV:0:4}"
-MY_P="${PN}-${MY_PV}"
-
-DESCRIPTION="Large-scale Atomic/Molecular Massively Parallel Simulator"
-HOMEPAGE="https://lammps.sandia.gov/"
-SRC_URI="https://github.com/lammps/lammps/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz
- test? ( https://github.com/lammps/lammps-testing/archive/${MY_PV}.tar.gz -> ${PN}-testing-${MY_PV}.tar.gz )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="cuda examples gzip lammps-memalign mpi netcdf python test"
-RESTRICT="!test? ( test )"
-
-DEPEND="
- app-arch/gzip
- media-libs/libpng:0
- sys-libs/zlib
- mpi? (
- virtual/mpi
- sci-libs/hdf5:=[mpi]
- )
- python? ( ${PYTHON_DEPS} )
- sci-libs/voro++
- virtual/blas
- virtual/lapack
- sci-libs/fftw:3.0=
- netcdf? ( sci-libs/netcdf:= )
- cuda? ( >=dev-util/nvidia-cuda-toolkit-4.2.9-r1 )
- dev-cpp/eigen:3
- "
-RDEPEND="${DEPEND}"
-
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-S="${WORKDIR}/${MY_P}/cmake"
-
-src_configure() {
- local mycmakeargs=(
- -DCMAKE_INSTALL_SYSCONFDIR="${EPREFIX}/etc"
- -DBUILD_SHARED_LIBS=ON
- -DBUILD_MPI=$(usex mpi)
- -DBUILD_LIB=ON
- -DPKG_GPU=$(usex cuda)
- -DGPU_API=CUDA
- -DENABLE_TESTING=$(usex test)
- -DLAMMPS_TESTING_SOURCE_DIR=$(echo "${WORKDIR}"/lammps-testing-*)
- -DPKG_ASPHERE=ON
- -DPKG_BODY=ON
- -DPKG_CLASS2=ON
- -DPKG_COLLOID=ON
- -DPKG_COMPRESS=ON
- -DPKG_CORESHELL=ON
- -DPKG_DIPOLE=ON
- -DPKG_GRANULAR=ON
- -DPKG_KSPACE=ON
- -DFFT=FFTW3
- # requires kokkos 3.0
- -DPKG_KOKKOS=OFF
- -DPKG_MANYBODY=ON
- -DPKG_MC=ON
- -DPKG_MEAM=ON
- -DPKG_MISC=ON
- -DPKG_MOLECULE=ON
- -DPKG_PERI=ON
- -DPKG_QEQ=ON
- -DPKG_REAX=ON
- -DPKG_REPLICA=ON
- -DPKG_RIGID=ON
- -DPKG_SHOCK=ON
- -DPKG_SNAP=ON
- -DPKG_SRD=ON
- -DPKG_PYTHON=ON
- -DPKG_MPIIO=$(usex mpi)
- -DPKG_VORONOI=ON
- -DPKG_USER-ATC=ON
- -DPKG_USER-AWPMD=ON
- -DPKG_USER-CGDNA=ON
- -DPKG_USER-CGSDK=ON
- -DPKG_USER-COLVARS=ON
- -DPKG_USER-DIFFRACTION=ON
- -DPKG_USER-DPD=ON
- -DPKG_USER-DRUDE=ON
- -DPKG_USER-EFF=ON
- -DPKG_USER-FEP=ON
- -DPKG_USER-H5MD=$(usex mpi)
- -DPKG_USER-LB=$(usex mpi)
- -DPKG_USER-MANIFOLD=ON
- -DPKG_USER-MEAMC=ON
- -DPKG_USER-MGPT=ON
- -DPKG_USER-MISC=ON
- -DPKG_USER-MOLFILE=ON
- -DPKG_USER-NETCDF=$(usex netcdf)
- -DPKG_USER-PHONON=ON
- -DPKG_USER-QTB=ON
- -DPKG_USER-REAXC=ON
- -DPKG_USER-SMD=ON
- -DPKG_USER-SMTBQ=ON
- -DPKG_USER-SPH=ON
- -DPKG_USER-TALLY=ON
- )
- cmake_src_configure
-}
-
-src_install() {
- cmake_src_install
-
- # Install python script.
- use python && python_foreach_impl python_domodule "${S}"/../python/lammps.py
-
- if use examples; then
- for d in examples bench; do
- local LAMMPS_EXAMPLES="/usr/share/${PN}/${d}"
- insinto "${LAMMPS_EXAMPLES}"
- doins -r "${S}"/../${d}/*
- done
- fi
-}