debian/0000755000000000000000000000000011604077505007173 5ustar debian/control0000644000000000000000000000365211604077160010601 0ustar Source: libplack-middleware-file-sass-perl Section: perl Priority: optional Build-Depends: devscripts (>= 2.10.7~), perl, cdbs (>= 0.4.85~), debhelper (>= 7.0.1), dh-buildinfo, libplack-perl, libtest-requires-perl, libtext-sass-perl Maintainer: Debian Perl Group Uploaders: Jonas Smedegaard Standards-Version: 3.9.2 Vcs-Git: git://git.debian.org/git/pkg-perl/packages/libplack-middleware-file-sass-perl Vcs-Browser: http://git.debian.org/?p=pkg-perl/packages/libplack-middleware-file-sass-perl.git Homepage: http://search.cpan.org/dist/plack-middleware-file-sass/ Package: libplack-middleware-file-sass-perl Architecture: all Depends: ${perl:Depends}, ${misc:Depends}, ${cdbs:Depends} Recommends: ${cdbs:Recommends} Suggests: ${cdbs:Suggests} Description: Sass and SCSS support for all Plack-based PSGI frameworks PSGI is a specification to decouple web server environments from web application framework code. Plack is an implementation of PSGI. . Plack::Middleware::File::Sass is a Plack middleware component that works with Plack::App::File or Plack::Middleware::Static to compile Sass templates into CSS stylesheet in every request. . When a request comes in for *.css* file, this middleware changes the internal path to *.sass* or *.scss*, depending on the configuration, in the same directory. If the Sass template is found, a new CSS stylesheet is built on memory and served to the browsers. Otherwise, it falls back to the original *.css* file in the directory. . This middleware should be very handy for the development. While Sass to CSS rendering is reasonably fast, for the production environment you might want to precompile Sass templates to CSS files on disk and serves them with a real web server like nginx or lighttpd. . Text::Sass provides only a limited Sass implementation, so the Ruby implementation is recommended even when Text::Sass is available. debian/source/0000755000000000000000000000000011564222461010471 5ustar debian/source/format0000644000000000000000000000001411564222461011677 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000107511604077505011050 0ustar libplack-middleware-file-sass-perl (0.03-2) unstable; urgency=low * Update copyright file: + Consistently quote licenses in License comments. * Depend on ruby-sass favored over libhaml-ruby and libtext-sass-perl, and limit fallback libhaml-ruby dependency to only older versions providing Sass. -- Jonas Smedegaard Sun, 03 Jul 2011 16:39:31 +0200 libplack-middleware-file-sass-perl (0.03-1) unstable; urgency=low * Initial packaging release. Closes: bug#627584. -- Jonas Smedegaard Sun, 22 May 2011 10:11:51 +0200 debian/compat0000644000000000000000000000000211564222461010367 0ustar 7 debian/watch0000644000000000000000000000027311566135236010231 0ustar # Run the "uscan" command to check for upstream updates and more. version=3 http://search.cpan.org/dist/Plack-Middleware-File-Sass/ .*/Plack-Middleware-File-Sass-(\d.*)\.tar\.gz debian debian/copyright_hints0000644000000000000000000000223611566135720012337 0ustar Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?rev=174 Upstream-Name: FIXME Upstream-Contact: FIXME Source: FIXME Disclaimer: Autogenerated by CDBS Files: Changes MANIFEST META.yml Makefile.PL README debian/compat debian/control debian/control.in debian/gbp.conf debian/source/format debian/source/local-options debian/watch inc/Module/Install/AuthorTests.pm inc/Module/Install/Base.pm inc/Module/Install/Can.pm inc/Module/Install/Fetch.pm inc/Module/Install/Include.pm inc/Module/Install/Makefile.pm inc/Module/Install/ReadmeFromPod.pm inc/Module/Install/Repository.pm inc/Module/Install/Win32.pm inc/Module/Install/WriteAll.pm inc/Test/Builder/Module.pm inc/Test/Requires.pm lib/Plack/Middleware/File/Sass.pm t/00_compile.t t/bar.css t/foo.sass t/foo.scss t/sass.t t/scss.t xt/perlcritic.t xt/pod.t xt/podspell.t xt/synopsis.t Copyright: *No copyright* License: UNKNOWN FIXME Files: debian/rules Copyright: 2011, Jonas Smedegaard License: GPL FIXME Files: inc/Module/Install/Metadata.pm Copyright: License: UNKNOWN FIXME Files: inc/Module/Install.pm Copyright: 2008, - 2010, Adam Kennedy License: UNKNOWN FIXME debian/copyright0000644000000000000000000000571411604076766011145 0ustar Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?rev=174 Upstream-Name: Plack::Middleware::File::Sass Upstream-Contact: Tatsuhiko Miyagawa Source: http://search.cpan.org/dist/Plack-Middleware-File-Sass/ Files: * Copyright: 2011, Tatsuhiko Miyagawa License: Artistic or GPL-1+ This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. Comment: Perl 5 is licensed under either the 'Artistic license' or the 'GNU General Public License' version 1 or later. Files: inc/Module/* Copyright: 2001-2006, Audrey Tang 2002-2004, Brian Ingerson 2006,2008-2010, Adam Kennedy License: Artistic or GPL-1+ This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. Comment: Code lacks licensing, but is clearly a mangled convenience copy of lib/Module/* from Module::Install (also contained, similarly mangled, in that project below inc/Module/*), containing above copyright and licensing. Files: inc/Test/Builder/Module.pm Copyright: 2001-2008, Michael G Schwern 2002-2008, chromatic License: Artistic or GPL-1+ This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. Comment: Code lacks licensing, but is clearly a mangled convenience copy of lib/Test/Builder/Module.pm from Test::Simple, containing above copyright and licensing. Files: inc/Test/Requires.pm Copyright: Tokuhiro Matsuno License: Artistic or GPL-1+ This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. Comment: Code lacks licensing, but is clearly a mangled convenience copy of lib/Test/Requires.pm from Test::Requires, containing above copyright and licensing. Files: debian/* Copyright: 2011, Jonas Smedegaard License: GPL-2+ License: Artistic Comment: On Debian systems the 'Artistic License' is located in '/usr/share/common-licenses/Artistic'. License: GPL-1+ Comment: On Debian systems the 'GNU General Public License' version 1 is located in '/usr/share/common-licenses/GPL'. License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Comment: On Debian systems the 'GNU General Public License' version 2 is located in '/usr/share/common-licenses/GPL'. . You should have received a copy of the 'GNU General Public License' along with this program. If not, see . debian/gbp.conf0000644000000000000000000000014611564222461010611 0ustar # Configuration file for git-buildpackage and friends [DEFAULT] pristine-tar = True sign-tags = True debian/rules0000755000000000000000000000321611604077327010257 0ustar #!/usr/bin/make -f # -*- mode: makefile; coding: utf-8 -*- # Copyright 2011, Jonas Smedegaard # Description: Main Debian packaging script for Plack::Middleware::File::Sass # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . include /usr/share/cdbs/1/rules/upstream-tarball.mk include /usr/share/cdbs/1/rules/utils.mk include /usr/share/cdbs/1/class/perl-makemaker.mk include /usr/share/cdbs/1/rules/debhelper.mk DEB_UPSTREAM_PACKAGE = Plack-Middleware-File-Sass DEB_UPSTREAM_URL = http://www.cpan.org/modules/by-module/Plack #DEB_UPSTREAM_URL = http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA DEB_UPSTREAM_TARBALL_MD5 = dd1d45cdda21e22d245901dc62d3fbca # Needed both by upstream build process and at runtime common-depends = libplack-perl # Text::Sass provides only a limited Sass implementation, so the Ruby # implementation is recommended even when Text::Sass is available CDBS_BUILD_DEPENDS += , $(common-depends), libtest-requires-perl, libtext-sass-perl CDBS_DEPENDS_ALL = $(common-depends), ruby-sass | libhaml-ruby (<< 3.1) | libtext-sass-perl CDBS_RECOMMENDS_ALL = libhaml-ruby debian/control.in0000644000000000000000000000343411566141512011204 0ustar Source: libplack-middleware-file-sass-perl Section: perl Priority: optional Build-Depends: @cdbs@ Maintainer: Debian Perl Group Uploaders: Jonas Smedegaard Standards-Version: 3.9.2 Vcs-Git: git://git.debian.org/git/pkg-perl/packages/libplack-middleware-file-sass-perl Vcs-Browser: http://git.debian.org/?p=pkg-perl/packages/libplack-middleware-file-sass-perl.git Homepage: http://search.cpan.org/dist/plack-middleware-file-sass/ Package: libplack-middleware-file-sass-perl Architecture: all Depends: ${perl:Depends}, ${misc:Depends}, ${cdbs:Depends} Recommends: ${cdbs:Recommends} Suggests: ${cdbs:Suggests} Description: Sass and SCSS support for all Plack-based PSGI frameworks PSGI is a specification to decouple web server environments from web application framework code. Plack is an implementation of PSGI. . Plack::Middleware::File::Sass is a Plack middleware component that works with Plack::App::File or Plack::Middleware::Static to compile Sass templates into CSS stylesheet in every request. . When a request comes in for *.css* file, this middleware changes the internal path to *.sass* or *.scss*, depending on the configuration, in the same directory. If the Sass template is found, a new CSS stylesheet is built on memory and served to the browsers. Otherwise, it falls back to the original *.css* file in the directory. . This middleware should be very handy for the development. While Sass to CSS rendering is reasonably fast, for the production environment you might want to precompile Sass templates to CSS files on disk and serves them with a real web server like nginx or lighttpd. . Text::Sass provides only a limited Sass implementation, so the Ruby implementation is recommended even when Text::Sass is available.