Hello Andreas,

following the latest discussion at #806716 [1], I'm attaching a patch
that is intended to replace the "update-debian-rules-dh_clean.patch" on
the first message of this bug report, and be used in conjunction with
the "rename-python-module-to-dna_jellyfish.patch".

Hopefully both of them accomplish the renaming of the python module
(to "dna_jellyfish", as per the upstream's author light suggestion on
the mailing list some time ago), and of the Debian binary package (to
"python3-dna-jellyfish").

There is still the issue of running the Python tests to be solved (ie.
they are currently not run in the unpatched version, and the patches
above still don't change the situation). I have been trying to find a
better solution than the one proposed on message #25, still with no
luck. I'm wondering if you could provide input on whether the approach
on #25 is acceptable, or some hints or ideas on how to better solve the
test running issue?

I'm also wondering if it would be a good time to try to contact upstream
again in the hopes of eventually fixing the conflict upstream, maybe
via github? I'd be willing to do so, provided you find it acceptable!

Best regards, and thanks again,

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=806716#109

-- 
Diego M. Rodriguez
36B3 42A9 9F2F 2CFB F79B  FF9B B6C4 B901 06BC E232

diff --git a/debian/control b/debian/control
index 8f55e6a..8ab8176 100644
--- a/debian/control
+++ b/debian/control
@@ -90,7 +90,7 @@ Description: count k-mers in DNA sequences (development files of jellyfish)
  This package contains the development files (static library and
  header files)
 
-Package: python3-jellyfish
+Package: python3-dna-jellyfish
 Architecture: any-amd64
 Section: python
 Depends: ${python3:Depends},
diff --git a/debian/rules b/debian/rules
index 790ad39..7be0f55 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,8 +22,8 @@ override_dh_auto_install:
 
 override_dh_install:
 	# dh_install -X*.a -X*.la -Xpkgconfig
-	dh_install -ppython3-jellyfish
-	pybuild -d swig/python --name jellyfish
+	dh_install -ppython3-dna-jellyfish
+	pybuild -d swig/python --name dna-jellyfish
 	
 	dh_auto_configure --sourcedirectory=swig/perl5
 	dh_auto_build --sourcedirectory=swig/perl5
@@ -55,7 +55,7 @@ override_dh_clean:
 	    rmdir debian/tmp_save_tests ; \
 	fi
 	rm -f tests/compat.sh
-	rm -f swig/python/jellyfish*
+	rm -f swig/python/jellyfish* swig/python/dna_jellyfish.py
 
 override_dh_auto_build:
 	mkdir -p debian/tmp_save_tests

Attachment: signature.asc
Description: Digital signature

Reply via email to