[byte-buddy] 01/01: Init packaging. Add debian/ subdirectory generated by mh_make.
Ying-Chun Liu
paulliu at moszumanska.debian.org
Mon Jul 24 13:07:40 UTC 2017
This is an automated email from the git hooks/post-receive script.
paulliu pushed a commit to branch master
in repository byte-buddy.
commit e4eab7c4cf8baca446e9fe03f8b238fe6e9f53de
Author: Ying-Chun Liu (PaulLiu) <paulliu at debian.org>
Date: Sun Jul 23 03:14:00 2017 +0800
Init packaging. Add debian/ subdirectory generated by mh_make.
Signed-off-by: Ying-Chun Liu (PaulLiu) <paulliu at debian.org>
---
debian/README.source | 9 +++++
debian/changelog | 5 +++
debian/clean | 1 +
debian/compat | 1 +
debian/control | 57 ++++++++++++++++++++++++++++++
debian/copyright | 16 +++++++++
debian/libbyte-buddy-java-doc.doc-base.api | 10 ++++++
debian/libbyte-buddy-java-doc.install | 1 +
debian/libbyte-buddy-java.poms | 36 +++++++++++++++++++
debian/maven.cleanIgnoreRules | 1 +
debian/maven.ignoreRules | 24 +++++++++++++
debian/maven.properties | 5 +++
debian/maven.publishedRules | 1 +
debian/maven.rules | 8 +++++
debian/rules | 7 ++++
debian/source/format | 1 +
16 files changed, 183 insertions(+)
diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..c5e3335
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,9 @@
+Information about byte-buddy-byte-buddy
+---------------------------------------
+
+This package was debianized using the mh_make command
+from the maven-debian-helper package.
+
+The build system uses Maven but prevents it from downloading
+anything from the Internet, making the build compliant with
+the Debian policy.
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..dcc63ac
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+byte-buddy (1.7.1-1) unstable; urgency=low
+
+ * Initial release (Closes: #860325)
+
+ -- Ying-Chun Liu (PaulLiu) <paulliu at debian.org> Sun, 23 Jul 2017 02:42:36 +0800
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..5de1cb7
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1 @@
+byte-buddy/dependency-reduced-pom.xml
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..0bd79a1
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,57 @@
+Source: byte-buddy
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Ying-Chun Liu (PaulLiu) <paulliu at debian.org>,
+ Felix Natter <fnatter at gmx.net>
+Build-Depends: debhelper (>= 10), default-jdk, maven-debian-helper (>= 2.1)
+Build-Depends-Indep: default-jdk-doc,
+ junit4,
+ libasm-java (>= 5.2),
+ libasm-java-doc,
+ libeclipse-aether-java (>= 1.0.2),
+ libfindbugs-annotations-java,
+ liblombok-java,
+ libmaven-antrun-plugin-java,
+ libmaven-assembly-plugin-java,
+ libmaven-dependency-plugin-java,
+ libmaven-deploy-plugin-java,
+ libmaven-enforcer-plugin-java,
+ libmaven-install-plugin-java,
+ libmaven-javadoc-plugin-java,
+ libmaven-shade-plugin-java (>= 2.4.3),
+ libmaven-site-plugin-java,
+ libmaven3-core-java (>= 3.2.5),
+ libsurefire-java
+Standards-Version: 4.0.0
+Vcs-Git: https://anonscm.debian.org/git/pkg-java/byte-buddy.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/byte-buddy.git
+Homepage: http://bytebuddy.net
+
+Package: libbyte-buddy-java
+Architecture: all
+Depends: libasm-java (>= 6.0~alpha),
+ libeclipse-aether-java (>= 1.0.2),
+ libmaven3-core-java (>= 3.5.0),
+ ${misc:Depends}
+Suggests: libbyte-buddy-java-doc, ${maven:OptionalDepends}
+Description: Runtime code generation for the Java virtual machine
+ Byte Buddy is a code generation and manipulation library for creating
+ and modifying Java classes during the runtime of a Java application and
+ without the help of a compiler. Other than the code generation utilities
+ that ship with the Java Class Library, Byte Buddy allows the creation of
+ arbitrary classes and is not limited to implementing interfaces for the
+ creation of runtime proxies. Furthermore, Byte Buddy offers a convenient
+ API for changing classes either manually, using a Java agent or during a
+ build.
+
+Package: libbyte-buddy-java-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}
+Recommends: ${maven:DocDepends}, ${maven:DocOptionalDepends}
+Suggests: libbyte-buddy-java
+Description: Runtime code generation for the Java virtual machine (document)
+ Byte Buddy is a Java library for creating Java classes at run time.
+ .
+ This package contains the API documentation of libbyte-buddy-java.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..aa0c6de
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,16 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Byte Buddy (parent)
+Source: http://bytebuddy.net
+
+Files: *
+Copyright: 2014-2017 Rafael Winterhalter <rafael.wth at gmail.com>
+License: Apache-2.0
+
+Files: debian/*
+Copyright: 2017 Ying-Chun Liu (PaulLiu) <paulliu at debian.org>
+ 2017 DT42.io
+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/libbyte-buddy-java-doc.doc-base.api b/debian/libbyte-buddy-java-doc.doc-base.api
new file mode 100644
index 0000000..9e48c27
--- /dev/null
+++ b/debian/libbyte-buddy-java-doc.doc-base.api
@@ -0,0 +1,10 @@
+Document: libbyte-buddy-java
+Title: API Javadoc for Byte Buddy (parent)
+Author: Byte Buddy (parent) developers
+Abstract: This is the API Javadoc provided for the
+ libbyte-buddy-java libraries.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/libbyte-buddy-java/byte-buddy/index.html
+Files: /usr/share/doc/libbyte-buddy-java/byte-buddy/*
diff --git a/debian/libbyte-buddy-java-doc.install b/debian/libbyte-buddy-java-doc.install
new file mode 100644
index 0000000..9b292cc
--- /dev/null
+++ b/debian/libbyte-buddy-java-doc.install
@@ -0,0 +1 @@
+target/site/apidocs/* usr/share/doc/libbyte-buddy-java/byte-buddy/
diff --git a/debian/libbyte-buddy-java.poms b/debian/libbyte-buddy-java.poms
new file mode 100644
index 0000000..8df0cf2
--- /dev/null
+++ b/debian/libbyte-buddy-java.poms
@@ -0,0 +1,36 @@
+# 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]
+#
+pom.xml --has-package-version
+byte-buddy/pom.xml --has-package-version
+byte-buddy-dep/pom.xml --has-package-version
+byte-buddy-benchmark/pom.xml --ignore
+byte-buddy-agent/pom.xml --ignore
+byte-buddy-android/pom.xml --ignore
+byte-buddy-maven-plugin/pom.xml --has-package-version
+byte-buddy-gradle-plugin/pom.xml --ignore
+byte-buddy-android-test/pom.xml
diff --git a/debian/maven.cleanIgnoreRules b/debian/maven.cleanIgnoreRules
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/debian/maven.cleanIgnoreRules
@@ -0,0 +1 @@
+
diff --git a/debian/maven.ignoreRules b/debian/maven.ignoreRules
new file mode 100644
index 0000000..c1a23d3
--- /dev/null
+++ b/debian/maven.ignoreRules
@@ -0,0 +1,24 @@
+
+net.bytebuddy byte-buddy-agent jar * * *
+net.bytebuddy byte-buddy-android jar * * *
+net.bytebuddy byte-buddy-benchmark jar * * *
+net.bytebuddy byte-buddy-gradle-plugin jar * * *
+com.github.ferstl jitwatch-jarscan-maven-plugin * * * *
+com.google.android android * * * *
+com.jayway.maven.plugins.android.generation2 android-maven-plugin * * * *
+junit junit * * * *
+org.apache.maven maven-compat * * * *
+org.apache.maven.plugin-testing maven-plugin-testing-harness * * * *
+org.apache.maven.plugins maven-deploy-plugin * * * *
+org.apache.maven.plugins maven-jxr-plugin * * * *
+org.apache.maven.plugins maven-release-plugin * * * *
+org.codehaus.mojo clirr-maven-plugin * * * *
+org.codehaus.mojo findbugs-maven-plugin * * * *
+org.eluder.coveralls coveralls-maven-plugin * * * *
+org.jacoco jacoco-maven-plugin * * * *
+org.mockito mockito-core * * * *
+org.ow2.asm asm-analysis * * * *
+org.ow2.asm asm-util * * * *
+org.pitest pitest-maven * * * *
+org.apache.maven.plugins maven-checkstyle-plugin * * * *
+org.codehaus.mojo animal-sniffer-maven-plugin * * * *
diff --git a/debian/maven.properties b/debian/maven.properties
new file mode 100644
index 0000000..e593715
--- /dev/null
+++ b/debian/maven.properties
@@ -0,0 +1,5 @@
+# Include here properties to pass to Maven during the build.
+# For example:
+# maven.test.skip=true
+
+maven.test.skip=true
diff --git a/debian/maven.publishedRules b/debian/maven.publishedRules
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/debian/maven.publishedRules
@@ -0,0 +1 @@
+
diff --git a/debian/maven.rules b/debian/maven.rules
new file mode 100644
index 0000000..1a40419
--- /dev/null
+++ b/debian/maven.rules
@@ -0,0 +1,8 @@
+
+junit junit jar s/4\..*/4.x/ * *
+net.bytebuddy byte-buddy-android-test apk s/.*/debian/ * *
+net.bytebuddy byte-buddy-dep jar s/.*/debian/ * *
+net.bytebuddy byte-buddy-parent pom s/.*/debian/ * *
+net.bytebuddy byte-buddy jar s/.*/debian/ * *
+org.apache.maven maven* * s/.*/3.x/ * *
+org.ow2.asm * * s/.*/debian/ * *
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..5985cac
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,7 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@
+
+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)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/byte-buddy.git
More information about the pkg-java-commits
mailing list