[gradle-jflex-plugin] 01/01: Imported Debian patch 0.0.2-1

Markus Koschany apo-guest at moszumanska.debian.org
Fri Feb 12 19:16:48 GMT 2016


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

apo-guest pushed a commit to branch master
in repository gradle-jflex-plugin.

commit c8c67e968fb54a98779626fbfc04b65d9efc4f98
Author: Markus Koschany <apo at debian.org>
Date:   Fri Feb 12 19:42:37 2016 +0100

    Imported Debian patch 0.0.2-1
---
 debian/changelog                        |   5 ++
 debian/compat                           |   1 +
 debian/control                          |  28 +++++++++
 debian/copyright                        |  18 ++++++
 debian/libgradle-jflex-plugin-java.poms |   1 +
 debian/patches/build.patch              | 108 ++++++++++++++++++++++++++++++++
 debian/patches/series                   |   1 +
 debian/pom.xml                          |  44 +++++++++++++
 debian/rules                            |   8 +++
 debian/source/format                    |   1 +
 debian/watch                            |   3 +
 11 files changed, 218 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..e23e816
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+gradle-jflex-plugin (0.0.2-1) UNRELEASED; urgency=medium
+
+  * Initial release (Closes: #nnnnnn)
+
+ -- Markus Koschany <apo at debian.org>  Fri, 12 Feb 2016 19:42:37 +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..5f23cbc
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,28 @@
+Source: gradle-jflex-plugin
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders:
+ Markus Koschany <apo at debian.org>
+Build-Depends:
+ debhelper (>= 9),
+ gradle-debian-helper,
+ default-jdk,
+ jflex,
+ maven-repo-helper
+Standards-Version: 3.9.7
+Homepage: https://github.com/thomaslee/gradle-jflex-plugin
+Vcs-Git: https://anonscm.debian.org/git/pkg-java/gradle-jflex-plugin.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/gradle-jflex-plugin.git
+
+Package: libgradle-jflex-plugin-java
+Architecture: all
+Depends:
+ ${misc:Depends}
+Description: Gradle plugin for JFlex, a scanner generator
+ The gradle-jflex-plugin makes it possible to integrate JFlex into the Gradle
+ build system. JFlex itself is a lexical analyzer generator that takes as input
+ a specification with a set of regular expressions and corresponding actions.
+ It generates a program (a lexer) that reads input, matches the input against
+ the regular expressions in the spec file, and runs the corresponding action if
+ a regular expression matched.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..1cf2225
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,18 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: gradle-jflex-plugin
+Source: https://github.com/thomaslee/gradle-jflex-plugin
+Files-Excluded:
+ *.jar
+
+Files: *
+Copyright: 2014-2015, Tom Lee
+License: Apache-2.0
+
+Files: debian/*
+Copyright: 2016, Markus Koschany <apo at debian.org>
+License: Apache-2.0
+
+License: Apache-2.0
+ On Debian systems, the complete text of the Apache 2.0 license
+ can be found in /usr/share/common-licenses/Apache-2.0.
+
diff --git a/debian/libgradle-jflex-plugin-java.poms b/debian/libgradle-jflex-plugin-java.poms
new file mode 100644
index 0000000..9b1ae98
--- /dev/null
+++ b/debian/libgradle-jflex-plugin-java.poms
@@ -0,0 +1 @@
+debian/pom.xml --no-parent --java-lib --usj-name=gradle-jflex-plugin --artifact=build/libs/gradle-jflex-plugin-0.0.2.jar
diff --git a/debian/patches/build.patch b/debian/patches/build.patch
new file mode 100644
index 0000000..4c7a170
--- /dev/null
+++ b/debian/patches/build.patch
@@ -0,0 +1,108 @@
+From: Markus Koschany <apo at debian.org>
+Date: Thu, 11 Feb 2016 22:12:19 +0100
+Subject: build
+
+Disable plugins that are not available in Debian. JFlex related changes can be
+reverted with the next upload since Debian's package provides Maven artifacts
+now.
+
+Forwarded: not-needed
+---
+ build.gradle | 63 ++++++++++++++++--------------------------------------------
+ 1 file changed, 17 insertions(+), 46 deletions(-)
+
+diff --git a/build.gradle b/build.gradle
+index 3551838..dcb36c9 100644
+--- a/build.gradle
++++ b/build.gradle
+@@ -1,73 +1,44 @@
+ // vim: ft=groovy:sw=2:ts=2:expandtab
+ 
+ apply plugin: 'java'
+-apply plugin: 'idea'
+-apply plugin: 'maven'
+-apply plugin: 'nexus'
+-apply plugin: 'release'
++//apply plugin: 'idea'
++//apply plugin: 'maven'
++//apply plugin: 'nexus'
++//apply plugin: 'release'
+ 
+ sourceCompatibility = 1.6
+ targetCompatibility = 1.6
+ 
+ buildscript {
+   repositories {
+-    mavenCentral()
+-    jcenter()
++    flatDir {
++        dirs '/usr/share/java/'
++    }
+   }
+ 
+   dependencies {
+-    classpath 'org.gradle.api.plugins:gradle-nexus-plugin:0.7.1'
+-    classpath 'co.tomlee.gradle.plugins:gradle-release-plugin:0.0.6'
++//    classpath 'org.gradle.api.plugins:gradle-nexus-plugin:0.7.1'
++//    classpath 'co.tomlee.gradle.plugins:gradle-release-plugin:0.0.6'
+   }
+ }
+ 
+ ext {
+-  jflexVersion = '1.6.0'
++  jflexVersion = '1.4.3'
+ }
+ 
+ repositories {
+-  mavenLocal()
+-  mavenCentral()
++    flatDir {
++        dirs '/usr/share/java/'
++    }
+ }
+ 
+ dependencies {
+   compile gradleApi()
+-  compile "de.jflex:jflex:${jflexVersion}"
++  compile "de.jflex:JFlex:${jflexVersion}"
+   testCompile 'junit:junit:4.11'
+ }
+ 
+-modifyPom {
+-  project {
+-    name 'gradle-jflex-plugin'
+-    description 'A Gradle plugin for the JFlex scanner generator'
+-    url 'https://github.com/thomaslee/gradle-jflex-plugin'
+-    inceptionYear '2014'
+-
+-    scm {
+-      url 'https://github.com/thomaslee/gradle-jflex-plugin'
+-      connection 'scm:git://github.com/thomaslee/gradle-jflex-plugin.git'
+-      developerConnection 'scm:git at github.com:thomaslee/gradle-jflex-plugin.git'
+-    }
+-
+-    licenses {
+-      license {
+-        name 'Apache License 2.0'
+-        url 'http://opensource.org/licenses/Apache-2.0'
+-        distribution 'repo'
+-      }
+-    }
+-
+-    developers {
+-      developer {
+-        id 'thomaslee'
+-        name 'Tom Lee'
+-        email 'github at tomlee.co'
+-      }
+-    }
+-  }
+-}
+-
+-nexus {
+-  sign = true
+-}
++//nexus {
++//  sign = true
++//}
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..5879227
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+build.patch
diff --git a/debian/pom.xml b/debian/pom.xml
new file mode 100644
index 0000000..30ad09d
--- /dev/null
+++ b/debian/pom.xml
@@ -0,0 +1,44 @@
+<?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="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>co.tomlee.gradle.plugins</groupId>
+  <artifactId>gradle-jflex-plugin</artifactId>
+  <version>0.0.2</version>
+  <name>gradle-jflex-plugin</name>
+  <description>A Gradle plugin for the JFlex scanner generator</description>
+  <url>https://github.com/thomaslee/gradle-jflex-plugin</url>
+  <inceptionYear>2014</inceptionYear>
+  <licenses>
+    <license>
+      <name>Apache License 2.0</name>
+      <url>http://opensource.org/licenses/Apache-2.0</url>
+      <distribution>repo</distribution>
+    </license>
+  </licenses>
+  <developers>
+    <developer>
+      <id>thomaslee</id>
+      <name>Tom Lee</name>
+      <email>github at tomlee.co</email>
+    </developer>
+  </developers>
+  <scm>
+    <connection>scm:git://github.com/thomaslee/gradle-jflex-plugin.git</connection>
+    <developerConnection>scm:git at github.com:thomaslee/gradle-jflex-plugin.git</developerConnection>
+    <url>https://github.com/thomaslee/gradle-jflex-plugin</url>
+  </scm>
+  <dependencies>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>4.11</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>de.jflex</groupId>
+      <artifactId>jflex</artifactId>
+      <version>1.6.0</version>
+      <scope>compile</scope>
+    </dependency>
+  </dependencies>
+</project>
\ No newline at end of file
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..33a9122
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,8 @@
+#!/usr/bin/make -f
+
+%:
+	dh $@ --parallel --with maven_repo_helper --buildsystem=gradle
+
+get-orig-source:
+	uscan --force-download --download-current-version
+
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..58dd174
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/gradle-jflex-plugin-$1\.tar\.gz/ \
+  https://github.com/thomaslee/gradle-jflex-plugin/tags .*/v?(\d\S*)\.tar\.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/gradle-jflex-plugin.git



More information about the pkg-java-commits mailing list