[DRE-commits] [ruby-classifier-reborn] 01/01: Imported Debian patch 2.0.4-1

Youhei SASAKI uwabami-guest at moszumanska.debian.org
Sun Nov 22 06:41:13 UTC 2015


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

uwabami-guest pushed a commit to branch master
in repository ruby-classifier-reborn.

commit 95f4bdccba727f74f7f9c043d4287dbfa2add868
Author: Youhei SASAKI <uwabami at gfd-dennou.org>
Date:   Tue Nov 3 07:40:03 2015 +0900

    Imported Debian patch 2.0.4-1
    
    Signed-off-by: Youhei SASAKI <uwabami at gfd-dennou.org>
---
 debian/changelog                                   |  5 ++++
 debian/compat                                      |  1 +
 debian/control                                     | 34 ++++++++++++++++++++++
 debian/copyright                                   | 34 ++++++++++++++++++++++
 .../0001-Replace-gemspec-git-execution.patch       | 22 ++++++++++++++
 debian/patches/series                              |  1 +
 debian/ruby-classifier-reborn.docs                 |  1 +
 debian/ruby-tests.rake                             |  4 +++
 debian/rules                                       | 25 ++++++++++++++++
 debian/source/format                               |  1 +
 debian/tests/control.ex                            | 13 +++++++++
 debian/watch                                       |  2 ++
 12 files changed, 143 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..c74da1c
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+ruby-classifier-reborn (2.0.4-1) unstable; urgency=medium
+
+  * Initial release (Closes: #804052)
+
+ -- Youhei SASAKI <uwabami at gfd-dennou.org>  Tue, 03 Nov 2015 07:40:03 +0900
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..df60bee
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,34 @@
+Source: ruby-classifier-reborn
+Section: ruby
+Priority: optional
+Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
+Uploaders: Youhei SASAKI <uwabami at gfd-dennou.org>
+Build-Depends: debhelper (>= 9~),
+               gem2deb,
+               ruby-fast-stemmer (>= 1.0),
+               ruby-test-unit
+Standards-Version: 3.9.6
+Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-classifier-reborn.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-classifier-reborn.git
+Homepage: https://github.com/jekyll/classifier-reborn
+Testsuite: autopkgtest-pkg-ruby
+XS-Ruby-Versions: all
+
+Package: ruby-classifier-reborn
+Architecture: all
+XB-Ruby-Versions: ${ruby:Versions}
+Depends: ruby | ruby-interpreter,
+         ruby-fast-stemmer (>= 1.0),
+         ${misc:Depends},
+         ${shlibs:Depends}
+Description: Successor of Ruby::Classifier
+ Classifier is a general module to allow Bayesian and other types of
+ classifications. Classifier Reborn is a fork of original classifier
+ under more active development.
+ .
+ This package provides Bayes classifier and Latent Semantic
+ Indexer. Bayesian Classifiers are accurate, fast, and have modest
+ memory requirements. Latent Semantic Indexing engines are not as fast
+ or as small as Bayesian classifiers, but are more flexible, providing
+ fast search and clustering detection as well as semantic analysis of
+ the text that theoretically simulates human learning.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..8aca1c4
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,34 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: classifier-reborn
+Source: https://github.com/jekyll/classifier-reborn
+
+Files: *
+Copyright: 2014-2015 Lucas Carlson  <lucas at rufy.com>
+           2014-2015 David Fayram II <dfayram at gmail.com>
+           2014-2015 Cameron McBride <cameron.mcbride at gmail.com>
+           2014-2015 Ivan Acosta-Rubio <ivan at softwarecriollo.com>
+           2014-2015 Parker Moore <email at byparker.com>
+           2014-2015 Chase Gilliam <chase.gilliam at gmail.com>
+License: LGPL-2.1+
+
+Files: debian/*
+Copyright: 2015 Youhei SASAKI <uwabami at gfd-dennou.org>
+License: LGPL-2.1+
+Comment: the Debian packaging is licensed under the same terms as the original package.
+
+License: LGPL-2.1+
+ This package is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+ .
+ This package 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
+ Lesser 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 <https://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU Lesser General
+ Public License can be found in "/usr/share/common-licenses/LGPL-2.1".
diff --git a/debian/patches/0001-Replace-gemspec-git-execution.patch b/debian/patches/0001-Replace-gemspec-git-execution.patch
new file mode 100644
index 0000000..7c7f334
--- /dev/null
+++ b/debian/patches/0001-Replace-gemspec-git-execution.patch
@@ -0,0 +1,22 @@
+From: Youhei SASAKI <uwabami at gfd-dennou.org>
+Date: Wed, 4 Nov 2015 21:02:26 +0900
+Subject: Replace gemspec git execution
+
+Signed-off-by: Youhei SASAKI <uwabami at gfd-dennou.org>
+---
+ classifier-reborn.gemspec | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/classifier-reborn.gemspec b/classifier-reborn.gemspec
+index 7d1e826..56d4e15 100644
+--- a/classifier-reborn.gemspec
++++ b/classifier-reborn.gemspec
+@@ -17,7 +17,7 @@ Gem::Specification.new do |s|
+   s.email            = ["lucas at rufy.com", "parkrmoore at gmail.com", "chase.gilliam at gmail.com"]
+   s.homepage         = 'https://github.com/jekyll/classifier-reborn'
+ 
+-  all_files          = `git ls-files -z`.split("\x0")
++  all_files          = [".gitignore",".travis.yml","Gemfile","History.markdown","LICENSE","README.markdown","Rakefile","bin/bayes.rb","bin/summarize.rb","classifier-reborn.gemspec","data/stopwords/ca","data/stopwords/cs","data/stopwords/da","data/stopwords/de","data/stopwords/en","data/stopwords/es","data/stopwords/fi","data/stopwords/fr","data/stopwords/hu","data/stopwords/it","data/stopwords/nl","data/stopwords/no","data/stopwords/pl","data/stopwords/pt","data/stopwords/se","data/stop [...]
+   s.files            = all_files.grep(%r{^(bin|lib|data)/})
+   s.executables      = all_files.grep(%r{^bin/}) { |f| File.basename(f) }
+   s.require_paths    = ["lib"]
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..074bbd5
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Replace-gemspec-git-execution.patch
diff --git a/debian/ruby-classifier-reborn.docs b/debian/ruby-classifier-reborn.docs
new file mode 100644
index 0000000..8d526b9
--- /dev/null
+++ b/debian/ruby-classifier-reborn.docs
@@ -0,0 +1 @@
+README.markdown
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..129c807
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,4 @@
+require 'gem2deb/rake/testtask'
+Gem2Deb::Rake::TestTask.new do |t|
+  t.test_files = FileList['test/*_test.rb']
+end
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..07517b1
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,25 @@
+#!/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
+#
+# If you need to specify the .gemspec (eg there is more than one)
+#export DH_RUBY_GEMSPEC=gem.gemspec
+#
+# Uncomment to check dependencies during build:
+# export GEM2DEB_TEST_RUNNER = --check-dependencies
+
+%:
+	dh $@ --buildsystem=ruby --with ruby
+
+override_dh_auto_install:
+	dh_auto_install
+	rm -fr $(CURDIR)/debian/ruby-classifier-reborn/usr/bin
+
+override_dh_installchangelogs:
+	dh_installchangelogs -k $(CURDIR)/History.markdown
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/tests/control.ex b/debian/tests/control.ex
new file mode 100644
index 0000000..d604201
--- /dev/null
+++ b/debian/tests/control.ex
@@ -0,0 +1,13 @@
+# AUTOGENERATED FILE
+#
+# As of autopkgtest 3.5, Ruby packages that use gem2deb are automatically
+# detected, and if debian/tests/control does not exist the contents below will
+# be assumed (with the exception of gem2deb being filtered out from
+# @builddeps@):
+
+Test-Command: gem2deb-test-runner --autopkgtest --check-dependencies 2>&1
+Depends: @, @builddeps@, gem2deb-test-runner
+
+# if you would need to change something to the above, to that and rename this
+# file to `control`. Otherwise, you should probably delete this file
+# (recommended).
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..8f8077b
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/classifier-reborn .*/classifier-reborn-(.*).tar.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-classifier-reborn.git



More information about the Pkg-ruby-extras-commits mailing list