--- Begin Message ---
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock
Please unblock package twitter-bootstrap4
[ Reason ]
twitter-bootstrap4 fails to rebuild because it checks if node-caniuse-lite
is the latest available version (#991651).
[ Impact ]
FTBFS
[ Tests ]
Sadly no tests for this package
[ Risks ]
No risk, patch only avoid checking for last
node-caniuse-lite/node-caniuse-db
[ Checklist ]
[*] all changes are documented in the d/changelog
[*] I reviewed all changes and I approve them
[*] attach debdiff against the package in testing
[ Other info ]
I had to update install in debian/rules to fix autopkgtest
Cheers,
Yadd
unblock twitter-bootstrap4/4.5.2+dfsg1-7
diff --git a/debian/changelog b/debian/changelog
index 501299938..a563bd262 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+twitter-bootstrap4 (4.5.2+dfsg1-7) unstable; urgency=medium
+
+ [ Pirate Praveen ]
+ * Don't check for caniuse-lite updates during build (Closes: #991651)
+
+ [ Yadd ]
+ * Fix install after previous change
+
+ -- Yadd <yadd@debian.org> Fri, 30 Jul 2021 06:53:34 +0200
+
twitter-bootstrap4 (4.5.2+dfsg1-6) unstable; urgency=medium
* Duplicate symlink_to_dir command for stable update (Closes: #980546)
diff --git a/debian/control b/debian/control
index f8765c886..a2e170190 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: twitter-bootstrap4
Section: javascript
Priority: optional
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
-Uploaders: Xavier Guimard <yadd@debian.org>
+Uploaders: Yadd <yadd@debian.org>
Build-Depends: debhelper-compat (= 13)
, libjs-popper.js (>= 1.14.6+ds2-2)
, node-autoprefixer
diff --git a/debian/patches/dont-check-for-caniuse-lite-update.patch b/debian/patches/dont-check-for-caniuse-lite-update.patch
new file mode 100644
index 000000000..d55b8c512
--- /dev/null
+++ b/debian/patches/dont-check-for-caniuse-lite-update.patch
@@ -0,0 +1,19 @@
+Description: don't check for node-canuise-lite update
+Author: Pirate Praveen <praveen@onenetbeyond.org>
+Bug-Debian: https://bugs.debian.org/991651
+Forwarded: not-needed
+Reviewed-By: Yadd <yadd@debian.org>
+Last-Update: 2021-07-30
+
+--- a/.babelrc.js
++++ b/.babelrc.js
+@@ -5,7 +5,8 @@
+ {
+ loose: true,
+ bugfixes: true,
+- modules: false
++ modules: false,
++ ignoreBrowserslistConfig: true
+ }
+ ]
+ ],
diff --git a/debian/patches/series b/debian/patches/series
index bed7775c4..65a68097b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
do-not-update-copyright-year.diff
+dont-check-for-caniuse-lite-update.patch
diff --git a/debian/rules b/debian/rules
index 581336c9c..7cdd8537a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,7 @@
#!/usr/bin/make -f
+export BROWSERSLIST_IGNORE_OLD_DATA=1
+
%:
dh $@
@@ -9,6 +11,7 @@ override_dh_auto_build:
sassc --sourcemap=auto scss/bootstrap-grid.scss dist/tmp/bootstrap-grid.css
sassc --sourcemap=auto scss/bootstrap-reboot.scss dist/tmp/bootstrap-reboot.css
node debian/postcss.js
+ cp -v dist/tmp/*.css dist/css/
sassc --sourcemap=auto --style compressed dist/tmp/bootstrap.css dist/css/bootstrap.min.css
sassc --sourcemap=auto --style compressed dist/tmp/bootstrap-grid.css dist/css/bootstrap-grid.min.css
sassc --sourcemap=auto --style compressed dist/tmp/bootstrap-reboot.css dist/css/bootstrap-reboot.min.css
--- End Message ---