Re: [gentoo-dev] Upstream remote-id types in package metadata

2022-05-22 Thread Hans de Graaff
On Sun, 2022-05-22 at 09:09 +0200, Ulrich Mueller wrote:
> 
>    rubyforge
> 
> Some of them seem to be obsolete. Presumably freshmeat, gitorious,
> and
> google-code should be removed? Any other removal candidates?

rubyforge has been shut down since 2015 so it can be removed as well.


Hans


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-dev] [PATCH] eclass/ruby-fakegem.eclass: depend on virtual/pkgconfig

2022-05-21 Thread Hans de Graaff
On Fri, 2022-05-20 at 11:09 +0200, Ulrich Mueller wrote:
> > > > > > On Fri, 20 May 2022, Florian Schmaus wrote:
> > > +if [ ${#RUBY_FAKEGEM_EXTENSIONS[@]} -ge 1 ]; then
> > > +   BDEPEND+=" virtual/pkgconfig "
> > > +fi
> 
> > Not sure if we have a policy on this,
> 
> We do. :)

Policy followed in the committed version.

Hans


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-dev] [PATCH] eclass/ruby-fakegem.eclass: depend on virtual/pkgconfig

2022-05-21 Thread Hans de Graaff
On Fri, 2022-05-20 at 09:28 +0200, Thomas Bracht Laumann Jespersen
wrote:
> > this is easy to mis in the ebuild. Handle this in the eclass
> > instead
> 
> small typo: mis -> miss

Fixed.

> > +if [ ${#RUBY_FAKEGEM_EXTENSIONS[@]} -ge 1 ]; then
> 
> shouldn't it be [[ ]] and not [ ] ? Also, just a suggestion, do "-gt
> 0" instead
> of "-ge 1"

Yes, that probably indicates the intention a bit better (array not
empty). Changed.

Thanks!

Hans


signature.asc
Description: This is a digitally signed message part


[gentoo-dev] [PATCH] eclass/ruby-fakegem.eclass: depend on virtual/pkgconfig

2022-05-20 Thread Hans de Graaff
Many C extensions depend on pkgconfig during their configure phase and
this is easy to mis in the ebuild. Handle this in the eclass instead
even though the dependency will not be needed for all extensions.

Closes: https://bugs.gentoo.org/845393
Signed-off-by: Hans de Graaff 
---
 eclass/ruby-fakegem.eclass | 5 +
 1 file changed, 5 insertions(+)

diff --git a/eclass/ruby-fakegem.eclass b/eclass/ruby-fakegem.eclass
index 358fff1be753..754b48f82fa9 100644
--- a/eclass/ruby-fakegem.eclass
+++ b/eclass/ruby-fakegem.eclass
@@ -210,6 +210,11 @@ case ${EAPI} in
;;
 esac
 
+# Many (but not all) extensions use pkgconfig in src_configure.
+if [ ${#RUBY_FAKEGEM_EXTENSIONS[@]} -ge 1 ]; then
+   BDEPEND+=" virtual/pkgconfig "
+fi
+
 # @FUNCTION: ruby_fakegem_gemsdir
 # @RETURN: Returns the gem data directory
 # @DESCRIPTION:
-- 
2.35.1




[gentoo-dev] Last rites: dev-ruby/nokogumbo

2022-04-12 Thread Hans de Graaff
# Hans de Graaff  (2022-04-12)
# dev-ruby/nokogumbo is now part of dev-ruby/nokogiri and nokogiri
# versions still supporting a separate nokogumbo have known security
# issues. nokogumbo's only reverse dependency is dev-ruby/sanitize:5,
# but a newer slot is available.
dev-ruby/nokogumbo
dev-ruby/sanitize:5


signature.asc
Description: This is a digitally signed message part


[gentoo-dev] Last rites: dev-ruby/aws-s3

2021-11-24 Thread Hans de Graaff
# Hans de Graaff  (2021-11-25)
# Last upstream release in 2012 and upstream itself is no longer
# available. Unlikely to still work correctly. No reverse dependencies.
# Masked for removal in 30 days.
dev-ruby/aws-s3


signature.asc
Description: This is a digitally signed message part


[gentoo-dev] [PATCH 2/2] dev-ruby/mimemagic: mark extension as installed

2021-11-21 Thread Hans de Graaff
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Hans de Graaff 
---
 dev-ruby/mimemagic/mimemagic-0.3.10-r1.ebuild | 41 +
 dev-ruby/mimemagic/mimemagic-0.4.3-r1.ebuild  | 45 +++
 2 files changed, 86 insertions(+)
 create mode 100644 dev-ruby/mimemagic/mimemagic-0.3.10-r1.ebuild
 create mode 100644 dev-ruby/mimemagic/mimemagic-0.4.3-r1.ebuild

diff --git a/dev-ruby/mimemagic/mimemagic-0.3.10-r1.ebuild 
b/dev-ruby/mimemagic/mimemagic-0.3.10-r1.ebuild
new file mode 100644
index ..14cda3064dd1
--- /dev/null
+++ b/dev-ruby/mimemagic/mimemagic-0.3.10-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby26 ruby27 ruby30"
+
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_GEMSPEC=mimemagic.gemspec
+
+inherit prefix ruby-fakegem
+
+DESCRIPTION="Fast mime detection by extension or content"
+HOMEPAGE="https://github.com/mimemagicrb/mimemagic;
+SRC_URI="https://github.com/mimemagicrb/mimemagic/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+RDEPEND+=" x11-misc/shared-mime-info"
+
+ruby_add_rdepend "
+   dev-ruby/nokogiri
+   dev-ruby/rake
+"
+
+ruby_add_bdepend "test? ( dev-ruby/minitest )"
+
+all_ruby_prepare() {
+   cp "${FILESDIR}/${PN}-0.3.9-path.rb" lib/mimemagic/path.rb || die
+   eprefixify lib/mimemagic/path.rb
+
+   sed -i -e 's/git ls-files/find * -print/' ${RUBY_FAKEGEM_GEMSPEC} || die
+}
+
+each_ruby_install() {
+   each_fakegem_install
+   ruby_fakegem_extensions_installed
+}
diff --git a/dev-ruby/mimemagic/mimemagic-0.4.3-r1.ebuild 
b/dev-ruby/mimemagic/mimemagic-0.4.3-r1.ebuild
new file mode 100644
index ..8b8fb492af14
--- /dev/null
+++ b/dev-ruby/mimemagic/mimemagic-0.4.3-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby25 ruby26 ruby27 ruby30"
+
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_GEMSPEC=mimemagic.gemspec
+
+inherit prefix ruby-fakegem
+
+DESCRIPTION="Fast mime detection by extension or content"
+HOMEPAGE="https://github.com/mimemagicrb/mimemagic;
+SRC_URI="https://github.com/mimemagicrb/mimemagic/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1-2)"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+RDEPEND+=" x11-misc/shared-mime-info"
+
+ruby_add_rdepend "
+   dev-ruby/nokogiri
+   dev-ruby/rake
+"
+
+ruby_add_bdepend "test? ( dev-ruby/minitest )"
+
+all_ruby_prepare() {
+   cp "${FILESDIR}/${PN}-0.3.9-path.rb" lib/mimemagic/path.rb || die
+   eprefixify lib/mimemagic/path.rb
+
+   sed -i -e 's/git ls-files/find * -print/' ${RUBY_FAKEGEM_GEMSPEC} || die
+}
+
+each_ruby_test() {
+   ${RUBY} -Ilib:.:test -e 'Dir["test/**/*_test.rb"].each {|f| require f}' 
|| die
+}
+
+each_ruby_install() {
+   each_fakegem_install
+   ruby_fakegem_extensions_installed
+}
-- 
2.32.0




[gentoo-dev] [PATCH 1/2] eclass/ruby-fakegem.eclass: add method to indicate extensions are installed

2021-11-21 Thread Hans de Graaff
Add a public method ruby_fakegem_extensions_installed to add the
marker that rubygems uses to determine if extensions have been
installed. We were already adding this as part of the extensions code,
but rubygems also expects this to be present for extensions that we
either ignore or handle differently. Without this marker rubygems
3.2.22 and newer will ignore this gem.

Signed-off-by: Hans de Graaff 
---
 eclass/ruby-fakegem.eclass | 24 
 1 file changed, 20 insertions(+), 4 deletions(-)

diff --git a/eclass/ruby-fakegem.eclass b/eclass/ruby-fakegem.eclass
index 1ef40aa2fad9..3832165761c9 100644
--- a/eclass/ruby-fakegem.eclass
+++ b/eclass/ruby-fakegem.eclass
@@ -546,6 +546,24 @@ if [[ ${RUBY_FAKEGEM_RECIPE_TEST} != none ]]; then
}
 fi
 
+# @FUNCTION: ruby_fakegem_extensions_installed
+# @DESCRIPTION:
+# Install the marker indicating that extensions have been
+# installed. This is normally done as part of the extension
+# installation, but may be useful when we handle extensions manually.
+ruby_fakegem_extensions_installed() {
+   mkdir -p "${ED}$(ruby_fakegem_extensionsdir)" || die
+   touch "${ED}$(ruby_fakegem_extensionsdir)/gem.build_complete" || die
+}
+
+# @FUNCTION: ruby_fakegem_extensionsdir
+# @DESCRIPTION:
+# The directory where rubygems expects extensions for this package
+# version.
+ruby_fakegem_extensionsdir() {
+   echo "$(ruby_fakegem_gemsdir)/extensions/$(ruby_rbconfig_value 
'arch')/$(ruby_rbconfig_value 
'ruby_version')/${RUBY_FAKEGEM_NAME}-${RUBY_FAKEGEM_VERSION}"
+}
+
 # @FUNCTION: each_fakegem_install
 # @DESCRIPTION:
 # Install the package for each ruby target.
@@ -562,14 +580,12 @@ each_fakegem_install() {
 
if [[ -n ${RUBY_FAKEGEM_EXTENSIONS} ]] && [ 
${#RUBY_FAKEGEM_EXTENSIONS[@]} -ge 0 ]; then
einfo "installing extensions"
-   local 
_extensionsdir="$(ruby_fakegem_gemsdir)/extensions/$(ruby_rbconfig_value 
'arch')/$(ruby_rbconfig_value 
'ruby_version')/${RUBY_FAKEGEM_NAME}-${RUBY_FAKEGEM_VERSION}"
 
for extension in ${RUBY_FAKEGEM_EXTENSIONS[@]} ; do
-   emake V=1 sitearchdir="${ED}${_extensionsdir}" 
sitelibdir="${ED}$(ruby_rbconfig_value 'sitelibdir')" -C ${extension%/*} install
+   emake V=1 
sitearchdir="${ED}$(ruby_fakegem_extensionsdir)" 
sitelibdir="${ED}$(ruby_rbconfig_value 'sitelibdir')" -C ${extension%/*} install
done
 
-   # Add the marker to indicate that the extensions are installed
-   touch "${ED}${_extensionsdir}/gem.build_complete" || die
+   ruby_fakegem_extensions_installed
fi
 }
 
-- 
2.32.0




[gentoo-dev] Last rites: dev-ruby/rack-ssl

2021-11-20 Thread Hans de Graaff
# Hans de Graaff  (2021-11-20)
# Obsolete package. Last upstream release in 2014, upstream itself is
# gone. No reverse dependencies in Gentoo.
# Masked for removal in 30 days.
dev-ruby/rack-ssl


signature.asc
Description: This is a digitally signed message part


[gentoo-dev] Last rites: dev-ruby/d3_rails

2021-11-13 Thread Hans de Graaff
# Hans de Graaff  (2021-11-13)
# No longer maintained upstream. Stuck on an old version 4.x of d3
# while d3 upstream is now on 7.x. Probably best to use directly via
# npm or yarn.
# Masked for removal on 2021-12-13.
dev-ruby/d3_rails


signature.asc
Description: This is a digitally signed message part


[gentoo-dev] [PATCH 2/2] dev-ruby/ruby-ldap: EAPI 8; add ruby30; fix extension install

2021-11-07 Thread Hans de Graaff
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Hans de Graaff 
---
 dev-ruby/ruby-ldap/ruby-ldap-0.9.20-r1.ebuild | 34 +++
 1 file changed, 34 insertions(+)
 create mode 100644 dev-ruby/ruby-ldap/ruby-ldap-0.9.20-r1.ebuild

diff --git a/dev-ruby/ruby-ldap/ruby-ldap-0.9.20-r1.ebuild 
b/dev-ruby/ruby-ldap/ruby-ldap-0.9.20-r1.ebuild
new file mode 100644
index ..a195fa0f2b51
--- /dev/null
+++ b/dev-ruby/ruby-ldap/ruby-ldap-0.9.20-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby26 ruby27 ruby30"
+
+inherit ruby-fakegem
+
+RUBY_FAKEGEM_TASK_TEST=""
+RUBY_FAKEGEM_EXTENSIONS=(./extconf.rb)
+RUBY_FAKEGEM_EXTRADOC="ChangeLog FAQ NOTES README TODO"
+
+DESCRIPTION="A Ruby interface to some LDAP libraries"
+HOMEPAGE="https://github.com/bearded/ruby-ldap;
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="ssl"
+DEPEND=">=net-nds/openldap-2
+   dev-libs/cyrus-sasl
+   ssl? ( dev-libs/openssl:0 )"
+RDEPEND="${DEPEND}"
+
+# Current test set is interactive due to certificate generation and requires
+# running LDAP daemon
+RESTRICT="test"
+
+each_ruby_configure() {
+   local myconf="--with-openldap2"
+   if ! use ssl ; then
+   myconf="${myconf} --without-libcrypto --without-libssl"
+   fi
+   RUBY_FAKEGEM_EXTENSION_OPTIONS=${myconf} each_fakegem_configure
+}
-- 
2.32.0




[gentoo-dev] [PATCH 1/2] eclass/ruby-fakegem.eclass: add options support for extensions

2021-11-07 Thread Hans de Graaff
Introduce RUBY_FAKEGEM_EXTENSION_OPTIONS to allow setting options for
extensions.

Signed-off-by: Hans de Graaff 
---
 eclass/ruby-fakegem.eclass | 9 -
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/eclass/ruby-fakegem.eclass b/eclass/ruby-fakegem.eclass
index 4b954615cac9..a907a12831b5 100644
--- a/eclass/ruby-fakegem.eclass
+++ b/eclass/ruby-fakegem.eclass
@@ -123,6 +123,13 @@ RUBY_FAKEGEM_BINDIR="${RUBY_FAKEGEM_BINDIR-bin}"
 # the configuration script that needs to be run to generate the
 # extension.
 
+# @ECLASS-VARIABLE: RUBY_FAKEGEM_EXTENSION_OPTIONS
+# @DEFAULT_UNSET
+# @DESCRIPTION:
+# Additional options that are passed when configuring the
+# extension. Some extensions use this to locate paths or turn specific
+# parts of the extionsion on or off.
+
 # @ECLASS-VARIABLE: RUBY_FAKEGEM_EXTENSION_LIBDIR
 # @DESCRIPTION:
 # The lib directory where extensions are copied directly after they have
@@ -404,7 +411,7 @@ EOF
 each_fakegem_configure() {
tc-export PKG_CONFIG
for extension in "${RUBY_FAKEGEM_EXTENSIONS[@]}" ; do
-   CC=$(tc-getCC) ${RUBY} --disable=did_you_mean -C 
${extension%/*} ${extension##*/} || die
+   CC=$(tc-getCC) ${RUBY} --disable=did_you_mean -C 
${extension%/*} ${extension##*/} ${RUBY_FAKEGM_EXTENSION_OPTIONS} || die
done
 }
 
-- 
2.32.0




[gentoo-dev] [PATCH] eclass/ruby-fakegem.eclass: set flags for compilation

2021-11-07 Thread Hans de Graaff
Explicitly pass CC, CFLAGS and LDFLAGS when compiling ruby
extensions. By default ruby re-uses the stored flags used when
compiling ruby itself. This is intended to create a better chance of
compatibility between extensions and ruby itself, and extensions do
not need to bother with this themselves, but it does not match the
expectations of a Gentoo system where each compile action should use
the currently defined flags.

We also cannot guarantee this compatibility in any case since
toolchain packages may have been updated in the meantime.

This change uses the current CC, CFLAGS and LDFLAGS, and adds -fPIC
which ruby extensions need and which would otherwise be added by
ruby. This combination is already used in some ebuilds without any
reported issues.

Signed-off-by: Hans de Graaff 
---
 eclass/ruby-fakegem.eclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eclass/ruby-fakegem.eclass b/eclass/ruby-fakegem.eclass
index 573e3511daf7..858fe04e082f 100644
--- a/eclass/ruby-fakegem.eclass
+++ b/eclass/ruby-fakegem.eclass
@@ -404,7 +404,7 @@ EOF
 each_fakegem_configure() {
tc-export PKG_CONFIG
for extension in "${RUBY_FAKEGEM_EXTENSIONS[@]}" ; do
-   ${RUBY} --disable=did_you_mean -C ${extension%/*} 
${extension##*/} || die
+   CC=$(tc-getCC) ${RUBY} --disable=did_you_mean -C 
${extension%/*} ${extension##*/} || die
done
 }
 
@@ -441,7 +441,7 @@ all_fakegem_compile() {
 # Compile extensions defined in RUBY_FAKEGEM_EXTENSIONS, if any.
 each_fakegem_compile() {
for extension in "${RUBY_FAKEGEM_EXTENSIONS[@]}" ; do
-   emake V=1 -C ${extension%/*}
+   emake V=1 -C ${extension%/*} CFLAGS="${CFLAGS} -fPIC" 
archflag="${LDFLAGS}"
mkdir -p "${RUBY_FAKEGEM_EXTENSION_LIBDIR%/}"
cp "${extension%/*}"/*$(get_modname) 
"${RUBY_FAKEGEM_EXTENSION_LIBDIR%/}/" || die "Copy of extension into 
${RUBY_FAKEGEM_EXTENSION_LIBDIR} failed"
done
-- 
2.32.0




[gentoo-dev] Last rites: dev-ruby/archive-tar-minitar

2021-10-17 Thread Hans de Graaff
# Hans de Graaff  (2021-10-17)
# Obsolete package, replaced by dev-ruby/minitar.
# No reverse dependencies left. Masked for removal in 30 days.
dev-ruby/archive-tar-minitar


signature.asc
Description: This is a digitally signed message part


[gentoo-dev] Re: [gentoo-dev-announce] Packages up for grabs per ikelos's retirement

2021-08-10 Thread Hans de Graaff
On Tue, 2021-08-10 at 08:57 +0300, Joonas Niilola wrote:
> 
> app-crypt/xca

I'll take this.

Hans


signature.asc
Description: This is a digitally signed message part


[gentoo-dev] Last rites: dev-ruby/sfl

2021-07-18 Thread Hans de Graaff
# Hans de Graaff  (2021-07-18)
# Compatibility package for ruby 1.8. No longer maintained upstream.
# Last release in 2016, but current release in gentoo is from 2012.
# No reverse dependencies.
# Masked for removal in 30 days.
dev-ruby/sfl


signature.asc
Description: This is a digitally signed message part


[gentoo-dev] Last rites: dev-ruby/factory_girl and dev-ruby/bourne

2021-07-16 Thread Hans de Graaff
# Hans de Graaff  (2021-07-17)
# Deprecated upstream, replaced with factory_bot.
# Last release in 2017, no dependencies.
# Masked for removal in 30 days.
dev-ruby/factory_girl

# Hans de Graaff  (2021-07-17)
# Deprecated upstream, no longer needed with rspec 2+
# Last release in 2016, factory_girl was last dependency.
# Masked for removal in 30 days.
dev-ruby/bourne


signature.asc
Description: This is a digitally signed message part


[gentoo-dev] Last rites: dev-ruby/spork

2021-07-15 Thread Hans de Graaff
# Hans de Graaff  (2021-07-15)
# Dead upstream, no longer maintained, last release in
# 2013. No dependencies.
# Masked for removal in 30 days.
dev-ruby/spork


signature.asc
Description: This is a digitally signed message part


[gentoo-dev] [PATCH 4/4] eclass/ruby-fakegem.eclass: remove EAPI 4 support

2021-07-15 Thread Hans de Graaff
Signed-off-by: Hans de Graaff 
---
 eclass/ruby-fakegem.eclass | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/eclass/ruby-fakegem.eclass b/eclass/ruby-fakegem.eclass
index 34eeff2fad96..76a80f6b9be2 100644
--- a/eclass/ruby-fakegem.eclass
+++ b/eclass/ruby-fakegem.eclass
@@ -60,7 +60,7 @@ RUBY_FAKEGEM_TASK_TEST="${RUBY_FAKEGEM_TASK_TEST-test}"
 #  - yard (calls `yard`, adds dev-ruby/yard to the dependencies);
 #  - none
 case ${EAPI} in
-   4|5|6)
+   5|6)
RUBY_FAKEGEM_RECIPE_DOC="${RUBY_FAKEGEM_RECIPE_DOC-rake}"
;;
*)
@@ -130,7 +130,7 @@ RUBY_FAKEGEM_BINDIR="${RUBY_FAKEGEM_BINDIR-bin}"
 RUBY_FAKEGEM_EXTENSION_LIBDIR="${RUBY_FAKEGEM_EXTENSION_LIBDIR-lib}"
 
 case ${EAPI} in
-   4|5|6|7|8) ;;
+   5|6|7|8) ;;
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
 esac
 
@@ -197,7 +197,7 @@ 
SRC_URI="https://rubygems.org/gems/${RUBY_FAKEGEM_NAME}-${RUBY_FAKEGEM_VERSION}$
 ruby_add_bdepend "virtual/rubygems !!dev-ruby/psych"
 ruby_add_rdepend virtual/rubygems
 case ${EAPI} in
-   4|5|6)
+   5|6)
;;
*)
ruby_add_depend virtual/rubygems
@@ -312,7 +312,7 @@ ruby_fakegem_metadata_gemspec() {
 # See RUBY_FAKEGEM_REQUIRE_PATHS for setting extra require paths.
 ruby_fakegem_genspec() {
case ${EAPI} in
-   4|5|6) ;;
+   5|6) ;;
*)
eqawarn "Generating generic fallback gemspec *without* 
dependencies"
eqawarn "This will only work when there are no runtime 
dependencies"
-- 
2.31.1




[gentoo-dev] [PATCH 3/4] eclass/ruby-ng.eclass: remove EAPI 4 support

2021-07-15 Thread Hans de Graaff
Signed-off-by: Hans de Graaff 
---
 eclass/ruby-ng.eclass | 22 +++---
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/eclass/ruby-ng.eclass b/eclass/ruby-ng.eclass
index d8afa207661f..ac9c117c0c02 100644
--- a/eclass/ruby-ng.eclass
+++ b/eclass/ruby-ng.eclass
@@ -8,7 +8,7 @@
 # Author: Diego E. Pettenò 
 # Author: Alex Legler 
 # Author: Hans de Graaff 
-# @SUPPORTED_EAPIS: 4 5 6 7 8
+# @SUPPORTED_EAPIS: 5 6 7 8
 # @BLURB: An eclass for installing Ruby packages with proper support for 
multiple Ruby slots.
 # @DESCRIPTION:
 # The Ruby eclass is designed to allow an easier installation of Ruby packages
@@ -68,7 +68,7 @@
 
 local inherits=""
 case ${EAPI} in
-   4|5)
+   5)
inherits="eutils toolchain-funcs"
;;
6)
@@ -87,7 +87,7 @@ EXPORT_FUNCTIONS src_unpack src_prepare src_configure 
src_compile src_test src_i
 S="${WORKDIR}"
 
 case ${EAPI} in
-   4|5|6|7|8) ;;
+   5|6|7|8) ;;
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
 esac
 
@@ -207,7 +207,7 @@ ruby_add_rdepend() {
1) ;;
2)
case ${EAPI} in
-   4|5|6)
+   5|6)
[[ "${GENTOO_DEV}" == "yes" ]] && 
eqawarn "You can now use the usual syntax in ruby_add_rdepend for $CATEGORY/$PF"
ruby_add_rdepend 
"$(_ruby_wrap_conditions "$1" "$2")"
return
@@ -229,7 +229,7 @@ ruby_add_rdepend() {
# Add the dependency as a test-dependency since we're going to
# execute the code during test phase.
case ${EAPI} in
-   4|5|6) DEPEND="${DEPEND} test? ( ${dependency} )" ;;
+   5|6) DEPEND="${DEPEND} test? ( ${dependency} )" ;;
*) BDEPEND="${BDEPEND} test? ( ${dependency} )" ;;
esac
if ! has test "$IUSE"; then
@@ -252,7 +252,7 @@ ruby_add_bdepend() {
1) ;;
2)
case ${EAPI} in
-   4|5|6)
+   5|6)
[[ "${GENTOO_DEV}" == "yes" ]] && 
eqawarn "You can now use the usual syntax in ruby_add_bdepend for $CATEGORY/$PF"
ruby_add_bdepend 
"$(_ruby_wrap_conditions "$1" "$2")"
return
@@ -270,7 +270,7 @@ ruby_add_bdepend() {
local dependency=$(_ruby_atoms_samelib "$1")
 
case ${EAPI} in
-   4|5|6) DEPEND="${DEPEND} $dependency" ;;
+   5|6) DEPEND="${DEPEND} $dependency" ;;
*) BDEPEND="${BDEPEND} $dependency" ;;
esac
RDEPEND="${RDEPEND}"
@@ -283,7 +283,7 @@ ruby_add_bdepend() {
 # ruby_add_bdepend.
 ruby_add_depend() {
case ${EAPI} in
-   4|5|6) die "only available in EAPI 7 and newer" ;;
+   5|6) die "only available in EAPI 7 and newer" ;;
*) ;;
esac
 
@@ -351,7 +351,7 @@ if [[ ${RUBY_OPTIONAL} != yes ]]; then
RDEPEND="${RDEPEND} $(ruby_implementations_depend)"
REQUIRED_USE+=" || ( $(ruby_get_use_targets) )"
case ${EAPI} in
-   4|5|6) ;;
+   5|6) ;;
*) BDEPEND="${BDEPEND} $(ruby_implementations_depend)" ;;
esac
 fi
@@ -455,7 +455,7 @@ ruby-ng_src_unpack() {
 
 _ruby_apply_patches() {
case ${EAPI} in
-   4|5)
+   5)
for patch in "${RUBY_PATCHES[@]}"; do
if [ -f "${patch}" ]; then
epatch "${patch}"
@@ -503,7 +503,7 @@ ruby-ng_src_prepare() {
 
# Handle PATCHES and user supplied patches via the default phase
case ${EAPI} in
-   4|5)
+   5)
;;
*)
_ruby_invoke_environment all default
-- 
2.31.1




[gentoo-dev] [PATCH 2/4] eclass/ruby-fakegem.eclass: add EAPI 8 support

2021-07-15 Thread Hans de Graaff
Signed-off-by: Hans de Graaff 
---
 eclass/ruby-fakegem.eclass | 14 --
 1 file changed, 4 insertions(+), 10 deletions(-)

diff --git a/eclass/ruby-fakegem.eclass b/eclass/ruby-fakegem.eclass
index 9b2fd39ccf14..34eeff2fad96 100644
--- a/eclass/ruby-fakegem.eclass
+++ b/eclass/ruby-fakegem.eclass
@@ -8,7 +8,7 @@
 # Author: Diego E. Pettenò 
 # Author: Alex Legler 
 # Author: Hans de Graaff 
-# @SUPPORTED_EAPIS: 4 5 6 7
+# @SUPPORTED_EAPIS: 4 5 6 7 8
 # @BLURB: An eclass for installing Ruby packages to behave like RubyGems.
 # @DESCRIPTION:
 # This eclass allows to install arbitrary Ruby libraries (including Gems),
@@ -129,17 +129,11 @@ RUBY_FAKEGEM_BINDIR="${RUBY_FAKEGEM_BINDIR-bin}"
 # legacy way to install extensions for a long time.
 RUBY_FAKEGEM_EXTENSION_LIBDIR="${RUBY_FAKEGEM_EXTENSION_LIBDIR-lib}"
 
-case "${EAPI:-0}" in
-   0|1|2|3)
-   die "Unsupported EAPI=${EAPI} (too old) for 
ruby-fakegem.eclass" ;;
-   4|5|6|7)
-   ;;
-   *)
-   die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}"
-   ;;
+case ${EAPI} in
+   4|5|6|7|8) ;;
+   *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
 esac
 
-
 RUBY_FAKEGEM_SUFFIX="${RUBY_FAKEGEM_SUFFIX:-}"
 
 
-- 
2.31.1




[gentoo-dev] [PATCH 1/4] eclass/ruby-ng.eclass: add EAPI 8 support

2021-07-15 Thread Hans de Graaff
Signed-off-by: Hans de Graaff 
---
 eclass/ruby-ng.eclass | 15 ++-
 1 file changed, 6 insertions(+), 9 deletions(-)

diff --git a/eclass/ruby-ng.eclass b/eclass/ruby-ng.eclass
index 0c569bfcdcc6..d8afa207661f 100644
--- a/eclass/ruby-ng.eclass
+++ b/eclass/ruby-ng.eclass
@@ -8,7 +8,7 @@
 # Author: Diego E. Pettenò 
 # Author: Alex Legler 
 # Author: Hans de Graaff 
-# @SUPPORTED_EAPIS: 4 5 6 7
+# @SUPPORTED_EAPIS: 4 5 6 7 8
 # @BLURB: An eclass for installing Ruby packages with proper support for 
multiple Ruby slots.
 # @DESCRIPTION:
 # The Ruby eclass is designed to allow an easier installation of Ruby packages
@@ -83,15 +83,12 @@ inherit ${inherits} multilib ruby-utils
 
 EXPORT_FUNCTIONS src_unpack src_prepare src_configure src_compile src_test 
src_install pkg_setup
 
+# S is no longer automatically assigned when it doesn't exist.
+S="${WORKDIR}"
+
 case ${EAPI} in
-   0|1|2|3)
-   die "Unsupported EAPI=${EAPI} (too old) for ruby-ng.eclass" ;;
-   4|5|6|7)
-   # S is no longer automatically assigned when it doesn't exist.
-   S="${WORKDIR}"
-   ;;
-   *)
-   die "Unknown EAPI=${EAPI} for ruby-ng.eclass"
+   4|5|6|7|8) ;;
+   *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
 esac
 
 # @FUNCTION: ruby_implementation_depend
-- 
2.31.1




[gentoo-dev] [PATCH 0/4] EAPI 8 support for ruby eclasses

2021-07-15 Thread Hans de Graaff
Add support for EAPI 8 and remove support for EAPI 4. No real changes
needed, but standardized the EAPI check to match the proposed default.

Hans de Graaff (4):
  eclass/ruby-ng.eclass: add EAPI 8 support
  eclass/ruby-fakegem.eclass: add EAPI 8 support
  eclass/ruby-ng.eclass: remove EAPI 4 support
  eclass/ruby-fakegem.eclass: remove EAPI 4 support

 eclass/ruby-fakegem.eclass | 20 +++-
 eclass/ruby-ng.eclass  | 33 +++--
 2 files changed, 22 insertions(+), 31 deletions(-)

-- 
2.31.1




[gentoo-dev] Last rites: dev-vcs/git-num

2021-07-09 Thread Hans de Graaff
# Hans de Graaff  (2021-07-09)
# Last release in 2016. Tests fail with recent git versions.
# No reverse dependencies, no maintainer.
# Masked for removal in 30 days.
dev-vcs/git-num


signature.asc
Description: This is a digitally signed message part


[gentoo-dev] Last rites: dev-ruby/compass

2021-07-09 Thread Hans de Graaff
# Hans de Graaff  (2021-07-09)
# Last release in 2014 and no longer supported upstream. Obsolete CSS
# framework with known issues.
# Masked for removal in 30 days.
dev-ruby/compass
dev-ruby/compass-core
dev-ruby/compass-import-once


signature.asc
Description: This is a digitally signed message part


[gentoo-dev] Last rites: dev-ruby/nagios, dev-ruby/notify, dev-ruby/rash

2021-07-06 Thread Hans de Graaff
# Hans de Graaff  (2021-07-06)
# Last release in 2013, no tests, no dependencies.
# Masked for removal in 30 days.
dev-ruby/nagios

# Hans de Graaff  (2021-07-06)
# Last release in 2013, no tests, no dependencies.
# Masked for removal in 30 days.
dev-ruby/notify

# Hans de Graaff  (2021-07-06)
# Last release in 2013, all dependencies have switched to rash_alt.
# Masked for removal in 30 days.
dev-ruby/rash


signature.asc
Description: This is a digitally signed message part


[gentoo-dev] Last rites: dev-ruby/source_map and dev-ruby/shotgun

2021-07-04 Thread Hans de Graaff
# Hans de Graaff  (2021-07-04)
# Last release in 2016, failing tests, no dependencies.
# Masked for removal in 30 days.
dev-ruby/shotgun

# Hans de Graaff  (2021-07-04)
# Last release in 2012, no working tests, no dependencies.
# Masked for removal in 30 days.
dev-ruby/source_map


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-dev] Packages up for grabs, round #2

2021-06-01 Thread Hans de Graaff
On Mon, 2021-05-31 at 22:49 +0200, David Seifert wrote:
> The following packages have been dropped to m-n, since their
> maintainers
> haven't touched them in over a year and show no signs of maintaining
> them:
> 
> 
>   media-gfx/icoutils

Could you explain what maintenance is expected here? There is not newer
version out and there are no open bugs.

Hans


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-dev] Idea: User centric kernel configuration

2021-03-14 Thread Hans de Graaff
On Fri, 2021-03-12 at 11:40 -0500, Mike Pagano wrote:
> 
> have for systemd and openrc where you select something and we preselect
> a bunch of required/suggested kernel configs options.

Another good candidate for this mechanism would be the recommendations
on
https://kernsec.org/wiki/index.php/Kernel_Self_Protection_Project/Recommended_Settings
perhaps linked to a hardened USE flag and/or profile.

Hans


signature.asc
Description: This is a digitally signed message part


[gentoo-dev] Last rites: dev-ruby/ruby-oci8

2021-03-12 Thread Hans de Graaff
# Hans de Graaff  (2021-03-12)
# Requires a (proxy) maintainer with access to Oracle development
# libraries. Please express your interest on bug 772128 if you can
# help.
# Masked for removal in 30 days.
dev-ruby/ruby-oci8


signature.asc
Description: This is a digitally signed message part


[gentoo-dev] Last rites: dev-ruby/astrolabe

2021-03-11 Thread Hans de Graaff
# Hans de Graaff  (2021-03-11)
# Last upstream release in 2018, uses outdated dependencies.  No
# longer works with dev-ruby/parser, bug 775206. No reverse
# dependencies.
# Masked for removal in 30 days.
dev-ruby/astrolabe


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-dev] Packages up for grabs

2021-03-10 Thread Hans de Graaff
On Sun, 2021-01-17 at 10:26 +0100, Michał Górny wrote:
> Hello,
> 
> The following packages are in need of a new maintainer due to their
> current maintainer being MIA:
> 
> [b ] www-apache/mod_xsendfile

I think I can safely say that I've waited long enough for someone else
to pick this up. I've now taken this and fixed the minor open bug.

Hans


signature.asc
Description: This is a digitally signed message part


[gentoo-dev] Last rites: ruby25-only packages

2021-03-08 Thread Hans de Graaff
# Hans de Graaff  (2021-03-08)
# Last litc upstream release in 2010, no reverse dependencies,
# ruby25-only. Includes fakeweb test dependency which is also
# ruby25-only and has no other reverse dependencies.
# Masked for removal in 30 days.
dev-ruby/litc
dev-ruby/fakeweb

# Hans de Graaff  (2021-03-08)
# Last upstream release in 2009, no reverse dependencies,
# no test suite.
# Masked for removal in 30 days.
dev-ruby/metaid

# Hans de Graaff  (2021-03-08)
# Last upstream release in 2018, no reverse dependencies,
# stuck on ruby25.
# Masked for removal in 30 days.
dev-ruby/nexpose

# Hans de Graaff  (2021-03-08)
# No longer maintained upstream, last release in 2014.
# ruby25-only.
# Masked for removal in 30 days.
dev-ruby/session

# Hans de Graaff  (2021-03-08)
# gitsh is maintainer-needed and stuck on ruby25.
# parslet is only needed for gitsh and also ruby25-only.
# Masked for removal in 30 days.
dev-vcs/gitsh
dev-ruby/parslet

# Hans de Graaff  (2021-03-08)
# Old ruby25-only slots. Use the newer slot instead.
# Masked for removal in 30 days.
dev-ruby/i18n:0.7
dev-ruby/pcaprub:0.12
dev-ruby/pg:0


signature.asc
Description: This is a digitally signed message part


[gentoo-dev] [PATCH] dev-ruby/msgpack: use new extension support

2021-01-31 Thread Hans de Graaff
--- msgpack-1.3.3.ebuild2020-06-13 08:28:00.023541920 +0200
+++ msgpack-1.3.3-r1.ebuild 2021-01-31 09:51:25.856505887 +0100
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -8,7 +8,10 @@
 RUBY_FAKEGEM_RECIPE_TEST="rspec3"
 RUBY_FAKEGEM_EXTRADOC="README.rdoc"
 
-inherit multilib ruby-fakegem
+RUBY_FAKEGEM_EXTENSIONS=(ext/msgpack/extconf.rb)
+RUBY_FAKEGEM_EXTENSION_LIBDIR="lib/msgpack"
+
+inherit ruby-fakegem
 
 DESCRIPTION="Binary-based efficient data interchange format for ruby
binding"
 HOMEPAGE="https://msgpack.org/;
@@ -26,16 +29,3 @@
 
sed -i -e '/git ls-files/d' msgpack.gemspec || die
 }
-
-each_ruby_configure() {
-   ${RUBY} -Cext/${PN} extconf.rb || die "Configuration of
extension failed."
-
-   # rb_num2int is not inlined on 32 bit arches but also not
explicitly
-   # defined, bug 582968
-   sed -i -e 's:-Wl,--no-undefined::' ext/${PN}/Makefile || die
-}
-
-each_ruby_compile() {
-   emake V=1 -Cext/${PN}
-   cp ext/${PN}/msgpack$(get_modname) lib/${PN} || die "Unable to
install msgpack library."
-}


signature.asc
Description: This is a digitally signed message part


[gentoo-dev] [PATCH] ruby-fakegem.eclass: add support for compiled extensions

2021-01-31 Thread Hans de Graaff
Up to now handling of extensions was done in each ebuild that
contained them. This means that handling is often
inconsistent (e.g. not taking multilib's get_modname into account) and
there is a lot of duplicated code in ebuilds.

Furthermore, this also does not install extensions into the special
extensions directory. rubygems itself has been doing this for some
time, and now bundler 2.2.x has started to explicitly check for the
extensions in this directory, making it incompatibly with our previous
way of installing gems.

The new RUBY_FAKEGEM_EXTENSIONS array and
RUBY_FAKEGEM_EXTENSION_LIBDIR options provide support for installing
extensions automatically based on these settings, taking into account
that the extensions also must be part of testing and that it must be
installed properly.

diff --git a/eclass/ruby-fakegem.eclass b/eclass/ruby-fakegem.eclass
index 8ab448765946..f3b3ee02085c 100644
--- a/eclass/ruby-fakegem.eclass
+++ b/eclass/ruby-fakegem.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # @ECLASS: ruby-fakegem.eclass
@@ -113,6 +113,20 @@ RUBY_FAKEGEM_BINDIR="${RUBY_FAKEGEM_BINDIR-bin}"
 # get installed. Some gems provide extra files such as version
information,
 # Rails generators, or data that needs to be installed as well.
 
+# @ECLASS-VARIABLE: RUBY_FAKEGEM_EXTENSIONS
+# @DEFAULT_UNSET
+# @DESCRIPTION
+# List of extensions supported by this gem. Each extension is listed
as
+# the configuration script that needs to be run to generate the
+# extension.
+
+# @ECLASS-VARIABLE: RUBY_FAKEGEM_EXTENSION_LIBDIR
+# @DESCRIPTION:
+# The lib directory where extensions are copied directly after they
have
+# been compiled. This is needed to run tests on the code and was the
+# legacy way to install extensions for a long time.
+RUBY_FAKEGEM_EXTENSION_LIBDIR="${RUBY_FAKEGEM_EXTENSION_LIBDIR-lib}"
+
 case "${EAPI:-0}" in
0|1|2|3)
die "Unsupported EAPI=${EAPI} (too old) for ruby-
fakegem.eclass" ;;
@@ -387,6 +401,22 @@ EOF
) || die "Unable to create fakegem wrapper"
 }
 
+# @FUNCTION: each_fakegem_configure
+# @DESCRIPTION:
+# Configure extensions defined in RUBY_FAKEGEM_EXTENSIONS, if any.
+each_fakegem_configure() {
+   for extension in "${RUBY_FAKEGEM_EXTENSIONS[@]}" ; do
+   ${RUBY} -C ${extension%/*} ${extension##*/} || die
+   done
+}
+
+# @FUNCTION: each_ruby_configure
+# @DESCRIPTION:
+# Run each_fakegem_configure for each ruby target
+each_ruby_configure() {
+   each_fakegem_configure
+}
+
 # @FUNCTION: all_fakegem_compile
 # @DESCRIPTION:
 # Build documentation for the package if indicated by the doc USE flag
@@ -408,6 +438,23 @@ all_fakegem_compile() {
fi
 }
 
+# @FUNCTION: each_fakegem_compile
+# @DESCRIPTION:
+# Compile extensions defined in RUBY_FAKEGEM_EXTENSIONS, if any.
+each_fakegem_compile() {
+   for extension in "${RUBY_FAKEGEM_EXTENSIONS[@]}" ; do
+   emake V=1 -C ${extension%/*}
+   cp "${extension%/*}"/*$(get_modname)
"${RUBY_FAKEGEM_EXTENSION_LIBDIR}" || die "Copy of extension into
${RUBY_FAKEGEM_EXTENSION_LIBDIR} failed"
+   done
+}
+
+# @FUNCTION: each_ruby_compile
+# @DESCRIPTION:
+# Run each_fakegem_compile for each ruby target
+each_ruby_compile() {
+   each_fakegem_compile
+}
+
 # @FUNCTION: all_ruby_unpack
 # @DESCRIPTION:
 # Unpack the source archive, including support for unpacking gems.
@@ -506,6 +553,18 @@ each_fakegem_install() {
 
[[ -n ${_gemlibdirs} ]] && \
ruby_fakegem_doins -r ${_gemlibdirs}
+
+   if [[ -n ${RUBY_FAKEGEM_EXTENSIONS} ]] && [
${#RUBY_FAKEGEM_EXTENSIONS[@]} -ge 0 ]; then
+   einfo "installing extensions"
+   local
_extensionsdir="$(ruby_fakegem_gemsdir)/extensions/$(ruby_rbconfig_valu
e 'arch')/$(ruby_rbconfig_value 'ruby_version')/${RUBY_FAKEGEM_NAME}-
${RUBY_FAKEGEM_VERSION}"
+
+   for extension in ${RUBY_FAKEGEM_EXTENSIONS[@]} ; do
+   emake V=1 sitearchdir="${D}/${_extensionsdir}"
-C ${extension%/*} install
+   done
+
+   # Add the marker to indicate that the extensions are
installed
+   touch "${D}${_extensionsdir}/gem.build_complete" || die
+   fi
 }
 
 # @FUNCTION: each_ruby_install


signature.asc
Description: This is a digitally signed message part


[gentoo-dev] Last rites: various old dev-ruby/* packages

2020-09-17 Thread Hans de Graaff
# Hans de Graaff  (2020-09-17)
# Mask old unmaintained or obsolete ruby packages for removal in 30
# days.

# No longer maintained upstream, ruby27 issues, no deps
dev-ruby/bluecloth

# No longer maintained upstream, no deps
dev-ruby/calendar_date_select

# Obsolete, no deps
dev-ruby/capistrano-stats

# No longer maintained, git snapshot from 2013, no deps
dev-ruby/expression_parser

# No longer needed, no deps
dev-ruby/hoe-seattlerb

# No longer maintained upstream, ruby27 issues, no deps
dev-ruby/inifile

# Obsolete (merged into rails 4)
dev-ruby/journey

# No longer maintained, ruby27 issues, no deps
dev-ruby/rgen

# No longer maintained, no deps
dev-ruby/ruby_dep


signature.asc
Description: This is a digitally signed message part


[gentoo-dev] Last rites: packages only relevant to the already removed metasploit

2020-09-16 Thread Hans de Graaff
# Hans de Graaff  (2020-09-16)
# Dependencies of the already removed metasploit that are relevant
# only with metasploit. Masked for removal in 30 days.
dev-ruby/meterpreter_bins
dev-ruby/patch_finder
dev-ruby/rb-readline-r7


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-dev] [PATCH] profiles/targets/desktop: Do not enable ldap USE flag by default

2020-09-09 Thread Hans de Graaff
On Wed, 2020-09-09 at 13:35 +0300, Mikle Kolyada wrote:
> Closes: https://bugs.gentoo.org/741380

Could you provide a rationale for removing this? The bug only has a
single anecdotal report of a user who can run a desktop without it. I'm
not sure if that is reason enough to remove this. I guess we won't be
able to figure out easily how many of our desktop profile users are
actually using LDAP, but changing this may cause surprises and I'm not
sure if that's warranted.

Hans


signature.asc
Description: This is a digitally signed message part


[gentoo-dev] Last rites: dev-ruby/bcat

2020-08-16 Thread Hans de Graaff
# Hans de Graaff  (2020-08-16)
# Old unmaintained package without reverse dependencies. Block removal
# of insecure dev-ruby/rack versions, bug 730786. Masked for removal
# in 30 days.
dev-ruby/bcat


signature.asc
Description: This is a digitally signed message part


[gentoo-dev] Last rites: dev-lang/ruby:2.4

2020-06-14 Thread Hans de Graaff
# Hans de Graaff  (2020-06-14)
# Ruby 2.4 is no longer supported by upstream and no longer gets
# security updates since the 2.4.10 release. Use ruby 2.5 or later
# instead.
dev-lang/ruby:2.4
dev-ruby/did_you_mean:2.4


signature.asc
Description: This is a digitally signed message part


[gentoo-dev] Last rites: dev-ruby/rack-mount

2020-05-24 Thread Hans de Graaff
# Hans de Graaff  (2020-05-24)
# No releases since 2011, upstream is gone, fails tests,
# no reverse dependencies.
# Masked for removal in 30 days.
dev-ruby/rack-mount


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-dev] [PATCH v2 01/10] ruby-ng-gnome2.eclass: drop support for 0.19.x

2020-05-10 Thread Hans de Graaff
On Mon, 2020-05-04 at 11:22 +0900, Naohiro Aota wrote:
> The official tree no longer have ruby-gnome2 packages with 0.19.x.
> Drop
> support for them.

All of these patches look fine to me. Please go ahead and merge.

Hans


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-dev] De-stabilizing and re-stabilizing (on amd64 only)

2020-05-09 Thread Hans de Graaff
On Fri, 2020-05-08 at 13:33 +0300, Andreas K. Hüttel wrote:
> 
> Background, I tried to locally emulate www.g.o using jekyll, and ran
> into 
> troubles because lots of dev-ruby/* lost stable keywords. Newest
> ~arch didn't 
> do the job, so I needed to figure out the config of www.g.o
> (corresponding to 
> former stable) first... 

I'm not aware of amd64 stable keywords being lost in dev-ruby, other
than dev-ruby/rails a long time ago. Which packages did you get in
trouble with?

And you can always file a stable bug for the maintainers :-)

Hans


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-dev] [gentoostats continued] Collected data and justification for it

2020-05-08 Thread Hans de Graaff
On Thu, 2020-05-07 at 09:29 +0200, Michał Górny wrote:
> 
> 
> 1) list of selected packages (@world)
> 
> We would use this to determine the popularity of individual packages,
> plus by scanning their dependencies we would be able to make combined
> statistics for direct usage + dependencies of other selected
> packages. 
> This would allow us to judge which packages need more of our
> attention.

At work we install a lot of dependencies through a few company-specific 
virtual packages, e.g. company/developer for all stuff useful for our
developers. These packages would then be missed in the statistics. I'm
not sure how prevalent this is and to what extend it wills skew the
statistics.

Hans


signature.asc
Description: This is a digitally signed message part


[gentoo-dev] Last rites: ruby24-only packages

2020-04-13 Thread Hans de Graaff
# Hans de Graaff  (2020-04-13)
# ruby24-only packages. Ruby 2.4 is EOL and will be masked for removal
# shortly. These packages either have newer ruby25 slots available, or
# are no longer maintained and have no reverse dependencies. Masked
# for removal in 30 days.
dev-ruby/activeldap:4
dev-ruby/bones
dev-ruby/github_api
dev-ruby/http:0.8
dev-ruby/http-form_data:0.8
dev-ruby/rack-test:0.6
dev-ruby/rails-deprecated_sanitizer
dev-ruby/riel
dev-ruby/shoulda-matchers:0
dev-ruby/vcr:1
dev-ruby/webmock:2


signature.asc
Description: This is a digitally signed message part


[gentoo-dev] Last rites: sci-biology/bioruby and dev-ruby/libxml

2020-04-13 Thread Hans de Graaff
# Hans de Graaff  (2020-04-13)
# dev-ruby/libxml is ruby24-only and has known
# bugs. sci-biology/bioruby depends on this. It looks like there is a
# new version upstream that may not depend on libxml, but this
# requires a dedicated maintainer to test and sort out. Masked for
# removal in 30 days.
dev-ruby/libxml
sci-biology/bioruby


signature.asc
Description: This is a digitally signed message part


[gentoo-dev] Last rites: dev-ruby/rails:4.2 and related packages, including net-analyzer/metasploit

2020-03-29 Thread Hans de Graaff
# Hans de Graaff  (2020-03-29)
# Old ruby24-only rails version that is no longer supported upstream
# and has known security issues, including dependencies and slots
# specific to Rails 4.2.
# Migrate to Rails 5.2.
# Masked for removal in 30 days.
dev-ruby/rails:4.2
dev-ruby/railties:4.2
dev-ruby/activerecord:4.2
dev-ruby/actionmailer:4.2
dev-ruby/actionpack:4.2
dev-ruby/actionview:4.2
dev-ruby/activejob:4.2
dev-ruby/activemodel:4.2
dev-ruby/activesupport:4.2
dev-ruby/arel:6.0
dev-ruby/actionpack-xml_parser:0
dev-ruby/jquery-rails:3
dev-ruby/postgres_ext
dev-ruby/protected_attributes
dev-ruby/rails-dom-testing:1
dev-ruby/web-console:0
# Metasploit is a reverse dependency on Rails 4.2 Upstream shows no
# sign of moving to a supported Rails version. Metasploit will most
# likely be moved to an overlay.
dev-ruby/metasploit-concern
dev-ruby/metasploit-credential
dev-ruby/metasploit-model
dev-ruby/metasploit_data_models
net-analyzer/metasploit
dev-ruby/rex-arch
dev-ruby/rex-bin_tools
dev-ruby/rex-core
dev-ruby/rex-encoder
dev-ruby/rex-exploitation
dev-ruby/rex-java
dev-ruby/rex-mime
dev-ruby/rex-nop
dev-ruby/rex-ole
dev-ruby/rex-powershell
dev-ruby/rex-random_identifier
dev-ruby/rex-registry
dev-ruby/rex-rop_builder
dev-ruby/rex-socket
dev-ruby/rex-sslscan
dev-ruby/rex-struct2
dev-ruby/rex-text
dev-ruby/rex-zip


signature.asc
Description: This is a digitally signed message part


[gentoo-dev] Last rites: dev-ruby/haml:4

2020-03-19 Thread Hans de Graaff
# Hans de Graaff  (2020-03-19)
# Masked for security issues, bug #699840
# No reverse dependencies. Use dev-ruby/haml:5 instead.
# Removal in 30 days.
dev-ruby/haml:4


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-dev] [PATCH v2] ruby-ng.eclass: Include (-) in RUBY_TARGETS USE-dependencies

2020-01-05 Thread Hans de Graaff
On Thu, 2020-01-02 at 22:08 +0100, Michał Górny wrote:
> On Thu, 2020-01-02 at 21:15 +0100, Ulrich Mueller wrote:
> 
> > Hadn't we established that ruby_samelib() is dead code, no longer
> > used
> > since 2010?
> > 
> 
> You did.  However, it isn't marked as private API and I'm not the
> eclass
> maintainer to take care of removing public API.  I have no clue if
> Ruby
> project doesn't have some secret overlays using it.

I'm not aware of any usage, but I also was not aware that this is no
longer used. I'll make a note to check this out and propose a
deprecation/removal plan.

Hans


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-dev] [PATCH v2] ruby-ng.eclass: Include (-) in RUBY_TARGETS USE-dependencies

2020-01-05 Thread Hans de Graaff
On Thu, 2020-01-02 at 16:57 +0100, Michał Górny wrote:
> Using 2-style USE dependencies on packages not having the flag
> in question is forbidden by PMS.

Looks good to me, thanks for proposing a fix for this.

Hans


signature.asc
Description: This is a digitally signed message part


[gentoo-dev] Last rites: dev-ruby/psych and dev-ruby/jeweler

2019-12-27 Thread Hans de Graaff
# Hans de Graaff  (2019-12-27)
# Causes compatibility issues with the bundled versions in some
# dev-lang/ruby slots. Use the bundled version instead. The only
# reverse dependency is dev-ruby/jeweler, which is no longer
# maintained upstream and ruby24-only.
# Removal in 30 days. Bug #703950.
dev-ruby/psych
dev-ruby/jeweler


signature.asc
Description: This is a digitally signed message part


[gentoo-dev] Re: dev-util/jenkins-bin GLEP-81 migration

2019-12-25 Thread Hans de Graaff
On Wed, 2019-12-25 at 16:11 +0100, Thomas Deutschmann wrote:
> 
> Complete change set can be found at 
> https://github.com/gentoo/gentoo/pull/14121.
> 
> Previous ebuilds using user eclass called
> 
>   fowners jenkins:jenkins /var/log/jenkins ${JENKINS_DIR}
> ${JENKINS_DIR}/home ${JENKINS_DIR}/backup
> 
> which I changed to
> 
>   fowners jenkins:jenkins /var/log/jenkins ${JENKINS_DIR}/home
> ${JENKINS_DIR}/backup
> 
> in assumption that $JENKINS_DIR is now maintained through acct-*
> package.
> 
> I changed chmod for $HOME to 0750 which should be a safer default.

Looks good to me, thanks!

Hans


signature.asc
Description: This is a digitally signed message part


[gentoo-dev] RFC acct-{user,group} for munin

2019-12-03 Thread Hans de Graaff
Munin already uses the hard-coded uid 177 in its ebuild. The munin
group does not have a hard-coded gid. I am requesting gid 177 for the
munin group to be consistent with most assignments.

Munin also uses a separate user for the munin asynchronous proxy. This
user currently does not have a specific uid. I would like to request
178 for it to keep things together in the uid list.

In summary:

munin: uid 177, gid 177
munin-async: uid 178

Kind regards,

Hans


signature.asc
Description: This is a digitally signed message part


[gentoo-dev] Package up for grabs: x11-misc/revelation

2019-10-27 Thread Hans de Graaff
Hi,

I've dropped maintainership of x11-misc/revelation (a password
manager). I'm no longer using it and it has not seen an active upstream
for some time. Compatibility issues with python components have been
fixed so the current stable version should be good to go for a bit.

Hans


signature.asc
Description: This is a digitally signed message part


[gentoo-dev] Last rites: dev-ruby/rails:5.1

2019-10-25 Thread Hans de Graaff
# Hans de Graaff  (2019-10-25)
# ruby24-only, no longer supported by upstream.
# Migrate to Rails 5.2 instead. Masked for removal in 30 days.
dev-ruby/rails:5.1
dev-ruby/railties:5.1
dev-ruby/activerecord:5.1
dev-ruby/actionmailer:5.1
dev-ruby/actionpack:5.1
dev-ruby/actionview:5.1
dev-ruby/activejob:5.1
dev-ruby/actioncable:5.1
dev-ruby/activemodel:5.1
dev-ruby/activesupport:5.1
dev-ruby/arel:8.0


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-dev] Last rites: ruby24-only packages

2019-10-20 Thread Hans de Graaff
On Sun, 2019-10-20 at 16:52 -0400, Michael Orlitzky wrote:
> > dev-ruby/vcard
> 
> And this one's used by a popular Redmine plugin. I'll have to do
> something to keep it working. Redmine is still making releases (as of
> yesterday) that support only ruby24, so I don't expect the plugin
> developers to treat this very urgently.
> 
> I filed an issue at least...
> 
>   https://github.com/qoobaa/vcard/issues/30
> 

Thanks. I've removed the mask for now.

Hans


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-dev] Last rites: ruby24-only packages

2019-10-20 Thread Hans de Graaff
On Sun, 2019-10-20 at 12:15 -0700, Alec Warner wrote:
> Infra uses thin a lot, is there a replacement?

www-servers/puma would be a good replacement.
Feel free to unmask it for now if that helps infra to transition.
Upstream EOL for ruby 2.4 is March 2020, so we could wait until then if
needed.
Hans


signature.asc
Description: This is a digitally signed message part


[gentoo-dev] Last rites: ruby24-only packages

2019-10-20 Thread Hans de Graaff
# Hans de Graaff  (2019-10-19)
# ruby24-only packages with no reverse dependencies and no recent
# releases.
dev-ruby/cocaine
dev-ruby/debugger-linecache
dev-ruby/escape_utils
dev-ruby/http-form_data:1.0
dev-ruby/ruby-beautify
dev-ruby/termcolor
dev-ruby/terrapin
dev-ruby/vcard
www-servers/thin


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-dev] Package up for grabs: dev-util/rbtools

2019-09-27 Thread Hans de Graaff
On Fri, 2019-09-06 at 20:32 +0200, Andreas Sturmlechner wrote:
> 
> KDE proj was maintaining this for contributing to kde.org's
> reviewboard 
> instance only. This is long obsolete and we have no use for it
> anymore.

I'll take this since we use this at work and I already maintain
reviewboard ebuilds in my overlay.

Hans


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-dev] [PATCH] ruby-fakegem.eclass: function name typo fix & minor @USAGE fixes

2019-09-16 Thread Hans de Graaff
On Fri, 2019-09-06 at 14:08 -0500, Ben Kohler wrote:
> 
> -# @FUNCTION: ruby_fakegem_newsins
> -# @USAGE: file filename
> +# @FUNCTION: ruby_fakegem_newins
> +# @USAGE:  
>  # @DESCRIPTION:
>  # Installs the specified file into the gems directory using the
> provided filename.
>  ruby_fakegem_newins() {

Good catch! Thanks for fixing.

Hans


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-dev] [PATCH 2/3] savedconfig.eclass: Always quote filename in output

2019-08-04 Thread Hans de Graaff
On Sat, 2019-08-03 at 16:49 -0400, Mike Gilbert wrote:
> On Sat, Aug 3, 2019 at 12:21 PM Ulrich Mueller 
> wrote:
> > > > > > > On Sat, 03 Aug 2019, Thomas Deutschmann wrote:
> > > + ewarn "provide a configuration file in
> > > ${PORTAGE_CONFIGROOT%/}/etc/portage/savedconfig/${CATEGORY}/${PN}
> > > "
> > 
> > Long line.
> 
> How would you shorten it? Splitting it across 2 lines in the middle
> of
> the string just makes it less readable.

path="${PORTAGE_CONFIGROOT%/}/etc/portage/savedconfig/${CATEGORY}/${PN}
"
ewarn "provide a configuration file in ${path}"

Or something similar.

Hans


signature.asc
Description: This is a digitally signed message part


[gentoo-dev] [PATCH 1/3] ruby-fakegem.eclass: enable EAPI 7

2019-07-25 Thread Hans de Graaff
Signed-off-by: Hans de Graaff 
---
 eclass/ruby-fakegem.eclass | 11 +--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/eclass/ruby-fakegem.eclass b/eclass/ruby-fakegem.eclass
index 1e8620c166d4..ab7b36eb7ae7 100644
--- a/eclass/ruby-fakegem.eclass
+++ b/eclass/ruby-fakegem.eclass
@@ -8,7 +8,7 @@
 # Author: Diego E. Pettenò 
 # Author: Alex Legler 
 # Author: Hans de Graaff 
-# @SUPPORTED_EAPIS: 4 5 6
+# @SUPPORTED_EAPIS: 4 5 6 7
 # @BLURB: An eclass for installing Ruby packages to behave like RubyGems.
 # @DESCRIPTION:
 # This eclass allows to install arbitrary Ruby libraries (including Gems),
@@ -109,7 +109,7 @@ RUBY_FAKEGEM_BINDIR="${RUBY_FAKEGEM_BINDIR-bin}"
 case "${EAPI:-0}" in
0|1|2|3)
die "Unsupported EAPI=${EAPI} (too old) for 
ruby-fakegem.eclass" ;;
-   4|5|6)
+   4|5|6|7)
;;
*)
die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}"
@@ -173,6 +173,13 @@ 
SRC_URI="mirror://rubygems/${RUBY_FAKEGEM_NAME}-${RUBY_FAKEGEM_VERSION}${RUBY_FA
 
 ruby_add_bdepend virtual/rubygems
 ruby_add_rdepend virtual/rubygems
+case ${EAPI} in
+   4|5|6)
+   ;;
+   *)
+   ruby_add_depend virtual/rubygems
+   ;;
+esac
 
 # @FUNCTION: ruby_fakegem_gemsdir
 # @RETURN: Returns the gem data directory
-- 
2.21.0




[gentoo-dev] [PATCH 2/3] ruby-fakegem.eclass: change default DOC recipe to use rdoc

2019-07-25 Thread Hans de Graaff
The previous default was "rake" but this turned out to be a poor
choice because many packages do not implement "rake doc" and even if
they do there are usually many local development environment
assumption attached to that task. Using a consistent "rdoc" call that
is handled by the eclass gets more consistent results at the code of
missing out on specific rdoc options set by packages.
---
 eclass/ruby-fakegem.eclass | 9 -
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/eclass/ruby-fakegem.eclass b/eclass/ruby-fakegem.eclass
index ab7b36eb7ae7..33a9e453f564 100644
--- a/eclass/ruby-fakegem.eclass
+++ b/eclass/ruby-fakegem.eclass
@@ -57,7 +57,14 @@ RUBY_FAKEGEM_TASK_TEST="${RUBY_FAKEGEM_TASK_TEST-test}"
 #  - rdoc (calls `rdoc-2`, adds dev-ruby/rdoc to the dependencies);
 #  - yard (calls `yard`, adds dev-ruby/yard to the dependencies);
 #  - none
-RUBY_FAKEGEM_RECIPE_DOC="${RUBY_FAKEGEM_RECIPE_DOC-rake}"
+case ${EAPI} in
+   4|5|6)
+   RUBY_FAKEGEM_RECIPE_DOC="${RUBY_FAKEGEM_RECIPE_DOC-rake}"
+   ;;
+   *)
+   RUBY_FAKEGEM_RECIPE_DOC="${RUBY_FAKEGEM_RECIPE_DOC-rdoc}"
+   ;;
+esac
 
 # @ECLASS-VARIABLE: RUBY_FAKEGEM_DOCDIR
 # @DEFAULT_UNSET
-- 
2.21.0




[gentoo-dev] [PATCH 3/3] ruby-fakegem.eclass: warn about using the fallback gemspec

2019-07-25 Thread Hans de Graaff
The fallback gemspec does not contain dependencies so it will only
work for packages without any runtime gem dependencies. It is easy to
use it by mistake when switching from a gem to a source-based archive,
because the source-based archive does not contain the generated
metadata, but RUBY_FAKEGEM_GEMSPEC has not been set yet. This warning
alerts developers to this situation and encourages them to set
RUBY_FAKEGEM_GEMSPEC instead.

Signed-off-by: Hans de Graaff 
---
 eclass/ruby-fakegem.eclass | 9 +
 1 file changed, 9 insertions(+)

diff --git a/eclass/ruby-fakegem.eclass b/eclass/ruby-fakegem.eclass
index 33a9e453f564..a6a7654f9e6d 100644
--- a/eclass/ruby-fakegem.eclass
+++ b/eclass/ruby-fakegem.eclass
@@ -295,6 +295,15 @@ ruby_fakegem_metadata_gemspec() {
 # See RUBY_FAKEGEM_NAME and RUBY_FAKEGEM_VERSION for setting name and version.
 # See RUBY_FAKEGEM_REQUIRE_PATHS for setting extra require paths.
 ruby_fakegem_genspec() {
+   case ${EAPI} in
+   4|5|6) ;;
+   *)
+   eqawarn "Generating generic fallback gemspec *without* 
dependencies"
+   eqawarn "This will only work when there are no runtime 
dependencies"
+   eqawarn "Set RUBY_FAKEGEM_GEMSPEC to generate a proper 
specifications file"
+   ;;
+   esac
+
local required_paths="'lib'"
for path in ${RUBY_FAKEGEM_REQUIRE_PATHS}; do
required_paths="${required_paths}, '${path}'"
-- 
2.21.0




[gentoo-dev] Re: [PATCH 1/2] ruby-ng.eclass: add missing 'estack' inherit to EAPI=6

2019-07-20 Thread Hans de Graaff
On Sat, 2019-07-20 at 09:24 +0100, Sergei Trofimovich wrote:
> Noticed when ran egencache:
>  $ PORTAGE_ELOG_CLASSES="qa" egencache --repo=gentoo --update --
> update-use-local-desc --jobs=$(nproc)
>  * Call stack:
>  *ruby-ng.eclass, line 142:  Called command_not_found_handle
> 'eshopts_push' '-o' 'noglob'
>  *  ebuild.sh, line 325:  Called __qa_source '/gentoo-
> ebuilds/gentoo/eclass/ruby-fakegem.eclass'
>  * ebuild.sh, line 624:  Called source '/gentoo-
> ebuilds/gentoo/dev-ruby/moneta/moneta-1.1.0.ebuild'
>  * ebuild.sh, line  89:  Called die
> 
> Signed-off-by: Sergei Trofimovich 
> ---
>  eclass/ruby-ng.eclass | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/eclass/ruby-ng.eclass b/eclass/ruby-ng.eclass
> index a6c4c3396b3..0b0ee696d50 100644
> --- a/eclass/ruby-ng.eclass
> +++ b/eclass/ruby-ng.eclass
> @@ -71,6 +71,9 @@ case ${EAPI} in
>   2|3|4|5)
>   inherits="eutils"
>   ;;
> + 6)
> + inherits="estack"
> + ;;
>  esac
>  
>  inherit ${inherits} multilib toolchain-funcs ruby-utils

Ack on this change. It seems this got broken when adding EAPI=6 support
but this was never noticed because java-utils-2 also inherits eutils
(and versionator).

Can you commit and push these ASAP? It currently breaks QA. I can also
commit them if you want.

Hans


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-dev] [PATCH] ruby-ng.eclass: drop support for jruby

2019-07-18 Thread Hans de Graaff
On Thu, 2019-07-18 at 08:43 -0400, Brian Evans wrote:
> 
> While I get it is no longer needed, java-utils-2 has had EAPI 7
> enabled
> since December 2018.  Just saying.

I guess that tells you when I started working on this patchset. :-(
I've updated the commit message.

Hans


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-dev] Last rites: mask ruby24-only slots of ruby packages for removal

2019-07-18 Thread Hans de Graaff
On Wed, 2019-07-17 at 10:41 +0200, Hans de Graaff wrote:
> # Hans de Graaff  (2019-07-17)
> # Mask ruby24-only slots for removal in 30 days. These slots do not
> # have any reverse dependencies. Please migrate to or use a newer
> slot.
> 
> dev-ruby/webmock:2

webmock is still a dependency for dev-ruby/github_api so it has been
removed from the removal mask.

Thanks to ulm for fixing this.

Hans


signature.asc
Description: This is a digitally signed message part


[gentoo-dev] Last rites: mask ruby24-only slots of ruby packages for removal

2019-07-17 Thread Hans de Graaff
# Hans de Graaff  (2019-07-17)
# Mask ruby24-only slots for removal in 30 days. These slots do not
# have any reverse dependencies. Please migrate to or use a newer slot.
dev-ruby/gherkin:4
dev-ruby/net-http-persistent:0
dev-ruby/net-ssh-gateway:2
dev-ruby/rouge:0
dev-ruby/vcr:2
dev-ruby/webmock:2
dev-util/cucumber-core:0


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-dev] [PATCH] elisp.eclass: Drop support for EAPIs 0 to 3.

2019-07-16 Thread Hans de Graaff
On Mon, 2019-07-15 at 10:00 +0200, Ulrich Müller wrote:
> @@ -9,7 +9,7 @@
>  # Jeremy Maitin-Shepard 
>  # Christian Faulhammer 
>  # Ulrich Müller 
> -# @SUPPORTED_EAPIS: 0 1 2 3 4 5 6 7
> +# @SUPPORTED_EAPIS: 4 5 6 7
>  # @BLURB: Eclass for Emacs Lisp packages
>  # @DESCRIPTION:
>  #

Looks good to me.

Hans


signature.asc
Description: This is a digitally signed message part


[gentoo-dev] Last rites: old ruby24-only slots of various dev-ruby/* packages

2019-04-15 Thread Hans de Graaff
# Hans de Graaff  (15 Apr 2019)
# Old, ruby24-only, slots of ruby packages without any reverse
# dependencies. Use the newer slot version instead.
# Masked for removal in 30 days.
dev-ruby/elasticsearch:5
dev-ruby/elasticsearch-api:5
dev-ruby/elasticsearch-transport:5
dev-ruby/filesize:0.0.1
dev-ruby/hiera-eyaml:0
dev-ruby/jsobfu:0.3.0
dev-ruby/mocha:0.10
dev-ruby/rack-attack:0
dev-ruby/rack-ssl:1.3
dev-ruby/rack-test:0.7
dev-ruby/rack-test:0.8
dev-ruby/ruby_smb:0.0.23
dev-ruby/ruby_smb:0
dev-ruby/slop:3
dev-ruby/temple:0
dev-ruby/ttfunk:1.2
dev-ruby/ttfunk:1.4
dev-util/cucumber-core:3.0
dev-util/cucumber-core:3.1
dev-util/cucumber-expressions:4.0
dev-util/cucumber-expressions:5.0

signature.asc
Description: This is a digitally signed message part


[gentoo-dev] Last rites: Old ruby24-only slots of Rails-related packages

2019-04-13 Thread Hans de Graaff
# Hans de Graaff  (13 Apr 2019)
# Old ruby24-only slots of Rails-related packages
# These no longer have reverse dependencies or newer
# versions are available.
# Masked for removal in 30 days.
dev-ruby/arel:7.0
dev-ruby/coffee-rails:4.1
dev-ruby/d3_rails:0
dev-ruby/i18n:0.6
dev-ruby/i18n:0.8
dev-ruby/mail:2.6
dev-ruby/mysql2:0.3
dev-ruby/sprockets-rails:2.3
dev-ruby/uglifier:0
dev-ruby/uglifier:3

signature.asc
Description: This is a digitally signed message part


[gentoo-dev] Last rites: dev-ruby/celluloid

2019-04-13 Thread Hans de Graaff
# Hans de Graaff  (13 Apr 2019)
# No longer maintained upstream. Does not work
# with ruby25.
# Masked for removal in 30 days.
dev-ruby/celluloid
dev-ruby/celluloid-essentials
dev-ruby/celluloid-extras
dev-ruby/celluloid-fsm
dev-ruby/celluloid-io
dev-ruby/celluloid-pool
dev-ruby/celluloid-supervision

signature.asc
Description: This is a digitally signed message part


[gentoo-dev] Last rites: dev-ruby/net-ssh:2.6, dev-ruby/rest-client:0

2018-12-12 Thread Hans de Graaff
# Hans de Graaff  (12 Dec 2018)
# Old ruby23 only slots without any reverse dependencies.
# Use the newer slots instead. Removal in 30 days.
dev-ruby/net-ssh:2.6
dev-ruby/rest-client:0

signature.asc
Description: This is a digitally signed message part


[gentoo-dev] Last rites: dev-ruby/hike

2018-12-08 Thread Hans de Graaff
# Hans de Graaff  (9 Dec 2018)
# Old component for Rails that is no longer used and no longer
# maintained upstream. Masked for removal in 30 days.
dev-ruby/hike

signature.asc
Description: This is a digitally signed message part


[gentoo-dev] Last rites: dev-ruby/classifier

2018-12-08 Thread Hans de Graaff
# Hans de Graaff  (9 Dec 2018)
# No longer provides tests and no tagged upstream releases. No reverse
# dependencies. Use classifier-reborn instead. Masked for removal
# in 30 days.
dev-ruby/classifier

signature.asc
Description: This is a digitally signed message part


[gentoo-dev] Last rites: Rails 5.0

2018-11-30 Thread Hans de Graaff
# Hans de Graaff  (1 Dec 2018)
# Old Rails 5.0 version. This version is no longer maintained
# upstream. Please update to Rails 5.1 or newer.
# Masked for removal in 30 days.
dev-ruby/rails:5.0
dev-ruby/railties:5.0
dev-ruby/activerecord:5.0
dev-ruby/actionmailer:5.0
dev-ruby/actionpack:5.0
dev-ruby/actionview:5.0
dev-ruby/activejob:5.0
dev-ruby/actioncable:5.0
dev-ruby/activemodel:5.0
dev-ruby/activesupport:5.0

signature.asc
Description: This is a digitally signed message part


[gentoo-dev] Last rites: ruby23-only ruby packages

2018-11-12 Thread Hans de Graaff
# Hans de Graaff  (12 Nov 2018)
# Mask ruby23-only packages for removal. These packages are not
# compatible with ruby24+ or they are old slots that are ruby23-only
# in Gentoo. Removal in 30 days. Bug #661262
app-text/glark
app-text/jist
dev-ruby/activerecord-deprecated_finders
dev-ruby/akismet:2
dev-ruby/awesome_print
dev-ruby/facets
dev-ruby/http:1.0
dev-ruby/http:2.0
dev-ruby/jira-ruby
dev-ruby/logging
dev-ruby/public_suffix:2
dev-ruby/ragol
dev-ruby/webmock:0
dev-ruby/wikicloth

signature.asc
Description: This is a digitally signed message part


Re: [gentoo-dev] [PATCH 01/10] gnome2-utils: move icon functions into xdg-utils

2018-07-15 Thread Hans de Graaff
On Tue, 2018-06-26 at 20:27 -0500, Marty E. Plummer wrote:
> 
>  # Updates Gtk+ icon cache files under /usr/share/icons.
> -# This function should be called from pkg_postinst and pkg_postrm.
> +# Deprecated. Please use xdg_icon_cache_update from xdg-utils.eclass
>  gnome2_icon_cache_update() {

This would be a good candidate for an eqawarn message. Not sure how
many people will catch this deprecation in the documentation.

Hans

signature.asc
Description: This is a digitally signed message part


[gentoo-dev] Last rites: old, ruby23-only, slots of various ruby packages

2018-05-07 Thread Hans de Graaff
# Hans de Graaff <gra...@gentoo.org> (7 May 2018)
# Old slots that are ruby23-only and no longer maintained
# upstream, and that do not have packages depend on them.
# Migrate to newer slot of the same package.
dev-ruby/askismet:0
dev-ruby/arel:5.0
dev-ruby/autoprefixer-rails:6
dev-ruby/blankslate:2
dev-ruby/http:0.6
dev-ruby/jquery-ui-rails:4
dev-ruby/net-ssh:3
dev-ruby/sanitize:0
dev-ruby/twitter:5

signature.asc
Description: This is a digitally signed message part


[gentoo-dev] Last rites: ruby22-only packages and slots

2018-01-24 Thread Hans de Graaff
# Hans de Graaff <gra...@gentoo.org> (24 Jan 2018)
# Remove packages that are ruby22-only, and either cannot
# be updated to ruby23, or are in old, obsolete, slots.
# Masked for removal in 30 days.
dev-ruby/amq-protocol:0
dev-ruby/aws-sdk:0
dev-ruby/bson:3
dev-ruby/camping
dev-ruby/execjs:1
dev-ruby/mocha:0.11
dev-ruby/mocha:0.12
dev-ruby/mocha:0.13
dev-ruby/mongo
dev-ruby/net-ssh-multi
dev-ruby/pcaprub:0.11
dev-ruby/postgres_ext:2.4
dev-ruby/rack:1.4
dev-ruby/rack:1.5
dev-ruby/rbtree
dev-ruby/recog:2.0.14
dev-ruby/right_http_connection
dev-ruby/rspec-rails:2
dev-ruby/sass:0
dev-ruby/sass-rails:4.0
dev-ruby/snmplib
dev-ruby/sprockets:2
dev-ruby/test-unit:0
dev-ruby/tilt:0
virtual/ruby-minitest
www-apps/jekyll-gist

signature.asc
Description: This is a digitally signed message part


Re: [gentoo-dev] Projects up for grabs: cron, m68k

2017-12-20 Thread Hans de Graaff
On Wed, 2017-12-20 at 18:02 +0100, Michał Górny wrote:
> 
>   sys-process/vixie-cron

My understanding is that vixie-cron is no longer maintained and sys-
process/cronie is the drop-in replacement that is now also suggested as
the default cron in the handbook.

https://archives.gentoo.org/gentoo-dev/message/d898f86f805909eb72aba61d
2dca8523

I seem to recall a more recent discussion about this as well, but can't
find it at the moment.

Perhaps it is time to mask vixie-cron for removal?

Hans

signature.asc
Description: This is a digitally signed message part


Re: [gentoo-dev] Revisions for USE flag changes

2017-08-12 Thread Hans de Graaff
On Sat, 2017-08-12 at 05:58 -0400, Michael Orlitzky wrote:
> 
> I simply overlooked the global USE change in make.conf because IMO
> it's
> a nonsense operation. 

This also happens routinely as new python and ruby versions are marked
stable, not via make.conf, but by removing their use.stable.mask.

Hans

signature.asc
Description: This is a digitally signed message part


Re: [gentoo-dev] Revisions for USE flag changes

2017-08-11 Thread Hans de Graaff
On Fri, 2017-08-11 at 19:50 -0400, Michael Orlitzky wrote:
> 
> == New revisions for USE flag changes ==
> 
> I suggest that in hindsight, we can do better.

Not all IUSE changes are equal and thus a policy that treats them all
the same doesn't make sense to me. Maintainers are in a better position
to judge whether or not a new revision is needed. 

> == tl;dr ==
> 
> We would be better off with respect to IUSE changes and revisions if
> we
> deleted the --changed-use and --newuse flags right now, and just
> required developers to revbump when changing IUSE.

I don't see how these flags can be removed. You are describing a
policy, but this won't change the fact that IUSE changes are still
technically possible and will still happen, intentional or otherwise.

Hans

signature.asc
Description: This is a digitally signed message part


Re: [gentoo-dev] Re: [RFC] Future of gentoo's stable and unstable trees: what are your thoughts?

2017-07-25 Thread Hans de Graaff
On Tue, 2017-07-25 at 11:03 +0200, Agostino Sarubbo wrote:
> 
> 1) Don't file keywordreq, since noone work on them. File directly
> stablereq.

This does not make sense to me.

If we want to go this route we should probably state a policy instead
that new dependencies for already keyworded packages automatically get
those keywords as well, even if untested. For packages with stable
keywords this would provide a chance to find issues before the package
is marked stable.

For KEYWORDREQ bugs we could also enlist our users. As a maintainer of
dev-ruby packages I'd be happy to add any keywords based on a "emerge
--info" and "build.log with FEATURES=test" combo added to a KEYWORDREQ
bug. Putting out a call for action and an easy way for users to scan
open KEYWORDREQ bugs for their arch might put a good dent in these.

Hans

signature.asc
Description: This is a digitally signed message part


Re: [gentoo-dev] Re: [RFC] Future of gentoo's stable and unstable trees: what are your thoughts?

2017-07-25 Thread Hans de Graaff
On Tue, 2017-07-25 at 04:34 +, Duncan wrote:
> 
> Automating stabilization and automated keyword dropping on timeouts
> seems 
> the only other practical choice, as unfortunately, "stale" is what
> we 
> have today in practice, if not in name.

Looking at https://repology.org/statistics stable isn't quite that
stale compared to other distributions. We're not doing great either, so
we should certainly try to improve.

Hans

signature.asc
Description: This is a digitally signed message part


Re: [gentoo-dev] [RFC] Future of gentoo's stable and unstable trees: what are your thoughts?

2017-07-25 Thread Hans de Graaff
On Mon, 2017-07-24 at 23:22 +, Peter Stuge wrote:
> 
> I hold a perhaps radical view: I would like to simply remove stable.
> 
> [snip]
> 
> I consider dev time a precious resource.

If we were to drop stable I would have to start maintaining my own
stable lists to determine what would be ready to into production for my
company. In production "works most of the time" and "good enough"
simply aren't good enough.

I estimate that would at least equal the amount of time I'm currently
spending on Gentoo work, and consequently my contributions to Gentoo
would dwindle to a halt. Most likely I would start looking at other
solutions altogether.

> More troubleshooting and fixing "hard" problems, less routine work.

Except that some of that routine work is actually what I enjoy doing in
Gentoo. I already get plenty of the other two in my day job.

Hans

signature.asc
Description: This is a digitally signed message part


Re: [gentoo-dev] vim-syntax USE flag

2017-07-25 Thread Hans de Graaff
On Mon, 2017-07-24 at 12:10 +0200, Ulrich Mueller wrote:
> 
> Similarly, if we get rid of the vim-syntax flag, should we phase out
> the emacs USE flag, too?

I would say no because in almost all cases the emacs code needs to be
compiled and that requires emacs to be present.

As far as I understand installing a vim syntax file does not require
compilation and can therefore be done without having vim on the system.

Hans

signature.asc
Description: This is a digitally signed message part


Re: [gentoo-dev] Lastrites: app-mobilephone/esms, sci-chemistry/icm, dev-python/south...

2017-07-15 Thread Hans de Graaff
On Fri, 2017-07-14 at 12:52 +0200, Pacho Ramos wrote:
> 
> # Pacho Ramos  (14 Jul 2017)
> # Doesn't compile (#579948). Removal in a month.
> net-nntp/leafnode

Doesn't compile with USE=-ipv6. It compiles and works fine otherwise.
I've taken maintainership and applied the patch on the bug (thanks
David Haller) to fix the compilation issue.

Hans

signature.asc
Description: This is a digitally signed message part


Re: [gentoo-dev] stabilization candidates, July 2017

2017-07-10 Thread Hans de Graaff
On Mon, 2017-07-10 at 10:41 +0200, Paweł Hajdan, Jr. wrote:
> Hey folks,
> 
> If you'd like to help Gentoo stable be more up to date, please read
> on.
> 
> See
>  9.txt>
> for potential stabilization candidates (over 1000 of them).

Now that ruby has switched to use.stable.mask for newer ruby targets it
 is no longer needed to exclude it from the list.

Hans

signature.asc
Description: This is a digitally signed message part


[gentoo-dev] Last rites: dev-ruby/modernizr

2017-07-09 Thread Hans de Graaff
# Hans de Graaff <gra...@gentoo.org> (09 Jul 2017)
# Upstream has removed the code and the published gem.
# Removal in 30 days.
dev-ruby/modernizr

signature.asc
Description: This is a digitally signed message part


Re: [gentoo-dev] Last rites: ruby21-only packages

2017-06-25 Thread Hans de Graaff
On Sat, 2017-06-24 at 16:09 +0500, Azamat Hackimov wrote:
> Hello.
> I submitted proxy-maintainer request some time ago for redmine: https
> ://bugs.gentoo.org/show_bug.cgi?id=590646
> And here PR for new 3.3.3: https://github.com/gentoo/gentoo/pull/4550

I've added some comments to that pull request.

> 2017-06-24 14:23 GMT+05:00 M. J. Everitt <m.j.ever...@iee.org>:
> > On 23/06/17 08:45, Hans de Graaff wrote:
> > 
> > 
> > Really? I find it hard to believe that a common package like
> > redmine is
> > 
> > ruby-21 only?!

ruby21-only in Gentoo and with no maintainer to file a bug. Given that
there is a pending pull request I've looked at this again and added
ruby22 as well, while loosening the dev-ruby/builder dependency that
was ruby21-only, and unmasked the package again.

Hans

signature.asc
Description: This is a digitally signed message part


[gentoo-dev] Last rites: ruby21-only packages

2017-06-23 Thread Hans de Graaff
# Hans de Graaff <gra...@gentoo.org> (23 Jun 2017)
# Mask ruby21-only packages for removal in 30 days
# Old slots that are ruby21-only
dev-ruby/prawn:1
dev-ruby/rspec:0
# ruby21-only package that does not work with current
# dev-ruby/parslet versions.
dev-ruby/toml
# ruby21-only, no maintainer, fails tests
www-apps/jekyll-paginate
# ruby21-only, no maintainer
www-apps/redmine

signature.asc
Description: This is a digitally signed message part


Re: [gentoo-dev] Last rites: www-client/phantomjs and dev-ruby/poltergeist

2017-06-11 Thread Hans de Graaff
On Tue, 2017-06-06 at 21:11 +1200, Kent Fredric wrote:
> 
> Just 30 days to overhaul things on top of other work is a serious
> problem for anyone with time issues already.

I've updated the proposed timeframe in the mask to 90 days.

> ( I only consider my own use of this "amateur" at best right now, and
> even with such a low usage I have a hard time working out what I need
> to do to stay current, I'd hate to know what its like for people
> relying on this in their production testing toolchain :/ )

As someone who used this in production we were already aware for some
time that this was an issue. E.g. not getting updates when all other
webkit packages did get updates was a clear indicator of future
trouble.

Hans

signature.asc
Description: This is a digitally signed message part


Re: [gentoo-dev] Last rites: www-client/phantomjs and dev-ruby/poltergeist

2017-06-05 Thread Hans de Graaff
On Mon, 2017-06-05 at 18:38 +0700, Vadim A. Misbakh-Soloviov wrote:
> > 
> Although, in-tree version is obsolete anyway, and upstream made few
> next 
> releases with brain-exploding buildsystem, so I just pushed 
> version to my 
> "public sandbox" overlay, and happy with it on the projects that
> depends on 
> phantomjs.

I have been tracking the upstream git repository for some time. It was
going in the right direction by dropping all bundled code and use
system qtwebkit. Unfortunately it either did not build correctly or if
it did it would crash on 80% of the included test suite. Otherwise I
would have added a snapshot.

Hans

signature.asc
Description: This is a digitally signed message part


Re: [gentoo-dev] Last rites: www-client/phantomjs and dev-ruby/poltergeist

2017-06-05 Thread Hans de Graaff
On Mon, 2017-06-05 at 23:06 +1200, Kent Fredric wrote:
> 
> Can phantomjs be simply masked for a longer period until the
> development
> world has had an opportunity to catch up?

What kind of timeframe do you propose?

> 1.5 Months from "We're not working on this" to "its dead jim, kill it
> from orbit"
> is a bit fast for anything entrenched.

The problems were there a lot longer so for me at least it still feels
slow. The fact that Chromium is now an alternative finally made it
easier to mask this, but really we should have masked this months ago.
If not for security reasons than for all the QA violations such as tons
of bundled code.

> Chromium 59 is also, similarly, quite new.

It has hit stable upstream so we should see stable versions in Gentoo
soon, I expect.

Hans

signature.asc
Description: This is a digitally signed message part


[gentoo-dev] Last rites: www-client/phantomjs and dev-ruby/poltergeist

2017-06-05 Thread Hans de Graaff
# Hans de Graaff <gra...@gentoo.org> (05 Jun 2017)
# Bundles obsolete and vulnerable webkit version.
# Upstream has stopped development and recommends using
# headless mode in >=www-client/chromium-59.
# Masked for removal in 30 days. Bug #589994.
www-client/phantomjs
dev-ruby/poltergeist

signature.asc
Description: This is a digitally signed message part


Re: [gentoo-dev] Package up for grabs: net-vpn/libreswan

2017-05-19 Thread Hans de Graaff
On Sun, 2017-05-07 at 15:28 -0400, Mike Gilbert wrote:
> I used to use this package for an IPSec/L2TP VPN to my office, but we
> migrated onto Cisco AnyConnect. I now use net-vpn/openconnect
> regularly and have not been able to test libreswan since the switch.
> 
> libreswan has no open bugs, but there is a pending version bump
> (3.20).

It looks like there are no other takers so I'll reluctantly take this
since we're using it at work to manage VPN connections.

Hans

signature.asc
Description: This is a digitally signed message part


[gentoo-dev] Last rites: ruby 2.1 only packages

2017-04-28 Thread Hans de Graaff
# Hans de Graaff <gra...@gentoo.org> (28 Apr 2017)
# Ruby 2.1 will be removed soon, bug #615822.
# These packages are all ruby21-only and most have not seen upstream
# releases in a long time.
dev-ruby/builder:3.1
dev-ruby/configliere
dev-ruby/map
dev-ruby/memcache-client
dev-ruby/mini_shoulda
dev-ruby/png
dev-ruby/rails_autolink
dev-ruby/rev
dev-ruby/RubyInline
dev-ruby/ruby-inifile
dev-ruby/ruby-tcpwrap
dev-util/watchr
# These slots are currently ruby21-only and have been obsoleted by
# newer slots or are no longer compatible with current dev-ruby/rails
# versions.
dev-ruby/activeresource:4.0
dev-ruby/coffee-rails:4.0
dev-ruby/jquery-ui-rails:3
dev-ruby/listen:2
dev-ruby/prawn:0
dev-ruby/sass-rails:4.0
dev-ruby/sprockets:2.2
dev-ruby/sprockets:2.11
dev-ruby/sprockets-rails:2.0
dev-ruby/sprockets-rails:2.1
dev-ruby/sprockets-rails:2.2

signature.asc
Description: This is a digitally signed message part


Re: [gentoo-dev] Reverse use of Python/Ruby versions

2017-04-09 Thread Hans de Graaff
On Mon, 2017-04-10 at 00:04 +0100, James Le Cuirot wrote:
> People thought the sky would fall when 2.4 deprecated Fixnum
> and
> Bignum. It really didn't. It's still just a warning right now but I
> haven't seen that warning since it was dealt with in Rails.
> 

This change broke the rspec test suite quite significantly and to the
point where it isn't clear if rspec 3.5 is actually compatible with
ruby24 or not. So, no ruby24 target for now, and consequently all
packages depending on it also can't get a ruby24 target.

Every ruby release will have some breaking changes, and the impact on
the tree will depend on which packages it will affect.

Hans

signature.asc
Description: This is a digitally signed message part


[gentoo-dev] Last rites: dev-ruby/ruby-webkit-gtk and dev-ruby/ruby-webkit-gtk2

2017-03-02 Thread Hans de Graaff
# Hans de Graaff <gra...@gentoo.org> (03 Mar 2017)
# Masked for removal in 30 days.
# Bindings for old webkit versions that have open security
# issues. No reverse dependencies. Bug #608608
dev-ruby/ruby-webkit-gtk
dev-ruby/ruby-webkit-gtk2

signature.asc
Description: This is a digitally signed message part


  1   2   3   >