[DRE-commits] [tdiary-style-gfm] 01/01: Import Debian patch 0.4.0-1

Youhei SASAKI uwabami-guest at moszumanska.debian.org
Sun Nov 20 08:02:33 UTC 2016


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

uwabami-guest pushed a commit to branch master
in repository tdiary-style-gfm.

commit 92748c64bc503facb32c21593164806aa390466d
Author: Youhei SASAKI <uwabami at gfd-dennou.org>
Date:   Thu Nov 17 19:58:55 2016 +0900

    Import Debian patch 0.4.0-1
    
    Signed-off-by: Youhei SASAKI <uwabami at gfd-dennou.org>
---
 debian/changelog                                   |  5 +++
 debian/compat                                      |  1 +
 debian/control                                     | 40 ++++++++++++++++++++++
 debian/copyright                                   | 37 ++++++++++++++++++++
 debian/patches/0001_Add_LOAD_PATH_for_RSpec        | 20 +++++++++++
 .../0002-Replace-git-execution-from-gemspec.patch  | 22 ++++++++++++
 debian/patches/series                              |  2 ++
 debian/ruby-tdiary-style-gfm.docs                  |  1 +
 debian/ruby-tests.rake                             |  5 +++
 debian/rules                                       |  6 ++++
 debian/source/format                               |  1 +
 debian/watch                                       |  2 ++
 12 files changed, 142 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..6bf5263
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+tdiary-style-gfm (0.4.0-1) unstable; urgency=medium
+
+  * Initial release (Closes: #844699)
+
+ -- Youhei SASAKI <uwabami at gfd-dennou.org>  Thu, 17 Nov 2016 19:58:55 +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..5987f75
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,40 @@
+Source: tdiary-style-gfm
+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,
+               rake,
+               ruby-emot,
+               ruby-github-markdown,
+               ruby-rouge (>= 2.0),
+               ruby-rspec,
+               ruby-twitter-text,
+               tdiary-core (>= 5~)
+Standards-Version: 3.9.8
+Vcs-Git: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-tdiary-style-gfm.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-tdiary-style-gfm.git
+Homepage: https://github.com/tdiary/tdiary-style-gfm
+Testsuite: autopkgtest-pkg-ruby
+XS-Ruby-Versions: all
+
+Package: ruby-tdiary-style-gfm
+Architecture: all
+XB-Ruby-Versions: ${ruby:Versions}
+Depends: ruby | ruby-interpreter,
+         tdiary-core,
+         ruby-emot,
+         ruby-github-markdown,
+         ruby-rouge (>= 2.0),
+         ruby-twitter-text,
+         ${misc:Depends},
+         ${shlibs:Depends}
+Description: GFM Style for tDiary
+ GFM Style for tDiary (>= 2.x) format.
+ .
+ The tDiary is a weblog system, which makes your weblog
+ communication-friendly for the writer (you) and readers. It consists of
+ Ruby scripts for CGI (Common Gateway Interface).
+ .
+ This package provides GFM(Github Flavored Markdown) style.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..1c2e031
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,37 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: tdiary-style-gfm
+Source: https://github.com/tdiary/tdiary-style-gfm
+
+Files: *
+Copyright: 2003 TADA Tadashi <sho at spc.gr.jp>
+           2004 MoonWolf <moonwolf at moonwolf.com>
+           2012 kdmsnr <kdmsnr at gmail.com>
+           2013 hsbt <shibata.hiroshi at gmail.com>
+License: GPL-3+
+
+Files: debian/*
+Copyright: 2016 Youhei SASAKI <uwabami at gfd-dennou.org>
+License: GPL-3+
+Comment: the Debian packaging is licensed under the same terms as the original package.
+
+License: GPL-3+
+ 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 3 of the License, 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 package; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+ Boston, MA  02110-1301 USA
+ .
+ On Debian systems, the full text of the GNU General Public
+ License version 2 can be found in the file
+ `/usr/share/common-licenses/GPL-3'.
diff --git a/debian/patches/0001_Add_LOAD_PATH_for_RSpec b/debian/patches/0001_Add_LOAD_PATH_for_RSpec
new file mode 100644
index 0000000..0da6e3e
--- /dev/null
+++ b/debian/patches/0001_Add_LOAD_PATH_for_RSpec
@@ -0,0 +1,20 @@
+From: Debian Ruby Extras Maintainers
+ <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
+Date: Thu, 17 Nov 2016 20:04:27 +0900
+Subject: Add LOAD_PATH into spec_helper, for Debian package
+
+Signed-off-by: Youhei SASAKI <uwabami at gfd-dennou.org>
+---
+ spec/spec_helper.rb | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
+index 320f810..a0b8da4 100644
+--- a/spec/spec_helper.rb
++++ b/spec/spec_helper.rb
+@@ -1,4 +1,4 @@
+-$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
++$LOAD_PATH.unshift File.expand_path('/usr/share/tdiary/lib')
+ require 'tdiary/core_ext'
+ require 'tdiary/comment_manager'
+ require 'tdiary/referer_manager'
diff --git a/debian/patches/0002-Replace-git-execution-from-gemspec.patch b/debian/patches/0002-Replace-git-execution-from-gemspec.patch
new file mode 100644
index 0000000..1caa5e7
--- /dev/null
+++ b/debian/patches/0002-Replace-git-execution-from-gemspec.patch
@@ -0,0 +1,22 @@
+From: Youhei SASAKI <uwabami at gfd-dennou.org>
+Date: Thu, 17 Nov 2016 20:07:06 +0900
+Subject: Replace git execution from gemspec
+
+Signed-off-by: Youhei SASAKI <uwabami at gfd-dennou.org>
+---
+ tdiary-style-gfm.gemspec | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tdiary-style-gfm.gemspec b/tdiary-style-gfm.gemspec
+index 3907054..1c186ce 100644
+--- a/tdiary-style-gfm.gemspec
++++ b/tdiary-style-gfm.gemspec
+@@ -13,7 +13,7 @@ Gem::Specification.new do |spec|
+   spec.homepage      = "https://github.com/tdiary/tdiary-style-gfm"
+   spec.license       = "MIT"
+ 
+-  spec.files         = `git ls-files`.split($/)
++  spec.files         = [".gitignore",".rspec",".travis.yml","Gemfile","LICENSE.txt","README.md","Rakefile","debian/changelog","debian/compat","debian/control","debian/copyright","debian/patches/fix_rspec_path","debian/patches/series","debian/ruby-tdiary-style-gfm.docs","debian/ruby-tests.rake","debian/rules","debian/source/format","debian/watch","lib/tdiary-style-gfm.rb","lib/tdiary/style/gfm.rb","lib/tdiary/style/gfm/version.rb","spec/spec_helper.rb","spec/tdiary/style/gfm_spec.rb","td [...]
+   spec.executables   = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
+   spec.test_files    = spec.files.grep(%r{^(test|spec|features)/})
+   spec.require_paths = ["lib"]
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..c35ca9c
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+0001_Add_LOAD_PATH_for_RSpec
+0002-Replace-git-execution-from-gemspec.patch
diff --git a/debian/ruby-tdiary-style-gfm.docs b/debian/ruby-tdiary-style-gfm.docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/ruby-tdiary-style-gfm.docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..cf1591e
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,5 @@
+require 'gem2deb/rake/spectask'
+
+Gem2Deb::Rake::RSpecTask.new do |spec|
+  spec.pattern = './spec/**/*_spec.rb'
+end
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..3454d59
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,6 @@
+#!/usr/bin/make -f
+
+export GEM2DEB_TEST_RUNNER = --check-dependencies
+
+%:
+	dh $@ --buildsystem=ruby --with ruby
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/watch b/debian/watch
new file mode 100644
index 0000000..ade87c8
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/tdiary-style-gfm .*/tdiary-style-gfm-(.*).tar.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/tdiary-style-gfm.git



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