From 0d3bf12093addd340346bc053f2c8fecf45b30b6 Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Mon, 1 Jul 2019 19:56:38 -0400 Subject: Import Debian changes 1.8.7-0vanir1 gallery-dl (1.8.7-0vanir1) unstable; urgency=medium * New upstream release. * d/control: Add ffmpeg and youtube-dl to suggests. gallery-dl (1.8.6-0vanir1) unstable; urgency=medium * Initial release. --- debian/changelog | 12 ++++++ debian/control | 18 +++++++++ debian/copyright | 51 ++++++++++++++++++++++++ debian/gbp.conf | 3 ++ debian/patches/correct_bash_completion_dir.patch | 16 ++++++++ debian/patches/series | 1 + debian/rules | 20 ++++++++++ debian/source/format | 1 + debian/watch | 4 ++ 9 files changed, 126 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/gbp.conf create mode 100644 debian/patches/correct_bash_completion_dir.patch create mode 100644 debian/patches/series create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/watch diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..b6a76c5 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,12 @@ +gallery-dl (1.8.7-0vanir1) unstable; urgency=medium + + * New upstream release. + * d/control: Add ffmpeg and youtube-dl to suggests. + + -- Unit 193 Mon, 01 Jul 2019 19:56:38 -0400 + +gallery-dl (1.8.6-0vanir1) unstable; urgency=medium + + * Initial release. + + -- Unit 193 Sun, 16 Jun 2019 20:23:52 -0400 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..2fce217 --- /dev/null +++ b/debian/control @@ -0,0 +1,18 @@ +Source: gallery-dl +Maintainer: Unit 193 +Section: web +Priority: optional +Build-Depends: dh-python, python3-setuptools, python3-all, debhelper-compat (= 12) +Standards-Version: 4.3.0 +Homepage: https://github.com/mikf/gallery-dl +Vcs-Browser: https://git.unit193.net/cgit/users/unit193/gallery-dl.git +Vcs-Git: https://git.unit193.net/cgit/users/unit193/gallery-dl.git + +Package: gallery-dl +Architecture: all +Depends: ${misc:Depends}, ${python3:Depends} +Suggests: ffmpeg, youtube-dl +Description: command-line program to download image galleries + gallery-dl is a command-line program to download image-galleries and + -collections from several image hosting sites. It is a cross-platform + tool with many configuration options and powerful filenaming capabilities. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..f8a126a --- /dev/null +++ b/debian/copyright @@ -0,0 +1,51 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: gallery_dl +Source: https://github.com/mikf/gallery-dl + +Files: * +Copyright: 2014-2019, Mike Fährmann + 2016-2019, Leonardo Taccari +License: GPL-2.0 + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License, v2, as + published by the Free Software Foundation + . + 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 program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + . + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + +Files: debian/* +Copyright: 2019, Unit 193 +License: BSD-3-Clause + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + . + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE HOLDERS OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..5474c60 --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,3 @@ +[DEFAULT] +pristine-tar = True +sign-tags = True diff --git a/debian/patches/correct_bash_completion_dir.patch b/debian/patches/correct_bash_completion_dir.patch new file mode 100644 index 0000000..debbe51 --- /dev/null +++ b/debian/patches/correct_bash_completion_dir.patch @@ -0,0 +1,16 @@ +Description: Put bash completions in /usr/share/bash-completion/completions/ +Author: Unit 193 + +Last-Update: 2019-06-17 + +--- gallery-dl-1.8.6.orig/setup.py ++++ gallery-dl-1.8.6/setup.py +@@ -81,7 +81,7 @@ else: + data_files = [ + (path, [f for f in files if check_file(f)]) + for (path, files) in [ +- ('etc/bash_completion.d', ['gallery-dl.bash_completion']), ++ ('share/bash-completion/completions', ['gallery-dl.bash_completion']), + ('share/man/man1' , ['gallery-dl.1']), + ('share/man/man5' , ['gallery-dl.conf.5']), + ] diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..2d6bfbf --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +correct_bash_completion_dir.patch diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..58f186e --- /dev/null +++ b/debian/rules @@ -0,0 +1,20 @@ +#!/usr/bin/make -f + +export PYBUILD_NAME=gallery-dl +export PYBUILD_DISABLE_python3=test +export SYSCONFDIR=/etc + +%: + dh $@ --with python3 --buildsystem=pybuild + +override_dh_auto_configure: + make + dh_auto_configure + +override_dh_auto_clean: + make clean + dh_auto_clean + +override_dh_clean: + rm -rf gallery_dl.egg-info + dh_clean 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..5e1345a --- /dev/null +++ b/debian/watch @@ -0,0 +1,4 @@ +version=3 +#opts=uversionmangle=s/(rc|a|b|c)/~$1/,pgpsigurlmangle=s/$/.asc/ \ +#https://pypi.debian.net/gallery-dl/gallery_dl-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz))) +https://github.com/mikf/gallery-dl/tags .*/v?(\d[\d\.]+)\.tar\.(?:gz|bz2|xz) -- cgit v1.2.3