Package: src:pydyf
Version: 0.1.2-1
Severity: wishlist
Tags: patch

Now that flit 3.3 is in Debian, pydyf can be build using the flit
plugin.  Please see the attached patch.  Upstream uses flit to build, so
I think it would be better in the long run if we did too.  Currently
there doesn't seem to be any significant difference in the binary
produced, so it's fine either way.  Note though that the included
setup.py is autogenerated for use with legacy tools.

The only change needed to invoke the flit plugin is to add flit to build
depends (and drop setuptools, since it's no longer needed).  The fact
that this package can build with the flit plugind is autodetected.

Please see the attached patch.

Scott K
diff -Nru pydyf-0.1.2/debian/changelog pydyf-0.1.2/debian/changelog
--- pydyf-0.1.2/debian/changelog        2021-11-14 22:31:40.000000000 -0500
+++ pydyf-0.1.2/debian/changelog        2021-11-27 05:51:39.000000000 -0500
@@ -1,3 +1,9 @@
+pydyf (0.1.2-1.1) UNRELEASED; urgency=medium
+
+  * Switch to using flit plugin for pybuild
+
+ -- Scott Kitterman <sc...@kitterman.com>  Sat, 27 Nov 2021 05:51:39 -0500
+
 pydyf (0.1.2-1) sid; urgency=medium
 
   * Uploading to sid.
diff -Nru pydyf-0.1.2/debian/control pydyf-0.1.2/debian/control
--- pydyf-0.1.2/debian/control  2021-11-14 22:31:33.000000000 -0500
+++ pydyf-0.1.2/debian/control  2021-11-27 05:51:35.000000000 -0500
@@ -7,7 +7,7 @@
  dh-sequence-python3,
  python3-all,
  python3-pil <!nocheck>,
- python3-setuptools,
+ flit (>= 3.2),
 Rules-Requires-Root: no
 Standards-Version: 4.6.0
 Homepage: https://github.com/CourtBouillon/pydyf

Reply via email to