[med-svn] [Git][med-team/ncbi-blastplus][master] ncbi-blast+ 2.8.1-2: Convert Python script via 2to3 (#937121).
Aaron M. Ucko
gitlab at salsa.debian.org
Mon Sep 2 01:59:32 BST 2019
Aaron M. Ucko pushed to branch master at Debian Med / ncbi-blastplus
Commits:
bf626a64 by Aaron M. Ucko at 2019-09-02T00:52:30Z
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.)
- - - - -
3 changed files:
- debian/changelog
- debian/control
- debian/rules
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+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 at debian.org> Sun, 01 Sep 2019 20:50:43 -0400
+
ncbi-blast+ (2.8.1-1) unstable; urgency=medium
* New upstream release.
=====================================
debian/control
=====================================
@@ -6,7 +6,8 @@ Uploaders: Olivier Sallou <osallou at 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}
=====================================
debian/rules
=====================================
@@ -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 \
View it on GitLab: https://salsa.debian.org/med-team/ncbi-blastplus/commit/bf626a6452c61561398d5f5125b36aca24c628a1
--
View it on GitLab: https://salsa.debian.org/med-team/ncbi-blastplus/commit/bf626a6452c61561398d5f5125b36aca24c628a1
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20190902/cf8e83cf/attachment-0001.html>
More information about the debian-med-commit
mailing list