Robbi Nespu  pushed to branch master at Debian Med / python-sinfo


Commits:
884268bd by robbinespu at 2021-02-23T20:40:56+08:00
modified control and rules file

- - - - -


2 changed files:

- debian/control
- debian/rules


Changes:

=====================================
debian/control
=====================================
@@ -3,7 +3,10 @@ Section: python
 Priority: optional
 Maintainer: Debian Med Packaging Team 
<[email protected]>
 Uploaders: Robbi Nespu <[email protected]>
-Build-Depends: debhelper-compat (= 13)
+Build-Depends: debhelper-compat (= 13),
+                dh-python,
+                python3-all,
+                python3-setuptools
 Standards-Version: 4.3.0
 Vcs-Browser: https://salsa.debian.org/med-team/python-sinfo
 Vcs-Git: https://salsa.debian.org/med-team/python-sinfo.git


=====================================
debian/rules
=====================================
@@ -1,31 +1,8 @@
 #!/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
+export DH_VERBOSE = 1
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+export PYBUILD_NAME = sinfo
 
 %:
-       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/python-sinfo/-/commit/884268bd330b3506b0da6ee6eb288f59b72b4a2f

-- 
View it on GitLab: 
https://salsa.debian.org/med-team/python-sinfo/-/commit/884268bd330b3506b0da6ee6eb288f59b72b4a2f
You're receiving this email because of your account on salsa.debian.org.


_______________________________________________
debian-med-commit mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to