d/rules: clean and run upstream testsuite. (Closes: #976753)
Louis-Philippe Véronneau
2 years ago
2 | 2 | * Team upload. |
3 | 3 | * New upstream release. |
4 | 4 | * d/rules: don't build the doc, as there's none to build. |
5 | * d/rules: clean and run upstream testsuite. (Closes: #976753) | |
5 | 6 | |
6 | 7 | -- Louis-Philippe Véronneau <pollo@debian.org> Mon, 14 Dec 2020 11:13:44 -0500 |
7 | 8 |
2 | 2 | Priority: optional |
3 | 3 | Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> |
4 | 4 | Uploaders: Apollon Oikonomopoulos <apoikos@debian.org> |
5 | Build-Depends: clojure (>= 1.8), | |
6 | debhelper (>= 10), | |
5 | Build-Depends: debhelper (>= 10), | |
7 | 6 | default-jdk, |
8 | javahelper (>= 0.32), | |
9 | maven-repo-helper (>= 1.5~) | |
7 | javahelper, | |
8 | maven-repo-helper, | |
9 | clojure, | |
10 | 10 | Standards-Version: 4.0.0 |
11 | 11 | Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/java-classpath-clojure.git |
12 | 12 | Vcs-Git: https://anonscm.debian.org/cgit/pkg-java/java-classpath-clojure.git |
14 | 14 | |
15 | 15 | Package: libjava-classpath-clojure |
16 | 16 | Architecture: all |
17 | Depends: ${java:Depends}, ${misc:Depends} | |
17 | Depends: ${java:Depends}, | |
18 | ${misc:Depends}, | |
19 | libclojure-java, | |
18 | 20 | Recommends: ${java:Recommends} |
19 | 21 | Description: examine the Java classpath from Clojure programs |
20 | 22 | java.classpath is a Clojure library that provides access to the Java |
0 | # List of POM files for the package | |
1 | # Format of this file is: | |
2 | # <path to pom file> [option]* | |
3 | # where option can be: | |
4 | # --ignore: ignore this POM and its artifact if any | |
5 | # --ignore-pom: don't install the POM. To use on POM files that are created | |
6 | # temporarily for certain artifacts such as Javadoc jars. [mh_install, mh_installpoms] | |
7 | # --no-parent: remove the <parent> tag from the POM | |
8 | # --package=<package>: an alternative package to use when installing this POM | |
9 | # and its artifact | |
10 | # --has-package-version: to indicate that the original version of the POM is the same as the upstream part | |
11 | # of the version for the package. | |
12 | # --keep-elements=<elem1,elem2>: a list of XML elements to keep in the POM | |
13 | # during a clean operation with mh_cleanpom or mh_installpom | |
14 | # --artifact=<path>: path to the build artifact associated with this POM, | |
15 | # it will be installed when using the command mh_install. [mh_install] | |
16 | # --java-lib: install the jar into /usr/share/java to comply with Debian | |
17 | # packaging guidelines | |
18 | # --usj-name=<name>: name to use when installing the library in /usr/share/java | |
19 | # --usj-version=<version>: version to use when installing the library in /usr/share/java | |
20 | # --no-usj-versionless: don't install the versionless link in /usr/share/java | |
21 | # --dest-jar=<path>: the destination for the real jar. | |
22 | # It will be installed with mh_install. [mh_install] | |
23 | # --classifier=<classifier>: Optional, the classifier for the jar. Empty by default. | |
24 | # --site-xml=<location>: Optional, the location for site.xml if it needs to be installed. | |
25 | # Empty by default. [mh_install] | |
26 | # | |
27 | pom.xml --no-parent --has-package-version | |
0 | pom.xml --no-parent --artifact=java.classpath.jar --usj-name=java.classpath |
0 | 0 | #!/usr/bin/make -f |
1 | 1 | |
2 | 2 | include /usr/share/javahelper/java-vars.mk |
3 | include /usr/share/dpkg/pkg-info.mk | |
4 | 3 | |
5 | 4 | export CLASSPATH=/usr/share/java/clojure.jar |
6 | 5 | |
12 | 11 | override_jh_build: |
13 | 12 | jar cf $(PRODUCED_JAR) -C src/main/clojure . |
14 | 13 | |
14 | override_jh_installlibs: | |
15 | jh_installlibs $(PRODUCED_JAR) | |
16 | ||
15 | 17 | override_jh_clean: |
16 | 18 | jh_clean |
17 | 19 | rm -f $(CURDIR)/$(PRODUCED_JAR) |
20 | ||
21 | override_dh_auto_test: | |
22 | dh_auto_test | |
23 | (cd src/test && find . -name "*.clj" | \ | |
24 | xargs clojure -cp $(CURDIR)/$(PRODUCED_JAR):$(CLASSPATH)) |