This is an automated email from the git hooks/post-receive script. ebourg-guest pushed a commit to branch master in repository scala-xml.
commit da3091eb23c9c84adabfdd0e6a8c751b873ed616 Author: Emmanuel Bourg <[email protected]> Date: Wed Jun 17 08:34:34 2015 +0200 Initial packaging --- debian/changelog | 5 ++++ debian/compat | 1 + debian/control | 19 ++++++++++++++ debian/copyright | 51 ++++++++++++++++++++++++++++++++++++ debian/manifest | 41 +++++++++++++++++++++++++++++ debian/pom.xml | 72 +++++++++++++++++++++++++++++++++++++++++++++++++++ debian/rules | 28 ++++++++++++++++++++ debian/scala-xml.poms | 1 + debian/source/format | 1 + debian/watch | 2 ++ 10 files changed, 221 insertions(+) diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..a2b8676 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +scala-xml (1.0.3-1) unstable; urgency=medium + + * Initial release. (Closes: #789002) + + -- 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..aa6683f --- /dev/null +++ b/debian/control @@ -0,0 +1,19 @@ +Source: scala-xml +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), scala-xml +Standards-Version: 3.9.6 +Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/scala-xml.git +Vcs-Git: git://anonscm.debian.org/pkg-java/scala-xml.git +Homepage: https://github.com/scala/scala-xml + +Package: scala-xml +Architecture: all +Depends: ${misc:Depends} +Description: Standard Scala XML library + Scala is a Java-compatible programming language with many + modern language features. + . + This package contains the standard Scala XML library. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..34b6b18 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,51 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Standard Scala XML library +Source: https://github.com/scala/scala-xml + +Files: * +Copyright: 2002-2013, EPFL + 2011-2013, Typesafe, Inc. +License: BSD-3-clause + +Files: src/main/scala/scala/xml/Xhtml.scala + src/main/scala/scala/xml/parsing/XhtmlParser.scala + src/main/scala/scala/xml/parsing/XhtmlEntities.scala +Copyright: 2007, David Pollak, WorldWide Conferencing, LLC +License: BSD-3-clause + +Files: src/main/scala/scala/xml/MetaData.scala + src/main/scala/scala/xml/Elem.scala +Copyright: 2008, Google 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..2290cb7 --- /dev/null +++ b/debian/manifest @@ -0,0 +1,41 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: org.scala-lang.modules.scala-xml +Bundle-SymbolicName: org.scala-lang.modules.scala-xml +Bundle-Version: 1.0.3 +Export-Package: scala.xml;version="1.0.3";uses:="javax.xml.parsers,org.x + ml.sax,scala,scala.collection,scala.collection.generic,scala.collection + .immutable,scala.collection.mutable,scala.collection.parallel,scala.col + lection.parallel.immutable,scala.math,scala.reflect,scala.runtime,scala + .sys.process,scala.util,scala.xml.dtd,scala.xml.factory,scala.xml.parsi + ng,scala.xml.pull",scala.xml.dtd;version="1.0.3";uses:="scala,scala.col + lection,scala.collection.immutable,scala.collection.mutable,scala.refle + ct,scala.runtime,scala.xml,scala.xml.dtd.impl,scala.xml.parsing",scala. + xml.dtd.impl;version="1.0.3";uses:="scala,scala.collection,scala.collec + tion.immutable,scala.collection.mutable,scala.reflect,scala.runtime",sc + ala.xml.factory;version="1.0.3";uses:="javax.xml.parsers,org.xml.sax,sc + ala,scala.collection,scala.collection.immutable,scala.collection.mutabl + e,scala.reflect,scala.runtime,scala.xml,scala.xml.parsing",scala.xml.in + clude;version="1.0.3";uses:="scala.reflect",scala.xml.include.sax;versi + on="1.0.3";uses:="org.xml.sax,org.xml.sax.ext,org.xml.sax.helpers,scala + .reflect",scala.xml.parsing;version="1.0.3";uses:="javax.xml.parsers,or + g.xml.sax,org.xml.sax.helpers,scala,scala.collection,scala.collection.g + eneric,scala.collection.immutable,scala.collection.mutable,scala.io,sca + la.math,scala.reflect,scala.runtime,scala.xml,scala.xml.dtd,scala.xml.f + actory",scala.xml.persistent;version="1.0.3";uses:="scala,scala.collect + ion,scala.reflect,scala.xml",scala.xml.pull;version="1.0.3";uses:="scal + a,scala.collection,scala.collection.immutable,scala.collection.mutable, + scala.io,scala.reflect,scala.runtime,scala.xml,scala.xml.dtd,scala.xml. + parsing",scala.xml.transform;version="1.0.3";uses:="scala,scala.collect + ion,scala.reflect,scala.runtime,scala.xml" +Import-Package: javax.xml.parsers,org.xml.sax,org.xml.sax.ext,org.xml.sa + x.helpers,scala;version="[2.11,3)",scala.collection;version="[2.11,3)", + scala.collection.generic;version="[2.11,3)",scala.collection.immutable; + version="[2.11,3)",scala.collection.mutable;version="[2.11,3)",scala.co + llection.parallel;version="[2.11,3)",scala.collection.parallel.immutabl + e;version="[2.11,3)",scala.io;version="[2.11,3)",scala.math;version="[2 + .11,3)",scala.reflect;version="[2.11,3)",scala.runtime;version="[2.11,3 + )",scala.sys;version="[2.11,3)",scala.sys.process;version="[2.11,3)",sc + ala.util;version="[2.11,3)",scala.util.control;version="[2.11,3)",scala + .util.hashing;version="[2.11,3)",scala.util.matching;version="[2.11,3)" +Private-Package: scala-xml.properties diff --git a/debian/pom.xml b/debian/pom.xml new file mode 100644 index 0000000..7cc9511 --- /dev/null +++ b/debian/pom.xml @@ -0,0 +1,72 @@ +<?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-xml_2.11</artifactId> + <packaging>bundle</packaging> + <description>scala-xml</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-xml</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-xml</url> + <connection>scm:git:git://github.com/scala/scala-xml.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-compiler</artifactId> + <version>2.11.4</version> + <scope>test</scope> + <exclusions> + <exclusion> + <groupId>org.scala-lang.modules</groupId> + <artifactId>scala-xml*</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>org.scala-lang</groupId> + <artifactId>scala-library</artifactId> + <version>2.11.4</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> diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..55583bd --- /dev/null +++ b/debian/rules @@ -0,0 +1,28 @@ +#!/usr/bin/make -f + +%: + dh $@ --with maven_repo_helper + +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') + +SOURCE_FILES=$(shell find src/main/scala -name *.scala) + +override_dh_auto_build: + mkdir -p target/classes + scalac -d target/classes -cp /usr/share/java/scala-xml_$(SCALA_BINARY_VERSION).jar $(SOURCE_FILES) + + echo "scala.version.number=$(SCALA_VERSION)" >> target/classes/scala-xml.properties + echo "scala.binary.version.number=$(SCALA_BINARY_VERSION)" >> target/classes/scala-xml.properties + echo "version.number=$(VERSION)" >> target/classes/scala-xml.properties + + jar cfm target/scala-xml.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-xml.poms b/debian/scala-xml.poms new file mode 100644 index 0000000..bc7d91f --- /dev/null +++ b/debian/scala-xml.poms @@ -0,0 +1 @@ +debian/pom.xml --has-package-version --java-lib --artifact=target/scala-xml.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..2c8e9db --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +https://github.com/scala/scala-xml/tags .*/v([\d\.]+).tar.gz -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/scala-xml.git _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

