This is an automated email from the git hooks/post-receive script. ebourg-guest pushed a commit to branch master in repository scala-parser-combinators.
commit 122d4c74a7ea9165c0c325d26050fa408d0c7d88 Author: Emmanuel Bourg <[email protected]> Date: Wed Jun 17 15:28:48 2015 +0200 Initial packaging --- debian/changelog | 5 +++ debian/compat | 1 + debian/control | 19 ++++++++++++ debian/copyright | 40 ++++++++++++++++++++++++ debian/manifest | 32 +++++++++++++++++++ debian/pom.xml | 60 ++++++++++++++++++++++++++++++++++++ debian/rules | 28 +++++++++++++++++ debian/scala-parser-combinators.poms | 1 + debian/source/format | 1 + debian/watch | 2 ++ 10 files changed, 189 insertions(+) diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..7f919f4 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +scala-parser-combinators (1.0.3-1) unstable; urgency=medium + + * Initial release. (Closes: #789061) + + -- Emmanuel Bourg <[email protected]> Wed, 17 Jun 2015 08:12:57 +0200 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..449bc44 --- /dev/null +++ b/debian/control @@ -0,0 +1,19 @@ +Source: scala-parser-combinators +Section: devel +Priority: optional +Maintainer: Debian Java Maintainers <[email protected]> +Uploaders: Emmanuel Bourg <[email protected]> +Build-Depends: debhelper (>= 9), maven-repo-helper, scala (>= 2.11) +Standards-Version: 3.9.6 +Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/scala-parser-combinators.git +Vcs-Git: git://anonscm.debian.org/pkg-java/scala-parser-combinators.git +Homepage: https://github.com/scala/scala-parser-combinators + +Package: scala-parser-combinators +Architecture: all +Depends: ${misc:Depends} +Description: Scala Standard Parser Combinator Library + Scala is a Java-compatible programming language with many + modern language features. + . + This package contains the standard Scala parser combinator library. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..9ee6e30 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,40 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Scala Standard Parser Combinator Library +Source: https://github.com/scala/scala-parser-combinators + +Files: * +Copyright: 2002-2013, LAMP/EPFL + 2011-2013, Typesafe, Inc. +License: BSD-3-clause + +Files: debian/* +Copyright: 2015, Emmanuel Bourg +License: BSD-3-clause + +License: BSD-3-clause + Permission to use, copy, modify, and distribute this software in source + or binary form for any purpose with or without fee is hereby granted, + provided that the following conditions are met: + . + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + . + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + . + 3. Neither the name of the EPFL nor the names of its contributors + may be used to endorse or promote products derived from this + software without specific prior written permission. + . + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. diff --git a/debian/manifest b/debian/manifest new file mode 100644 index 0000000..53959d7 --- /dev/null +++ b/debian/manifest @@ -0,0 +1,32 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: org.scala-lang.modules.scala-parser-combinators +Bundle-SymbolicName: org.scala-lang.modules.scala-parser-combinators +Bundle-Version: 1.0.3 +Export-Package: scala.util.parsing.combinator;version="1.0.3";uses:="sca + la,scala.collection,scala.collection.immutable,scala.collection.mutable + ,scala.reflect,scala.runtime,scala.util,scala.util.matching,scala.util. + parsing.input",scala.util.parsing.combinator.lexical;version="1.0.3";us + es:="scala,scala.collection,scala.collection.immutable,scala.collection + .mutable,scala.reflect,scala.runtime,scala.util,scala.util.parsing.comb + inator,scala.util.parsing.combinator.token,scala.util.parsing.input",sc + ala.util.parsing.combinator.syntactical;version="1.0.3";uses:="scala,sc + ala.collection,scala.collection.immutable,scala.collection.mutable,scal + a.reflect,scala.runtime,scala.util,scala.util.parsing.combinator,scala. + util.parsing.combinator.lexical,scala.util.parsing.combinator.token,sca + la.util.parsing.input",scala.util.parsing.combinator.token;version="1.0 + .3";uses:="scala,scala.collection,scala.reflect,scala.runtime",scala.ut + il.parsing.input;version="1.0.3";uses:="scala,scala.collection,scala.co + llection.immutable,scala.collection.mutable,scala.reflect,scala.runtime + ",scala.util.parsing.json;version="1.0.3";uses:="scala,scala.collection + ,scala.collection.immutable,scala.collection.mutable,scala.reflect,scal + a.runtime,scala.util,scala.util.parsing.combinator,scala.util.parsing.c + ombinator.lexical,scala.util.parsing.combinator.syntactical,scala.util. + parsing.combinator.token,scala.util.parsing.input" +Import-Package: scala;version="[2.11,3)",scala.collection;version="[2.11 + ,3)",scala.collection.generic;version="[2.11,3)",scala.collection.immut + able;version="[2.11,3)",scala.collection.mutable;version="[2.11,3)",sca + la.math;version="[2.11,3)",scala.reflect;version="[2.11,3)",scala.runti + me;version="[2.11,3)",scala.sys;version="[2.11,3)",scala.util;version=" + [2.11,3)",scala.util.matching;version="[2.11,3)" +Private-Package: scala-parser-combinators.properties diff --git a/debian/pom.xml b/debian/pom.xml new file mode 100644 index 0000000..18e7438 --- /dev/null +++ b/debian/pom.xml @@ -0,0 +1,60 @@ +<?xml version='1.0' encoding='UTF-8'?> +<project 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" xmlns="http://maven.apache.org/POM/4.0.0"> + <modelVersion>4.0.0</modelVersion> + <groupId>org.scala-lang.modules</groupId> + <artifactId>scala-parser-combinators_2.11</artifactId> + <packaging>bundle</packaging> + <description>scala-parser-combinators</description> + <url>http://www.scala-lang.org/</url> + <version>1.0.3</version> + <licenses> + <license> + <name>BSD 3-clause</name> + <url>http://opensource.org/licenses/BSD-3-Clause</url> + <distribution>repo</distribution> + </license> + </licenses> + <name>scala-parser-combinators</name> + <inceptionYear>2002</inceptionYear> + <organization> + <name>org.scala-lang.modules</name> + <url>http://www.scala-lang.org/</url> + </organization> + <scm> + <url>https://github.com/scala/scala-parser-combinators</url> + <connection>scm:git:git://github.com/scala/scala-parser-combinators.git</connection> + </scm> + <issueManagement> + <system>JIRA</system> + <url>https://issues.scala-lang.org/</url> + </issueManagement> + <developers> + <developer> + <id>epfl</id> + <name>EPFL</name> + </developer> + <developer> + <id>Typesafe</id> + <name>Typesafe, Inc.</name> + </developer> + </developers> + <dependencies> + <dependency> + <groupId>org.scala-lang</groupId> + <artifactId>scala-library</artifactId> + <version>2.11.2</version> + </dependency> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>4.11</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>com.novocode</groupId> + <artifactId>junit-interface</artifactId> + <version>0.10</version> + <scope>test</scope> + </dependency> + </dependencies> +</project> \ No newline at end of file diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..5fcb475 --- /dev/null +++ b/debian/rules @@ -0,0 +1,28 @@ +#!/usr/bin/make -f + +%: + dh $@ --with maven_repo_helper + +PACKAGE=$(shell dpkg-parsechangelog --show-field Source) + +SCALA_VERSION=$(shell scala -version 2>&1 | cut -f 5 -d ' ') +SCALA_MAJOR=$(shell scala -version 2>&1 | cut -f 5 -d ' ' | cut -f 1 -d '.') +SCALA_MINOR=$(shell scala -version 2>&1 | cut -f 5 -d ' ' | cut -f 2 -d '.') +SCALA_BINARY_VERSION=$(SCALA_MAJOR).$(SCALA_MINOR) +VERSION=$(shell dpkg-parsechangelog | sed -rne 's/^Version: ([0-9.]+)[-+].*$$/\1/p') + +override_dh_auto_build: + mkdir -p target/classes + scalac -d target/classes $(shell find src/main/scala -name *.scala) + + echo "scala.version.number=$(SCALA_VERSION)" >> target/classes/$(PACKAGE).properties + echo "scala.binary.version.number=$(SCALA_BINARY_VERSION)" >> target/classes/$(PACKAGE).properties + echo "version.number=$(VERSION)" >> target/classes/$(PACKAGE).properties + + jar cfm target/$(PACKAGE).jar debian/manifest -C target/classes . + +override_dh_auto_clean: + rm -Rf target + +get-orig-source: + uscan --download-current-version --rename diff --git a/debian/scala-parser-combinators.poms b/debian/scala-parser-combinators.poms new file mode 100644 index 0000000..953108d --- /dev/null +++ b/debian/scala-parser-combinators.poms @@ -0,0 +1 @@ +debian/pom.xml --has-package-version --java-lib --artifact=target/scala-parser-combinators.jar 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..f9ef7c5 --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +https://github.com/scala/scala-parser-combinators/tags .*/v([\d\.]+).tar.gz -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/scala-parser-combinators.git _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

