Skip to content

Commit

Permalink
lang: unregister and remove expired lang/ruby27
Browse files Browse the repository at this point in the history
Bump example version from 2.7 to 3.1 which is the default version.
  • Loading branch information
rene0 committed Apr 13, 2023
1 parent a2b080f commit 6edd7f2
Show file tree
Hide file tree
Showing 16 changed files with 6 additions and 15,434 deletions.
1 change: 1 addition & 0 deletions MOVED
Expand Up @@ -17908,3 +17908,4 @@ textproc/rubygem-loofah218|textproc/rubygem-loofah|2023-04-09|Remove obsoleted p
textproc/rubygem-rouge329|textproc/rubygem-rouge|2023-04-09|Remove obsoleted port. Use textproc/rubygem-rouge instead
www/rubygem-erubi19|www/rubygem-erubi|2023-04-09|Remove obsoleted port. Use www/rubygem-erubi instead
multimedia/mythtv-frontend|multimedia/mythtv|2023-04-10|Frontend is no part of multimedia/mythtv
lang/ruby27|lang/ruby30|2023-04-13|Please migrate to newer versions. Ruby 2.7 will reach its EoL on April 12, 2023
14 changes: 3 additions & 11 deletions Mk/Uses/ruby.mk
Expand Up @@ -15,7 +15,7 @@
# [variables that a user may define]
#
# RUBY_VER - (See below)
# RUBY_DEFAULT_VER - Set to (e.g.) "2.7" if you want to refer to "ruby27"
# RUBY_DEFAULT_VER - Set to (e.g.) "3.1" if you want to refer to "ruby31"
# just as "ruby".
# RUBY_ARCH - (See below)
#
Expand Down Expand Up @@ -144,14 +144,7 @@ RUBY?= ${LOCALBASE}/bin/ruby${RUBY_SUFFIX}
. if defined(RUBY_VER)
# When adding a version, please keep the comment in
# Mk/bsd.default-versions.mk in sync.
. if ${RUBY_VER} == 2.7
#
# Ruby 2.7
#
RUBY_DISTVERSION= 2.7.7
RUBY_PORTREVISION= 0

. elif ${RUBY_VER} == 3.0
. if ${RUBY_VER} == 3.0
#
# Ruby 3.0
#
Expand All @@ -177,7 +170,7 @@ RUBY_PORTREVISION= 0
#
# Other versions
#
IGNORE= Only ruby 2.7, 3.0, 3.1 and 3.2 are supported
IGNORE= Only ruby 3.0, 3.1 and 3.2 are supported
_INVALID_RUBY_VER= 1
. endif
RUBY_PORTEPOCH= 1
Expand All @@ -186,7 +179,6 @@ RUBY_VERSION= ${RUBY_DISTVERSION:C/^([0-9]+\.[0-9]+\.[0-9]+).*/\1/}

. if !defined(_INVALID_RUBY_VER)

RUBY27?= "@comment "
RUBY30?= "@comment "
RUBY31?= "@comment "
RUBY32?= "@comment "
Expand Down
4 changes: 2 additions & 2 deletions Mk/bsd.default-versions.mk
Expand Up @@ -10,7 +10,7 @@
# Users who want to override these defaults can easily do so by defining
# DEFAULT_VERSIONS in their make.conf as follows:
#
# DEFAULT_VERSIONS= perl5=5.20 ruby=2.7
# DEFAULT_VERSIONS= perl5=5.20 ruby=3.1

.if !defined(_INCLUDE_BSD_DEFAULT_VERSIONS_MK)
_INCLUDE_BSD_DEFAULT_VERSIONS_MK= yes
Expand Down Expand Up @@ -122,7 +122,7 @@ PYTHON_DEFAULT?= 3.9
PYTHON2_DEFAULT?= 2.7
# Possible values: 3.7, 3.8, 3.9, 3.10, 3.11
PYTHON3_DEFAULT?= 3.9
# Possible values: 2.7, 3.0, 3.1, 3.2
# Possible values: 3.0, 3.1, 3.2
RUBY_DEFAULT?= 3.1
# Possible values: rust, rust-nightly
RUST_DEFAULT?= rust
Expand Down
1 change: 0 additions & 1 deletion lang/Makefile
Expand Up @@ -307,7 +307,6 @@
SUBDIR += rexx-regutil
SUBDIR += rexx-wrapper
SUBDIR += rhino
SUBDIR += ruby27
SUBDIR += ruby30
SUBDIR += ruby31
SUBDIR += ruby32
Expand Down
226 changes: 0 additions & 226 deletions lang/ruby27/Makefile

This file was deleted.

3 changes: 0 additions & 3 deletions lang/ruby27/distinfo

This file was deleted.

27 changes: 0 additions & 27 deletions lang/ruby27/files/patch-configure.ac

This file was deleted.

11 changes: 0 additions & 11 deletions lang/ruby27/files/patch-lib_mkmf.rb

This file was deleted.

20 changes: 0 additions & 20 deletions lang/ruby27/files/patch-lib_rdoc_generator_json__index.rb

This file was deleted.

11 changes: 0 additions & 11 deletions lang/ruby27/files/patch-libressl

This file was deleted.

14 changes: 0 additions & 14 deletions lang/ruby27/files/patch-tool_mkconfig.rb

This file was deleted.

0 comments on commit 6edd7f2

Please sign in to comment.