[Git][clojure-team/riddley-clojure][debian/main] 11 commits: d/watch: update to recommended github format

Jérôme Charaoui (@lavamind) gitlab at salsa.debian.org
Thu Apr 3 04:27:12 BST 2025



Jérôme Charaoui pushed to branch debian/main at Debian Clojure Maintainers / riddley-clojure


Commits:
ea2f64e6 by Jérôme Charaoui at 2025-04-02T23:07:49-04:00
d/watch: update to recommended github format

- - - - -
bdbf0fce by Jérôme Charaoui at 2025-04-02T23:09:37-04:00
d/rules: honor nocheck build flag

- - - - -
337fedc1 by Jérôme Charaoui at 2025-04-02T23:09:55-04:00
d/rules: improve clean target

Closes: #1047600

- - - - -
4c28d711 by Jérôme Charaoui at 2025-04-02T23:10:55-04:00
d/control: build using headless jre

- - - - -
81856af7 by Jérôme Charaoui at 2025-04-02T23:11:12-04:00
d/rules: drop unneeded nrepl build-dep

- - - - -
1192690a by Jérôme Charaoui at 2025-04-02T23:11:31-04:00
run wrap-and-sort -bastk

Gbp-Dch: ignore

- - - - -
a0523d93 by Jérôme Charaoui at 2025-04-02T23:12:15-04:00
d/gbp.conf: add clojure-team defaults

- - - - -
d0a1a2ac by Jérôme Charaoui at 2025-04-02T23:14:13-04:00
d/control: bump Standards-Version, no changes needed

- - - - -
caee5a0c by Jérôme Charaoui at 2025-04-02T23:22:15-04:00
d/tests: run tests using cognitech.test-runner

- - - - -
41618a88 by Jérôme Charaoui at 2025-04-02T23:24:09-04:00
d/upstream: add Repository urls

- - - - -
9b5d86bd by Jérôme Charaoui at 2025-04-02T23:24:41-04:00
Update changelog for 0.2.0-3 release

- - - - -


8 changed files:

- debian/changelog
- debian/control
- + debian/gbp.conf
- debian/rules
- debian/tests/control
- debian/tests/unittests
- debian/upstream/metadata
- debian/watch


Changes:

=====================================
debian/changelog
=====================================
@@ -1,4 +1,17 @@
-riddley-clojure (0.2.0-3) UNRELEASED; urgency=normal
+riddley-clojure (0.2.0-3) unstable; urgency=medium
+
+  * Team upload.
+
+  [ Jérôme Charaoui ]
+  * d/control: build using headless jre
+  * d/control: bump Standards-Version, no changes needed
+  * d/gbp.conf: add clojure-team defaults
+  * d/rules: honor nocheck build flag
+  * d/rules: improve clean target (Closes: #1047600)
+  * d/rules: drop unneeded nrepl build-dep
+  * d/tests: run tests using cognitech.test-runner
+  * d/upstream: add Repository urls
+  * d/watch: update to recommended github format
 
   [ Louis-Philippe Véronneau ]
   * d/control: New email for the Clojure Team.
@@ -7,7 +20,7 @@ riddley-clojure (0.2.0-3) UNRELEASED; urgency=normal
   * Set upstream metadata fields: Bug-Database, Bug-Submit.
   * Update standards version to 4.6.0, no changes needed.
 
- -- Louis-Philippe Véronneau <pollo at debian.org>  Sat, 08 Jan 2022 18:34:03 -0500
+ -- Jérôme Charaoui <jerome at riseup.net>  Wed, 02 Apr 2025 23:13:12 -0400
 
 riddley-clojure (0.2.0-2) unstable; urgency=medium
 


=====================================
debian/control
=====================================
@@ -2,16 +2,17 @@ Source: riddley-clojure
 Section: java
 Priority: optional
 Maintainer: Debian Clojure Maintainers <team+clojure at tracker.debian.org>
-Uploaders: Apollon Oikonomopoulos <apoikos at debian.org>
-Build-Depends: debhelper-compat (= 13),
-               default-jdk,
-               javahelper,
-               maven-repo-helper,
-               libclojure-java,
-               libnrepl-clojure <!nocheck>,
-               libcomplete-clojure <!nocheck>,
-               leiningen
-Standards-Version: 4.6.0
+Uploaders:
+ Apollon Oikonomopoulos <apoikos at debian.org>,
+Build-Depends:
+ debhelper-compat (= 13),
+ default-jre-headless,
+ javahelper,
+ leiningen,
+ libclojure-java,
+ libcomplete-clojure <!nocheck>,
+ maven-repo-helper,
+Standards-Version: 4.7.2
 Vcs-Git: https://salsa.debian.org/clojure-team/riddley-clojure.git
 Vcs-Browser: https://salsa.debian.org/clojure-team/riddley-clojure
 Homepage: https://github.com/ztellman/riddley
@@ -19,10 +20,12 @@ Rules-Requires-Root: no
 
 Package: libriddley-clojure
 Architecture: all
-Depends: ${java:Depends},
-         ${misc:Depends},
-         libclojure-java,
-Recommends: ${java:Recommends}
+Depends:
+ libclojure-java,
+ ${java:Depends},
+ ${misc:Depends},
+Recommends:
+ ${java:Recommends},
 Description: code walking library for Clojure
  Riddley provides a correct `riddley.walk/macroexpand-all`, which preserves the
  binding information in `&env` and expands inlined functions, and


=====================================
debian/gbp.conf
=====================================
@@ -0,0 +1,4 @@
+[DEFAULT]
+pristine-tar = True
+debian-branch = debian/main
+upstream-branch = upstream


=====================================
debian/rules
=====================================
@@ -19,12 +19,14 @@ override_dh_auto_build:
 	cd target && ln -sf $(NAME)-$(DEB_VERSION_UPSTREAM).jar $(NAME).jar
 
 override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	lein test
+endif
 
 override_jh_installlibs:
 	jh_installlibs target/$(NAME).jar
 
 override_dh_clean:
 	rm -f debian/maven-repo
-	rm -Rf target
+	rm -Rf .lein .lein-failures target
 	dh_clean


=====================================
debian/tests/control
=====================================
@@ -1,6 +1,11 @@
 Tests: build
-Depends: @, clojure
+Depends:
+ clojure,
+ @,
 Restrictions: superficial, allow-stderr
 
 Tests: unittests
-Depends: @, clojure
+Depends:
+ clojure,
+ libcognitect-test-runner-clojure,
+ @,


=====================================
debian/tests/unittests
=====================================
@@ -1,9 +1,11 @@
 #!/bin/sh
 set -efu
 
-CLASSPATH=/usr/share/java/clojure.jar:/usr/share/java/riddley.jar
+CLASSPATH=/usr/share/java/clojure.jar:/usr/share/java/test-runner.jar:/usr/share/java/riddley.jar:test
 
 cp -a test "$AUTOPKGTEST_TMP"
 cd "$AUTOPKGTEST_TMP"
 
-find . -name "*.clj" | xargs clojure -cp $CLASSPATH
+java -cp "$CLASSPATH" clojure.main \
+     -m cognitect.test-runner cognitect.test-runner.api/test \
+     --dir test


=====================================
debian/upstream/metadata
=====================================
@@ -1,3 +1,5 @@
 ---
 Bug-Database: https://github.com/ztellman/riddley/issues
 Bug-Submit: https://github.com/ztellman/riddley/issues/new
+Repository: https://github.com/ztellman/riddley.git
+Repository-Browse: https://github.com/ztellman/riddley


=====================================
debian/watch
=====================================
@@ -1,4 +1,7 @@
 version=4
-opts="mode=git" \
-https://github.com/ztellman/riddley.git \
-refs/tags/([\d\.]+)
+opts=\
+ filenamemangle=s%.*/@ANY_VERSION@%@PACKAGE at -$1.tar.gz%,\
+ downloadurlmangle=s%(api.github.com/repos/[^/]+/[^/]+)/git/refs/%$1/tarball/refs/%g,\
+ searchmode=plain \
+ https://api.github.com/repos/ztellman/riddley/git/matching-refs/tags/ \
+ https://api.github.com/repos/[^/]+/[^/]+/git/refs/tags/@ANY_VERSION@



View it on GitLab: https://salsa.debian.org/clojure-team/riddley-clojure/-/compare/ff9a388f43dae7841bcfba7000bee20602a374dd...9b5d86bdc523a650cda3df966a4db89b2e2dfc66

-- 
View it on GitLab: https://salsa.debian.org/clojure-team/riddley-clojure/-/compare/ff9a388f43dae7841bcfba7000bee20602a374dd...9b5d86bdc523a650cda3df966a4db89b2e2dfc66
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/pkg-java-commits/attachments/20250403/e360dfd4/attachment.htm>


More information about the pkg-java-commits mailing list