[jruby] 01/01: Provide maven artifacts

Miguel Landaeta nomadium at moszumanska.debian.org
Mon Feb 3 01:43:56 UTC 2014


This is an automated email from the git hooks/post-receive script.

nomadium pushed a commit to branch master
in repository jruby.

commit 825f34a7bd10575f92fa95a4520d4586536b0180
Author: Miguel Landaeta <nomadium at debian.org>
Date:   Sun Feb 2 22:36:58 2014 -0300

    Provide maven artifacts
---
 debian/changelog   | 7 +++++++
 debian/control     | 2 +-
 debian/jruby.poms  | 1 +
 debian/maven.rules | 1 +
 debian/rules       | 7 +++++++
 5 files changed, 17 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 49e3794..5dd345d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+jruby (1.5.6-7) unstable; urgency=low
+
+  * Team upload.
+  * Provide maven artifacts. (Closes: #737424).
+
+ -- Miguel Landaeta <nomadium at debian.org>  Sun, 02 Feb 2014 21:37:46 -0300
+
 jruby (1.5.6-6) unstable; urgency=low
 
   * Team upload.
diff --git a/debian/control b/debian/control
index bd776d9..5e7203f 100644
--- a/debian/control
+++ b/debian/control
@@ -9,7 +9,7 @@ Build-Depends: debhelper (>= 6.0.7~), default-jdk, ant-optional,
  junit4, libemma-java, libbsf-java, libjline-java, bnd, libconstantine-java,
  netbase, libjgrapht0.8-java, libjcodings-java, libbytelist-java, libjffi-java,
  libjaffl-java, libjruby-joni-java, yydebug, nailgun, libjnr-posix-java,
- libjnr-netdb-java, libyecht-java (>= 0.0.2-2~), cdbs
+ libjnr-netdb-java, libyecht-java (>= 0.0.2-2~), cdbs, maven-repo-helper
 Standards-Version: 3.9.5
 Homepage: http://jruby.org
 Vcs-Git: git://anonscm.debian.org/pkg-java/jruby.git
diff --git a/debian/jruby.poms b/debian/jruby.poms
new file mode 100644
index 0000000..568117a
--- /dev/null
+++ b/debian/jruby.poms
@@ -0,0 +1 @@
+maven/jruby/pom.xml --no-parent
diff --git a/debian/maven.rules b/debian/maven.rules
new file mode 100644
index 0000000..afc07e7
--- /dev/null
+++ b/debian/maven.rules
@@ -0,0 +1 @@
+asm * jar s/.*/3.x/ * *
diff --git a/debian/rules b/debian/rules
index 12c7dcf..bf6699c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,6 +8,7 @@ DEB_ANT_CLEAN_TARGET := clean-all
 DEB_ANT_BUILD_TARGET := -Ddev.gems=false -DdocsNotNeeded=true \
     -Dshared.lib.dir=/usr/share/java test dist-bin
 DEB_JARS             := ant-junit junit4
+UVERSION             := $(shell dpkg-parsechangelog | grep ^Version: | sed 's/^.*: \(.*\)-\(.*\)$$/\1/')
 
 # must be set to avoid test failures
 export BUILDING_JRUBY := true
@@ -16,6 +17,8 @@ clean::
 	$(RM) lib/ruby/site_ruby/shared/yecht.jar debian/stamp-yecht
 	# strange workaround for dpkg-source
 	$(RM) bin/jruby
+	rm -f test/testapp/testapp
+	mh_clean
 
 pre-build:: debian/stamp-yecht
 debian/stamp-yecht:
@@ -39,4 +42,8 @@ install/jruby::
 	$(RM) -r $(JRUBY_LIB_DIR)/lib/native
 	# Remove all empty directories
 	find $(DEB_DESTDIR) -depth -follow -type d -empty -delete
+	mh_installpoms -pjruby
+	mh_installjar -pjruby --java-lib maven/jruby/pom.xml $(JRUBY_LIB_DIR)/lib/jruby.jar
+	rm -f $(DEB_DESTDIR)/usr/share/java/jruby*.jar
+	dh_link usr/share/java/jruby.jar usr/share/java/jruby-$(UVERSION).jar
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jruby.git



More information about the pkg-java-commits mailing list