commit:     d045203b0bc357c461d942783156192822e46e4e
Author:     Ekaterina Vaartis <vaartis <AT> kotobank <DOT> ch>
AuthorDate: Tue Aug 10 08:18:56 2021 +0000
Commit:     Louis Sautier <sbraz <AT> gentoo <DOT> org>
CommitDate: Tue Aug 10 23:03:08 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d045203b

dev-python/cloudscraper: Add nodejs as a test dep., fix BDEPEND

The test USE-flag needs to be masked for amd64/x32 where nodejs is
masked.

Closes: https://bugs.gentoo.org/807454
Closes: https://github.com/gentoo/gentoo/pull/21942
Signed-off-by: Ekaterina Vaartis <vaartis <AT> kotobank.ch>
Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org>

 dev-python/cloudscraper/cloudscraper-1.2.58.ebuild | 3 ++-
 profiles/arch/amd64/x32/package.use.mask           | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/dev-python/cloudscraper/cloudscraper-1.2.58.ebuild 
b/dev-python/cloudscraper/cloudscraper-1.2.58.ebuild
index da2d0faf8a2..2bd22163a23 100644
--- a/dev-python/cloudscraper/cloudscraper-1.2.58.ebuild
+++ b/dev-python/cloudscraper/cloudscraper-1.2.58.ebuild
@@ -20,12 +20,13 @@ RDEPEND="
        dev-python/requests-toolbelt[${PYTHON_USEDEP}]
        dev-python/requests[${PYTHON_USEDEP}]
 "
-BDEPEND="${RDEPEND}
+BDEPEND="
        test? (
                dev-python/js2py[${PYTHON_USEDEP}]
                dev-python/pytest-forked[${PYTHON_USEDEP}]
                dev-python/pytest-timeout[${PYTHON_USEDEP}]
                dev-python/responses[${PYTHON_USEDEP}]
+               net-libs/nodejs
        )
 "
 

diff --git a/profiles/arch/amd64/x32/package.use.mask 
b/profiles/arch/amd64/x32/package.use.mask
index 4781af1cf4e..32542ababa9 100644
--- a/profiles/arch/amd64/x32/package.use.mask
+++ b/profiles/arch/amd64/x32/package.use.mask
@@ -4,6 +4,7 @@
 # Andreas Sturmlechner <ast...@gentoo.org> (2021-02-09)
 # Requires net-libs/nodejs, plus mask all reverse-dependencies.
 app-i18n/fcitx-libpinyin dictionary-manager
+dev-python/cloudscraper test
 games-util/lgogdownloader gui
 kde-apps/kde-apps-meta:5 pim
 kde-apps/kdenetwork-meta:5 bittorrent

Reply via email to