public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCH 1/3] xorg-2.eclass: Drop support for EAPI 3
@ 2019-02-20  4:45 Matt Turner
  2019-02-20  4:45 ` [gentoo-dev] [PATCH 2/3] xorg-2.eclass: Remove use of prune_libtool_files Matt Turner
  2019-02-20  4:45 ` [gentoo-dev] [PATCH 3/3] xorg-2.eclass: Add EAPI=7 support Matt Turner
  0 siblings, 2 replies; 26+ messages in thread
From: Matt Turner @ 2019-02-20  4:45 UTC (permalink / raw
  To: gentoo-dev; +Cc: Matt Turner

No ebuilds inheriting xorg-2 are EAPI=3.
---
 eclass/xorg-2.eclass | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/eclass/xorg-2.eclass b/eclass/xorg-2.eclass
index 4ed65e676a0..7133aa365f1 100644
--- a/eclass/xorg-2.eclass
+++ b/eclass/xorg-2.eclass
@@ -7,7 +7,7 @@
 # @AUTHOR:
 # Author: Tomáš Chvátal <scarabeus@gentoo.org>
 # Author: Donnie Berkholz <dberkholz@gentoo.org>
-# @SUPPORTED_EAPIS: 3 4 5
+# @SUPPORTED_EAPIS: 4 5
 # @BLURB: Reduces code duplication in the modularized X11 ebuilds.
 # @DESCRIPTION:
 # This eclass makes trivial X ebuilds possible for apps, fonts, drivers,
@@ -53,7 +53,7 @@ fi
 
 EXPORTED_FUNCTIONS="src_unpack src_compile src_install pkg_postinst pkg_postrm"
 case "${EAPI:-0}" in
-	3|4|5) EXPORTED_FUNCTIONS="${EXPORTED_FUNCTIONS} src_prepare src_configure" ;;
+	4|5) EXPORTED_FUNCTIONS="${EXPORTED_FUNCTIONS} src_prepare src_configure" ;;
 	*) die "EAPI=${EAPI} is not supported" ;;
 esac
 
@@ -271,7 +271,7 @@ fi
 
 if [[ ${XORG_MODULE_REBUILD} == yes ]]; then
 	case ${EAPI} in
-		3|4)
+		4)
 			;;
 		*)
 			RDEPEND+=" x11-base/xorg-server:="
@@ -530,7 +530,7 @@ xorg-2_pkg_postrm() {
 
 	if [[ -n ${FONT} ]]; then
 		# if we're doing an upgrade, postinst will do
-		if [[ ${EAPI} -lt 4 || -z ${REPLACED_BY_VERSION} ]]; then
+		if [[ -z ${REPLACED_BY_VERSION} ]]; then
 			create_fonts_scale
 			create_fonts_dir
 			font_pkg_postrm "$@"
-- 
2.19.2



^ permalink raw reply related	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2019-03-03 19:41 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-20  4:45 [gentoo-dev] [PATCH 1/3] xorg-2.eclass: Drop support for EAPI 3 Matt Turner
2019-02-20  4:45 ` [gentoo-dev] [PATCH 2/3] xorg-2.eclass: Remove use of prune_libtool_files Matt Turner
2019-02-20  6:20   ` Ulrich Mueller
2019-02-20  6:50     ` Matt Turner
2019-02-20  7:36     ` Michał Górny
2019-02-20  9:54       ` Ulrich Mueller
2019-02-23  4:30       ` desultory
2019-02-23  8:42         ` Andrew Savchenko
2019-02-23 20:39           ` desultory
2019-02-24  6:19         ` Matt Turner
2019-02-24  9:04           ` Michał Górny
2019-02-25  4:48             ` desultory
2019-02-25  4:51           ` desultory
2019-02-25  6:37       ` Ulrich Mueller
2019-03-02 21:59         ` Mike Gilbert
2019-03-02 22:10           ` Michał Górny
2019-03-02 23:41             ` Mike Gilbert
2019-03-03 19:17               ` Matt Turner
2019-03-03 19:41               ` Michał Górny
2019-03-03 19:29             ` Ulrich Mueller
2019-03-03 19:40               ` Michał Górny
2019-02-20  4:45 ` [gentoo-dev] [PATCH 3/3] xorg-2.eclass: Add EAPI=7 support Matt Turner
2019-02-20  6:24   ` Ulrich Mueller
2019-02-20  6:46     ` Matt Turner
2019-02-22 10:55       ` Andrew Savchenko
     [not found]   ` <11502025.K78Wuz9Wrk@lava>
2019-02-24 20:52     ` Matt Turner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox