summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Boutillier <boutil@debian.org>2020-04-11 16:29:32 +0200
committergit-ubuntu importer <ubuntu-devel-discuss@lists.ubuntu.com>2020-04-11 22:43:36 +0000
commit9fe948736c8c1516e020edffd96448745bfd742f (patch)
tree2f5f338cd17a34a9ad1f35fbe81c0d71024425f7
parentd4ee64e2991fe231d15da2ca7df2844aeaea4e03 (diff)
Imported using git-ubuntu import.
Notes
Notes: * Team upload [ Utkarsh Gupta ] * Add salsa-ci.yml [ Cédric Boutillier ] * Use salsa.debian.org in Vcs-* fields * Install gemspec from upstream repo (Closes: #830078) * Move debian/watch to gemwatch.debian.net * Drop compat file, rely on debhelper-compat and bump compat level to 12 * Bump Standards-Version to 4.5.0 (no changes needed) * Refresh packaging
-rw-r--r--debian/changelog19
-rw-r--r--debian/compat1
-rw-r--r--debian/control20
-rw-r--r--debian/copyright5
-rw-r--r--debian/cssmin.gemspec24
-rw-r--r--debian/ruby-tests.rake6
-rw-r--r--debian/ruby-tests.rb3
-rwxr-xr-xdebian/rules15
-rw-r--r--debian/watch4
9 files changed, 72 insertions, 25 deletions
diff --git a/debian/changelog b/debian/changelog
index 73e1f09..533c47a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,23 @@
+ruby-cssmin (1.0.3-5) unstable; urgency=medium
+
+ * Team upload
+
+ [ Utkarsh Gupta ]
+ * Add salsa-ci.yml
+
+ [ Cédric Boutillier ]
+ * Use salsa.debian.org in Vcs-* fields
+ * Install gemspec from upstream repo (Closes: #830078)
+ * Move debian/watch to gemwatch.debian.net
+ * Drop compat file, rely on debhelper-compat and bump compat level to 12
+ * Bump Standards-Version to 4.5.0 (no changes needed)
+ * Refresh packaging
+
+ -- Cédric Boutillier <boutil@debian.org> Sat, 11 Apr 2020 16:29:32 +0200
+
ruby-cssmin (1.0.3-4) unstable; urgency=medium
- * Add rake as build dependency (Closes: #788514)
+ * Add rake and minitest as build dependency (Closes: #788514)
-- Balasankar C <balasankarc@autistici.org> Sat, 20 Jun 2015 10:58:28 +0530
diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index 7f8f011..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-7
diff --git a/debian/control b/debian/control
index e1064db..1b1691a 100644
--- a/debian/control
+++ b/debian/control
@@ -3,18 +3,24 @@ Section: ruby
Priority: optional
Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>
Uploaders: Balasankar C <balasankarc@autistici.org>
-Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.7.5~), rake, ruby-minitest
-Standards-Version: 3.9.6
-Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-cssmin.git
-Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-cssmin.git;a=summary
+Build-Depends: debhelper-compat (= 12),
+ gem2deb,
+ rake,
+ ruby-minitest
+Standards-Version: 4.5.0
+Vcs-Git: https://salsa.debian.org/ruby-team/ruby-cssmin.git
+Vcs-Browser: https://salsa.debian.org/ruby-team/ruby-cssmin
Homepage: https://github.com/rgrove/cssmin/
XS-Ruby-Versions: all
+Rules-Requires-Root: no
Package: ruby-cssmin
Architecture: all
XB-Ruby-Versions: ${ruby:Versions}
-Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter
+Depends: ${misc:Depends},
+ ${ruby:Depends},
+ ${shlibs:Depends}
Description: Ruby library for minifying CSS
- Ruby library for minifying CSS. Inspired by cssmin.js and YUI Compressor. It
- is based on cssmin.js which was actually a JavaScript port of YUICompressor's
+ Ruby library for minifying CSS. Inspired by cssmin.js and YUI Compressor. It
+ is based on cssmin.js which was actually a JavaScript port of YUICompressor's
CSS minifier.
diff --git a/debian/copyright b/debian/copyright
index 2964059..a5d2402 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -11,6 +11,11 @@ Copyright: 2014 Balasankar C <balasankarc@autistici.org>
License: BSD-3-clause
Comment: the Debian packaging is licensed under the same terms as the original package.
+Files: debian/cssmin.gemspec
+Copyright: 2008 Ryan Grove<ryan@wonko.com>
+License: BSD-3-clause
+Comment: Copied from upstream git repository
+
License: BSD-3-clause
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
diff --git a/debian/cssmin.gemspec b/debian/cssmin.gemspec
new file mode 100644
index 0000000..2548189
--- /dev/null
+++ b/debian/cssmin.gemspec
@@ -0,0 +1,24 @@
+# coding: utf-8
+
+Gem::Specification.new do |s|
+ s.name = 'cssmin'
+ s.version = '1.0.3'
+ s.author = 'Ryan Grove'
+ s.email = 'ryan@wonko.com'
+ s.homepage = 'https://github.com/rgrove/cssmin/'
+ s.platform = Gem::Platform::RUBY
+ s.summary = 'Ruby library for minifying CSS.'
+ s.description = 'Ruby library for minifying CSS. Inspired by cssmin.js and YUI Compressor.'
+ s.license = 'FreeBSD'
+
+ s.files = Dir.glob("**/*").select{ |f| /^debian/ !~ f}
+ s.test_files = s.files.grep(%r{^(test|spec|features)/})
+ s.require_path = 'lib'
+ s.has_rdoc = true
+
+ s.required_ruby_version = '>= 1.8.6'
+
+ s.add_development_dependency "rake"
+ s.add_development_dependency "rdoc"
+ s.add_development_dependency "minitest"
+end
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..63f3fd6
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,6 @@
+require 'gem2deb/rake/testtask'
+
+Gem2Deb::Rake::TestTask.new do |t|
+ t.libs = ['test']
+ t.test_files = FileList['test/**/*_test.rb'] + FileList['test/**/test_*.rb']
+end
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
deleted file mode 100644
index c8d1c90..0000000
--- a/debian/ruby-tests.rb
+++ /dev/null
@@ -1,3 +0,0 @@
- $: << 'lib' << '.'
- Dir['{spec,test}/**/*.rb'].each { |f| require f }
-
diff --git a/debian/rules b/debian/rules
index a43ba53..ada1e69 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,15 +1,8 @@
#!/usr/bin/make -f
-#export DH_VERBOSE=1
-#
-# Uncomment to ignore all test failures (but the tests will run anyway)
-#export DH_RUBY_IGNORE_TESTS=all
-#
-# Uncomment to ignore some test failures (but the tests will run anyway).
-# Valid values:
-#export DH_RUBY_IGNORE_TESTS=ruby2.1 require-rubygems
-#
-# If you need to specify the .gemspec (eg there is more than one)
-#export DH_RUBY_GEMSPEC=gem.gemspec
+
+export DH_RUBY_GEMSPEC=debian/cssmin.gemspec
+export GEM2DEB_TEST_RUNNER = --check-dependencies
+export DH_RUBY = --gem-install
%:
dh $@ --buildsystem=ruby --with ruby
diff --git a/debian/watch b/debian/watch
index 5c9290b..84c3066 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,2 @@
-version=3
-http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/ruby-cssmin .*/ruby-cssmin-(.*).tar.gz
+version=4
+https://gemwatch.debian.net/ruby-cssmin .*/ruby-cssmin-(.*).tar.gz