commit:     4bb95736d4d910417f820233047d68b7c01fc32c
Author:     Zoltan Puskas <zoltan <AT> sinustrom <DOT> info>
AuthorDate: Thu Feb 16 08:24:07 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Feb 17 05:09:39 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bb95736

sci-electronics/kicad-templates: add 7.0.0

Bug: https://bugs.gentoo.org/894660
Signed-off-by: Zoltan Puskas <zoltan <AT> sinustrom.info>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-electronics/kicad-templates/Manifest                   |  1 +
 ...-templates-9999.ebuild => kicad-templates-7.0.0.ebuild} | 14 ++++----------
 .../kicad-templates/kicad-templates-9999.ebuild            | 12 +++---------
 3 files changed, 8 insertions(+), 19 deletions(-)

diff --git a/sci-electronics/kicad-templates/Manifest 
b/sci-electronics/kicad-templates/Manifest
index ef11e8e1163c..d450d416a649 100644
--- a/sci-electronics/kicad-templates/Manifest
+++ b/sci-electronics/kicad-templates/Manifest
@@ -1 +1,2 @@
 DIST kicad-templates-6.0.9.tar.gz 1057613 BLAKE2B 
c2c0c78093995629216cbcb93c40a05e1494da90a6cb91909e54fcb115fb7d6e10b3015a94200fef61407a6beccdc0f2bea84319531b39562bdf19ccf243a726
 SHA512 
f5e82599dc8532b2f286d62e650084b4d0470308a2cf447831027a85ea1028587342d51d4005018449f17fcbc9bd9f6ed850d7e3818c88692906790ef8981471
+DIST kicad-templates-7.0.0.tar.bz2 1419891 BLAKE2B 
51747088a14a36a12270c18cd60f56e58a89419bf5b28a9b600b02a35606f6c142af80947e1e3f995c86df44e8af2181e012bfd0884cdccc317d3c1d8387eaf5
 SHA512 
e9ed2570a671e157ba03a6f89a3fa84983d3b48331f5cab6be2100cabe7004d5b83f15a00cec2fadd31dab5b584b2e51569f6425532ade8363075a300a47d86f

diff --git a/sci-electronics/kicad-templates/kicad-templates-9999.ebuild 
b/sci-electronics/kicad-templates/kicad-templates-7.0.0.ebuild
similarity index 53%
copy from sci-electronics/kicad-templates/kicad-templates-9999.ebuild
copy to sci-electronics/kicad-templates/kicad-templates-7.0.0.ebuild
index 4eb6a8bdae4c..bffd6445a28e 100644
--- a/sci-electronics/kicad-templates/kicad-templates-9999.ebuild
+++ b/sci-electronics/kicad-templates/kicad-templates-7.0.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -11,18 +11,12 @@ if [[ ${PV} == 9999 ]]; then
        EGIT_REPO_URI="https://gitlab.com/kicad/libraries/${PN}.git";
        inherit git-r3
 else
-       MY_PV="${PV/_rc/-rc}"
-       MY_P="${PN}-${MY_PV}"
-       
SRC_URI="https://gitlab.com/kicad/libraries/${PN}/-/archive/${MY_PV}/${MY_P}.tar.gz
 -> ${P}.tar.gz"
+       
SRC_URI="https://gitlab.com/kicad/libraries/${PN}/-/archive/${PV}/${P}.tar.bz2";
 
-       if [[ ${PV} != *_rc* ]] ; then
-               KEYWORDS="~amd64 ~arm64 ~x86"
-       fi
-
-       S="${WORKDIR}/${PN}-${MY_PV}"
+       KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
 fi
 
 LICENSE="CC-BY-SA-4.0"
 SLOT="0"
 
-RDEPEND=">=sci-electronics/kicad-6.0.0"
+RDEPEND=">=sci-electronics/kicad-7.0.0"

diff --git a/sci-electronics/kicad-templates/kicad-templates-9999.ebuild 
b/sci-electronics/kicad-templates/kicad-templates-9999.ebuild
index 4eb6a8bdae4c..db3c87def1eb 100644
--- a/sci-electronics/kicad-templates/kicad-templates-9999.ebuild
+++ b/sci-electronics/kicad-templates/kicad-templates-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -11,15 +11,9 @@ if [[ ${PV} == 9999 ]]; then
        EGIT_REPO_URI="https://gitlab.com/kicad/libraries/${PN}.git";
        inherit git-r3
 else
-       MY_PV="${PV/_rc/-rc}"
-       MY_P="${PN}-${MY_PV}"
-       
SRC_URI="https://gitlab.com/kicad/libraries/${PN}/-/archive/${MY_PV}/${MY_P}.tar.gz
 -> ${P}.tar.gz"
+       
SRC_URI="https://gitlab.com/kicad/libraries/${PN}/-/archive/${PV}/${P}.tar.bz2";
 
-       if [[ ${PV} != *_rc* ]] ; then
-               KEYWORDS="~amd64 ~arm64 ~x86"
-       fi
-
-       S="${WORKDIR}/${PN}-${MY_PV}"
+       KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
 fi
 
 LICENSE="CC-BY-SA-4.0"

Reply via email to