[DRE-commits] [ruby-fastimage] 01/02: Reimport upstream

Youhei SASAKI uwabami-guest at moszumanska.debian.org
Wed Sep 24 10:37:12 UTC 2014


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

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

commit a927582d80044ba723b0a3c57ce9f4837cd76538
Author: Youhei SASAKI <uwabami at gfd-dennou.org>
Date:   Wed Sep 24 19:30:53 2014 +0900

    Reimport upstream
    
    Signed-off-by: Youhei SASAKI <uwabami at gfd-dennou.org>
---
 Gemfile                                            |   2 +
 Rakefile                                           |  20 ++++
 debian/changelog                                   |   5 -
 debian/compat                                      |   1 -
 debian/control                                     |  26 ----
 debian/copyright                                   |  31 -----
 ...st-fixtures-test2.bmp-from-upstream-repos.patch | Bin 1563 -> 0 bytes
 debian/patches/0002-Drop-RubyGems-Depends.patch    |  19 ---
 debian/patches/series                              |   2 -
 debian/ruby-fastimage.docs                         |   1 -
 debian/ruby-test-files.yaml                        |   2 -
 debian/rules                                       |  15 ---
 debian/source/format                               |   1 -
 debian/source/include-binaries                     |   1 -
 debian/tests/control                               |   5 -
 debian/tests/gem2deb-test-runner                   |   4 -
 debian/watch                                       |   3 -
 fastimage.gemspec                                  |  51 ++++++++
 metadata.yml                                       | 131 ---------------------
 test/fixtures/test2.bmp                            | Bin 0 -> 1024 bytes
 20 files changed, 73 insertions(+), 247 deletions(-)

diff --git a/Gemfile b/Gemfile
new file mode 100644
index 0000000..851fabc
--- /dev/null
+++ b/Gemfile
@@ -0,0 +1,2 @@
+source 'https://rubygems.org'
+gemspec
diff --git a/Rakefile b/Rakefile
new file mode 100644
index 0000000..1f23ac3
--- /dev/null
+++ b/Rakefile
@@ -0,0 +1,20 @@
+require "rdoc/task"
+require 'rake/testtask'
+
+# Generate documentation
+Rake::RDocTask.new do |rd|
+  rd.main = "README.rdoc"
+  rd.rdoc_files.include("*.rdoc", "lib/**/*.rb")
+  rd.rdoc_dir = "rdoc"
+end
+
+#require 'bundler'
+#Bundler::GemHelper.install_tasks
+
+Rake::TestTask.new do |t|
+  t.libs << "test"
+  t.test_files = FileList['test/test.rb']
+  t.verbose = true
+end
+
+task :default => :test
diff --git a/debian/changelog b/debian/changelog
deleted file mode 100644
index 3dbd07f..0000000
--- a/debian/changelog
+++ /dev/null
@@ -1,5 +0,0 @@
-ruby-fastimage (1.6.3-1) unstable; urgency=medium
-
-  * Initial release (Closes: #759421)
-
- -- Youhei SASAKI <uwabami at gfd-dennou.org>  Wed, 27 Aug 2014 15:01:51 +0900
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
deleted file mode 100644
index 67eb0cd..0000000
--- a/debian/control
+++ /dev/null
@@ -1,26 +0,0 @@
-Source: ruby-fastimage
-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 (>= 7.0.50~), gem2deb (>= 0.9.0~), ruby-addressable, ruby-fakeweb
-Standards-Version: 3.9.5
-Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-fastimage.git
-Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-fastimage.git;a=summary
-Homepage: http://github.com/sdsykes/fastimage
-Testsuite: autopkgtest
-XS-Ruby-Versions: all
-
-Package: ruby-fastimage
-Architecture: all
-XB-Ruby-Versions: ${ruby:Versions}
-Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, ruby-addressable
-Description: Ruby library for finding the size or type of image with minimal dependency
- FastImage does this minimal fetch for image types GIF, JPEG, PNG, TIFF,
- BMP and PSD.
- .
- And it doesn't rely on installing external libraries such as RMagick
- (which relies on ImageMagick or GraphicsMagick) or ImageScience (which
- relies on FreeImage).
- .
- You only need supply the uri, and FastImage will do the rest.
diff --git a/debian/copyright b/debian/copyright
deleted file mode 100644
index 50c5300..0000000
--- a/debian/copyright
+++ /dev/null
@@ -1,31 +0,0 @@
-Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
-Upstream-Name: fastimage
-Source:https://github.com/sdsykes/fastimage
-
-Files: *
-Copyright: 2008-2013 Stephen Sykes
-License: Expat
-
-Files: debian/*
-Copyright: 2014 Youhei SASAKI <uwabami at gfd-dennou.org>
-License: Expat
-Comment: the Debian packaging is licensed under the same terms as the original package.
-
-License: Expat
- Permission is hereby granted, free of charge, to any person obtaining a
- copy of this software and associated documentation files (the "Software"),
- to deal in the Software without restriction, including without limitation
- the rights to use, copy, modify, merge, publish, distribute, sublicense,
- and/or sell copies of the Software, and to permit persons to whom the
- Software is furnished to do so, subject to the following conditions:
- .
- The above copyright notice and this permission notice shall be included
- in all copies or substantial portions of the Software.
- .
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
- OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
- IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
- CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
- TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
- SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/debian/patches/0001-Import-test-fixtures-test2.bmp-from-upstream-repos.patch b/debian/patches/0001-Import-test-fixtures-test2.bmp-from-upstream-repos.patch
deleted file mode 100644
index b1c3197..0000000
Binary files a/debian/patches/0001-Import-test-fixtures-test2.bmp-from-upstream-repos.patch and /dev/null differ
diff --git a/debian/patches/0002-Drop-RubyGems-Depends.patch b/debian/patches/0002-Drop-RubyGems-Depends.patch
deleted file mode 100644
index 1cb195f..0000000
--- a/debian/patches/0002-Drop-RubyGems-Depends.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-From: Youhei SASAKI <uwabami at gfd-dennou.org>
-Date: Wed, 27 Aug 2014 15:08:25 +0900
-Subject: Drop RubyGems Depends
-
-Signed-off-by: Youhei SASAKI <uwabami at gfd-dennou.org>
----
- test/test.rb | 2 --
- 1 file changed, 2 deletions(-)
-
-diff --git a/test/test.rb b/test/test.rb
-index e725c75..1a429b3 100644
---- a/test/test.rb
-+++ b/test/test.rb
-@@ -1,5 +1,3 @@
--require 'rubygems'
--
- require 'test/unit'
- 
- PathHere = File.dirname(__FILE__)
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index 0439ce4..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1,2 +0,0 @@
-0001-Import-test-fixtures-test2.bmp-from-upstream-repos.patch
-0002-Drop-RubyGems-Depends.patch
diff --git a/debian/ruby-fastimage.docs b/debian/ruby-fastimage.docs
deleted file mode 100644
index 5d86051..0000000
--- a/debian/ruby-fastimage.docs
+++ /dev/null
@@ -1 +0,0 @@
-README.textile
diff --git a/debian/ruby-test-files.yaml b/debian/ruby-test-files.yaml
deleted file mode 100644
index d07675a..0000000
--- a/debian/ruby-test-files.yaml
+++ /dev/null
@@ -1,2 +0,0 @@
----
-- ./test/test.rb
diff --git a/debian/rules b/debian/rules
deleted file mode 100755
index d81794d..0000000
--- a/debian/rules
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/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
-
-%:
-	dh $@ --buildsystem=ruby --with ruby
diff --git a/debian/source/format b/debian/source/format
deleted file mode 100644
index 163aaf8..0000000
--- a/debian/source/format
+++ /dev/null
@@ -1 +0,0 @@
-3.0 (quilt)
diff --git a/debian/source/include-binaries b/debian/source/include-binaries
deleted file mode 100644
index 7e64afe..0000000
--- a/debian/source/include-binaries
+++ /dev/null
@@ -1 +0,0 @@
-debian/patches/0001-Import-test-fixtures-test2.bmp-from-upstream-repos.patch
diff --git a/debian/tests/control b/debian/tests/control
deleted file mode 100644
index f1c048f..0000000
--- a/debian/tests/control
+++ /dev/null
@@ -1,5 +0,0 @@
-Tests: gem2deb-test-runner
-Depends: @, gem2deb-test-runner, ruby-addressable, ruby-fakeweb, quilt
-Restrictions: allow-stderr
-
-# Test-Command: gem2deb-test-runner --autopkgtest 2>&1
diff --git a/debian/tests/gem2deb-test-runner b/debian/tests/gem2deb-test-runner
deleted file mode 100644
index 8c65b61..0000000
--- a/debian/tests/gem2deb-test-runner
+++ /dev/null
@@ -1,4 +0,0 @@
-#! /bin/sh
-quilt push -a
-gem2deb-test-runner --autopkgtest 2>&1
-quilt pop -a
diff --git a/debian/watch b/debian/watch
deleted file mode 100644
index 3887de1..0000000
--- a/debian/watch
+++ /dev/null
@@ -1,3 +0,0 @@
-version=3
-opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/fastimage-$1\.tar\.gz/ \
-  https://github.com/sdsykes/fastimage/tags .*/v?(\d\S*)\.tar\.gz
diff --git a/fastimage.gemspec b/fastimage.gemspec
new file mode 100644
index 0000000..dfb0e51
--- /dev/null
+++ b/fastimage.gemspec
@@ -0,0 +1,51 @@
+Gem::Specification.new do |s|
+  s.name = %q{fastimage}
+  s.version = "1.6.3"
+
+  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
+  s.authors = ["Stephen Sykes"]
+  s.date = %q{2014-06-12}
+  s.description = %q{FastImage finds the size or type of an image given its uri by fetching as little as needed.}
+  s.email = %q{sdsykes at gmail.com}
+  s.extra_rdoc_files = [
+    "README.textile"
+  ]
+  s.files = [
+    "MIT-LICENSE",
+    "README.textile",
+    "lib/fastimage.rb",
+    "lib/fastimage/fbr.rb",
+    "test/fixtures/faulty.jpg",
+    "test/fixtures/test.bmp",
+    "test/fixtures/test.gif",
+    "test/fixtures/test.ico",
+    "test/fixtures/test.jpg",
+    "test/fixtures/test.png",
+    "test/fixtures/test2.jpg",
+    "test/fixtures/test3.jpg",
+    "test/fixtures/test4.jpg",
+    "test/fixtures/test.tiff",
+    "test/fixtures/test2.tiff",
+    "test/fixtures/exif_orientation.jpg",
+    "test/fixtures/infinite.jpg",
+    "test/fixtures/orient_2.jpg",
+    "test/fixtures/folder with spaces/test.bmp",
+    "test/test.rb",
+    "test/fixtures/test.psd",
+    "test/fixtures/bad.jpg"
+  ]
+  s.homepage = %q{http://github.com/sdsykes/fastimage}
+  s.rdoc_options = ["--charset=UTF-8"]
+  s.require_paths = ["lib"]
+  s.rubygems_version = %q{1.3.6}
+  s.summary = %q{FastImage - Image info fast}
+  s.add_runtime_dependency 'addressable', '~> 2.3', '>= 2.3.5'
+  s.add_development_dependency 'fakeweb', '~> 1.3'
+  s.add_development_dependency(%q<rake>, [">= 0"])
+  s.add_development_dependency(%q<rdoc>, [">= 0"])  
+
+  s.test_files = [
+    "test/test.rb"
+  ]
+  s.licenses = ['MIT']
+end
diff --git a/metadata.yml b/metadata.yml
deleted file mode 100644
index 3fffefd..0000000
--- a/metadata.yml
+++ /dev/null
@@ -1,131 +0,0 @@
---- !ruby/object:Gem::Specification
-name: fastimage
-version: !ruby/object:Gem::Version
-  version: 1.6.3
-platform: ruby
-authors:
-- Stephen Sykes
-autorequire: 
-bindir: bin
-cert_chain: []
-date: 2014-06-12 00:00:00.000000000 Z
-dependencies:
-- !ruby/object:Gem::Dependency
-  name: addressable
-  requirement: !ruby/object:Gem::Requirement
-    requirements:
-    - - "~>"
-      - !ruby/object:Gem::Version
-        version: '2.3'
-    - - ">="
-      - !ruby/object:Gem::Version
-        version: 2.3.5
-  type: :runtime
-  prerelease: false
-  version_requirements: !ruby/object:Gem::Requirement
-    requirements:
-    - - "~>"
-      - !ruby/object:Gem::Version
-        version: '2.3'
-    - - ">="
-      - !ruby/object:Gem::Version
-        version: 2.3.5
-- !ruby/object:Gem::Dependency
-  name: fakeweb
-  requirement: !ruby/object:Gem::Requirement
-    requirements:
-    - - "~>"
-      - !ruby/object:Gem::Version
-        version: '1.3'
-  type: :development
-  prerelease: false
-  version_requirements: !ruby/object:Gem::Requirement
-    requirements:
-    - - "~>"
-      - !ruby/object:Gem::Version
-        version: '1.3'
-- !ruby/object:Gem::Dependency
-  name: rake
-  requirement: !ruby/object:Gem::Requirement
-    requirements:
-    - - ">="
-      - !ruby/object:Gem::Version
-        version: '0'
-  type: :development
-  prerelease: false
-  version_requirements: !ruby/object:Gem::Requirement
-    requirements:
-    - - ">="
-      - !ruby/object:Gem::Version
-        version: '0'
-- !ruby/object:Gem::Dependency
-  name: rdoc
-  requirement: !ruby/object:Gem::Requirement
-    requirements:
-    - - ">="
-      - !ruby/object:Gem::Version
-        version: '0'
-  type: :development
-  prerelease: false
-  version_requirements: !ruby/object:Gem::Requirement
-    requirements:
-    - - ">="
-      - !ruby/object:Gem::Version
-        version: '0'
-description: FastImage finds the size or type of an image given its uri by fetching
-  as little as needed.
-email: sdsykes at gmail.com
-executables: []
-extensions: []
-extra_rdoc_files:
-- README.textile
-files:
-- MIT-LICENSE
-- README.textile
-- lib/fastimage.rb
-- lib/fastimage/fbr.rb
-- test/fixtures/bad.jpg
-- test/fixtures/exif_orientation.jpg
-- test/fixtures/faulty.jpg
-- test/fixtures/folder with spaces/test.bmp
-- test/fixtures/infinite.jpg
-- test/fixtures/orient_2.jpg
-- test/fixtures/test.bmp
-- test/fixtures/test.gif
-- test/fixtures/test.ico
-- test/fixtures/test.jpg
-- test/fixtures/test.png
-- test/fixtures/test.psd
-- test/fixtures/test.tiff
-- test/fixtures/test2.jpg
-- test/fixtures/test2.tiff
-- test/fixtures/test3.jpg
-- test/fixtures/test4.jpg
-- test/test.rb
-homepage: http://github.com/sdsykes/fastimage
-licenses:
-- MIT
-metadata: {}
-post_install_message: 
-rdoc_options:
-- "--charset=UTF-8"
-require_paths:
-- lib
-required_ruby_version: !ruby/object:Gem::Requirement
-  requirements:
-  - - ">="
-    - !ruby/object:Gem::Version
-      version: '0'
-required_rubygems_version: !ruby/object:Gem::Requirement
-  requirements:
-  - - ">="
-    - !ruby/object:Gem::Version
-      version: '0'
-requirements: []
-rubyforge_project: 
-rubygems_version: 2.2.2
-signing_key: 
-specification_version: 4
-summary: FastImage - Image info fast
-test_files:
-- test/test.rb
diff --git a/test/fixtures/test2.bmp b/test/fixtures/test2.bmp
new file mode 100644
index 0000000..bd9b887
Binary files /dev/null and b/test/fixtures/test2.bmp differ

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



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