Bug#855202: RFS: binaryornot/0.4.0+dfsg-0.1 [RC][NMU] -- check if a file is binary or text
Package: sponsorship-requests
Severity: important
Dear mentors,
I am looking for a sponsor for my package "binaryornot" as [RC][NMU].
* Package name : binaryornot
Version : 0.4.0+dfsg-0.1
Upstream Author : Audrey Roy <audreyr@gmail.com>
* URL : https://github.com/audreyr/binaryornot
* License : BSD-3-clause
Section : python
It builds those binary packages:
python-binaryornot - check if a file is binary or text (Python 2 module)
python3-binaryornot - check if a file is binary or text (Python 3 module)
To access further information about this package, please visit the following URL:
https://mentors.debian.net/package/binaryornot
Alternatively, one can download the package with dget using this command:
dget -x https://mentors.debian.net/debian/pool/main/b/binaryornot/binaryornot_0.4.0+dfsg-0.1.dsc
or you can use git-buildpackage to build:
(since I don't have access to maintainer's Vcs, I pushed my changes to github)
gbp clone --pristine-tar https://github.com/rogers0/binaryornot
cd binaryornot
gbp buildpackage -uc -us --pristine-tar
I also made it available on debomatic (i386):
http://debomatic-i386.debian.net/distribution#unstable/binaryornot/0.4.0+dfsg-0.1/buildlog
Changes since the last upload:
binaryornot (0.4.0+dfsg-0.1) unstable; urgency=medium
* Non-maintainer upload.
[ Ondřej Nový ]
* Fixed VCS URL (https)
[ Roger Shimizu ]
* Remove non-free image files, and repack as +dfsg.
* Add patch to remove tests regarding to non-free image files.
(Closes: #854851)
I also enclosed the debdiff for NMU review.
Thank you!
Cheers,
--
Roger Shimizu, GMT +9 Tokyo
PGP/GPG: 4096R/6C6ACD6417B3ACB1
diff -Nru binaryornot-0.4.0/debian/changelog binaryornot-0.4.0+dfsg/debian/changelog
--- binaryornot-0.4.0/debian/changelog 2015-11-16 07:05:20.000000000 +0900
+++ binaryornot-0.4.0+dfsg/debian/changelog 2017-02-15 21:07:15.000000000 +0900
@@ -1,3 +1,17 @@
+binaryornot (0.4.0+dfsg-0.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+
+ [ Ondřej Nový ]
+ * Fixed VCS URL (https)
+
+ [ Roger Shimizu ]
+ * Remove non-free image files, and repack as +dfsg.
+ * Add patch to remove tests regarding to non-free image files.
+ (Closes: #854851)
+
+ -- Roger Shimizu <rogershimizu@gmail.com> Wed, 15 Feb 2017 21:07:15 +0900
+
binaryornot (0.4.0-1) unstable; urgency=medium
* New upstream release.
diff -Nru binaryornot-0.4.0/debian/control binaryornot-0.4.0+dfsg/debian/control
--- binaryornot-0.4.0/debian/control 2015-11-16 07:05:20.000000000 +0900
+++ binaryornot-0.4.0+dfsg/debian/control 2017-02-15 21:01:09.000000000 +0900
@@ -10,7 +10,7 @@
python-hypothesis, python3-hypothesis
Standards-Version: 3.9.6
Homepage: https://github.com/audreyr/binaryornot
-Vcs-Git: git://anonscm.debian.org/python-modules/packages/binaryornot.git
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/binaryornot.git
Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/binaryornot.git
Package: python-binaryornot
diff -Nru binaryornot-0.4.0/debian/patches/0001-Remove-tests-regarding-to-non-free-image-lena.patch binaryornot-0.4.0+dfsg/debian/patches/0001-Remove-tests-regarding-to-non-free-image-lena.patch
--- binaryornot-0.4.0/debian/patches/0001-Remove-tests-regarding-to-non-free-image-lena.patch 1970-01-01 09:00:00.000000000 +0900
+++ binaryornot-0.4.0+dfsg/debian/patches/0001-Remove-tests-regarding-to-non-free-image-lena.patch 2017-02-15 21:07:15.000000000 +0900
@@ -0,0 +1,26 @@
+From: Roger Shimizu <rogershimizu@gmail.com>
+Date: Wed, 15 Feb 2017 21:14:30 +0900
+Subject: Remove tests regarding to non-free image lena
+
+See Bug #854851
+---
+ tests/test_check.py | 6 ------
+ 1 file changed, 6 deletions(-)
+
+diff --git a/tests/test_check.py b/tests/test_check.py
+index 338119e..fbe32d1 100755
+--- a/tests/test_check.py
++++ b/tests/test_check.py
+@@ -49,12 +49,6 @@ class TestIsBinary(unittest.TestCase):
+ def test_png(self):
+ self.assertTrue(is_binary('tests/files/logo.png'))
+
+- def test_gif(self):
+- self.assertTrue(is_binary('tests/files/lena.gif'))
+-
+- def test_jpg(self):
+- self.assertTrue(is_binary('tests/files/lena.jpg'))
+-
+ def test_tiff(self):
+ self.assertTrue(is_binary('tests/files/palette-1c-8b.tiff'))
+
diff -Nru binaryornot-0.4.0/debian/patches/series binaryornot-0.4.0+dfsg/debian/patches/series
--- binaryornot-0.4.0/debian/patches/series 1970-01-01 09:00:00.000000000 +0900
+++ binaryornot-0.4.0+dfsg/debian/patches/series 2017-02-15 21:07:15.000000000 +0900
@@ -0,0 +1 @@
+0001-Remove-tests-regarding-to-non-free-image-lena.patch
Binary files /tmp/carUuVTSnE/binaryornot-0.4.0/tests/files/lena.gif and /tmp/lVa9B18e3R/binaryornot-0.4.0+dfsg/tests/files/lena.gif differ
Binary files /tmp/carUuVTSnE/binaryornot-0.4.0/tests/files/lena.jpg and /tmp/lVa9B18e3R/binaryornot-0.4.0+dfsg/tests/files/lena.jpg differ
Reply to: