[libclasslojure-clojure] 02/03: Package for debian
Elana Hashman
ehashman-guest at moszumanska.debian.org
Tue May 9 03:35:56 UTC 2017
This is an automated email from the git hooks/post-receive script.
ehashman-guest pushed a commit to branch master
in repository libclasslojure-clojure.
commit 8fc8d82fce00f493d6a9e7507366b3bb39ef3a80
Author: Elana Hashman <debian at hashman.ca>
Date: Mon May 8 23:03:39 2017 -0400
Package for debian
---
debian/changelog | 6 ++---
debian/compat | 2 +-
debian/control | 12 +++++-----
debian/copyright | 9 ++-----
debian/doc-base | 14 -----------
debian/patches/20130123_useful_namespace.diff | 24 -------------------
debian/patches/series | 1 -
debian/rules | 34 ++-------------------------
debian/watch | 2 --
9 files changed, 14 insertions(+), 90 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 8381009..9a46c3b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,5 @@
-libclasslojure-clojure (0.6.6-1) unstable; urgency=low
+libclasslojure-clojure (0.7.1-1) unstable; urgency=medium
- * Initial release (Closes: #698693)
+ * Initial release. (Closes: #698693)
- -- Daigo Moriwaki <daigo at debian.org> Tue, 22 Jan 2013 16:56:55 +0900
+ -- Elana Hashman <debian at hashman.ca> Tue, 28 Feb 2017 21:11:55 -0600
diff --git a/debian/compat b/debian/compat
index 45a4fb7..f599e28 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-8
+10
diff --git a/debian/control b/debian/control
index cb7cc17..a7b9c0e 100644
--- a/debian/control
+++ b/debian/control
@@ -2,18 +2,18 @@ Source: libclasslojure-clojure
Section: java
Priority: optional
Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
-Uploaders: Daigo Moriwaki <daigo at debian.org>,
-Build-Depends: debhelper (>= 8.0.0), javahelper (>= 0.32), clojure1.4, default-jdk, libtext-markdown-perl, libuseful-clojure
-Standards-Version: 3.9.3
+Uploaders: Elana Hashman <debian at hashman.ca>,
+Build-Depends: debhelper (>= 10), javahelper (>= 0.32), clojure (>= 1.5), default-jdk
+Standards-Version: 3.9.8
+Vcs-Git: https://anonscm.debian.org/git/pkg-java/libclasslojure-clojure.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/libclasslojure-clojure.git;a=summary
Homepage: https://github.com/flatland/classlojure
-Vcs-Git: git://git.debian.org/pkg-java/libclasslojure-clojure.git
-Vcs-Browser: http://git.debian.org/?p=pkg-java/libclasslojure-clojure.git;a=summary
Package: libclasslojure-clojure
Architecture: all
Depends: ${java:Depends}, ${misc:Depends}
Recommends: ${java:Recommends}
-Description: Clojure library to create a classloader with an alternate classpath
+Description: Advanced classloading for Clojure
classlojure lets you easily create a classloader with an alternate classpath
and evaluate clojure forms in it. This classloader can even use a different
version of clojure than your primary classloader.
diff --git a/debian/copyright b/debian/copyright
index 8ba54c8..e8f36b8 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -3,16 +3,11 @@ Upstream-Name: classlojure
Source: https://github.com/flatland/classlojure
Files: *
-Copyright: Alan Malloy
- David Santiago
- josh rotenberg
- lance bradley
- Justin Balthrop
- Anthony Grimes
+Copyright: 2013 Justin Balthrop <justin at balthrop.com>
License: EPL-1.0
Files: debian/*
-Copyright: 2013 Daigo Moriwaki <daigo at debian.org>
+Copyright: held by the contributors mentioned in debian/changelog
License: GPL-2+
This package is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/debian/doc-base b/debian/doc-base
deleted file mode 100644
index 072e4b2..0000000
--- a/debian/doc-base
+++ /dev/null
@@ -1,14 +0,0 @@
-Document: classlojure
-Title: Classlojure tutorial
-Author:
-Abstract: A short tutorial on Clojure library to create a classloader with
- an alternate classpath
-Section: Programming
-
-Format: HTML
-Index: /usr/share/doc/libclasslojure-clojure/html/README.html
-Files: /usr/share/doc/libclasslojure-clojure/html/README.html
-
-Format: Text
-Index: /usr/share/doc/libclasslojure-clojure/README.md
-Files: /usr/share/doc/libclasslojure-clojure/README.md
diff --git a/debian/patches/20130123_useful_namespace.diff b/debian/patches/20130123_useful_namespace.diff
deleted file mode 100644
index f4fa689..0000000
--- a/debian/patches/20130123_useful_namespace.diff
+++ /dev/null
@@ -1,24 +0,0 @@
-Index: libclasslojure-clojure-0.6.6/src/classlojure/core.clj
-===================================================================
---- libclasslojure-clojure-0.6.6.orig/src/classlojure/core.clj 2013-01-22 13:45:48.000000000 +0900
-+++ libclasslojure-clojure-0.6.6/src/classlojure/core.clj 2013-01-23 15:19:33.000000000 +0900
-@@ -1,5 +1,5 @@
- (ns classlojure.core
-- (:use [useful.java :only [invoke-private]]
-+ (:use [flatland.useful.java :only [invoke-private]]
- [clojure.java.io :only [as-url]]
- [clojure.string :only [join]])
- (:import [java.net URL URLClassLoader]))
-Index: libclasslojure-clojure-0.6.6/src/classlojure/io.clj
-===================================================================
---- libclasslojure-clojure-0.6.6.orig/src/classlojure/io.clj 2013-01-22 13:45:48.000000000 +0900
-+++ libclasslojure-clojure-0.6.6/src/classlojure/io.clj 2013-01-23 15:19:32.000000000 +0900
-@@ -1,7 +1,7 @@
- (ns classlojure.io
- (:use [classlojure.core :only [base-classloader]]
- [clojure.java.io :only [copy file reader]]
-- [useful.utils :only [read-seq]])
-+ [flatland.useful.utils :only [read-seq]])
- (:import (java.io File FileInputStream)
- (java.net JarURLConnection)
- (clojure.lang LineNumberingPushbackReader)))
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index 221d9f7..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-20130123_useful_namespace.diff
diff --git a/debian/rules b/debian/rules
index f782238..1a7d0d8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,24 +5,16 @@ include /usr/share/javahelper/java-vars.mk
DEB_VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ' ')
DEB_NOEPOCH_VERSION := $(shell echo $(DEB_VERSION) | cut -d: -f2-)
DEB_UPSTREAM_VERSION := $(shell echo $(DEB_NOEPOCH_VERSION) | sed 's/-[^-]*$$//')
-MDWN_DOCS = $(patsubst %.md,%.html,$(wildcard $(CURDIR)/*.md))
-export CLASSPATH=clojure-1.4.jar:useful.jar
-TEST_CLASSPATH := $(shell echo "/usr/share/java/$(CLASSPATH)" | sed -e 's/:/:\/usr\/share\/java\//g')
+export CLASSPATH=/usr/share/java/clojure.jar
PRODUCED_JAR=classlojure.jar
%:
dh $@ --with javahelper
-override_jh_build: $(MDWN_DOCS)
+override_jh_build:
jar cf $(PRODUCED_JAR) -C src .
- mkdir -p $(CURDIR)/doc/html && mv $^ $(CURDIR)/doc/html
-
-override_dh_auto_test:
- dh_auto_test
- (cd test && \
- find . -name "*_test.clj" | xargs clojure -cp $(TEST_CLASSPATH):$(CURDIR)/$(PRODUCED_JAR))
override_jh_classpath:
jh_classpath $(PRODUCED_JAR)
@@ -30,28 +22,6 @@ override_jh_classpath:
override_jh_installlibs:
jh_installlibs $(PRODUCED_JAR)
-override_dh_installdocs:
- dh_installdocs $(CURDIR)/*.md $(CURDIR)/doc/*
-
-#override_dh_installchangelogs:
-# dh_installchangelogs ChangeLog
-
override_jh_clean:
jh_clean
rm -f $(CURDIR)/$(PRODUCED_JAR)
- rm -rf $(CURDIR)/doc
-
-get-orig-source:
- uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename
-
-%.html:%.md
- @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/watch b/debian/watch
deleted file mode 100644
index 758fb3d..0000000
--- a/debian/watch
+++ /dev/null
@@ -1,2 +0,0 @@
-version=3
-http://githubredir.debian.net/github/flatland/classlojure /([\d\.]+)\.tar\.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libclasslojure-clojure.git
More information about the pkg-java-commits
mailing list