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

seamlik-guest pushed a commit to branch master
in repository uncommons-watchmaker.

commit d96f1e901712839a4410acbaaa470c6914d3425e
Author: Kai-Chung Yan (殷啟聰) <seamli...@gmail.com>
Date:   Thu Nov 17 23:31:47 2016 +0800

    Initial packaging
---
 debian/.gitignore                                  | 10 ++++
 debian/build.gradle                                | 37 +++++++++++++++
 debian/changelog                                   |  5 ++
 debian/compat                                      |  1 +
 debian/control                                     | 55 ++++++++++++++++++++++
 debian/copyright                                   | 17 +++++++
 debian/libuncommons-watchmaker-framework-java.poms |  1 +
 debian/libuncommons-watchmaker-swing-java.poms     |  1 +
 debian/rules                                       | 13 +++++
 debian/settings.gradle                             |  5 ++
 debian/source/format                               |  1 +
 debian/uncommons-watchmaker-doc.javadoc            |  1 +
 debian/watch                                       |  2 +
 13 files changed, 149 insertions(+)

diff --git a/debian/.gitignore b/debian/.gitignore
new file mode 100644
index 0000000..a6767be
--- /dev/null
+++ b/debian/.gitignore
@@ -0,0 +1,10 @@
+/.debhelper/
+/.javahelper_clean
+/.mh/
+/*.doc-base.javadoc
+/*.log
+/*.substvars
+/debhelper-build-stamp
+/files
+/lib*-java*/
+/uncommons-watchmaker-doc/
\ No newline at end of file
diff --git a/debian/build.gradle b/debian/build.gradle
new file mode 100644
index 0000000..ce4ba07
--- /dev/null
+++ b/debian/build.gradle
@@ -0,0 +1,37 @@
+subprojects {
+  apply plugin: 'java'
+  group = 'org.uncommons.watchmaker'
+  archivesBaseName = "watchmaker-$name"
+  version = DEB_VERSION_UPSTREAM
+  sourceSets.main.java { srcDir 'src/java/main' }
+}
+
+project(':framework') {
+  dependencies {
+    compile 'com.google.guava:guava:debian'
+    compile 'org.uncommons.maths:uncommons-maths:debian'
+  }
+}
+
+project(':swing') {
+  dependencies {
+    compile project(':framework')
+    compile 'org.jfree:jfreechart:debian'
+  }
+}
+
+task javadocAll(type: Javadoc) {
+  source subprojects.collect { project -> project.sourceSets.main.allJava }
+  classpath = files(subprojects.collect { project ->
+    project.sourceSets.main.compileClasspath
+  })
+  title = "Watchmaker Framework for Evolutionary Computation API 
$DEB_VERSION_UPSTREAM"
+  exclude '**/internal/**'
+  options.links(
+    'file:///usr/share/doc/default-jdk-doc/api',
+    'file:///usr/share/doc/libuncommons-maths-java/api'
+  )
+  destinationDir = file("${buildDir}/javadoc")
+}
+
+defaultTasks 'assemble', 'javadocAll'
\ No newline at end of file
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..a0008af
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+uncommons-watchmaker (0.7.1-1) UNRELEASED; urgency=medium
+
+  * Initial release (Closes: #XXXXXX)
+
+ -- Kai-Chung Yan <seamli...@gmail.com>  Mon, 30 May 2016 23:50:25 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..9a03714
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+10
\ No newline at end of file
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..9a87dea
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,55 @@
+Source: uncommons-watchmaker
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers 
<pkg-java-maintain...@lists.alioth.debian.org>
+Uploaders: Kai-Chung Yan <seamli...@gmail.com>
+Build-Depends: debhelper (>= 10),
+               default-jdk-doc,
+               default-jdk-headless | default-jdk,
+               gradle-debian-helper,
+               javahelper,
+               libguava-java,
+               libjfreechart-java,
+               libuncommons-maths-java,
+               libuncommons-maths-java-doc,
+               maven-repo-helper
+Standards-Version: 3.9.8
+Vcs-Git: https://anonscm.debian.org/git/pkg-java/uncommons-watchmaker.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/uncommons-watchmaker.git
+Homepage: http://watchmaker.uncommons.org
+
+Package: libuncommons-watchmaker-framework-java
+Architecture: all
+Depends: libguava-java,
+         libuncommons-maths-java,
+         ${misc:Depends}
+Suggests: uncommons-watchmaker-doc
+Description: Framework for Evolutionary Computation
+ The Watchmaker Framework for Evolutionary Computation is an extensible,
+ high-performance, object-oriented framework for implementing
+ platform-independent evolutionary algorithms in Java.
+
+Package: libuncommons-watchmaker-swing-java
+Architecture: all
+Depends: libjfreechart-java,
+         libuncommons-watchmaker-framework-java (>= ${source:Version}),
+         ${misc:Depends}
+Suggests: watchmaker-doc
+Description: Framework for Evolutionary Computation - Swing library
+ The Watchmaker Framework for Evolutionary Computation is an extensible,
+ high-performance, object-oriented framework for implementing
+ platform-independent evolutionary algorithms in Java.
+ .
+ This package provides classes to simplify the development of Swing GUIs for
+ evolutionary programs
+
+Package: uncommons-watchmaker-doc
+Section: doc
+Architecture: all
+Depends: default-jdk-doc, libuncommons-maths-java-doc, ${misc:Depends}
+Description: Framework for Evolutionary Computation - Documentations
+ The Watchmaker Framework for Evolutionary Computation is an extensible,
+ high-performance, object-oriented framework for implementing
+ platform-independent evolutionary algorithms in Java.
+ .
+ This package contains the API Javadoc.
\ No newline at end of file
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..dfd2824
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,17 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0
+Source: https://github.com/dwdyer/watchmaker
+Upstream-Name: Watchmaker Framework
+Upstream-Contact: Daniel Dyer W. <d...@uncommons.org>
+Files-Excluded: *.jar
+
+Files: *
+Copyright: 2006-2010 Daniel W. Dyer
+License: Apache-2.0
+
+Files: debian/*
+Copyright: 2016, Kai-Chung Yan (殷啟聰)
+License: Apache-2.0
+
+License: Apache-2.0
+ On Debian systems, the full text of the Apache-2.0 license
+ can be found in the file '/usr/share/common-licenses/Apache-2.0'
diff --git a/debian/libuncommons-watchmaker-framework-java.poms 
b/debian/libuncommons-watchmaker-framework-java.poms
new file mode 100644
index 0000000..c8054c2
--- /dev/null
+++ b/debian/libuncommons-watchmaker-framework-java.poms
@@ -0,0 +1 @@
+framework/build/debian/watchmaker-framework.pom --java-lib 
--artifact=framework/build/libs/*.jar --usj-name=uncommons-watchmaker-framework
diff --git a/debian/libuncommons-watchmaker-swing-java.poms 
b/debian/libuncommons-watchmaker-swing-java.poms
new file mode 100644
index 0000000..a60a97a
--- /dev/null
+++ b/debian/libuncommons-watchmaker-swing-java.poms
@@ -0,0 +1 @@
+swing/build/debian/watchmaker-swing.pom --java-lib 
--artifact=swing/build/libs/*.jar --usj-name=uncommons-watchmaker-swing
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..53fb894
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+
+include /usr/share/dpkg/pkg-info.mk
+
+%:
+       dh $@ --buildsystem=gradle --with=javahelper,maven-repo-helper
+
+override_dh_auto_build:
+       dh_auto_build -- --settings-file debian/settings.gradle \
+                        --project-prop 
DEB_VERSION_UPSTREAM=$(DEB_VERSION_UPSTREAM)
+
+get-orig-source:
+       uscan --download-current-version --force-download --repack 
--compression xz
\ No newline at end of file
diff --git a/debian/settings.gradle b/debian/settings.gradle
new file mode 100644
index 0000000..d6795b9
--- /dev/null
+++ b/debian/settings.gradle
@@ -0,0 +1,5 @@
+rootProject.projectDir = file('..')
+rootProject.buildFileName = 'debian/build.gradle'
+
+include ':framework'
+include ':swing'
\ No newline at end of file
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..46ebe02
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
\ No newline at end of file
diff --git a/debian/uncommons-watchmaker-doc.javadoc 
b/debian/uncommons-watchmaker-doc.javadoc
new file mode 100644
index 0000000..73a68dc
--- /dev/null
+++ b/debian/uncommons-watchmaker-doc.javadoc
@@ -0,0 +1 @@
+build/javadoc   usr/share/doc/uncommons-watchmaker-doc/api
\ No newline at end of file
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..6943ee4
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=4
+https://github.com/dwdyer/watchmaker/tags 
/dwdyer/watchmaker/archive/Release@any_vers...@.tar.gz
\ No newline at end of file

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

_______________________________________________
pkg-java-commits mailing list
pkg-java-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

Reply via email to