[med-svn] [Git][med-team/nanofilt][master] 2 commits: Disable pytest (as this doesn't exist) and use pybuild

Shayan Doust gitlab at salsa.debian.org
Tue Jun 16 18:20:11 BST 2020



Shayan Doust pushed to branch master at Debian Med / nanofilt


Commits:
df808b0b by Shayan Doust at 2020-06-16T18:19:19+01:00
Disable pytest (as this doesn't exist) and use pybuild

- - - - -
c0eccfee by Shayan Doust at 2020-06-16T18:19:53+01:00
Remove python3-pytest from build depends

- - - - -


2 changed files:

- debian/control
- debian/rules


Changes:

=====================================
debian/control
=====================================
@@ -9,7 +9,6 @@ Build-Depends: debhelper-compat (= 13),
                dh-python,
                python3-biopython,
                python3-pandas,
-               python3-pytest,
                python3-flake8
 Standards-Version: 4.3.0
 Vcs-Browser: https://salsa.debian.org/med-team/nanofilt


=====================================
debian/rules
=====================================
@@ -4,28 +4,13 @@
 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/>
+
+export PYBUILD_INSTALL_ARGS=--install-scripts=/usr/bin/
+export PYBUILD_TEST_ARGS=-k-pytest
 
 # for hardening you might like to uncomment this:
 # export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 
 %:
-	dh $@
-
-### 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
+	dh $@ --with python3 --buildsystem=pybuild
 
-### 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/nanofilt/-/compare/7769382d607efd3f175238b95614e90d8561a97f...c0eccfeece9fa443a910bf1f359e98f5a0648b02

-- 
View it on GitLab: https://salsa.debian.org/med-team/nanofilt/-/compare/7769382d607efd3f175238b95614e90d8561a97f...c0eccfeece9fa443a910bf1f359e98f5a0648b02
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/20200616/836120b8/attachment-0001.html>


More information about the debian-med-commit mailing list