[lazymap-clojure] 01/01: Initial Debian packaging
Apollon Oikonomopoulos
apoikos at moszumanska.debian.org
Fri Aug 4 11:03:11 UTC 2017
This is an automated email from the git hooks/post-receive script.
apoikos pushed a commit to branch master
in repository lazymap-clojure.
commit 54b0cd5f3c441849394cc66ff5774b22fd4227bb
Author: Apollon Oikonomopoulos <apoikos at debian.org>
Date: Fri Aug 4 06:52:43 2017 -0400
Initial Debian packaging
---
debian/changelog | 5 +++++
debian/compat | 1 +
debian/control | 25 ++++++++++++++++++++++
debian/copyright | 30 ++++++++++++++++++++++++++
debian/liblazymap-clojure.classpath | 1 +
debian/liblazymap-clojure.docs | 1 +
debian/liblazymap-clojure.jlibs | 1 +
debian/maven.rules | 1 +
debian/rules | 42 +++++++++++++++++++++++++++++++++++++
debian/source/format | 1 +
debian/watch | 2 ++
11 files changed, 110 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..fc4f99b
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+lazymap-clojure (3.1.1-1) unstable; urgency=medium
+
+ * Initial release (Closes: #855731)
+
+ -- Apollon Oikonomopoulos <apoikos at debian.org> Fri, 04 Aug 2017 06:49:17 -0400
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..38b6f67
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,25 @@
+Source: lazymap-clojure
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Apollon Oikonomopoulos <apoikos at debian.org>
+Build-Depends: clojure (>= 1.8),
+ debhelper (>= 10),
+ default-jdk,
+ javahelper (>= 0.32),
+ markdown
+Standards-Version: 4.0.0
+Vcs-Git: https://anonscm.debian.org/git/pkg-java/lazymap-clojure.git
+Vcs-Browser: https://anonscm.debian.org/git/pkg-java/lazymap-clojure.git
+Homepage: https://bitbucket.org/kotarak/lazymap
+
+Package: liblazymap-clojure
+Architecture: all
+Depends: ${java:Depends}, ${misc:Depends}
+Recommends: ${java:Recommends}
+Description: transparent wrapper around Clojure's map types
+ LazyMap is a transparent wrapper around the map types of Clojure. It works
+ similar to lazy-seq for sequences: the value associated with a key via
+ lazy-assoc is not evaluated until it is actually accessed. So if the value is
+ dissoc'd before it is accessed the code necessary to generate the value is not
+ executed at all.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..4d6d845
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,30 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: lazymap
+Source: https://bitbucket.org/kotarak/lazymap/
+
+Files: *
+Copyright: 2008-2011 (c) Meikel Brandmeyer
+License: MIT/X11
+
+Files: debian/*
+Copyright: 2017 Apollon Oikonomopoulos <apoikos at debian.org>
+License: MIT/X11
+
+License: MIT/X11
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
+ this software and associated documentation files (the "Software"), to deal in
+ the Software without restriction, including without limitation the rights to
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+ of the Software, and to permit persons to whom the Software is furnished to do
+ so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included in all
+ copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ SOFTWARE.
diff --git a/debian/liblazymap-clojure.classpath b/debian/liblazymap-clojure.classpath
new file mode 100644
index 0000000..12ef2f8
--- /dev/null
+++ b/debian/liblazymap-clojure.classpath
@@ -0,0 +1 @@
+usr/share/java/lazymap.jar /usr/share/java/clojure.jar
diff --git a/debian/liblazymap-clojure.docs b/debian/liblazymap-clojure.docs
new file mode 100644
index 0000000..8d526b9
--- /dev/null
+++ b/debian/liblazymap-clojure.docs
@@ -0,0 +1 @@
+README.markdown
diff --git a/debian/liblazymap-clojure.jlibs b/debian/liblazymap-clojure.jlibs
new file mode 100644
index 0000000..dbaf18d
--- /dev/null
+++ b/debian/liblazymap-clojure.jlibs
@@ -0,0 +1 @@
+lazymap.jar
diff --git a/debian/maven.rules b/debian/maven.rules
new file mode 100644
index 0000000..afb03ab
--- /dev/null
+++ b/debian/maven.rules
@@ -0,0 +1 @@
+* clojure * s/([0-9]+)\.([0-9]+).*/$1.$2.x/ * *
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..027389e
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,42 @@
+#!/usr/bin/make -f
+
+include /usr/share/javahelper/java-vars.mk
+include /usr/share/dpkg/pkg-info.mk
+
+MDWN_DOCS = $(patsubst %.markdown,%.html,$(wildcard $(CURDIR)/*.markdown))
+
+export CLASSPATH=/usr/share/java/clojure.jar
+
+PRODUCED_JAR=lazymap.jar
+
+%:
+ dh $@ --with javahelper
+
+override_jh_build: $(MDWN_DOCS)
+ jar cf $(PRODUCED_JAR) -C src/main/clojure .
+ mkdir -p $(CURDIR)/doc/html && mv $^ $(CURDIR)/doc/html
+
+override_jh_clean:
+ jh_clean
+ rm -f $(CURDIR)/$(PRODUCED_JAR)
+ rm -rf $(CURDIR)/doc
+ rm -f README.html
+
+# TODO: needs de.kotka/tap to run
+#override_dh_auto_test:
+# (cd t && find . -name '*.t' | xargs clojure -cp $(PRODUCED_JAR))
+
+get-orig-source:
+ uscan --download-version $(DEB_VERSION_UPSTREAM) --force-download --rename
+
+%.html:%.markdown
+ @echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"' \
+ '"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">' > $@
+ @echo "<html>" >> $@
+ @echo "<head>" >> $@
+ @echo "<title>$(shell head -n 1 $< | sed 's/^#*\s*//')</title>" >> $@
+ @echo "</head>" >> $@
+ @echo "<body>" >> $@
+ markdown $< >> $@
+ @echo "</body>" >> $@
+ @echo "</html>" >> $@
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..ee076d9
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+https://bitbucket.org/kotarak/lazymap/downloads/?tab=tags .*/v([\d.]+)\.tar\.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/lazymap-clojure.git
More information about the pkg-java-commits
mailing list