From c399ffa85d3ba795c5cdf3d45147db706fc0c2fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Boutillier?= <boutil@debian.org> Date: Thu, 12 Oct 2023 23:48:53 +0200 Subject: [PATCH] Import Debian changes 1.9.0-1 ruby-unicode-blocks (1.9.0-1) UNRELEASED; urgency=medium . * Initial release (Closes: #nnnn) --- debian/changelog | 5 +++++ debian/control | 24 ++++++++++++++++++++++ debian/copyright | 33 ++++++++++++++++++++++++++++++ debian/ruby-tests.rake | 5 +++++ debian/ruby-unicode-blocks.docs | 1 + debian/ruby-unicode-blocks.install | 4 ++++ debian/rules | 7 +++++++ debian/salsa-ci.yml | 4 ++++ debian/source/format | 1 + debian/upstream/metadata | 7 +++++++ debian/watch | 7 +++++++ 11 files changed, 98 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/ruby-tests.rake create mode 100644 debian/ruby-unicode-blocks.docs create mode 100644 debian/ruby-unicode-blocks.install create mode 100755 debian/rules create mode 100644 debian/salsa-ci.yml create mode 100644 debian/source/format create mode 100644 debian/upstream/metadata create mode 100644 debian/watch diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..7100f23 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +ruby-unicode-blocks (1.9.0-1) UNRELEASED; urgency=medium + + * Initial release (Closes: #nnnn) + + -- Cédric Boutillier <boutil@debian.org> Thu, 12 Oct 2023 23:48:53 +0200 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..6e9541f --- /dev/null +++ b/debian/control @@ -0,0 +1,24 @@ +Source: ruby-unicode-blocks +Section: ruby +Priority: optional +Maintainer: Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org> +Uploaders: Cédric Boutillier <boutil@debian.org> +Build-Depends: debhelper-compat (= 13), + gem2deb (>= 1), + rake, + ruby-rspec +Standards-Version: 4.6.1 +Vcs-Git: https://salsa.debian.org/ruby-team/ruby-unicode-blocks.git +Vcs-Browser: https://salsa.debian.org/ruby-team/ruby-unicode-blocks +Homepage: https://github.com/janlelis/unicode-blocks +Testsuite: autopkgtest-pkg-ruby +Rules-Requires-Root: no + +Package: ruby-unicode-blocks +Architecture: all +Depends: ${misc:Depends}, + ${ruby:Depends}, + ${shlibs:Depends} +Description: Return Unicode blocks of a string. + [Unicode 15.1.0] Answers the question: Which Unicode block does a code point + belong to? diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..63d3eb8 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,33 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: unicode-blocks +Upstream-Contact: ["hi@ruby.consulting"] +Source: https://github.com/janlelis/unicode-blocks + +Files: * +Copyright: <years> <put author's name and email here> + <years> <likewise for another author> +License: Expat (FIXME) + +Files: debian/* +Copyright: 2023 Cédric Boutillier <boutil@debian.org> +License: Expat (FIXME) +Comment: The Debian packaging is licensed under the same terms as the source. + +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/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/ruby-unicode-blocks.docs b/debian/ruby-unicode-blocks.docs new file mode 100644 index 0000000..b43bf86 --- /dev/null +++ b/debian/ruby-unicode-blocks.docs @@ -0,0 +1 @@ +README.md diff --git a/debian/ruby-unicode-blocks.install b/debian/ruby-unicode-blocks.install new file mode 100644 index 0000000..43e1b34 --- /dev/null +++ b/debian/ruby-unicode-blocks.install @@ -0,0 +1,4 @@ + +# FIXME: data/ dir found in source. Consider installing it somewhere. +# Examples: +# data/* /usr/share/ruby-unicode-blocks/ diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..4e91465 --- /dev/null +++ b/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +export GEM2DEB_TEST_RUNNER = --check-dependencies +export DH_RUBY = --gem-install + +%: + dh $@ --buildsystem=ruby --with ruby diff --git a/debian/salsa-ci.yml b/debian/salsa-ci.yml new file mode 100644 index 0000000..33c3a64 --- /dev/null +++ b/debian/salsa-ci.yml @@ -0,0 +1,4 @@ +--- +include: + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml 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/upstream/metadata b/debian/upstream/metadata new file mode 100644 index 0000000..9d0deb5 --- /dev/null +++ b/debian/upstream/metadata @@ -0,0 +1,7 @@ +--- +Archive: GitHub (FIXME) +Bug-Database: https://github.com/janlelis/unicode-blocks/issues +Bug-Submit: https://github.com/janlelis/unicode-blocks/issues/new +Changelog: https://github.com/janlelis/unicode-blocks/releases +Repository: https://github.com/janlelis/unicode-blocks.git +Repository-Browse: https://github.com/janlelis/unicode-blocks diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..805cb87 --- /dev/null +++ b/debian/watch @@ -0,0 +1,7 @@ +version=4 +https://gemwatch.debian.net/unicode-blocks .*/unicode-blocks-(.*).tar.gz + +# Use the regex below for github-based sources +# opts=uversionmangle=s/[_.+-]?(rc|pre|dev|beta|alpha|b|a)/~$1/i,\ +# filenamemangle=s%(?:.+/)?v?@ANY_VERSION@(@ARCHIVE_EXT@)%@PACKAGE@-$1$2% \ +# https://github.com/<owner>/<repo>/tags .*/v?@ANY_VERSION@@ARCHIVE_EXT@ -- GitLab