This is an automated email from the git hooks/post-receive script. ebourg-guest pushed a commit to branch master in repository groovycsv.
commit 5cdc14c4ff941764e8a4d136263d4245dd66e797 Author: Emmanuel Bourg <[email protected]> Date: Mon Oct 26 23:39:04 2015 +0100 Initial packaging --- debian/changelog | 5 +++ debian/compat | 1 + debian/control | 22 +++++++++++ debian/copyright | 17 ++++++++ debian/libgroovycsv-java.poms | 28 ++++++++++++++ debian/maven.ignoreRules | 5 +++ debian/maven.rules | 2 + debian/patches/01-ignore-gpg-plugin.patch | 14 +++++++ debian/patches/02-gradle-compatibility.patch | 18 +++++++++ debian/patches/series | 2 + debian/pom.xml | 58 ++++++++++++++++++++++++++++ debian/rules | 9 +++++ debian/source/format | 1 + debian/watch | 2 + 14 files changed, 184 insertions(+) diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..42cf62e --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +groovycsv (1.0-1) unstable; urgency=medium + + * Initial release (Closes: #801998) + + -- Emmanuel Bourg <[email protected]> Mon, 26 Oct 2015 23:04:13 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..20b1d3d --- /dev/null +++ b/debian/control @@ -0,0 +1,22 @@ +Source: groovycsv +Section: java +Priority: optional +Maintainer: Debian Java Maintainers <[email protected]> +Uploaders: Emmanuel Bourg <[email protected]> +Build-Depends: debhelper (>= 9), + default-jdk, + gradle-debian-helper, + libopencsv-java, + maven-repo-helper +Standards-Version: 3.9.6 +Vcs-Git: git://anonscm.debian.org/pkg-java/groovycsv.git +Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/groovycsv.git +Homepage: http://github.com/xlson/groovycsv + +Package: libgroovycsv-java +Architecture: all +Depends: libopencsv-java, ${misc:Depends} +Description: CSV parsing library for Groovy + GroovyCSV is a library to make CSV processing just a little bit + Groovier. The library uses opencsv behind the scenes and merely + tries to add a thin layer of “Groovy-ness” to the mix. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..5f4c0f9 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,17 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: GroovyCSV +Source: http://github.com/xlson/groovycsv +Files-Excluded: gradlew* + gradle/ + +Files: * +Copyright: 2010-2015, Leonard Axelsson <[email protected]> +License: Apache-2.0 + +Files: debian/* +Copyright: 2015, Emmanuel Bourg <[email protected]> +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/libgroovycsv-java.poms b/debian/libgroovycsv-java.poms new file mode 100644 index 0000000..34e0d5b --- /dev/null +++ b/debian/libgroovycsv-java.poms @@ -0,0 +1,28 @@ +# List of POM files for the package +# Format of this file is: +# <path to pom file> [option]* +# where option can be: +# --ignore: ignore this POM and its artifact if any +# --ignore-pom: don't install the POM. To use on POM files that are created +# temporarily for certain artifacts such as Javadoc jars. [mh_install, mh_installpoms] +# --no-parent: remove the <parent> tag from the POM +# --package=<package>: an alternative package to use when installing this POM +# and its artifact +# --has-package-version: to indicate that the original version of the POM is the same as the upstream part +# of the version for the package. +# --keep-elements=<elem1,elem2>: a list of XML elements to keep in the POM +# during a clean operation with mh_cleanpom or mh_installpom +# --artifact=<path>: path to the build artifact associated with this POM, +# it will be installed when using the command mh_install. [mh_install] +# --java-lib: install the jar into /usr/share/java to comply with Debian +# packaging guidelines +# --usj-name=<name>: name to use when installing the library in /usr/share/java +# --usj-version=<version>: version to use when installing the library in /usr/share/java +# --no-usj-versionless: don't install the versionless link in /usr/share/java +# --dest-jar=<path>: the destination for the real jar. +# It will be installed with mh_install. [mh_install] +# --classifier=<classifier>: Optional, the classifier for the jar. Empty by default. +# --site-xml=<location>: Optional, the location for site.xml if it needs to be installed. +# Empty by default. [mh_install] +# +debian/pom.xml --has-package-version --java-lib --artifact=build/libs/groovycsv-*.jar diff --git a/debian/maven.ignoreRules b/debian/maven.ignoreRules new file mode 100644 index 0000000..e85b6ed --- /dev/null +++ b/debian/maven.ignoreRules @@ -0,0 +1,5 @@ + +cglib cglib-nodep * * * * +de.huxhorn.gradle de.huxhorn.gradle.pgp-plugin * * * * +org.objenesis objenesis * * * * +org.spockframework spock-core * * * * diff --git a/debian/maven.rules b/debian/maven.rules new file mode 100644 index 0000000..d188a8d --- /dev/null +++ b/debian/maven.rules @@ -0,0 +1,2 @@ +org.codehaus.groovy groovy-all * s/.*/2.x/ * * +cglib cglib-nodep * s/.*/3.x/ * * diff --git a/debian/patches/01-ignore-gpg-plugin.patch b/debian/patches/01-ignore-gpg-plugin.patch new file mode 100644 index 0000000..8f792b0 --- /dev/null +++ b/debian/patches/01-ignore-gpg-plugin.patch @@ -0,0 +1,14 @@ +Description: Ignore the GPG plugin (not needed) +Author: Emmanuel Bourg <[email protected]> +Forwarded: not-needed +--- a/build.gradle ++++ b/build.gradle +@@ -10,7 +10,7 @@ + + apply plugin: 'groovy' + apply plugin: 'maven' +-apply plugin: de.huxhorn.gradle.pgp.PgpPlugin ++//apply plugin: de.huxhorn.gradle.pgp.PgpPlugin + apply plugin: 'idea' + + repositories { diff --git a/debian/patches/02-gradle-compatibility.patch b/debian/patches/02-gradle-compatibility.patch new file mode 100644 index 0000000..b930fa3 --- /dev/null +++ b/debian/patches/02-gradle-compatibility.patch @@ -0,0 +1,18 @@ +Description: Fixes the compatibility with the latest version of Gradle +Origin: backport, https://github.com/xlson/groovycsv/commit/1e3d41e +--- a/build.gradle ++++ b/build.gradle +@@ -15,11 +15,11 @@ + + repositories { + mavenCentral() +- mavenRepo urls: "http://m2repo.spockframework.org/snapshots" ++ maven { url "http://m2repo.spockframework.org/snapshots" } + } + + dependencies { +- groovy group: 'org.codehaus.groovy', name: 'groovy-all', version: '1.7.3' ++ compile group: 'org.codehaus.groovy', name: 'groovy-all', version: '1.7.3' + compile 'net.sf.opencsv:opencsv:2.1' + testCompile "org.spockframework:spock-core:0.4-groovy-1.7" + testCompile "cglib:cglib-nodep:2.2" diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..2d0d234 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1,2 @@ +01-ignore-gpg-plugin.patch +02-gradle-compatibility.patch diff --git a/debian/pom.xml b/debian/pom.xml new file mode 100644 index 0000000..29f4893 --- /dev/null +++ b/debian/pom.xml @@ -0,0 +1,58 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <groupId>com.xlson.groovycsv</groupId> + <artifactId>groovycsv</artifactId> + <version>1.0</version> + <packaging>jar</packaging> + <name>GroovyCSV</name> + <description>Library for parsing csv in Groovy</description> + <url>http://github.com/xlson/groovycsv</url> + <inceptionYear>2010</inceptionYear> + <licenses> + <license> + <name>The Apache Software License, Version 2.0</name> + <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> + <distribution>repo</distribution> + </license> + </licenses> + <developers> + <developer> + <id>xlson</id> + <name>Leonard Axelsson</name> + <email>[email protected]</email> + <url>http://xlson.com/</url> + <timezone>+1</timezone> + </developer> + </developers> + <scm> + <connection>http://github.com/xlson/groovycsv</connection> + <url>scm:git:[email protected]:xlson/groovycsv.git</url> + </scm> + <dependencies> + <dependency> + <groupId>org.objenesis</groupId> + <artifactId>objenesis</artifactId> + <version>1.2</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>net.sf.opencsv</groupId> + <artifactId>opencsv</artifactId> + <version>2.1</version> + <scope>compile</scope> + </dependency> + <dependency> + <groupId>org.spockframework</groupId> + <artifactId>spock-core</artifactId> + <version>0.4-groovy-1.7</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>cglib</groupId> + <artifactId>cglib-nodep</artifactId> + <version>2.2</version> + <scope>test</scope> + </dependency> + </dependencies> +</project> diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..6db8e05 --- /dev/null +++ b/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f + +export JAVA_HOME := /usr/lib/jvm/default-java + +%: + dh $@ --buildsystem=gradle --with maven-repo-helper + +get-orig-source: + uscan --download-current-version --force-download --no-symlink 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..a1d5359 --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +https://github.com/xlson/groovycsv/tags .*/([\d\.]+).tar.gz -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/groovycsv.git _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

