[76547] trunk/dports/python/py27-scss/Portfile

singingwolfboy at macports.org singingwolfboy at macports.org
Sun Feb 27 14:23:53 PST 2011


Revision: 76547
          http://trac.macports.org/changeset/76547
Author:   singingwolfboy at macports.org
Date:     2011-02-27 14:23:52 -0800 (Sun, 27 Feb 2011)
Log Message:
-----------
Upgraded py27-scss port to use pyScss module, since scss module author has indicated that it has better compatiblity

Modified Paths:
--------------
    trunk/dports/python/py27-scss/Portfile

Modified: trunk/dports/python/py27-scss/Portfile
===================================================================
--- trunk/dports/python/py27-scss/Portfile	2011-02-27 22:13:09 UTC (rev 76546)
+++ trunk/dports/python/py27-scss/Portfile	2011-02-27 22:23:52 UTC (rev 76547)
@@ -4,9 +4,9 @@
 PortGroup           python27 1.0
 
 name                py27-scss
-set real_name       scss
-version             0.6.5
-license             LGPL
+set real_name       pyScss
+version             1.0.2
+license             MIT
 categories-append   www devel
 maintainers         singingwolfboy openmaintainer
 description         SCSS compiler for Python
@@ -20,14 +20,19 @@
 supported_archs     noarch
 
 homepage            http://packages.python.org/${real_name}/
-master_sites        http://pypi.python.org/packages/source/s/${real_name}
+master_sites        http://pypi.python.org/packages/source/p/${real_name}
 distname            ${real_name}-${version}
 
-depends_lib-append  port:py27-parsing
+checksums           md5     e84590b39b6b2120197fb5d3ff233446 \
+                    sha1    54446cec5be74cd17b70a80acbe10712e7d9bdc6 \
+                    rmd160  e90f948cd2e2d33414382200901ec229c6fc8f69
 
-checksums           md5     c3ca302e08ccf0484bf9305a9bac12f4 \
-                    sha1    ced21ba84e75aa7355bd860b81feeb9f556450f4 \
-                    rmd160  622e72afd452d14922bc665a12f4bafa8f4fc2da
+post-destroot {
+    file attributes ${destroot}${python.pkgd}/scss.py -permissions a+x
+    reinplace "s|#!/usr/bin/env python|#!${python.bin}|" \
+        ${destroot}${python.pkgd}/scss.py
+    ln -s ${python.pkgd}/scss.py ${destroot}${prefix}/bin/scss
+}
 
 livecheck.type      regex
 livecheck.url       ${master_sites}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110227/74c08da5/attachment.html>


More information about the macports-changes mailing list