[med-svn] [Git][med-team/nanoplot][master] Cleanup installation a bit

Andreas Tille gitlab at salsa.debian.org
Mon Apr 27 09:02:50 BST 2020



Andreas Tille pushed to branch master at Debian Med / nanoplot


Commits:
72cdf034 by Andreas Tille at 2020-04-27T10:00:36+02:00
Cleanup installation a bit

- - - - -


6 changed files:

- debian/changelog
- debian/control
- + debian/examples
- + debian/install
- debian/rules
- debian/tests/control → debian/tests/control_not_umplemented_yet


Changes:

=====================================
debian/changelog
=====================================
@@ -1,9 +1,5 @@
 nanoplot (1.29.0-1) UNRELEASED; urgency=medium
 
   * Initial release (Closes: #<bug>)
-  TODO: https://salsa.debian.org/med-team/python-pauvre
-        https://github.com/wdecoster/nanoget (version lagging behind -> check https://pypi.org/project/nanoget/
-        https://github.com/wdecoster/nanomath (lacks version -> check https://pypi.org/project/nanomath/
-        
 
  -- Andreas Tille <tille at debian.org>  Wed, 22 Apr 2020 16:40:23 +0200


=====================================
debian/control
=====================================
@@ -32,8 +32,8 @@ Depends: ${python3:Depends},
          python3-statsmodels,
          python3-pauvre,
          python3-plotly,
-#         python3-nanoget (>=1.9.0),
-#         python3-nanomath (>=0.23.1)
+         python3-nanoget,
+         python3-nanomath
 Description: plotting scripts for long read sequencing data
  NanoPlot provides plotting scripts for long read sequencing data.
  .


=====================================
debian/examples
=====================================
@@ -0,0 +1 @@
+scripts/test.sh


=====================================
debian/install
=====================================
@@ -0,0 +1 @@
+scripts/[a-s]*	usr/share/nanoplot


=====================================
debian/rules
=====================================
@@ -1,25 +1,17 @@
 #!/usr/bin/make -f
 
 # DH_VERBOSE := 1
-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 $@ --with python3 --buildsystem=pybuild
 
+override_dh_install:
+	# Scripts will be installed into different location
+	find debian -name scripts -type d | xargs rm -rf
+	dh_install
+
 ### When overriding auto_test make sure DEB_BUILD_OPTIONS will be respected
 #override_dh_auto_test:
 #ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))


=====================================
debian/tests/control → debian/tests/control_not_umplemented_yet
=====================================



View it on GitLab: https://salsa.debian.org/med-team/nanoplot/-/commit/72cdf034caab4d8406d98fb359e8c56f89d95707

-- 
View it on GitLab: https://salsa.debian.org/med-team/nanoplot/-/commit/72cdf034caab4d8406d98fb359e8c56f89d95707
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/20200427/6be45acc/attachment-0001.html>


More information about the debian-med-commit mailing list