[med-svn] [Git][med-team/flye][master] Install files

Andreas Tille gitlab at salsa.debian.org
Fri Jun 5 17:18:58 BST 2020



Andreas Tille pushed to branch master at Debian Med / flye


Commits:
c221816b by Andreas Tille at 2020-06-05T18:18:37+02:00
Install files

- - - - -


6 changed files:

- debian/control
- debian/copyright
- + debian/docs
- + debian/install
- debian/patches/use_debian_packaged_libs.patch
- debian/rules


Changes:

=====================================
debian/control
=====================================
@@ -19,6 +19,7 @@ Homepage: https://github.com/fenderglass/Flye
 Package: flye
 Architecture: any
 Depends: ${shlibs:Depends},
+         ${python3:Depends},
          ${misc:Depends}
 Description: de novo assembler for single molecule sequencing reads using repeat graphs
  Flye is a de novo assembler for single molecule sequencing reads, such


=====================================
debian/copyright
=====================================
@@ -11,7 +11,7 @@ Copyright: 2016-2019, The Regents of the University of California
            Mikhail Kolmogorov, Jeffrey Yuan, Yu Lin, Evgeny Polevikov
 License: BSD-3-Clause
 
-Files: lib/interval_tree
+Files: lib/interval_tree/*
 Copyright: 2011 Erik Garrison
 License: MIT
  Permission is hereby granted, free of charge, to any person obtaining a copy of
@@ -32,7 +32,7 @@ License: MIT
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  SOFTWARE.
 
-Files: lib/libcuckoo
+Files: lib/libcuckoo/*
 Copyright: 2013, Carnegie Mellon University and Intel Corporation
 License: Apache-2.0
  Licensed under the Apache License, Version 2.0 (the "License");


=====================================
debian/docs
=====================================
@@ -0,0 +1,4 @@
+docs/FAQ*
+docs/graph_example.png
+docs/USAGE*
+README*


=====================================
debian/install
=====================================
@@ -0,0 +1 @@
+bin	usr


=====================================
debian/patches/use_debian_packaged_libs.patch
=====================================
@@ -38,3 +38,14 @@ Description: use Debian packaged libminimap2 and liblemon
 -	rm ${BIN_DIR}/flye-samtools
 +	rm -f ${BIN_DIR}/flye-minimap2
 +	rm -f ${BIN_DIR}/flye-samtools
+--- a/setup.py
++++ b/setup.py
+@@ -55,7 +55,7 @@ class MakeInstall(SetuptoolsInstall):
+ 
+         build_dir = os.path.join(script_dir, "bin")
+         install_dir = self.install_scripts
+-        bin_files = ['flye-modules', 'flye-minimap2', 'flye-samtools']
++        bin_files = ['flye-modules']
+         for file in bin_files:
+             if not os.path.isfile(os.path.join(build_dir, file)):
+                 sys.exit('Error: binary not found: ' + file)


=====================================
debian/rules
=====================================
@@ -4,28 +4,18 @@
 export LC_ALL=C.UTF-8
 
 include /usr/share/dpkg/default.mk
-# this provides:
-# DEB_SOURCE: the source package name
-# DEB_VERSION: the full version of the package (epoch + upstream vers. + revision)
-# DEB_VERSION_EPOCH_UPSTREAM: the package's version without the Debian revision
-# DEB_VERSION_UPSTREAM_REVISION: the package's version without the Debian epoch
-# DEB_VERSION_UPSTREAM: the package's upstream version
-# DEB_DISTRIBUTION: the distribution(s) listed in the current entry of debian/changelog
-# SOURCE_DATE_EPOCH: the source release date as seconds since the epoch, as
-#                    specified by <https://reproducible-builds.org/specs/source-date-epoch/>
 
 # for hardening you might like to uncomment this:
 # export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 
 %:
-	dh $@
+	dh $@ --with python3 --buildsystem=pybuild
+
+override_dh_installchangelogs:
+	dh_installchangelogs docs/NEWS.md
 
 ### When overriding auto_test make sure DEB_BUILD_OPTIONS will be respected
 #override_dh_auto_test:
 #ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 #	do_stuff_for_testing
 #endif
-
-### If you **really** can not use uscan (even not with mode=git) use a debian/get-orig-script
-#get-orig-source:
-#	. debian/get-orig-source



View it on GitLab: https://salsa.debian.org/med-team/flye/-/commit/c221816bf964bd6eaca1d38d128328502a1ec2e7

-- 
View it on GitLab: https://salsa.debian.org/med-team/flye/-/commit/c221816bf964bd6eaca1d38d128328502a1ec2e7
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/20200605/1b164fb6/attachment-0001.html>


More information about the debian-med-commit mailing list