1 |
commit: 294012b3a5c1f1166bd5cedbc2c18fc8983e8762 |
2 |
Author: Christoph Junghans <junghans <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 20 14:51:33 2022 +0000 |
4 |
Commit: Christoph Junghans <junghans <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 20 14:51:33 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=294012b3 |
7 |
|
8 |
sci-chemistry/votca-csg: git version moved to sci-chemistry/votca |
9 |
|
10 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
11 |
Signed-off-by: Christoph Junghans <junghans <AT> gentoo.org> |
12 |
|
13 |
sci-chemistry/votca-csg/votca-csg-9999.ebuild | 86 --------------------------- |
14 |
1 file changed, 86 deletions(-) |
15 |
|
16 |
diff --git a/sci-chemistry/votca-csg/votca-csg-9999.ebuild b/sci-chemistry/votca-csg/votca-csg-9999.ebuild |
17 |
deleted file mode 100644 |
18 |
index acabcc4b8c20..000000000000 |
19 |
--- a/sci-chemistry/votca-csg/votca-csg-9999.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,86 +0,0 @@ |
22 |
-# Copyright 1999-2022 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=7 |
26 |
- |
27 |
-inherit bash-completion-r1 cmake |
28 |
- |
29 |
-if [[ ${PV} == *9999 ]]; then |
30 |
- inherit git-r3 |
31 |
- EGIT_REPO_URI="https://github.com/${PN/-//}.git" |
32 |
-else |
33 |
- SRC_URI="https://github.com/${PN/-//}/archive/v${PV}.tar.gz -> ${P}.tar.gz |
34 |
- examples? ( https://github.com/${PN/-//}-tutorials/archive/v${PV}.tar.gz -> ${PN}-tutorials-${PV}.tar.gz )" |
35 |
- KEYWORDS="~amd64 ~x86 ~amd64-linux" |
36 |
- S="${WORKDIR}/${P#votca-}" |
37 |
-fi |
38 |
- |
39 |
-DESCRIPTION="Votca coarse-graining engine" |
40 |
-HOMEPAGE="https://www.votca.org/" |
41 |
- |
42 |
-LICENSE="Apache-2.0" |
43 |
-SLOT="0" |
44 |
-IUSE="examples extras +gromacs hdf5 test" |
45 |
-RESTRICT="!test? ( test )" |
46 |
- |
47 |
-RDEPEND=" |
48 |
- app-shells/bash:* |
49 |
- >=dev-cpp/eigen-3.3 |
50 |
- dev-lang/perl |
51 |
- ~sci-libs/votca-tools-${PV} |
52 |
- gromacs? ( sci-chemistry/gromacs:=[gmxapi-legacy(+)] ) |
53 |
- hdf5? ( sci-libs/hdf5 ) |
54 |
-" |
55 |
-DEPEND="${RDEPEND}" |
56 |
-BDEPEND=" |
57 |
- virtual/pkgconfig |
58 |
-" |
59 |
- |
60 |
-DOCS=( README.rst NOTICE.rst CHANGELOG.rst ) |
61 |
- |
62 |
-src_unpack() { |
63 |
- if [[ ${PV} == *9999 ]]; then |
64 |
- git-r3_src_unpack |
65 |
- if use examples; then |
66 |
- EGIT_REPO_URI="https://github.com/${PN/-//}-tutorials.git" |
67 |
- EGIT_BRANCH="master" |
68 |
- EGIT_CHECKOUT_DIR="${WORKDIR}/${PN#votca-}-tutorials" \ |
69 |
- git-r3_src_unpack |
70 |
- fi |
71 |
- else |
72 |
- default |
73 |
- fi |
74 |
-} |
75 |
- |
76 |
-src_configure() { |
77 |
- local mycmakeargs=( |
78 |
- -DCMAKE_DISABLE_FIND_PACKAGE_GROMACS=$(usex !gromacs) |
79 |
- -DCMAKE_DISABLE_FIND_PACKAGE_HDF5=$(usex !hdf5) |
80 |
- -DBUILD_CSGAPPS=$(usex extras) |
81 |
- -DENABLE_TESTING=$(usex test) |
82 |
- ) |
83 |
- cmake_src_configure |
84 |
-} |
85 |
- |
86 |
-src_install() { |
87 |
- cmake_src_install |
88 |
- newbashcomp "${ED}"/usr/share/votca/rc/csg-completion.bash csg_call |
89 |
- for i in "${ED}"/usr/bin/csg_*; do |
90 |
- [[ ${i} = *csg_call ]] && continue |
91 |
- bashcomp_alias csg_call "${i##*/}" |
92 |
- done |
93 |
- if use examples; then |
94 |
- insinto "/usr/share/doc/${PF}/tutorials" |
95 |
- docompress -x "/usr/share/doc/${PF}/tutorials" |
96 |
- rm -rf "${WORKDIR}/${PN#votca-}"-tutorials*/CMake* |
97 |
- doins -r "${WORKDIR}/${PN#votca-}"-tutorials*/* |
98 |
- fi |
99 |
-} |
100 |
- |
101 |
-pkg_postinst() { |
102 |
- einfo |
103 |
- einfo "Please read and cite:" |
104 |
- einfo "VOTCA, J. Chem. Theory Comput. 5, 3211 (2009). " |
105 |
- einfo "https://dx.doi.org/10.1021/ct900369w" |
106 |
- einfo |
107 |
-} |