Commit bf626a64 authored by Aaron M. Ucko's avatar Aaron M. Ucko
Browse files

ncbi-blast+ 2.8.1-2: Convert Python script via 2to3 (#937121).

Convert windowmasker_2.2.22_adapter to Python 3 via 2to3;
update (build-)dependencies accordingly.  (Closes: #937121.)
parent 492d2458
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
ncbi-blast+ (2.8.1-2) unstable; urgency=medium

  * Convert windowmasker_2.2.22_adapter to Python 3 via 2to3;
    update (build-)dependencies accordingly.  (Closes: #937121.)

 -- Aaron M. Ucko <ucko@debian.org>  Sun, 01 Sep 2019 20:50:43 -0400

ncbi-blast+ (2.8.1-1) unstable; urgency=medium

  * New upstream release.
+3 −2
Original line number Diff line number Diff line
@@ -6,7 +6,8 @@ Uploaders: Olivier Sallou <osallou@debian.org>,
Section: science
Priority: optional
Build-Depends: debhelper (>= 11~)
Build-Depends-Arch: autotools-dev,
Build-Depends-Arch: 2to3,
               autotools-dev,
               libboost-test-dev,
               libbz2-dev,
               libc-dev-bin,
@@ -26,7 +27,7 @@ Package: ncbi-blast+
Architecture: any
Multi-Arch: foreign
Depends: ncbi-data,
         python,
         python3,
         ${misc:Depends},
         ${perl:Depends},
         ${shlibs:Depends}
+5 −2
Original line number Diff line number Diff line
@@ -81,8 +81,11 @@ override_dh_install-arch:
	mv $(instroot)/bin/seedtop $(instroot)/bin/seedtop+
	mv $(instroot)/bin/legacy_blast.pl   $(instroot)/bin/legacy_blast
	mv $(instroot)/bin/update_blastdb.pl $(instroot)/bin/update_blastdb
	mv $(instroot)/bin/windowmasker_2.2.22_adapter.py \
	   $(instroot)/bin/windowmasker_2.2.22_adapter
	sed -e '1s/$$/3/' $(instroot)/bin/windowmasker_2.2.22_adapter.py \
	   > $(instroot)/bin/windowmasker_2.2.22_adapter
	2to3 -w $(instroot)/bin/windowmasker_2.2.22_adapter
	chmod +x $(instroot)/bin/windowmasker_2.2.22_adapter
	rm $(instroot)/bin/windowmasker_2.2.22_adapter.py
# Clean up tests, demos, and internal build tools
	rm -f $(instroot)/bin/*test* $(instroot)/bin/seqdb_demo \
	    $(instroot)/bin/datatool $(instroot)/bin/run_with_lock \