Control: tags 910945 + patch
Control: tags 910945 + pending
Control: tags 936537 + pending

Dear maintainer,

I've prepared an NMU for fontcustom (versioned as 2.0.0+ds4-5.1) and
uploaded it with dgit to DELAYED/5. Please feel free to tell me if I
should delay it longer.

Regards.
Paul

diff -Nru fontcustom-2.0.0+ds4/debian/changelog
fontcustom-2.0.0+ds4/debian/changelog
--- fontcustom-2.0.0+ds4/debian/changelog       2018-10-05 18:39:21.000000000
+0200
+++ fontcustom-2.0.0+ds4/debian/changelog       2019-12-19 20:02:14.000000000
+0100
@@ -1,3 +1,14 @@
+fontcustom (2.0.0+ds4-5.1) unstable; urgency=medium
+
+  * Non-maintainer upload
+  * Convert to Python 3, thanks to Graham Inggs (Closes: #936537)
+  * gemspec: update json to 2.0, thanks to Alexandre Viau (Closes:
+    #910945)
+  * Drop "Testsuite: autopkgtest-pkg-ruby" as it isn't testing anything
+    and requires more non-trivial work to get it working
+
+ -- Paul Gevers <elb...@debian.org>  Thu, 19 Dec 2019 20:02:14 +0100
+
 fontcustom (2.0.0+ds4-5) unstable; urgency=medium

   * Depend on python.
diff -Nru fontcustom-2.0.0+ds4/debian/control
fontcustom-2.0.0+ds4/debian/control
--- fontcustom-2.0.0+ds4/debian/control 2018-10-05 18:39:21.000000000 +0200
+++ fontcustom-2.0.0+ds4/debian/control 2019-12-19 20:02:14.000000000 +0100
@@ -8,14 +8,13 @@
 Vcs-Git: https://salsa.debian.org/debian/fontcustom.git
 Vcs-Browser: https://salsa.debian.org/debian/fontcustom
 Homepage: https://github.com/FontCustom/fontcustom
-Testsuite: autopkgtest-pkg-ruby
 XS-Ruby-Versions: all

 Package: fontcustom
 Architecture: all
 XB-Ruby-Versions: ${ruby:Versions}
 Depends: ruby | ruby-interpreter,
-         python,
+         python3,
          ruby-thor,
          ruby-json,
          ruby-listen,
diff -Nru fontcustom-2.0.0+ds4/debian/patches/convert-to-python3.patch
fontcustom-2.0.0+ds4/debian/patches/convert-to-python3.patch
--- fontcustom-2.0.0+ds4/debian/patches/convert-to-python3.patch
1970-01-01 01:00:00.000000000 +0100
+++ fontcustom-2.0.0+ds4/debian/patches/convert-to-python3.patch
2019-12-19 20:02:14.000000000 +0100
@@ -0,0 +1,18 @@
+From: Paul Gevers <elb...@debian.org>
+Date: Thu, 19 Dec 2019 13:12:58 +0100
+X-Dgit-Generated: 2.0.0+ds4-5.1 8e1f57ecec8429b302c888d4f393248d4d863b41
+Subject: Convert to Python3
+
+Thanks to Graham Inggs
+Closes: #936537
+
+---
+
+--- fontcustom-2.0.0+ds4.orig/lib/fontcustom/scripts/eotlitetool.py
++++ fontcustom-2.0.0+ds4/lib/fontcustom/scripts/eotlitetool.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/python3
+ # ***** BEGIN LICENSE BLOCK *****
+ # Version: MPL 1.1/GPL 2.0/LGPL 2.1
+ #
diff -Nru
fontcustom-2.0.0+ds4/debian/patches/gemspec-update-json-to-2.0.patch
fontcustom-2.0.0+ds4/debian/patches/gemspec-update-json-to-2.0.patch
--- fontcustom-2.0.0+ds4/debian/patches/gemspec-update-json-to-2.0.patch
1970-01-01 01:00:00.000000000 +0100
+++ fontcustom-2.0.0+ds4/debian/patches/gemspec-update-json-to-2.0.patch
2019-12-19 20:02:14.000000000 +0100
@@ -0,0 +1,21 @@
+From: Paul Gevers <elb...@debian.org>
+Date: Thu, 19 Dec 2019 13:16:29 +0100
+X-Dgit-Generated: 2.0.0+ds4-5.1 499a669af6b81a987e6b5f2568f765cd87adf100
+Subject: gemspec: update json to 2.0
+
+Thanks to Alexandre Viau
+Closes: #910945
+
+---
+
+--- fontcustom-2.0.0+ds4.orig/fontcustom.gemspec
++++ fontcustom-2.0.0+ds4/fontcustom.gemspec
+@@ -18,7 +18,7 @@ Gem::Specification.new do |gem|
+   gem.test_files    = gem.files.grep(%r{^(test|spec|features)/})
+   gem.require_paths = ["lib"]
+
+-  gem.add_dependency "json", "~>1.4"
++  gem.add_dependency "json", "~>2.0"
+   gem.add_dependency "thor", "~>0.14"
+   gem.add_dependency "listen", ">=1.0","<4.0"
+
diff -Nru
fontcustom-2.0.0+ds4/debian/patches/generate.py-support-python.patch
fontcustom-2.0.0+ds4/debian/patches/generate.py-support-python.patch
--- fontcustom-2.0.0+ds4/debian/patches/generate.py-support-python.patch
1970-01-01 01:00:00.000000000 +0100
+++ fontcustom-2.0.0+ds4/debian/patches/generate.py-support-python.patch
2019-12-19 20:02:14.000000000 +0100
@@ -0,0 +1,19 @@
+From: Paul Gevers <elb...@debian.org>
+Date: Thu, 19 Dec 2019 20:55:27 +0100
+X-Dgit-Generated: 2.0.0+ds4-5.1 c6b34e17e6d2a9e517bfec3bd20c2e4f8e229a1e
+Subject: generate.py support python
+
+
+---
+
+--- fontcustom-2.0.0+ds4.orig/lib/fontcustom/scripts/generate.py
++++ fontcustom-2.0.0+ds4/lib/fontcustom/scripts/generate.py
+@@ -126,7 +126,7 @@ try:
+     manifest['fonts'].append(fontfile + '.woff')
+
+     # Convert EOT for IE7
+-    subprocess.call('python ' + scriptPath + '/eotlitetool.py ' +
fontfile + '.ttf -o ' + fontfile + '.eot', shell=True)
++    subprocess.call('python3 ' + scriptPath + '/eotlitetool.py ' +
fontfile + '.ttf -o ' + fontfile + '.eot', shell=True)
+     # check if windows
+     if os.name == 'nt':
+         subprocess.call('move ' + fontfile + '.eotlite ' + fontfile +
'.eot', shell=True)
diff -Nru fontcustom-2.0.0+ds4/debian/patches/series
fontcustom-2.0.0+ds4/debian/patches/series
--- fontcustom-2.0.0+ds4/debian/patches/series  2018-10-05
18:39:21.000000000 +0200
+++ fontcustom-2.0.0+ds4/debian/patches/series  2019-12-19
20:02:14.000000000 +0100
@@ -1 +1,4 @@
 remove-privacy-breach.patch
+convert-to-python3.patch
+gemspec-update-json-to-2.0.patch
+generate.py-support-python.patch

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to