Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-electronics/kicad-templates/
Date: Tue, 23 Nov 2021 17:16:02
Message-Id: 1637687736.3e4eff973b67436a6d227724008ff6435b6d42e4.sam@gentoo
1 commit: 3e4eff973b67436a6d227724008ff6435b6d42e4
2 Author: JonRB <jon.roadleybattin <AT> gmail <DOT> com>
3 AuthorDate: Mon Nov 22 19:02:47 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 23 17:15:36 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e4eff97
7
8 sci-electronics/kicad-templates: add live 9999 version
9
10 Signed-off-by: JonRB <jon.roadleybattin <AT> gmail.com>
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 .../kicad-templates/kicad-templates-9999.ebuild | 24 ++++++++++++++++++++++
14 1 file changed, 24 insertions(+)
15
16 diff --git a/sci-electronics/kicad-templates/kicad-templates-9999.ebuild b/sci-electronics/kicad-templates/kicad-templates-9999.ebuild
17 new file mode 100644
18 index 000000000000..348280a3c4d3
19 --- /dev/null
20 +++ b/sci-electronics/kicad-templates/kicad-templates-9999.ebuild
21 @@ -0,0 +1,24 @@
22 +# Copyright 1999-2021 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=7
26 +
27 +inherit cmake
28 +
29 +DESCRIPTION="Electronic Schematic and PCB design tools project templates"
30 +HOMEPAGE="https://github.com/kicad/kicad-templates"
31 +if [[ ${PV} == 9999 ]]; then
32 + EGIT_REPO_URI="https://gitlab.com/kicad/libraries/${PN}.git"
33 + inherit git-r3
34 +else
35 + MY_PV="${PV/_rc/-rc}"
36 + MY_P="${PN}-${MY_PV}"
37 + SRC_URI="https://gitlab.com/kicad/libraries/${PN}/-/archive/${MY_PV}/${MY_P}.tar.gz -> ${P}.tar.gz"
38 + KEYWORDS="~amd64 ~arm64 ~x86"
39 + S="${WORKDIR}/${PN}-${MY_PV}"
40 +fi
41 +
42 +LICENSE="CC-BY-SA-4.0"
43 +SLOT="0"
44 +
45 +RDEPEND=">=sci-electronics/kicad-5.99"