[gentoo-dev] Automated Package Removal and Addition Tracker, for the week ending 2020-09-06 23:59 UTC

2020-09-06 Thread Robin H. Johnson
20200902-03:21 zerochaos 54b233ea853
acct-group/nslcd 20200904-23:46 chutzpah  b43ab62e948
acct-group/sobexsrv  20200906-08:15 bircoph   134b44a3b70
acct-group/ultimaker 20200830-17:18 expeditioneer dcf01ac5826
acct-user/kismet 20200902-03:24 zerochaos 6a8a9d13eab
acct-user/nslcd  20200904-23:45 chutzpah  fd1b66cfeed
acct-user/sobexsrv   20200906-08:29 bircoph   e9da70da93a
acct-user/ultimaker  20200830-17:18 expeditioneer dcf01ac5826
app-portage/pgo  20200901-11:01 zlogene   a4e4d698130
dev-cpp/benchmark20200726-18:22 juippis   fbf5279239f
dev-cpp/prometheus-cpp   20200726-17:56 juippis   fbe439d0da4
dev-python/keep  20200906-10:31 kensington8b15e9600b6
dev-python/pycryptodomex 20200905-21:53 chutzpah  64b870fd75f
dev-python/pytest-salt-factories 20200904-01:45 chutzpah  d990b8600f1
media-libs/zmusic20200617-18:22 chewi 29cf71b1380
media-sound/jack 20200827-12:41 sam   6803e3086ea

--
Robin Hugh Johnson
Gentoo Linux Developer
E-Mail : robb...@gentoo.org
GnuPG FP   : 11AC BA4F 4778 E3F6 E4ED  F38E B27B 944E 3488 4E85
Removed Packages:
dev-python/pythonutils,removed,mgorny,20200905-07:10,3173b492772
dev-python/gntp,removed,mgorny,20200905-07:09,b2d3e7bfa33
dev-libs/liboobs,removed,mgorny,20200905-07:08,2133310fc1f
dev-haskell/dbus-core,removed,mgorny,20200905-07:08,87d40c89912
dev-haskell/hans,removed,mgorny,20200905-07:08,3a288a6a325
www-apps/dspam-web,removed,sam,20200904-00:08,135e90ac4e1
mail-filter/dspam,removed,sam,20200904-00:07,591c43d3d90
mail-filter/rmilter,removed,sam,20200904-00:07,7a5dc2ad519
sys-auth/pam_radius,removed,sam,20200904-00:07,3e34515f48f
net-analyzer/nikto,removed,sam,20200904-00:06,734a83031a6
dev-vcs/svnmailer,removed,mgorny,20200902-08:23,43512e61410
dev-util/cmdtest,removed,mgorny,20200902-08:23,6bf3f61c8cc
dev-vcs/gitinspector,removed,mgorny,20200902-08:23,f5fc4a47d97
dev-util/tailor,removed,mgorny,20200902-08:22,868624420ad
sys-fs/traydevice,removed,mgorny,20200902-08:22,97645f68ded
net-mail/libpst,removed,mgorny,20200902-08:21,bc770124494
dev-util/coccinelle,removed,mgorny,20200902-08:20,58395d3a0c0
dev-util/coccigrep,removed,mgorny,20200902-08:20,0ab6136abf3
dev-vcs/rapidsvn,removed,mgorny,20200902-08:18,0aa048a4d87
media-gfx/cptutils,removed,mgorny,20200902-08:17,4f2c364313f
net-wireless/pyrit,removed,mgorny,20200902-08:16,0daca614398
net-wireless/cpyrit-opencl,removed,mgorny,20200902-08:16,1a23854f6e2
net-wireless/cpyrit-cuda,removed,mgorny,20200902-08:15,d6b7d33f8d8
www-misc/nx_util,removed,mgorny,20200902-08:14,233113890bf
app-mobilephone/obexftp,removed,mgorny,20200902-08:13,1f2084670db
app-misc/evemu,removed,mgorny,20200902-08:11,fdc95efee40
app-backup/cachedir,removed,mgorny,20200902-08:11,3c92b58d075
x11-misc/pypanel,removed,mgorny,20200902-08:09,d4174aeb8f4
dev-python/python-openid,removed,mgorny,20200902-08:09,e0d7f4de398
dev-python/mox,removed,mgorny,20200902-08:08,ebf2e6ec1fb
dev-python/google-apputils,removed,mgorny,20200902-08:08,259fc1e0276
dev-python/cloudlib,removed,mgorny,20200902-08:08,1f913adb556
app-arch/ipkg-utils,removed,mgorny,20200902-08:07,713a6299705
app-accessibility/sphinxbase,removed,mgorny,20200902-08:04,7346fbcbd7a
app-accessibility/sphinx3,removed,mgorny,20200902-08:04,814099f6c24
app-accessibility/SphinxTrain,removed,mgorny,20200902-08:03,dad0fbb14f9
www-apps/scgi,removed,mgorny,20200902-08:03,ececf487d57
www-apache/mod_scgi,removed,mgorny,20200902-08:03,039c68f53c5
app-crypt/openssl-blacklist,removed,mgorny,20200902-08:03,e2d70d36819
app-crypt/ssh-multiadd,removed,mgorny,20200902-08:02,1ba4d8419c6
media-gfx/printrun,removed,mgorny,20200902-08:01,93767da982a
dev-python/pyvorbis,removed,mgorny,20200902-08:01,7cee2c736ee
dev-python/pyrex,removed,mgorny,20200902-08:01,08cd12b08f8
dev-python/pyode,removed,mgorny,20200902-07:59,411444a72db
dev-python/pylzma,removed,mgorny,20200902-07:54,92bf7ccd26d
dev-python/pyid3lib,removed,mgorny,20200902-07:54,21716e741cc
dev-python/pupynere,removed,mgorny,20200902-07:53,9ae5d3093b2
dev-python/id3-py,removed,mgorny,20200902-07:53,a7825c203e4
dev-python/flup,removed,mgorny,20200902-07:53,d103c2aa9a3
dev-python/backports-lzma,removed,zlogene,20200902-07:51,3063be38a54
dev-python/backports-abc,removed,zlogene,20200902-07:50,1339b10d553
dev-python/elementtree,removed,zlogene,20200902-07:49,f04feabf433
media-sound/jack,removed,zlogene,20200902-07:48,dedf81771fd
dev-python/cddb-py,removed,zlogene,20200902-07:46,c064c847187
dev-python/distributed,removed,zlogene,20200902-07:42,e02a2e52544
dev-haskell/shellish,removed,slyfox,20200902-07:45,8ec29738803
app-dicts/sword-Dan,removed,mgorny,20200902-07:43,6e64a844113
app-dicts/sword-FreLSG,removed,mgorny,20200902-07:43,36dcc40060c
app-dicts/sword-HNV,removed,mgorny,20200902-07:43,0960aac8007
app-dicts/sword-KJVD,removed

Re: [gentoo-dev] Packages up for grabs: games-engines/love

2020-09-06 Thread Jonas Stein
On 06/09/2020 23.03, Henrik Pihl wrote:
> I would like to have games-engines/love, if it's possible for an unofficial
> developer.

Yes, you can fix the tickets and prepare PR's via github.
Add a link to the bug as described in
https://www.gentoo.org/glep/glep-0066.html
After several contributions you probably decide that you want to take
care of all future bugs of this package and want to be the (proxied)
maintainer.

--
Best,
Jonas



signature.asc
Description: OpenPGP digital signature


[gentoo-dev] Too many proxied maintainers who retire after first contribution. (was: Packages up for grabs: games-engines/love)

2020-09-06 Thread Jonas Stein
Dear all
> 
> the following packages are up for grabs after retirement
> of the proxied maintainer:
> 
> https://packages.gentoo.org/packages/games-engines/love
> 
> The package remains now with several open tickets and even patches.
> User reported the patch works.

The proxied maintainer fixed exactly one bug while he was proxied
maintainer.
This happens too often.
Some retire are one, others after very few contributions.

Please advertise that you do not need to be maintainer to create a pull
request. You should only be maintainer, if you are willing to monitor
the bug tracker and take care of the packages in the long term.

In the past we gave too often the impression "if you want this bug
fixed, become a proxied maintainer"

Our bugzilla does not help here (https://bugs.gentoo.org/719720)
"No maintainer - Look at
https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to
take care of it"

While this is not totally wrong, it seems that we mislead the volunteers
here. Perhaps some read "it" as the bug, while we mean "care for all
bugs and keep the package up to date over the next years"

-- 
Best,
Jonas



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-dev] [PATCH 2/2] eutils.eclass: Use optfeature() from optfeature.eclass

2020-09-06 Thread David Seifert
On Sun, 2020-09-06 at 21:49 +0200, Ulrich Mueller wrote:
> > > > > > On Sun, 06 Sep 2020, David Seifert wrote:
> > @@ -20,7 +20,7 @@ _EUTILS_ECLASS=1
> >  # implicitly inherited (now split) eclasses
> >  case ${EAPI:-0} in
> >  0|1|2|3|4|5|6)
> > -   inherit desktop epatch estack ltprune multilib preserve-libs \
> > +   inherit desktop epatch estack ltprune multilib optfeature
> > preserve-libs \
> > toolchain-funcs vcs-clean
> > ;;
> >  esac
> 
> I count 163 ebuilds calling optfeature in EAPI 7, but only 24 in older
> EAPIs, which makes me wonder if the conditional inherit makes any
> sense.
> 
> Maybe just commit the new eclass, update ebuilds, then remove the
> function from eutils?
> 
> Ulrich

I'll get a lot of heat for breaking EAPI 2 ebuilds in some random
abandoned overlay because we guarantee eclass API backwards
compatibility for 20 years!




Re: [gentoo-dev] Packages up for grabs: games-engines/love

2020-09-06 Thread Henrik Pihl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

I would like to have games-engines/love, if it's possible for an unofficial
developer.

Henrik

On 2020-09-06 at 20:04, jst...@gentoo.org wrote:
> Dear all
>
> the following packages are up for grabs after retirement
> of the proxied maintainer:
>
> https://packages.gentoo.org/packages/games-engines/love
>
> The package remains now with several open tickets and even patches.
> User reported the patch works.
>
> Please take care of this package, if you want to prevent that it will be
> dropped soon.
>
> --
> Best,
> Jonas
-BEGIN PGP SIGNATURE-
Version: FlowCrypt Email Encryption 7.9.0
Comment: Seamlessly send and receive encrypted email

wsFzBAEBCgAGBQJfVU6iACEJELLeoy9dd+JHFiEEZ+1cZjaUPp4qaEdxst6j
L1134kekTxAAkDKqgQ5GHCS1oRw/Zmt5fNrM/cmD9vjBGsOOjhrbtS/QQTnM
fgtHhZ+g7ksjzxNVJHKKJb+YF6ZNfs+0nkPiGVCxG4lD3bjeGiwp1S2Fjb+k
cqpYSpMoM6CJvgGH/J8zqSeg5Ag4nakgyAv3PWSl9kPVHPdoLuhPtn/84jBp
QCLSf0ZVxa9sv00mH+k6QjV3PGZsz6oaAr0HIrexTOOZyC+UeDE7hANH3R6+
S08MLxxDu/n6fKg93hTTRqmaaickpvUAaNbS3WJuEN/CiG6kefHCTzgG1Q5y
3VH6c9HjKiKB5/0wV8QbH1TzGBNoGMhIjJmvpTUVtDeRkqgkjbX44wKr0GSQ
vrDh/CWeO8PcWHGvWfLBTrjo9Y5v0Ng7r2DjS33ZVnUanhA2LnEN1Dgv87qS
lMU4OjW/1qNuC3q0foC5pTD9uXd/dOHdsol2n3iX4llhhkIljdfzbfRVAvW3
q+QLngVo0zspew2QLxvm641JWgY5t+BJUCT0/lZp1OAp0+crx8jPXS+wlgC/
1CO6mJGgwZgB2F3FiiTAc3mUYxic+fYHPWEBak0c1IELP7JKKdyELyVOc0mT
v1tnxLCCHcT5k/ITboEzIClj0fWYy2pZ6SWpksGRR8TR3eM80mQLJ8kPARVq
6nJEVaOaAPzEhgd0MOXsPc6nGShdgltvOsA=
=gkC0
-END PGP SIGNATURE-


0xB2DEA32F5D77E247.asc
Description: application/pgp-keys


[gentoo-dev] Packages up for grabs: games-engines/love

2020-09-06 Thread Jonas Stein
Dear all

the following packages are up for grabs after retirement
of the proxied maintainer:

https://packages.gentoo.org/packages/games-engines/love

The package remains now with several open tickets and even patches.
User reported the patch works.

Please take care of this package, if you want to prevent that it will be
dropped soon.

-- 
Best,
Jonas

























































signature.asc
Description: OpenPGP digital signature


Re: [gentoo-dev] [PATCH 2/2] eutils.eclass: Use optfeature() from optfeature.eclass

2020-09-06 Thread Ulrich Mueller
> On Sun, 06 Sep 2020, David Seifert wrote:

> @@ -20,7 +20,7 @@ _EUTILS_ECLASS=1
>  # implicitly inherited (now split) eclasses
>  case ${EAPI:-0} in
>  0|1|2|3|4|5|6)
> - inherit desktop epatch estack ltprune multilib preserve-libs \
> + inherit desktop epatch estack ltprune multilib optfeature preserve-libs 
> \
>   toolchain-funcs vcs-clean
>   ;;
>  esac

I count 163 ebuilds calling optfeature in EAPI 7, but only 24 in older
EAPIs, which makes me wonder if the conditional inherit makes any sense.

Maybe just commit the new eclass, update ebuilds, then remove the
function from eutils?

Ulrich


signature.asc
Description: PGP signature


Re: [gentoo-dev] [PATCH 1/2] optfeature.eclass: New eclass with definition from eutils

2020-09-06 Thread David Seifert
On Sun, 2020-09-06 at 18:51 +0300, Joonas Niilola wrote:
> On 9/6/20 6:47 PM, David Seifert wrote:
> > ---
> >  eclass/optfeature.eclass | 63
> > 
> >  1 file changed, 63 insertions(+)
> >  create mode 100644 eclass/optfeature.eclass
> > 
> Can we have the "why" answered? Wasn't this supposed to be part of
> future EAPI?
> 
> -- juippis
> 
> 

It's one of those features that comes up once a year, everyone agrees
that it would be great to have, noone wants to provide a proof-of-
concept because portage, and then it gets deferred for another round of
EAPI. Unless I can be convinced that it will be in EAPI 8, this function
will likely stick around.




Re: [gentoo-dev] [PATCH 1/2] eclass: Add first version of lua.eclass

2020-09-06 Thread Azamat Hackimov
Hello!

Some notes from me.

чт, 3 сент. 2020 г. в 16:37, Marek Szuba :

> +# @ECLASS-VARIABLE: LUA
> +# @DEFAULT_UNSET
> +# @DESCRIPTION:
> +# The absolute path to the current Lua interpreter. This variable is set
> +# automatically in functions called by lua_foreach_impl().
> +#
> +# Example value:
> +# @CODE
> +# /usr/bin/lua5.1

I think there also needs a LUAC variable that points to the current
Lua compiler.

> +# @FUNCTION: lua_get_version
> +# @USAGE: []
> +# @DESCRIPTION:
> +# Obtain and print the full version number of the given Lua implementation.
> +# If no implementation is provided, ${ELUA} will be used.
> +#
> +# Please note that this function requires Lua and pkg-config installed,
> +# and therefore proper build-time dependencies need be added to the ebuild.
> +lua_get_version() {
> +   debug-print-function ${FUNCNAME} "${@}"
> +
> +   _lua_export "${@}" LUA_VERSION
> +   echo "${LUA_VERSION}"
> +}

There needs a LUA_MAJOR_VERSION (V variable in lua.pc, i.e. 5.1, 5.2,
5.3) instead of full version (R variable in lua.pc, i.e 5.1.5, 5.2.4).
Some obscure Lua packages are required to define V variable to work
properly.



Re: [gentoo-dev] [PATCH 1/2] optfeature.eclass: New eclass with definition from eutils

2020-09-06 Thread Joonas Niilola

On 9/6/20 6:47 PM, David Seifert wrote:
> ---
>  eclass/optfeature.eclass | 63 
>  1 file changed, 63 insertions(+)
>  create mode 100644 eclass/optfeature.eclass
>
Can we have the "why" answered? Wasn't this supposed to be part of
future EAPI?

-- juippis




signature.asc
Description: OpenPGP digital signature


[gentoo-dev] [PATCH 2/2] eutils.eclass: Use optfeature() from optfeature.eclass

2020-09-06 Thread David Seifert
Signed-off-by: David Seifert 
---
 eclass/eutils.eclass | 49 ++--
 1 file changed, 2 insertions(+), 47 deletions(-)

diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass
index 20dec774f2f..4255056f310 100644
--- a/eclass/eutils.eclass
+++ b/eclass/eutils.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # @ECLASS: eutils.eclass
@@ -20,7 +20,7 @@ _EUTILS_ECLASS=1
 # implicitly inherited (now split) eclasses
 case ${EAPI:-0} in
 0|1|2|3|4|5|6)
-   inherit desktop epatch estack ltprune multilib preserve-libs \
+   inherit desktop epatch estack ltprune multilib optfeature preserve-libs 
\
toolchain-funcs vcs-clean
;;
 esac
@@ -186,51 +186,6 @@ use_if_iuse() {
use $1
 }
 
-# @FUNCTION: optfeature
-# @USAGE:   [other atoms]
-# @DESCRIPTION:
-# Print out a message suggesting an optional package (or packages)
-# not currently installed which provides the described functionality.
-#
-# The following snippet would suggest app-misc/foo for optional foo support,
-# app-misc/bar or app-misc/baz[bar] for optional bar support
-# and either both app-misc/a and app-misc/b or app-misc/c for alphabet support.
-# @CODE
-#  optfeature "foo support" app-misc/foo
-#  optfeature "bar support" app-misc/bar app-misc/baz[bar]
-#  optfeature "alphabet support" "app-misc/a app-misc/b" app-misc/c
-# @CODE
-optfeature() {
-   debug-print-function ${FUNCNAME} "$@"
-   local i j msg
-   local desc=$1
-   local flag=0
-   shift
-   for i; do
-   for j in ${i}; do
-   if has_version "${j}"; then
-   flag=1
-   else
-   flag=0
-   break
-   fi
-   done
-   if [[ ${flag} -eq 1 ]]; then
-   break
-   fi
-   done
-   if [[ ${flag} -eq 0 ]]; then
-   for i; do
-   msg=" "
-   for j in ${i}; do
-   msg+=" ${j} and"
-   done
-   msg="${msg:0: -4} for ${desc}"
-   elog "${msg}"
-   done
-   fi
-}
-
 case ${EAPI:-0} in
 0|1|2|3|4)
 
-- 
2.28.0




[gentoo-dev] [PATCH 1/2] optfeature.eclass: New eclass with definition from eutils

2020-09-06 Thread David Seifert
Signed-off-by: David Seifert 
---
 eclass/optfeature.eclass | 63 
 1 file changed, 63 insertions(+)
 create mode 100644 eclass/optfeature.eclass

diff --git a/eclass/optfeature.eclass b/eclass/optfeature.eclass
new file mode 100644
index 000..b0082606cd6
--- /dev/null
+++ b/eclass/optfeature.eclass
@@ -0,0 +1,63 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# @ECLASS: optfeature.eclass
+# @MAINTAINER:
+# base-sys...@gentoo.org
+# @BLURB: Advertise optional functionality that might be useful to users
+
+case "${EAPI:-0}" in
+   [0-7]) ;;
+   *) die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}" ;;
+esac
+
+if [[ -z ${_OPTFEATURE_ECLASS} ]]; then
+_OPTFEATURE_ECLASS=1
+
+# @FUNCTION: optfeature
+# @USAGE:   [other atoms]
+# @DESCRIPTION:
+# Print out a message suggesting an optional package (or packages)
+# not currently installed which provides the described functionality.
+#
+# The following snippet would suggest app-misc/foo for optional foo support,
+# app-misc/bar or app-misc/baz[bar] for optional bar support
+# and either both app-misc/a and app-misc/b or app-misc/c for alphabet support.
+# @CODE
+#  optfeature "foo support" app-misc/foo
+#  optfeature "bar support" app-misc/bar app-misc/baz[bar]
+#  optfeature "alphabet support" "app-misc/a app-misc/b" app-misc/c
+# @CODE
+optfeature() {
+   debug-print-function ${FUNCNAME} "$@"
+
+   local i j msg
+   local desc=$1
+   local flag=0
+   shift
+   for i; do
+   for j in ${i}; do
+   if has_version "${j}"; then
+   flag=1
+   else
+   flag=0
+   break
+   fi
+   done
+   if [[ ${flag} -eq 1 ]]; then
+   break
+   fi
+   done
+   if [[ ${flag} -eq 0 ]]; then
+   for i; do
+   msg=" "
+   for j in ${i}; do
+   msg+=" ${j} and"
+   done
+   msg="${msg:0: -4} for ${desc}"
+   elog "${msg}"
+   done
+   fi
+}
+
+fi
-- 
2.28.0




Re: [gentoo-dev] [PATCH] lua.eclass: initial implementation

2020-09-06 Thread David Seifert
On Thu, 2020-09-03 at 15:37 +0200, Marek Szuba wrote:
> Ladies and gentlemen,
> 
> Here is my first attempt on creating an eclass which would handle
> installation of Lua modules for multiple implementations. As some of
> you
> are aware of, the lack of such an eclass has been a major issue for
> our
> efforts on slotting dev-lang/lua.
> 
> With many, many thanks to mgorny and everyone else who has worked on
> python-r1.eclass, to whom lua.eclass bears, ahem, striking
> resemblance.
> 
> At the moment this is only really useful for installing Lua modules
> but
> assuming it doesn't turn out to be a total failure, I'll work on
> single-target support as the next step. We should probably think about
> adding LuaJIT support at some point too.
> 
> Comments are very much welcome!

This is finally going in the right direction. Unfortunately we won't get
around a single-r1-style eclass too. What about all those programs
embedding a specific lua version as plugin architecture? Conversely, we
also won't get around the multi eclass too, given how many upstreams
won't unbundle/port their lua dependencies and require access to pure-
lua packages. But the basic principles underlying your eclass are
finally correct, unlike the previous lua.eclass attempt.




[gentoo-dev] [PATCH 2/2] systemd.eclass: deprecate tmpfiles functions

2020-09-06 Thread Mike Gilbert
Bug: https://bugs.gentoo.org/740638
Signed-off-by: Mike Gilbert 
---
 eclass/systemd.eclass | 6 ++
 1 file changed, 6 insertions(+)

diff --git a/eclass/systemd.eclass b/eclass/systemd.eclass
index 97ecf0786aef..09ea71bbfdc5 100644
--- a/eclass/systemd.eclass
+++ b/eclass/systemd.eclass
@@ -240,6 +240,8 @@ systemd_install_serviced() {
 # @FUNCTION: systemd_dotmpfilesd
 # @USAGE: ...
 # @DESCRIPTION:
+# Deprecated in favor of tmpfiles.eclass.
+#
 # Install systemd tmpfiles.d files. Uses doins, thus it is fatal
 # in EAPI 4 and non-fatal in earlier EAPIs.
 systemd_dotmpfilesd() {
@@ -260,6 +262,8 @@ systemd_dotmpfilesd() {
 # @FUNCTION: systemd_newtmpfilesd
 # @USAGE:  .conf
 # @DESCRIPTION:
+# Deprecated in favor of tmpfiles.eclass.
+#
 # Install systemd tmpfiles.d file under a new name. Uses newins, thus it
 # is fatal in EAPI 4 and non-fatal in earlier EAPIs.
 systemd_newtmpfilesd() {
@@ -435,6 +439,8 @@ systemd_is_booted() {
 # @FUNCTION: systemd_tmpfiles_create
 # @USAGE:  ...
 # @DESCRIPTION:
+# Deprecated in favor of tmpfiles.eclass.
+#
 # Invokes systemd-tmpfiles --create with given arguments.
 # Does nothing if ROOT != / or systemd-tmpfiles is not in PATH.
 # This function should be called from pkg_postinst.
-- 
2.28.0




[gentoo-dev] [PATCH 1/2] systemd.eclass: fix systemd_tmpfiles_create under EAPI 7

2020-09-06 Thread Mike Gilbert
Closes: https://bugs.gentoo.org/740586
Signed-off-by: Mike Gilbert 
---
 eclass/systemd.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/systemd.eclass b/eclass/systemd.eclass
index 04f277e94d64..97ecf0786aef 100644
--- a/eclass/systemd.eclass
+++ b/eclass/systemd.eclass
@@ -448,7 +448,7 @@ systemd_tmpfiles_create() {
 
[[ ${EBUILD_PHASE} == postinst ]] || die "${FUNCNAME}: Only valid in 
pkg_postinst"
[[ ${#} -gt 0 ]] || die "${FUNCNAME}: Must specify at least one 
filename"
-   [[ ${ROOT} == / ]] || return 0
+   [[ ${ROOT:-/} == / ]] || return 0
type systemd-tmpfiles &> /dev/null || return 0
systemd-tmpfiles --create "${@}"
 }
-- 
2.28.0