commit:     b97a3ee38729699006c7a6c6e7f3bb229b84f794
Author:     Bernd Waibel <waebbl <AT> gmail <DOT> com>
AuthorDate: Sun Dec 23 21:30:49 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Apr 24 20:14:38 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b97a3ee3

media-gfx/openscad: bump to EAPI 7

Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Bernd Waibel <waebbl <AT> gmail.com>
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 ...5.03_p3.ebuild => openscad-2015.03_p3-r1.ebuild} | 21 +++++++--------------
 media-gfx/openscad/openscad-9999.ebuild             | 16 +++-------------
 2 files changed, 10 insertions(+), 27 deletions(-)

diff --git a/media-gfx/openscad/openscad-2015.03_p3.ebuild 
b/media-gfx/openscad/openscad-2015.03_p3-r1.ebuild
similarity index 83%
rename from media-gfx/openscad/openscad-2015.03_p3.ebuild
rename to media-gfx/openscad/openscad-2015.03_p3-r1.ebuild
index aee0a681df2..1b34fa207c5 100644
--- a/media-gfx/openscad/openscad-2015.03_p3.ebuild
+++ b/media-gfx/openscad/openscad-2015.03_p3-r1.ebuild
@@ -1,11 +1,14 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit elisp-common qmake-utils xdg-utils
+inherit elisp-common qmake-utils xdg
 
-MY_PV="2015.03-3"
+# 2015.03-3
+MY_VER=$(ver_cut 1-2) # version component
+MY_REL=$(ver_cut 4) # release component, 'p' being the third component
+MY_PV=${MY_VER}-${MY_REL}
 SITEFILE="50${PN}-gentoo.el"
 
 DESCRIPTION="The Programmers Solid 3D CAD Modeller"
@@ -72,13 +75,3 @@ src_install() {
 
        einstalldocs
 }
-
-pkg_postinst() {
-       xdg_mimeinfo_database_update
-       xdg_desktop_database_update
-}
-
-pkg_postrm() {
-       xdg_mimeinfo_database_update
-       xdg_desktop_database_update
-}

diff --git a/media-gfx/openscad/openscad-9999.ebuild 
b/media-gfx/openscad/openscad-9999.ebuild
index c6641079520..e885fba1196 100644
--- a/media-gfx/openscad/openscad-9999.ebuild
+++ b/media-gfx/openscad/openscad-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit elisp-common git-r3 qmake-utils xdg-utils
+inherit elisp-common git-r3 qmake-utils xdg
 
 SITEFILE="50${PN}-gentoo.el"
 
@@ -71,13 +71,3 @@ src_install() {
 
        einstalldocs
 }
-
-pkg_postinst() {
-       xdg_mimeinfo_database_update
-       xdg_desktop_database_update
-}
-
-pkg_postrm() {
-       xdg_mimeinfo_database_update
-       xdg_desktop_database_update
-}

Reply via email to