[puppetlabs-http-client-clojure] 01/01: Initial Debian packaging

Apollon Oikonomopoulos apoikos at moszumanska.debian.org
Mon Aug 7 18:46:55 UTC 2017


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

apoikos pushed a commit to branch master
in repository puppetlabs-http-client-clojure.

commit 7d05ec0fd84d825b247a21450e8b94284da958ee
Author: Apollon Oikonomopoulos <apoikos at debian.org>
Date:   Sat Aug 5 14:30:32 2017 -0400

    Initial Debian packaging
---
 debian/.gitignore                              |   1 +
 debian/changelog                               |   5 +
 debian/compat                                  |   1 +
 debian/control                                 |  36 ++
 debian/copyright                               |  27 ++
 debian/footer.html                             |   2 +
 debian/header.html                             |   6 +
 debian/libpuppetlabs-http-client-clojure.docs  |   1 +
 debian/libpuppetlabs-http-client-clojure.jlibs |   1 +
 debian/libpuppetlabs-http-client-clojure.poms  |   1 +
 debian/pom.xml                                 | 578 +++++++++++++++++++++++++
 debian/rules                                   |  42 ++
 debian/source/format                           |   1 +
 debian/watch                                   |   3 +
 14 files changed, 705 insertions(+)

diff --git a/debian/.gitignore b/debian/.gitignore
new file mode 100644
index 0000000..87ed251
--- /dev/null
+++ b/debian/.gitignore
@@ -0,0 +1 @@
+!pom.xml
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..d78fc8f
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+puppetlabs-http-client-clojure (0.9.0-1) unstable; urgency=medium
+
+  * Initial release (Closes: #855764)
+
+ -- Apollon Oikonomopoulos <apoikos at debian.org>  Sat, 05 Aug 2017 14:30:01 -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..066e589
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,36 @@
+Source: puppetlabs-http-client-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:
+ debhelper (>= 10),
+ javahelper (>= 0.32),
+ maven-repo-helper (>= 1.7),
+ clojure (>= 1.8),
+ libtext-markdown-perl | markdown,
+ libhttpclient-java (>= 4.5.2),
+ libhttpcore-java (>= 4.4.5),
+ libhttpasyncclient-java (>= 4.1.2),
+ libprismatic-schema-clojure,
+ libcommons-io-java (>= 2.4),
+ libdropwizard-metrics-java (>= 3.1.2),
+ libslf4j-java (>= 1.7.20),
+ libssl-utils-clojure (>= 0.8.3),
+ libpuppetlabs-i18n-clojure (>= 0.8.0),
+ default-jdk-headless
+Standards-Version: 4.0.0
+Vcs-Git: https://anonscm.debian.org/git/pkg-java/puppetlabs-http-client-clojure.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/puppetlabs-http-client-clojure.git
+Homepage: https://github.com/puppetlabs/clj-http-client
+
+Package: libpuppetlabs-http-client-clojure
+Architecture: all
+Depends:
+ ${java:Depends},
+ ${misc:Depends}
+Recommends: ${java:Recommends}
+Description: Clojure wrapper around libhttpasyncclient-java
+ puppetlabs-http-client is a wrapper around the Apache HttpAsyncClient
+ library providing some extra functionality for configuring SSL in a way
+ compatible with Puppet.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..fbfe50d
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,27 @@
+Format: http://dep.debian.net/deps/dep5
+Upstream-Name: puppetlabs-http-client
+Source: https://github.com/puppetlabs/clj-http-client
+
+Files: *
+Copyright: 2014-2017 Puppet Labs
+License: Apache-2.0
+
+Files: debian/*
+Copyright: 2017 Apollon Oikonomopoulos <apoikos at debian.org>
+License: Apache-2.0
+
+License: Apache-2.0
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ .
+     http://www.apache.org/licenses/LICENSE-2.0
+ .
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ .
+ On Debian systems, the complete text of the Apache License 2.0 can
+ be found in "/usr/share/common-licenses/Apache-2.0"
diff --git a/debian/footer.html b/debian/footer.html
new file mode 100644
index 0000000..308b1d0
--- /dev/null
+++ b/debian/footer.html
@@ -0,0 +1,2 @@
+</body>
+</html>
diff --git a/debian/header.html b/debian/header.html
new file mode 100644
index 0000000..c95191c
--- /dev/null
+++ b/debian/header.html
@@ -0,0 +1,6 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html>
+<head>
+<title>@TITLE@</title>
+</head>
+<body>
diff --git a/debian/libpuppetlabs-http-client-clojure.docs b/debian/libpuppetlabs-http-client-clojure.docs
new file mode 100644
index 0000000..dd44972
--- /dev/null
+++ b/debian/libpuppetlabs-http-client-clojure.docs
@@ -0,0 +1 @@
+*.md
diff --git a/debian/libpuppetlabs-http-client-clojure.jlibs b/debian/libpuppetlabs-http-client-clojure.jlibs
new file mode 100644
index 0000000..c990bf6
--- /dev/null
+++ b/debian/libpuppetlabs-http-client-clojure.jlibs
@@ -0,0 +1 @@
+puppetlabs-http-client.jar
diff --git a/debian/libpuppetlabs-http-client-clojure.poms b/debian/libpuppetlabs-http-client-clojure.poms
new file mode 100644
index 0000000..37f1f43
--- /dev/null
+++ b/debian/libpuppetlabs-http-client-clojure.poms
@@ -0,0 +1 @@
+debian/pom.xml --usj-name=puppetlabs-http-client
diff --git a/debian/pom.xml b/debian/pom.xml
new file mode 100644
index 0000000..78ea3ef
--- /dev/null
+++ b/debian/pom.xml
@@ -0,0 +1,578 @@
+<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>puppetlabs</groupId>
+  <artifactId>http-client</artifactId>
+  <packaging>jar</packaging>
+  <version>0.9.0</version>
+  <name>http-client</name>
+  <description>HTTP client wrapper</description>
+  <licenses>
+    <license>
+      <name>Apache License, Version 2.0</name>
+      <url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
+    </license>
+  </licenses>
+  <scm>
+    <tag>72067e9f1ff8d252f490309fd7597eb10ff435c9
+</tag>
+    <url/>
+  </scm>
+  <build>
+    <sourceDirectory>src/clj</sourceDirectory>
+    <testSourceDirectory>test</testSourceDirectory>
+    <resources>
+      <resource>
+        <directory>resources</directory>
+      </resource>
+    </resources>
+    <testResources>
+      <testResource>
+        <directory>resources</directory>
+      </testResource>
+    </testResources>
+    <directory>target</directory>
+    <outputDirectory>target/classes</outputDirectory>
+    <plugins>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>build-helper-maven-plugin</artifactId>
+        <version>1.7</version>
+        <executions>
+          <execution>
+            <id>add-source</id>
+            <phase>generate-sources</phase>
+            <goals>
+              <goal>add-source</goal>
+            </goals>
+            <configuration>
+              <sources>
+                <source>src/java</source>
+              </sources>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+  <repositories>
+    <repository>
+      <id>central</id>
+      <url>https://repo1.maven.org/maven2/</url>
+      <snapshots>
+        <enabled>false</enabled>
+      </snapshots>
+      <releases>
+        <enabled>true</enabled>
+      </releases>
+    </repository>
+    <repository>
+      <id>clojars</id>
+      <url>https://clojars.org/repo/</url>
+      <snapshots>
+        <enabled>true</enabled>
+      </snapshots>
+      <releases>
+        <enabled>true</enabled>
+      </releases>
+    </repository>
+  </repositories>
+  <dependencyManagement>
+    <dependencies>
+      <dependency>
+        <groupId>org.clojure</groupId>
+        <artifactId>clojure</artifactId>
+        <version>1.8.0</version>
+      </dependency>
+      <dependency>
+        <groupId>org.clojure</groupId>
+        <artifactId>clojurescript</artifactId>
+        <version>1.7.122</version>
+      </dependency>
+      <dependency>
+        <groupId>org.clojure</groupId>
+        <artifactId>tools.logging</artifactId>
+        <version>0.3.1</version>
+      </dependency>
+      <dependency>
+        <groupId>org.clojure</groupId>
+        <artifactId>tools.cli</artifactId>
+        <version>0.3.4</version>
+      </dependency>
+      <dependency>
+        <groupId>org.clojure</groupId>
+        <artifactId>tools.nrepl</artifactId>
+        <version>0.2.6</version>
+      </dependency>
+      <dependency>
+        <groupId>org.clojure</groupId>
+        <artifactId>tools.macro</artifactId>
+        <version>0.1.5</version>
+      </dependency>
+      <dependency>
+        <groupId>org.clojure</groupId>
+        <artifactId>java.classpath</artifactId>
+        <version>0.2.3</version>
+      </dependency>
+      <dependency>
+        <groupId>org.clojure</groupId>
+        <artifactId>java.jdbc</artifactId>
+        <version>0.6.2-alpha3</version>
+      </dependency>
+      <dependency>
+        <groupId>org.clojure</groupId>
+        <artifactId>java.jmx</artifactId>
+        <version>0.3.1</version>
+      </dependency>
+      <dependency>
+        <groupId>org.clojure</groupId>
+        <artifactId>core.async</artifactId>
+        <version>0.2.391</version>
+      </dependency>
+      <dependency>
+        <groupId>org.clojure</groupId>
+        <artifactId>core.cache</artifactId>
+        <version>0.6.5</version>
+      </dependency>
+      <dependency>
+        <groupId>org.clojure</groupId>
+        <artifactId>core.memoize</artifactId>
+        <version>0.5.9</version>
+      </dependency>
+      <dependency>
+        <groupId>org.clojure</groupId>
+        <artifactId>tools.reader</artifactId>
+        <version>1.0.0-beta2</version>
+      </dependency>
+      <dependency>
+        <groupId>org.clojure</groupId>
+        <artifactId>tools.namespace</artifactId>
+        <version>0.2.10</version>
+      </dependency>
+      <dependency>
+        <groupId>org.clojure</groupId>
+        <artifactId>data.json</artifactId>
+        <version>0.2.6</version>
+      </dependency>
+      <dependency>
+        <groupId>org.clojure</groupId>
+        <artifactId>data.priority-map</artifactId>
+        <version>0.0.7</version>
+      </dependency>
+      <dependency>
+        <groupId>org.slf4j</groupId>
+        <artifactId>log4j-over-slf4j</artifactId>
+        <version>1.7.20</version>
+      </dependency>
+      <dependency>
+        <groupId>org.slf4j</groupId>
+        <artifactId>slf4j-api</artifactId>
+        <version>1.7.20</version>
+      </dependency>
+      <dependency>
+        <groupId>ch.qos.logback</groupId>
+        <artifactId>logback-classic</artifactId>
+        <version>1.1.9</version>
+      </dependency>
+      <dependency>
+        <groupId>ch.qos.logback</groupId>
+        <artifactId>logback-core</artifactId>
+        <version>1.1.9</version>
+      </dependency>
+      <dependency>
+        <groupId>ch.qos.logback</groupId>
+        <artifactId>logback-access</artifactId>
+        <version>1.1.9</version>
+      </dependency>
+      <dependency>
+        <groupId>net.logstash.logback</groupId>
+        <artifactId>logstash-logback-encoder</artifactId>
+        <version>4.7</version>
+      </dependency>
+      <dependency>
+        <groupId>org.codehaus.janino</groupId>
+        <artifactId>janino</artifactId>
+        <version>2.7.8</version>
+      </dependency>
+      <dependency>
+        <groupId>com.fasterxml.jackson.core</groupId>
+        <artifactId>jackson-core</artifactId>
+        <version>2.7.3</version>
+      </dependency>
+      <dependency>
+        <groupId>org.yaml</groupId>
+        <artifactId>snakeyaml</artifactId>
+        <version>1.13</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.maven.wagon</groupId>
+        <artifactId>wagon-provider-api</artifactId>
+        <version>2.10</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.commons</groupId>
+        <artifactId>commons-exec</artifactId>
+        <version>1.3</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.commons</groupId>
+        <artifactId>commons-compress</artifactId>
+        <version>1.8</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.commons</groupId>
+        <artifactId>commons-lang3</artifactId>
+        <version>3.4</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.httpcomponents</groupId>
+        <artifactId>httpclient</artifactId>
+        <version>4.5.2</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.httpcomponents</groupId>
+        <artifactId>httpcore</artifactId>
+        <version>4.4.5</version>
+      </dependency>
+      <dependency>
+        <groupId>commons-codec</groupId>
+        <artifactId>commons-codec</artifactId>
+        <version>1.10</version>
+      </dependency>
+      <dependency>
+        <groupId>commons-lang</groupId>
+        <artifactId>commons-lang</artifactId>
+        <version>2.6</version>
+      </dependency>
+      <dependency>
+        <groupId>commons-io</groupId>
+        <artifactId>commons-io</artifactId>
+        <version>2.4</version>
+      </dependency>
+      <dependency>
+        <groupId>joda-time</groupId>
+        <artifactId>joda-time</artifactId>
+        <version>2.8.2</version>
+      </dependency>
+      <dependency>
+        <groupId>clj-time</groupId>
+        <artifactId>clj-time</artifactId>
+        <version>0.11.0</version>
+      </dependency>
+      <dependency>
+        <groupId>circleci</groupId>
+        <artifactId>clj-yaml</artifactId>
+        <version>0.5.5</version>
+      </dependency>
+      <dependency>
+        <groupId>clj-stacktrace</groupId>
+        <artifactId>clj-stacktrace</artifactId>
+        <version>0.2.8</version>
+      </dependency>
+      <dependency>
+        <groupId>me.raynes</groupId>
+        <artifactId>fs</artifactId>
+        <version>1.4.6</version>
+      </dependency>
+      <dependency>
+        <groupId>slingshot</groupId>
+        <artifactId>slingshot</artifactId>
+        <version>0.12.2</version>
+      </dependency>
+      <dependency>
+        <groupId>cheshire</groupId>
+        <artifactId>cheshire</artifactId>
+        <version>5.6.1</version>
+      </dependency>
+      <dependency>
+        <groupId>compojure</groupId>
+        <artifactId>compojure</artifactId>
+        <version>1.5.0</version>
+      </dependency>
+      <dependency>
+        <groupId>quoin</groupId>
+        <artifactId>quoin</artifactId>
+        <version>0.1.2</version>
+      </dependency>
+      <dependency>
+        <groupId>ring</groupId>
+        <artifactId>ring-servlet</artifactId>
+        <version>1.5.0</version>
+      </dependency>
+      <dependency>
+        <groupId>ring</groupId>
+        <artifactId>ring-core</artifactId>
+        <version>1.4.0</version>
+      </dependency>
+      <dependency>
+        <groupId>ring</groupId>
+        <artifactId>ring-codec</artifactId>
+        <version>1.0.0</version>
+      </dependency>
+      <dependency>
+        <groupId>ring</groupId>
+        <artifactId>ring-json</artifactId>
+        <version>0.4.0</version>
+      </dependency>
+      <dependency>
+        <groupId>ring-basic-authentication</groupId>
+        <artifactId>ring-basic-authentication</artifactId>
+        <version>1.0.5</version>
+      </dependency>
+      <dependency>
+        <groupId>ring-mock</groupId>
+        <artifactId>ring-mock</artifactId>
+        <version>0.1.5</version>
+      </dependency>
+      <dependency>
+        <groupId>ring</groupId>
+        <artifactId>ring-defaults</artifactId>
+        <version>0.2.0</version>
+        <exclusions>
+          <exclusion>
+            <groupId>javax.servlet</groupId>
+            <artifactId>servlet-api</artifactId>
+          </exclusion>
+        </exclusions>
+      </dependency>
+      <dependency>
+        <groupId>stencil</groupId>
+        <artifactId>stencil</artifactId>
+        <version>0.5.0</version>
+      </dependency>
+      <dependency>
+        <groupId>beckon</groupId>
+        <artifactId>beckon</artifactId>
+        <version>0.1.1</version>
+      </dependency>
+      <dependency>
+        <groupId>hiccup</groupId>
+        <artifactId>hiccup</artifactId>
+        <version>1.0.5</version>
+      </dependency>
+      <dependency>
+        <groupId>liberator</groupId>
+        <artifactId>liberator</artifactId>
+        <version>0.12.0</version>
+      </dependency>
+      <dependency>
+        <groupId>org.tcrawley</groupId>
+        <artifactId>dynapath</artifactId>
+        <version>0.2.4</version>
+      </dependency>
+      <dependency>
+        <groupId>trptcolin</groupId>
+        <artifactId>versioneer</artifactId>
+        <version>0.2.0</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dropwizard.metrics</groupId>
+        <artifactId>metrics-core</artifactId>
+        <version>3.1.2</version>
+      </dependency>
+      <dependency>
+        <groupId>prismatic</groupId>
+        <artifactId>plumbing</artifactId>
+        <version>0.4.2</version>
+      </dependency>
+      <dependency>
+        <groupId>prismatic</groupId>
+        <artifactId>schema</artifactId>
+        <version>1.1.1</version>
+      </dependency>
+      <dependency>
+        <groupId>puppetlabs</groupId>
+        <artifactId>http-client</artifactId>
+        <version>0.8.0</version>
+      </dependency>
+      <dependency>
+        <groupId>puppetlabs</groupId>
+        <artifactId>jdbc-util</artifactId>
+        <version>0.6.1</version>
+      </dependency>
+      <dependency>
+        <groupId>puppetlabs</groupId>
+        <artifactId>typesafe-config</artifactId>
+        <version>0.1.5</version>
+      </dependency>
+      <dependency>
+        <groupId>puppetlabs</groupId>
+        <artifactId>ssl-utils</artifactId>
+        <version>0.8.3</version>
+      </dependency>
+      <dependency>
+        <groupId>puppetlabs</groupId>
+        <artifactId>kitchensink</artifactId>
+        <version>2.2.0</version>
+      </dependency>
+      <dependency>
+        <groupId>puppetlabs</groupId>
+        <artifactId>kitchensink</artifactId>
+        <version>2.2.0</version>
+        <classifier>test</classifier>
+      </dependency>
+      <dependency>
+        <groupId>puppetlabs</groupId>
+        <artifactId>trapperkeeper</artifactId>
+        <version>1.5.2</version>
+      </dependency>
+      <dependency>
+        <groupId>puppetlabs</groupId>
+        <artifactId>trapperkeeper</artifactId>
+        <version>1.5.2</version>
+        <classifier>test</classifier>
+      </dependency>
+      <dependency>
+        <groupId>puppetlabs</groupId>
+        <artifactId>trapperkeeper-webserver-jetty9</artifactId>
+        <version>1.7.0</version>
+      </dependency>
+      <dependency>
+        <groupId>puppetlabs</groupId>
+        <artifactId>trapperkeeper-webserver-jetty9</artifactId>
+        <version>1.7.0</version>
+        <classifier>test</classifier>
+      </dependency>
+      <dependency>
+        <groupId>puppetlabs</groupId>
+        <artifactId>trapperkeeper-metrics</artifactId>
+        <version>1.0.0</version>
+      </dependency>
+      <dependency>
+        <groupId>puppetlabs</groupId>
+        <artifactId>trapperkeeper-metrics</artifactId>
+        <version>1.0.0</version>
+        <classifier>test</classifier>
+      </dependency>
+      <dependency>
+        <groupId>puppetlabs</groupId>
+        <artifactId>trapperkeeper-authorization</artifactId>
+        <version>0.7.0</version>
+      </dependency>
+      <dependency>
+        <groupId>puppetlabs</groupId>
+        <artifactId>trapperkeeper-scheduler</artifactId>
+        <version>0.1.0</version>
+      </dependency>
+      <dependency>
+        <groupId>puppetlabs</groupId>
+        <artifactId>trapperkeeper-status</artifactId>
+        <version>0.7.1</version>
+      </dependency>
+      <dependency>
+        <groupId>puppetlabs</groupId>
+        <artifactId>trapperkeeper-filesystem-watcher</artifactId>
+        <version>1.0.1</version>
+      </dependency>
+      <dependency>
+        <groupId>puppetlabs</groupId>
+        <artifactId>ring-middleware</artifactId>
+        <version>1.0.0</version>
+      </dependency>
+      <dependency>
+        <groupId>puppetlabs</groupId>
+        <artifactId>dujour-version-check</artifactId>
+        <version>0.2.1</version>
+      </dependency>
+      <dependency>
+        <groupId>puppetlabs</groupId>
+        <artifactId>comidi</artifactId>
+        <version>0.3.1</version>
+      </dependency>
+      <dependency>
+        <groupId>puppetlabs</groupId>
+        <artifactId>trapperkeeper-comidi-metrics</artifactId>
+        <version>0.1.1</version>
+      </dependency>
+      <dependency>
+        <groupId>puppetlabs</groupId>
+        <artifactId>i18n</artifactId>
+        <version>0.8.0</version>
+      </dependency>
+      <dependency>
+        <groupId>puppetlabs</groupId>
+        <artifactId>cljs-dashboard-widgets</artifactId>
+        <version>0.1.0</version>
+      </dependency>
+      <dependency>
+        <groupId>puppetlabs</groupId>
+        <artifactId>rbac-client</artifactId>
+        <version>0.6.2</version>
+      </dependency>
+    </dependencies>
+  </dependencyManagement>
+  <dependencies>
+    <dependency>
+      <groupId>org.clojure</groupId>
+      <artifactId>clojure</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.httpcomponents</groupId>
+      <artifactId>httpasyncclient</artifactId>
+      <version>4.1.2</version>
+    </dependency>
+    <dependency>
+      <groupId>prismatic</groupId>
+      <artifactId>schema</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>commons-io</groupId>
+      <artifactId>commons-io</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>io.dropwizard.metrics</groupId>
+      <artifactId>metrics-core</artifactId>
+      <version>3.1.2</version>
+    </dependency>
+    <dependency>
+      <groupId>puppetlabs</groupId>
+      <artifactId>ssl-utils</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>puppetlabs</groupId>
+      <artifactId>i18n</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>cheshire</groupId>
+      <artifactId>cheshire</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>puppetlabs</groupId>
+      <artifactId>kitchensink</artifactId>
+      <classifier>test</classifier>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>puppetlabs</groupId>
+      <artifactId>trapperkeeper</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>puppetlabs</groupId>
+      <artifactId>trapperkeeper</artifactId>
+      <classifier>test</classifier>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>puppetlabs</groupId>
+      <artifactId>trapperkeeper-webserver-jetty9</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>puppetlabs</groupId>
+      <artifactId>trapperkeeper-webserver-jetty9</artifactId>
+      <classifier>test</classifier>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>puppetlabs</groupId>
+      <artifactId>ring-middleware</artifactId>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+</project>
+
+<!-- This file was autogenerated by Leiningen.
+  Please do not edit it directly; instead edit project.clj and regenerate it.
+  It should not be considered canonical data. For more information see
+  https://github.com/technomancy/leiningen -->
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..b329327
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,42 @@
+#!/usr/bin/make -f
+
+include /usr/share/javahelper/java-vars.mk
+
+MDWN_DOCS = $(patsubst %.md,%.html,$(wildcard $(CURDIR)/*.md))
+
+PRODUCED_JAR=puppetlabs-http-client.jar
+JAVA_OPTIONS=-source 1.7 -target 1.7
+export CLASSPATH=/usr/share/java/clojure.jar:/usr/share/java/httpasyncclient.jar:/usr/share/java/prismatic-schema.jar:/usr/share/java/commons-io.jar:/usr/share/java/metrics-core.jar:/usr/share/java/ssl-utils.jar:/usr/share/java/puppetlabs-i18n.jar:/usr/share/java/httpclient.jar:/usr/share/java/httpcore.jar:/usr/share/java/slf4j-api.jar:/usr/share/java/httpcore-nio.jar
+
+%:
+	dh $@ --with javahelper --with jh_maven_repo_helper
+
+override_jh_build: $(MDWN_DOCS)
+	jh_build --no-javadoc --javacopts="-source 1.7 -target 1.7" $(PRODUCED_JAR) src/java
+	jar uf $(PRODUCED_JAR) -C src/clj .
+	mkdir -p $(CURDIR)/doc/html && mv $(CURDIR)/*.html $(CURDIR)/doc/html
+
+override_jh_classpath:
+	jh_classpath $(PRODUCED_JAR)
+
+override_jh_clean:
+	jh_clean
+	rm -f $(CURDIR)/$(PRODUCED_JAR)
+	rm -rf $(CURDIR)/doc/html
+	rm -f $(CURDIR)/*.html
+	rm -rf $(CURDIR)/resources
+
+override_dh_installdocs:
+	dh_installdocs -XCHANGELOG
+
+%.html:%.md
+	cat debian/header.html > $@
+	sed -i'' -e 's#@TITLE@#$(shell head -n 1 $< | sed 's/^#*\s*//')#g' $@
+	markdown $< >> $@
+	cat debian/footer.html >> $@
+
+#override_dh_auto_test:
+#	dh_auto_test
+#	(cd test && 	 find . -name "*.clj" | xargs clojure -cp $(CURDIR)/$(PRODUCED_JAR):$(CLASSPATH))
+
+.PHONY: override_dh_auto_build
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..57d5c80
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=4
+opts=filenamemangle=s!.*/archive/(.*)!clj-http-client-$1! \
+ https://github.com/puppetlabs/clj-http-client/releases	.*/archive/([\d.]+)\.tar\.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/puppetlabs-http-client-clojure.git



More information about the pkg-java-commits mailing list