[med-svn] [Git][med-team/metastudent][master] consolidate all build dependencies (no need for a separate Build-Depends-Indep).

Michael R. Crusoe (@crusoe) gitlab at salsa.debian.org
Tue Sep 10 11:34:25 BST 2024



Michael R. Crusoe pushed to branch master at Debian Med / metastudent


Commits:
18bc425e by Michael R. Crusoe at 2024-09-10T12:30:04+02:00
consolidate all build dependencies (no need for a separate Build-Depends-Indep).

Switch to using dh-sequence-{javahelper,python3}
d/clean: use this instead of a dh_auto_clean override in d/rules

- - - - -


4 changed files:

- debian/changelog
- + debian/clean
- debian/control
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,13 @@
+metastudent (2.0.1-11) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * d/control: consolidate all build dependencies (no need for a separate
+    Build-Depends-Indep).
+  * Switch to using dh-sequence-{javahelper,python3}
+  * d/clean: use this instead of a dh_auto_clean override in d/rules
+
+ -- Michael R. Crusoe <crusoe at debian.org>  Tue, 10 Sep 2024 12:27:34 +0200
+
 metastudent (2.0.1-10) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/clean
=====================================
@@ -0,0 +1 @@
+metastudent.1


=====================================
debian/control
=====================================
@@ -4,12 +4,12 @@ Uploaders: Tobias Hamp <hampt at rostlab.org>,
            Laszlo Kajan <lkajan at debian.org>
 Section: science
 Priority: optional
-Build-Depends: debhelper-compat (= 13), debhelper
-Build-Depends-Indep: dh-python,
-                     python3-all,
-                     python3-setuptools,
-                     javahelper,
-                     default-jdk
+Build-Depends: debhelper-compat (= 13),
+               dh-sequence-python3,
+               python3-all,
+               python3-setuptools,
+               default-jdk,
+               dh-sequence-javahelper
 Standards-Version: 4.6.2
 Vcs-Browser: https://salsa.debian.org/med-team/metastudent
 Vcs-Git: https://salsa.debian.org/med-team/metastudent.git


=====================================
debian/rules
=====================================
@@ -8,14 +8,9 @@ JAVA_HOME=/usr/lib/jvm/default-java
 include /usr/share/dpkg/default.mk
 
 %:
-	dh $@ --with javahelper --with python3 --buildsystem=pybuild
+	dh $@ --buildsystem=pybuild
 
-override_dh_auto_clean:
-	dh_auto_clean
-	rm -f metastudent.1
-
-override_dh_auto_install:
-	dh_auto_install
+execute_after_dh_auto_install:
 	find debian/metastudent -regex ".*/knn_weighted\|.*/CafaWrapper1\.pl\|.*/CafaWrapper2\.pl\|.*/CafaWrapper3\.pl\|.*/CafaWrapper3_new\.pl\|.*/exercise3\.pl\|.*/treehandler\.pl\|.*/validate\.pl" -exec chmod +x {} \;
 	mv *.jar $(CURDIR)/debian/$(DEB_SOURCE)/usr/share/metastudent/
 	# configuration files should reside in /etc



View it on GitLab: https://salsa.debian.org/med-team/metastudent/-/commit/18bc425e77dd5ff965cd17c9d547467741564707

-- 
View it on GitLab: https://salsa.debian.org/med-team/metastudent/-/commit/18bc425e77dd5ff965cd17c9d547467741564707
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/20240910/30f386bc/attachment-0001.htm>


More information about the debian-med-commit mailing list