[sagenb] 01/01: Use sassc instead of ruby-compass which is now obsolete

Ximin Luo infinity0 at debian.org
Wed Sep 13 09:31:31 UTC 2017


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch master
in repository sagenb.

commit 9a26ce94ab6d20fc46baddd0f66ca6bc56b665f1
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Wed Sep 13 11:30:11 2017 +0200

    Use sassc instead of ruby-compass which is now obsolete
---
 debian/changelog | 6 ++++++
 debian/control   | 3 ++-
 debian/rules     | 5 +++--
 3 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 2e5abfa..dea0ebe 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+sagenb (1.0.1+ds1-2) UNRELEASED; urgency=medium
+
+  * Use sassc instead of obsolete ruby-compass. (Closes: #875611)
+
+ -- Ximin Luo <infinity0 at debian.org>  Wed, 13 Sep 2017 11:30:37 +0200
+
 sagenb (1.0.1+ds1-1) unstable; urgency=medium
 
   * New upstream release.
diff --git a/debian/control b/debian/control
index 41c0075..4956345 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 8c14d23..691fd12 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)
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/sagenb.git



More information about the debian-science-commits mailing list