[DRE-commits] [ruby-psych] 01/01: Introduce libpsych-java binary package
Miguel Landaeta
nomadium at moszumanska.debian.org
Sat Sep 9 18:59:33 UTC 2017
This is an automated email from the git hooks/post-receive script.
nomadium pushed a commit to branch master
in repository ruby-psych.
commit 0c7f1f2bdb36cc62161441a4d0b88c52b5c5e707
Author: Miguel Landaeta <nomadium at debian.org>
Date: Sat Sep 9 17:45:08 2017 +0100
Introduce libpsych-java binary package
---
debian/changelog | 6 ++++++
debian/control | 22 ++++++++++++++++++++++
debian/libpsych-java.jlibs | 1 +
debian/ruby-psych.links | 1 +
debian/rules | 3 ++-
5 files changed, 32 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 831e046..8d9dd98 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+ruby-psych (2.2.4-4) unstable; urgency=medium
+
+ * Introduce libpsych-java binary package.
+
+ -- Miguel Landaeta <nomadium at debian.org> Sat, 09 Sep 2017 17:28:53 +0100
+
ruby-psych (2.2.4-3) unstable; urgency=medium
* Fix FTBFS introduced by the dependency loop caused by the dependency on
diff --git a/debian/control b/debian/control
index ebef47b..212474f 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,7 @@ Uploaders: Andrew Lee (李健秋) <andrew.lee at collabora.co.uk>,
Build-Depends: debhelper (>= 10~),
default-jdk,
gem2deb,
+ javahelper,
jruby (>= 9.1.6.0~),
libyaml-dev,
libyaml-snake-java,
@@ -27,6 +28,7 @@ Depends: ruby | ruby-interpreter,
${shlibs:Depends}
Recommends: libyaml-snake-java,
ruby-jar-dependencies
+Suggests: libpsych-java (= ${source:Version})
Description: libyaml wrapper for Ruby
ruby-psych is a YAML parser and emitter. Psych leverages libyaml for its
YAML parsing and emitting capabilities. In addition to wrapping
@@ -35,3 +37,23 @@ Description: libyaml wrapper for Ruby
.
Psych has been included with the main Ruby implementation since 1.9.2,
and is the default YAML parser from 1.9.3 and beyond.
+
+Package: libpsych-java
+Section: java
+Architecture: all
+Depends: jruby (>= 9.1.6.0~),
+ libbytelist-java,
+ libjcodings-java,
+ libyaml-snake-java,
+ ${misc:Depends}
+Description: ruby-psych Java extension
+ ruby-psych is a YAML parser and emitter. Psych leverages libyaml for its
+ YAML parsing and emitting capabilities. In addition to wrapping
+ libyaml, Psych also knows how to serialize and de-serialize most Ruby
+ objects to and from the YAML format.
+ .
+ Psych has been included with the main Ruby implementation since 1.9.2,
+ and is the default YAML parser from 1.9.3 and beyond.
+ .
+ libpsych-java ships the Java extension to improve performance for Ruby
+ implementations running in the JVM, like jruby.
diff --git a/debian/libpsych-java.jlibs b/debian/libpsych-java.jlibs
new file mode 100644
index 0000000..59ce9b9
--- /dev/null
+++ b/debian/libpsych-java.jlibs
@@ -0,0 +1 @@
+lib/psych.jar
diff --git a/debian/ruby-psych.links b/debian/ruby-psych.links
new file mode 100644
index 0000000..2fbbd07
--- /dev/null
+++ b/debian/ruby-psych.links
@@ -0,0 +1 @@
+usr/share/java/psych.jar usr/lib/ruby/vendor_ruby/psych.jar
diff --git a/debian/rules b/debian/rules
index bf7979d..3634e0f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,7 +22,8 @@ endif
override_dh_auto_install:
dh_auto_install
- -rm -r ./debian/ruby-psych/usr/bin
+ cd ./debian/ruby-psych/usr && rm -rf ./bin ./lib/ruby/vendor_ruby/psych.jar
+ jh_installlibs
override_dh_auto_test:
dh_auto_test
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-psych.git
More information about the Pkg-ruby-extras-commits
mailing list