Gentoo Archives: gentoo-commits

From: Christoph Junghans <junghans@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/votca-ctp/
Date: Sun, 03 Sep 2017 14:55:11
Message-Id: 1504450494.2dab70fd2251694510671e61828ad03de768cd42.junghans@gentoo
1 commit: 2dab70fd2251694510671e61828ad03de768cd42
2 Author: Christoph Junghans <junghans <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 3 14:38:57 2017 +0000
4 Commit: Christoph Junghans <junghans <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 3 14:54:54 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2dab70fd
7
8 sci-chemistry/votca-ctp: initial commit
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.1
11
12 sci-chemistry/votca-ctp/metadata.xml | 15 ++++++++++
13 sci-chemistry/votca-ctp/votca-ctp-9999.ebuild | 42 +++++++++++++++++++++++++++
14 2 files changed, 57 insertions(+)
15
16 diff --git a/sci-chemistry/votca-ctp/metadata.xml b/sci-chemistry/votca-ctp/metadata.xml
17 new file mode 100644
18 index 00000000000..7b7ecf65468
19 --- /dev/null
20 +++ b/sci-chemistry/votca-ctp/metadata.xml
21 @@ -0,0 +1,15 @@
22 +<?xml version="1.0" encoding="UTF-8"?>
23 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
24 +<pkgmetadata>
25 + <maintainer type="person">
26 + <email>junghans@g.o</email>
27 + <name>Christoph Junghans</name>
28 + </maintainer>
29 + <maintainer type="project">
30 + <email>sci-chemistry@g.o</email>
31 + <name>Gentoo Chemistry Project</name>
32 + </maintainer>
33 + <upstream>
34 + <remote-id type="github">votca/ctp</remote-id>
35 + </upstream>
36 +</pkgmetadata>
37
38 diff --git a/sci-chemistry/votca-ctp/votca-ctp-9999.ebuild b/sci-chemistry/votca-ctp/votca-ctp-9999.ebuild
39 new file mode 100644
40 index 00000000000..cd06c690cdf
41 --- /dev/null
42 +++ b/sci-chemistry/votca-ctp/votca-ctp-9999.ebuild
43 @@ -0,0 +1,42 @@
44 +# Copyright 1999-2017 Gentoo Foundation
45 +# Distributed under the terms of the GNU General Public License v2
46 +
47 +EAPI=6
48 +
49 +CMAKE_MAKEFILE_GENERATOR="ninja"
50 +
51 +inherit cmake-utils multilib
52 +
53 +IUSE=""
54 +if [ "${PV}" != "9999" ]; then
55 + SRC_URI="https://github.com/${PN/-//}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
56 + KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-macos"
57 + S="${WORKDIR}/${P#votca-}"
58 +else
59 + inherit git-r3
60 + EGIT_REPO_URI="https://github.com/${PN/-//}.git"
61 + KEYWORDS=""
62 +fi
63 +
64 +DESCRIPTION="Votca charge transport module"
65 +HOMEPAGE="http://www.votca.org"
66 +
67 +LICENSE="Apache-2.0"
68 +SLOT="0"
69 +
70 +RDEPEND="
71 + =sci-libs/votca-tools-${PV}[sqlite]
72 + =sci-libs/votca-moo-${PV}
73 + =sci-chemistry/votca-csg-${PV}"
74 +
75 +DEPEND="${RDEPEND}
76 + virtual/pkgconfig"
77 +
78 +DOCS=( README NOTICE CHANGELOG.md )
79 +
80 +src_configure() {
81 + mycmakeargs=(
82 + -DLIB=$(get_libdir)
83 + )
84 + cmake-utils_src_configure
85 +}