Skip to content
Commits on Source (7)
mockito (1.10.19-3) UNRELEASED; urgency=medium
mockito (1.10.19-3) unstable; urgency=medium
* Team upload.
[ Markus Koschany ]
* Build-depend on testng and gradle >= 3.4.1-2.
Change maven rule for testng to debian. Thus the package can be compiled
again. Thanks to Gilles Filippini for the report. (Closes: #882182)
* Declare compliance with Debian Policy 4.1.1.
* Use https for Format field.
* Switch to compat level 10.
-- Markus Koschany <apo@debian.org> Wed, 29 Nov 2017 18:04:36 +0100
[ Emmanuel Bourg ]
* Increased the source/target level to fix the build failure with Java 9
* Removed the doc package
* Standards-Version updated to 4.2.1
* Switch to debhelper level 11
* Use salsa.debian.org Vcs-* URLs
-- Emmanuel Bourg <ebourg@apache.org> Wed, 10 Oct 2018 16:13:50 +0200
mockito (1.10.19-2) unstable; urgency=medium
......
......@@ -2,12 +2,11 @@ Source: mockito
Section: java
Priority: optional
Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Uploaders:
Markus Koschany <apo@debian.org>
Uploaders: Markus Koschany <apo@debian.org>
Build-Depends:
ant,
bnd,
debhelper (>= 10),
debhelper (>= 11),
default-jdk,
gradle (>= 3.4.1-2),
gradle-debian-helper,
......@@ -21,9 +20,9 @@ Build-Depends:
libspock-java,
maven-repo-helper (>= 1.9~),
testng
Standards-Version: 4.1.1
Vcs-Git: https://anonscm.debian.org/git/pkg-java/mockito.git
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/mockito.git
Standards-Version: 4.2.1
Vcs-Git: https://salsa.debian.org/java-team/mockito.git
Vcs-Browser: https://salsa.debian.org/java-team/mockito
Homepage: http://mockito.org/
Package: libmockito-java
......@@ -33,22 +32,9 @@ Depends:
libhamcrest-java,
libobjenesis-java,
${misc:Depends}
Suggests:
libmockito-java-doc
Description: mocking framework for Java
Mockito is a mocking library which lets you write tests with a
clean and simple API.
.
It generates mocks using reflection, it records all mock invocations,
including methods arguments.
Package: libmockito-java-doc
Architecture: all
Section: doc
Depends:
${misc:Depends}
Description: mocking framework for Java - documentation
Mockito is a mocking library which lets you write tests with a
clean and simple API.
.
This package contains the JavaDoc documentation for Mockito.
build/docs/javadoc/* usr/share/doc/libmockito-java/api
Description: Increases the source/target level to fix the build failure with Java 9
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: no
--- a/build.gradle
+++ b/build.gradle
@@ -26,8 +26,8 @@
group = 'org.mockito'
description = 'Core API and implementation.'
-sourceCompatibility = 1.5
-targetCompatibility = 1.5
+sourceCompatibility = 1.7
+targetCompatibility = 1.7
configurations {
provided
......@@ -4,3 +4,4 @@
03-ignore-cobertura-plugin.patch
04-gradle-compatibility.patch
05-ignore-release-tasks.patch
06-source-target-level.patch
......@@ -4,7 +4,4 @@
dh $@ --buildsystem=gradle --with maven-repo-helper --with javahelper
override_dh_auto_build:
dh_auto_build -- jar javadoc -PantCommand=/usr/bin/ant
get-orig-source:
uscan --download-current-version --rename --repack --compression xz
dh_auto_build -- jar -PantCommand=/usr/bin/ant
version=4
opts=uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha|b|a)[\-\.]?\d*)$/$1~$2/,\
opts=repack,compression=xz,uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha|b|a)[\-\.]?\d*)$/$1~$2/,\
dversionmangle=s/(\da?)[\+\.\-~](?:dfsg|debian|ds|repack|repacked)\.?\d*$/$1/ \
https://github.com/mockito/mockito/tags \
.*/archive/(?:upstream/)?(?:v||version-|release-|X|R|r)(\d\S*)\.tar\.gz