public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jerry James <loganjerry@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-furo] rawhide: Remove the yarnpkg dependency
Date: Tue, 28 Jul 2026 20:04:51 GMT	[thread overview]
Message-ID: <178526909102.1.14818645286663308344.rpms-python-furo-0dfcc9bc63a5@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/python-furo
Branch : rawhide
Commit : 0dfcc9bc63a522d0495d1089fc084362703932c9
Author : Jerry James <loganjerry@gmail.com>
Date   : 2026-07-28T14:04:29-06:00
Stats  : +11/-17 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/python-furo/c/0dfcc9bc63a522d0495d1089fc084362703932c9?branch=rawhide

Log:
Remove the yarnpkg dependency

---
diff --git a/furo-2025.12.19-vendor-licenses.txt b/furo-2025.12.19-vendor-licenses.txt
index 896f1bb..c42eb98 100644
--- a/furo-2025.12.19-vendor-licenses.txt
+++ b/furo-2025.12.19-vendor-licenses.txt
@@ -1,8 +1,6 @@
-yarn run v1.22.22
-$ /tmp/node_modules/.bin/license-checker --summary
-├─ MIT: 232
+├─ MIT: 222
 ├─ ISC: 31
-├─ BSD-2-Clause: 14
+├─ BSD-2-Clause: 13
 ├─ BSD-3-Clause: 7
 ├─ Apache-2.0: 6
 ├─ CC0-1.0: 3
@@ -12,4 +10,3 @@ $ /tmp/node_modules/.bin/license-checker --summary
 ├─ CC-BY-3.0: 1
 └─ (MIT AND CC-BY-3.0): 1
 
-Done in 0.46s.

diff --git a/prepare_vendor.sh b/prepare_vendor.sh
index 7a7a71c..39c7c2e 100755
--- a/prepare_vendor.sh
+++ b/prepare_vendor.sh
@@ -18,7 +18,6 @@ echo "PATH:    $PKG_PATH"
 cleanup_tmpdir() {
     popd 2>/dev/null
     rm -rf $PKG_TMPDIR
-    rm -rf /tmp/yarn--*
 }
 trap cleanup_tmpdir SIGINT
 
@@ -41,26 +40,26 @@ tar -xf $PKG_TARBALL -C $PKG_TMPDIR
 
 cd $PKG_PATH
 
-export YARN_CACHE_FOLDER="$PWD/.package-cache"
 echo ">>>>>> Install npm modules"
+export npm_config_cache="$PWD/.package-cache"
 rm package-lock.json
-yarn install
+npm install
 if [ $? -ne 0 ]; then
-    echo "ERROR: yarn install failed"
+    echo "ERROR: npm install failed"
     cleanup_and_exit 1
 fi
 
 echo ">>>>>> Package vendor files"
 rm -f $PKG_DIR/${PKG_NAME}-${PKG_VERSION}-vendor.tar.xz
-XZ_OPT="-9e -T$(nproc)" tar cJf $PKG_DIR/${PKG_NAME}-${PKG_VERSION}-vendor.tar.xz .package-cache
+XZ_OPT="-9e -T$(nproc)" tar cJf $PKG_DIR/${PKG_NAME}-${PKG_VERSION}-vendor.tar.xz .package-cache node_modules
 if [ $? -ne 0 ]; then
     cleanup_and_exit 1
 fi
 
-yarn add license-checker
-yarn license-checker --summary | sed "s#$PKG_PATH#/tmp/#g" > $PKG_DIR/${PKG_NAME}-${PKG_VERSION}-vendor-licenses.txt
+npm add license-checker
+node_modules/.bin/license-checker --summary | sed "s#$PKG_PATH#/tmp/#g" > $PKG_DIR/${PKG_NAME}-${PKG_VERSION}-vendor-licenses.txt
 
 cd -
 
-rm -rf .package-cache node_modules
+rm -rf .package-cache node_modules /tmp/node-compile-cache
 cleanup_and_exit 0

diff --git a/python-furo.spec b/python-furo.spec
index 5fb5e12..4319138 100644
--- a/python-furo.spec
+++ b/python-furo.spec
@@ -23,7 +23,6 @@ BuildRequires:  /usr/bin/node
 BuildRequires:  /usr/bin/npm
 BuildRequires:  python-sphinx-doc
 BuildRequires:  python3-docs
-BuildRequires:  yarnpkg
 
 %global _description %{expand:Furo is a Sphinx theme, which is:
 - Intentionally minimal --- the most important thing is the content, not the
@@ -99,8 +98,7 @@ sed -e 's|\("https://docs\.python\.org/3", \)None|\1"%{_docdir}/python3-docs/htm
 
 %build -p
 export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1
-export YARN_CACHE_FOLDER="$PWD/.package-cache"
-yarn install --offline
+export npm_config_cache="$PWD/.package-cache"
 nodeenv --node=system --prebuilt --clean-src $PWD/.nodeenv
 
 %install -a

diff --git a/sources b/sources
index 8b1c538..4af8602 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
 SHA512 (furo-2025.12.19.tar.gz) = 33464253a69d925679f99f72e7dcea58316f4e32f3698378dfe7cd5ffe78733bf98c81a921a13180e06af6be66bf3c09be9097c03c5ffda787fc373f01ed28ae
-SHA512 (furo-2025.12.19-vendor.tar.xz) = e2f4c97875e335298bb15024eb0475c6d90868fc2a2f6fb2ef0626295c0b37ad49103c9be9ce126c92e2aedd4adefe92f4fbff97a8209854b03d5a1a93d9255d
+SHA512 (furo-2025.12.19-vendor.tar.xz) = be3ce65561c570cf19e5b428db87eab3088e37b0e8bad9258f3a992ad08a10de479eaccc316af9126b2d1c94a7153c92a3837c5220a85bfea82c196859dab051

                 reply	other threads:[~2026-07-28 20:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178526909102.1.14818645286663308344.rpms-python-furo-0dfcc9bc63a5@fedoraproject.org \
    --to=loganjerry@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox