* [gentoo-dev] [PATCH 1/3] ruby-ng-gnome2.eclass: remove "default" SRC_URI
@ 2024-05-12 6:44 Hans de Graaff
2024-05-12 6:44 ` [gentoo-dev] [PATCH 2/3] ruby-ng-gnome2.eclass: drop obsolete SRC_URI Hans de Graaff
2024-05-12 6:44 ` [gentoo-dev] [PATCH 3/3] ruby-ng-gnome2.eclass: allow EAPI 8 Hans de Graaff
0 siblings, 2 replies; 5+ messages in thread
From: Hans de Graaff @ 2024-05-12 6:44 UTC (permalink / raw)
To: gentoo-dev; +Cc: Hans de Graaff
This default was never used since it was always overwritten by the
if/else following it.
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
---
eclass/ruby-ng-gnome2.eclass | 1 -
1 file changed, 1 deletion(-)
diff --git a/eclass/ruby-ng-gnome2.eclass b/eclass/ruby-ng-gnome2.eclass
index e10f1e625993..8cce47cf1903 100644
--- a/eclass/ruby-ng-gnome2.eclass
+++ b/eclass/ruby-ng-gnome2.eclass
@@ -44,7 +44,6 @@ BDEPEND="virtual/pkgconfig"
ruby_add_bdepend "
dev-ruby/pkg-config
test? ( >=dev-ruby/test-unit-2 )"
-SRC_URI="https://downloads.sourceforge.net/ruby-gnome2/ruby-gnome2-all-${PV}.tar.gz"
HOMEPAGE="https://ruby-gnome.github.io/"
LICENSE="LGPL-2.1+"
SLOT="0"
--
2.43.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-dev] [PATCH 2/3] ruby-ng-gnome2.eclass: drop obsolete SRC_URI
2024-05-12 6:44 [gentoo-dev] [PATCH 1/3] ruby-ng-gnome2.eclass: remove "default" SRC_URI Hans de Graaff
@ 2024-05-12 6:44 ` Hans de Graaff
2024-05-12 6:44 ` [gentoo-dev] [PATCH 3/3] ruby-ng-gnome2.eclass: allow EAPI 8 Hans de Graaff
1 sibling, 0 replies; 5+ messages in thread
From: Hans de Graaff @ 2024-05-12 6:44 UTC (permalink / raw)
To: gentoo-dev; +Cc: Hans de Graaff
The last version below 3.4.0 that used this SRC_URI has been removed in
2021 in bd4380d7b621baa6b63b24bedce94dfebe171cf3
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
---
eclass/ruby-ng-gnome2.eclass | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/eclass/ruby-ng-gnome2.eclass b/eclass/ruby-ng-gnome2.eclass
index 8cce47cf1903..77c004f56998 100644
--- a/eclass/ruby-ng-gnome2.eclass
+++ b/eclass/ruby-ng-gnome2.eclass
@@ -47,13 +47,8 @@ ruby_add_bdepend "
HOMEPAGE="https://ruby-gnome.github.io/"
LICENSE="LGPL-2.1+"
SLOT="0"
-if ver_test -ge "3.4.0"; then
- SRC_URI="https://github.com/ruby-gnome/ruby-gnome/archive/${PV}.tar.gz -> ruby-gnome2-${PV}.tar.gz"
- RUBY_S=ruby-gnome-${PV}/${RUBY_FAKEGEM_NAME}
-else
- SRC_URI="https://downloads.sourceforge.net/ruby-gnome2/ruby-gnome2-all-${PV}.tar.gz"
- RUBY_S=ruby-gnome2-all-${PV}/${RUBY_FAKEGEM_NAME}
-fi
+SRC_URI="https://github.com/ruby-gnome/ruby-gnome/archive/${PV}.tar.gz -> ruby-gnome2-${PV}.tar.gz"
+RUBY_S=ruby-gnome-${PV}/${RUBY_FAKEGEM_NAME}
ruby-ng-gnome2_all_ruby_prepare() {
# Avoid compilation of dependencies during test.
--
2.43.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-dev] [PATCH 3/3] ruby-ng-gnome2.eclass: allow EAPI 8
2024-05-12 6:44 [gentoo-dev] [PATCH 1/3] ruby-ng-gnome2.eclass: remove "default" SRC_URI Hans de Graaff
2024-05-12 6:44 ` [gentoo-dev] [PATCH 2/3] ruby-ng-gnome2.eclass: drop obsolete SRC_URI Hans de Graaff
@ 2024-05-12 6:44 ` Hans de Graaff
2024-05-12 8:12 ` Ulrich Mueller
1 sibling, 1 reply; 5+ messages in thread
From: Hans de Graaff @ 2024-05-12 6:44 UTC (permalink / raw)
To: gentoo-dev; +Cc: Hans de Graaff
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
---
eclass/ruby-ng-gnome2.eclass | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/eclass/ruby-ng-gnome2.eclass b/eclass/ruby-ng-gnome2.eclass
index 77c004f56998..08219450606b 100644
--- a/eclass/ruby-ng-gnome2.eclass
+++ b/eclass/ruby-ng-gnome2.eclass
@@ -6,7 +6,7 @@
# Ruby herd <ruby@gentoo.org>
# @AUTHOR:
# Author: Hans de Graaff <graaff@gentoo.org>
-# @SUPPORTED_EAPIS: 7
+# @SUPPORTED_EAPIS: 7, 8
# @PROVIDES: ruby-ng
# @BLURB: An eclass to simplify handling of various ruby-gnome2 parts.
# @DESCRIPTION:
@@ -14,7 +14,7 @@
# ruby-gnome2 since they share a very common installation procedure.
case ${EAPI} in
- 7) ;;
+ 7|8) ;;
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
esac
--
2.43.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [gentoo-dev] [PATCH 3/3] ruby-ng-gnome2.eclass: allow EAPI 8
2024-05-12 6:44 ` [gentoo-dev] [PATCH 3/3] ruby-ng-gnome2.eclass: allow EAPI 8 Hans de Graaff
@ 2024-05-12 8:12 ` Ulrich Mueller
2024-05-12 13:14 ` Hans de Graaff
0 siblings, 1 reply; 5+ messages in thread
From: Ulrich Mueller @ 2024-05-12 8:12 UTC (permalink / raw)
To: Hans de Graaff; +Cc: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 120 bytes --]
>>>>> On Sun, 12 May 2024, Hans de Graaff wrote:
> -# @SUPPORTED_EAPIS: 7
> +# @SUPPORTED_EAPIS: 7, 8
No comma there.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 507 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-dev] [PATCH 3/3] ruby-ng-gnome2.eclass: allow EAPI 8
2024-05-12 8:12 ` Ulrich Mueller
@ 2024-05-12 13:14 ` Hans de Graaff
0 siblings, 0 replies; 5+ messages in thread
From: Hans de Graaff @ 2024-05-12 13:14 UTC (permalink / raw)
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 226 bytes --]
On Sun, 2024-05-12 at 10:12 +0200, Ulrich Mueller wrote:
> > > > > > On Sun, 12 May 2024, Hans de Graaff wrote:
>
> > -# @SUPPORTED_EAPIS: 7
> > +# @SUPPORTED_EAPIS: 7, 8
>
> No comma there.
Fixed, thanks!
Hans
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-05-12 13:15 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-12 6:44 [gentoo-dev] [PATCH 1/3] ruby-ng-gnome2.eclass: remove "default" SRC_URI Hans de Graaff
2024-05-12 6:44 ` [gentoo-dev] [PATCH 2/3] ruby-ng-gnome2.eclass: drop obsolete SRC_URI Hans de Graaff
2024-05-12 6:44 ` [gentoo-dev] [PATCH 3/3] ruby-ng-gnome2.eclass: allow EAPI 8 Hans de Graaff
2024-05-12 8:12 ` Ulrich Mueller
2024-05-12 13:14 ` Hans de Graaff
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox