media-gfx/openscad: bump to EAPI 7
authorBernd Waibel <waebbl@gmail.com>
Sun, 23 Dec 2018 21:30:49 +0000 (22:30 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Wed, 24 Apr 2019 20:14:38 +0000 (22:14 +0200)
Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Bernd Waibel <waebbl@gmail.com>
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
media-gfx/openscad/openscad-2015.03_p3-r1.ebuild [moved from media-gfx/openscad/openscad-2015.03_p3.ebuild with 83% similarity]
media-gfx/openscad/openscad-9999.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 aee0a681df2ed5c9a1598f114bfdb6e4ee78c521..1b34fa207c5e1c128fffe991f88290e90e1d171e 100644 (file)
@@ -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
-}
index c6641079520f00e39726e8048f9fdf40c3e6ef63..e885fba11965a9d572eff4ca46760f83db07d07b 100644 (file)
@@ -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
-}