Bug#875611: sagenb: ruby-compass obsolete and now broken

2017-09-13 Thread Jonas Smedegaard
Quoting Ximin Luo (2017-09-13 11:34:00)
> Control: tags -1 + pending
> 
> On Tue, 12 Sep 2017 18:04:56 +0200 Jonas Smedegaard  wrote:
> > [..]> 
> > Attached is a patch to make Sagenb use sassc with separately maintained
> > stylesheets.  It needs to wait until the stylesheets have been approved,
> > though: Is in NEW queue now:
> > https://ftp-master.debian.org/new/sass-stylesheets-compass_0.12.10-1.html
> > 
> > Please consider doing above fix, and accept my apology for rushing things.
> > [..]
> 
> Thanks for the patch! I've applied it in git. Please ping me when 
> sass-stylesheets-compass passes NEW and I'll upload sagenb again.

Package approved by ftpmasters now, so should enter unstable in ~5 hours 
from now.

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers


Bug#875611: sagenb: ruby-compass obsolete and now broken

2017-09-13 Thread Jonas Smedegaard
Quoting Ximin Luo (2017-09-13 11:34:00)
> Control: tags -1 + pending
> 
> On Tue, 12 Sep 2017 18:04:56 +0200 Jonas Smedegaard  wrote:
> > [..]> 
> > Attached is a patch to make Sagenb use sassc with separately maintained
> > stylesheets.  It needs to wait until the stylesheets have been approved,
> > though: Is in NEW queue now:
> > https://ftp-master.debian.org/new/sass-stylesheets-compass_0.12.10-1.html
> > 
> > Please consider doing above fix, and accept my apology for rushing things.
> > [..]
> 
> Thanks for the patch! I've applied it in git. Please ping me when 
> sass-stylesheets-compass passes NEW and I'll upload sagenb again.

I sure will. Thanks!

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers


Bug#875611: sagenb: ruby-compass obsolete and now broken

2017-09-13 Thread Ximin Luo
Control: tags -1 + pending

On Tue, 12 Sep 2017 18:04:56 +0200 Jonas Smedegaard  wrote:
> [..]> 
> Attached is a patch to make Sagenb use sassc with separately maintained
> stylesheets.  It needs to wait until the stylesheets have been approved,
> though: Is in NEW queue now:
> https://ftp-master.debian.org/new/sass-stylesheets-compass_0.12.10-1.html
> 
> Please consider doing above fix, and accept my apology for rushing things.
> [..]

Thanks for the patch! I've applied it in git. Please ping me when 
sass-stylesheets-compass passes NEW and I'll upload sagenb again.

X

-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers


Bug#875611: sagenb: ruby-compass obsolete and now broken

2017-09-12 Thread Jonas Smedegaard
Source: sagenb
Severity: serious
Tags: patch

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

I made a mistake today that cause FTBFS of sagenb, but I would prefer to
fix it in sagenb as that would be needed anyway at a later point:

ruby-compass is obsolete and will likely not be released with Buster.
Its replacement is Sass - with the stylesheets previously shipped with
Compass packaged separately.

Yesterday I accidentally released to unstable (not experimental as
intended) ruby-sass too new for ruby-compass. I can fix that by
re-uploading older ruby-sass with a fake newer version number, but since
only 5 packages (build-)depend on ruby-compass I would much prefer to
instead speedup the removal of ruby-compass.

Attached is a patch to make Sagenb use sassc with separately maintained
stylesheets.  It needs to wait until the stylesheets have been approved,
though: Is in NEW queue now:
https://ftp-master.debian.org/new/sass-stylesheets-compass_0.12.10-1.html

Please consider doing above fix, and accept my apology for rushing things.
Alternatively I can make an NMU.  Or if neither is acceptable I will do
the more substantial work of postponing this change by reverting
ruby-sass to the older version for now.


 - Jonas

-BEGIN PGP SIGNATURE-

iQIzBAEBCgAdFiEEn+Ppw2aRpp/1PMaELHwxRsGgASEFAlm4BaUACgkQLHwxRsGg
ASEQ4xAAqmIW2Fboc+6qvoCr63DNFWZqw+R6tI1eZZTM1Z6hSLvMOLblgtIj2aw1
q/isXv1nL9QsiixqaXzkxMAAYyJQaxdR5RLrOCNDkVcSppuCLQG+yY5Ng0g09bTE
l1lI/sFKgo4SR4ZfmDTv+dzUW3kpjd8pog4Bf6WmW55wUE2RMitPUYqkt1JL4BIE
1O2rqqKvX7bK8LTlGD3ONAobzNjPny9KWcR/XpNYP/NvwPE2l8SkdGJE6mzBPgM4
WSjlfPPRM/fDqhj8rrKT1WVqKeMzKS8z5PdBoG/AlIFkRTE4x9SvnABzn+45NoBB
YgpQAosnf4iqtroQge8tbGrKB1UCi44mhxMUsvRFW2hgYtp5AiAEfop2393Domog
GJSIa6Wfzl0FKKGcnKpVTSdewAOiyXhUY6eREQztmXKtlRBa7nqGsjMGaZjljW1z
he48vLzzXLUk9kN7Ulr0dDSdiX+07rRd2ZIpUo1tiNfxVE2PdbmcbMrBNzLUgIpO
40pW361v0Npy+B2gmFGC6i1Yt1pzO68/ohkwi6em7HhYm8vGRhyXeTKrcznEMsJh
45lQ1DqDSOgKcR7uM+TUbXS0ehoabQqXgd6Symb/5EyXUCIEej4VAc3i/q/bP0U4
zimR0o8Xu44ystf4+CzhgWXe2Om7UmBtdAmMic4jz4Oudc46KiM=
=s1P5
-END PGP SIGNATURE-
diff --git a/debian/control b/debian/control
index 41c00750..4956345c 100644
--- a/debian/control
+++ b/debian/control
@@ -13,7 +13,8 @@ Build-Depends: debhelper (>= 10),
  python-flask,
  python-babel,
  python-flask-oldsessions,
- ruby-compass,
+ sassc,
+ sass-stylesheets-compass,
  uglifyjs
 Standards-Version: 3.9.8
 Homepage: https://github.com/sagemath/sagenb
diff --git a/debian/rules b/debian/rules
index 8c14d23a..691fd12a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -24,7 +24,8 @@ override_dh_auto_build: $(MIN_JS)
  -lib /usr/share/java/j3dcore.jar \
  -lib /usr/share/java/vecmath.jar \
  -lib /usr/share/java/j3dutils.jar
-   cd sass && compass compile
+   sassc -I sass/src -I /usr/share/sass/stylesheets --style compact 
sass/src/main.scss sagenb/data/sage/css/main.css
+   sassc -I sass/src --style compact sass/src/test_report.scss 
sagenb/data/sage/css/test_report.css
dh_auto_build
 
 # TODO: temporarily disabled for now; requires the "sage" binary
@@ -33,7 +34,7 @@ override_dh_auto_test:
 
 override_dh_auto_clean:
dh_auto_clean
-   cd sass && compass clean
+   rm -f sagenb/data/sage/css/main.css sagenb/data/sage/css/test_report.css
rm -rf sagenb/data/sage3d/build sagenb/data/sage3d/lib
rm -rf $(MIN_JS)
 
-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers