public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Naohiro Aota <naota@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Cc: ruby@gentoo.org, Naohiro Aota <naota@gentoo.org>
Subject: [gentoo-dev] [PATCH 2/9] ruby-ng-gnome2.eclass: drop support for <EAPI=4
Date: Sat, 15 Feb 2020 21:18:26 +0900	[thread overview]
Message-ID: <20200215121833.3631177-2-naota@gentoo.org> (raw)
In-Reply-To: <20200215121833.3631177-1-naota@gentoo.org>

Signed-off-by: Naohiro Aota <naota@gentoo.org>
---
 eclass/ruby-ng-gnome2.eclass | 13 +++----------
 1 file changed, 3 insertions(+), 10 deletions(-)

diff --git a/eclass/ruby-ng-gnome2.eclass b/eclass/ruby-ng-gnome2.eclass
index 4e3c30017e9b..8c8e0c8c0a50 100644
--- a/eclass/ruby-ng-gnome2.eclass
+++ b/eclass/ruby-ng-gnome2.eclass
@@ -6,14 +6,14 @@
 # Ruby herd <ruby@gentoo.org>
 # @AUTHOR:
 # Author: Hans de Graaff <graaff@gentoo.org>
-# @SUPPORTED_EAPIS: 0 1 2 3 4 5 6
+# @SUPPORTED_EAPIS: 4 5 6
 # @BLURB: An eclass to simplify handling of various ruby-gnome2 parts.
 # @DESCRIPTION:
 # This eclass simplifies installation of the various pieces of
 # ruby-gnome2 since they share a very common installation procedure.
 
 case "${EAPI:-0}" in
-	0|1|2|3|4|5|6)
+	4|5|6)
 		;;
 	*)
 		die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}"
@@ -28,18 +28,11 @@ inherit ruby-fakegem multilib versionator
 
 IUSE=""
 
-# Define EPREFIX if needed
-has "${EAPI:-0}" 0 1 2 && ! use prefix && EPREFIX=
-
 subbinding=${PN#ruby-}
 subbinding=${subbinding/-/_}
 DEPEND="virtual/pkgconfig"
 ruby_add_bdepend "dev-ruby/pkg-config"
-if has "${EAPI:-0}" 0 1 2 3 ; then
-	S=${WORKDIR}/ruby-gnome2-all-${PV}/${subbinding}
-else
-	RUBY_S=ruby-gnome2-all-${PV}/${subbinding}
-fi
+RUBY_S=ruby-gnome2-all-${PV}/${subbinding}
 SRC_URI="mirror://sourceforge/ruby-gnome2/ruby-gnome2-all-${PV}.tar.gz"
 HOMEPAGE="https://ruby-gnome2.osdn.jp/"
 LICENSE="Ruby"
-- 
2.25.0



  reply	other threads:[~2020-02-15 12:19 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-15 12:18 [gentoo-dev] [PATCH 1/9] ruby-ng-gnome2.eclass: drop support for 0.19.x Naohiro Aota
2020-02-15 12:18 ` Naohiro Aota [this message]
2020-02-16  5:40   ` [gentoo-dev] [PATCH 2/9] ruby-ng-gnome2.eclass: drop support for <EAPI=4 Michał Górny
2020-02-17 21:40     ` Naohiro Aota
2020-02-15 12:18 ` [gentoo-dev] [PATCH 3/9] ruby-ng-gnome2.eclass: fix LICENSE Naohiro Aota
2020-02-15 12:18 ` [gentoo-dev] [PATCH 4/9] ruby-ng-gnome2.eclass: drop subbinding variable Naohiro Aota
2020-02-15 12:18 ` [gentoo-dev] [PATCH 5/9] ruby-ng-gnome2.eclass: add test dependency Naohiro Aota
2020-02-16  5:42   ` Michał Górny
2020-02-15 12:18 ` [gentoo-dev] [PATCH 6/9] ruby-ng-gnome2.eclass: implement common test code Naohiro Aota
2020-02-16  5:36   ` Michał Górny
2020-02-15 12:18 ` [gentoo-dev] [PATCH 7/9] ruby-ng-gnome2.eclass: support non-build packages Naohiro Aota
2020-02-16  5:43   ` Michał Górny
2020-02-15 12:18 ` [gentoo-dev] [PATCH 8/9] ruby-ng-gnome2.eclass: fold common all_ruby_prepare Naohiro Aota
2020-02-16  5:44   ` Michał Górny
2020-02-15 12:18 ` [gentoo-dev] [PATCH 9/9] ruby-ng-gnome2.eclass: add support for 3.4.x Naohiro Aota
2020-02-16  5:48   ` Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200215121833.3631177-2-naota@gentoo.org \
    --to=naota@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    --cc=ruby@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox