From: Liliana Marie Prikler <liliana.prikler@gmail.com>
To: 64934@debbugs.gnu.org
Cc: bjoern.hoefling@bjoernhoefling.de, julien@lepiller.eu
Subject: [bug#64934] [PATCH 08/42] gnu: Add java-easymock version 3.2.
Date: Sat, 29 Jul 2023 16:20:11 +0200 [thread overview]
Message-ID: <54e8fe4f3a701cd960882a7347f7655c6d32e3d5.1690646441.git.liliana.prikler@gmail.com> (raw)
In-Reply-To: <cover.1690646441.git.liliana.prikler@gmail.com>
* gnu/packages/java.scm (java-easymock-3.2): New variable.
---
gnu/packages/java.scm | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index dd6c549a25..b2ad568375 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -5019,6 +5019,47 @@ (define-public java-easymock
mock objects in unit testing.")
(license license:asl2.0)))
+(define-public java-easymock-3.2
+ (package
+ (inherit java-easymock)
+ (name "java-easymock")
+ (version "3.2")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/easymock/easymock/")
+ (commit (string-append "easymock-" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0cn6qqa261mhk9mwxrsz39lkkknfv2h7iprr5zw7wpz9p96dwgv4"))))
+ (arguments
+ (list #:jar-name "easymock.jar"
+ #:source-dir "easymock/src/main"
+ #:test-dir "easymock/src/test"
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'delete-android-support
+ (lambda _
+ (with-directory-excursion "easymock/src/main/java/org/easymock/internal"
+ (substitute* "MocksControl.java"
+ (("AndroidSupport.isAndroid\\(\\)") "false")
+ (("return classProxyFactory = new AndroidClassProxyFactory\\(\\);") ""))
+ (delete-file "AndroidClassProxyFactory.java"))))
+ (add-after 'unpack 'delete-broken-tests
+ (lambda _
+ (with-directory-excursion "easymock/src/test/java/org/easymock"
+ ;; This test depends on dexmaker.
+ (delete-file "tests2/ClassExtensionHelperTest.java")
+ ;; This is not a test.
+ (delete-file "tests/BaseEasyMockRunnerTest.java")
+ ;; ...but deleting it means that we also have to delete these
+ ;; dependent files.
+ (delete-file "tests2/EasyMockRunnerTest.java")
+ ;; This test fails because the file "easymock.properties" does
+ ;; not exist.
+ (delete-file "tests2/EasyMockPropertiesTest.java")))))))))
+
(define-public java-jmock-1
(package
(name "java-jmock")
--
2.41.0
next prev parent reply other threads:[~2023-07-29 17:04 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-29 16:00 [bug#64934] [PATCH 00/42] I tried to semantic the web, and after downloading half the Internet, these are some packages I came up with Liliana Marie Prikler
2023-07-29 14:01 ` [bug#64934] [PATCH 01/42] gnu: Add java-commons-rdf-api Liliana Marie Prikler
2023-07-29 14:02 ` [bug#64934] [PATCH 02/42] gnu: Add java-commons-rdf-api-tests Liliana Marie Prikler
2023-07-29 14:03 ` [bug#64934] [PATCH 03/42] gnu: Add java-commons-rdf-simple Liliana Marie Prikler
2023-07-29 14:10 ` [bug#64934] [PATCH 04/42] gnu: Add java-eclipse-rdf4j-model-api Liliana Marie Prikler
2023-07-30 17:26 ` Björn Höfling
2023-07-29 14:12 ` [bug#64934] [PATCH 05/42] gnu: Add java-eclipse-rdf4j-model-vocabulary Liliana Marie Prikler
2023-07-29 14:12 ` [bug#64934] [PATCH 06/42] gnu: Add java-eclipse-rdf4j-util Liliana Marie Prikler
2023-07-29 14:14 ` [bug#64934] [PATCH 07/42] gnu: Add java-eclipse-rdf4j-model Liliana Marie Prikler
2023-07-29 14:20 ` Liliana Marie Prikler [this message]
2023-07-29 14:27 ` [bug#64934] [PATCH 09/42] gnu: Add java-easymock-class-extension Liliana Marie Prikler
2023-07-29 14:32 ` [bug#64934] [PATCH 10/42] gnu: Add java-httpcomponents-httpclient-cache Liliana Marie Prikler
2023-07-29 14:50 ` [bug#64934] [PATCH 11/42] gnu: Add java-httpcomponents-httpcore-osgi Liliana Marie Prikler
2023-07-29 14:54 ` [bug#64934] [PATCH 12/42] gnu: Add java-httpcomponents-httpclient-osgi Liliana Marie Prikler
2023-07-29 14:56 ` [bug#64934] [PATCH 13/42] gnu: Add java-jsonld-java Liliana Marie Prikler
2023-07-29 14:56 ` [bug#64934] [PATCH 14/42] gnu: Add java-eclipse-rdf4j-rio-api Liliana Marie Prikler
2023-07-29 14:57 ` [bug#64934] [PATCH 15/42] gnu: Add java-eclipse-rdf4j-rio-datatypes Liliana Marie Prikler
2023-07-29 14:57 ` [bug#64934] [PATCH 16/42] gnu: Add java-eclipse-rdf4j-rio-languages Liliana Marie Prikler
2023-07-29 14:58 ` [bug#64934] [PATCH 17/42] gnu: Add java-eclipse-rdf4j-rio-turtle Liliana Marie Prikler
2023-07-29 14:58 ` [bug#64934] [PATCH 18/42] gnu: Add java-eclipse-rdf4j-rio-ntriples Liliana Marie Prikler
2023-07-29 14:58 ` [bug#64934] [PATCH 19/42] gnu: Add java-eclipse-rdf4j-rio-nquads Liliana Marie Prikler
2023-07-29 14:59 ` [bug#64934] [PATCH 20/42] gnu: Add java-eclipse-rdf4j-rio-jsonld Liliana Marie Prikler
2023-07-29 14:59 ` [bug#64934] [PATCH 21/42] gnu: Add java-eclipse-rdf4j-rio-rdfxml Liliana Marie Prikler
2023-07-29 15:00 ` [bug#64934] [PATCH 22/42] gnu: Add java-eclipse-rdf4j-rio-trig Liliana Marie Prikler
2023-07-29 15:03 ` [bug#64934] [PATCH 23/42] gnu: Add java-eclipse-rdf4j-query Liliana Marie Prikler
2023-07-29 15:04 ` [bug#64934] [PATCH 24/42] gnu: Add java-eclipse-rdf4j-queryalgebra-model Liliana Marie Prikler
2023-07-29 15:05 ` [bug#64934] [PATCH 25/42] gnu: Add java-eclipse-rdf4j-repository-api Liliana Marie Prikler
2023-07-29 15:05 ` [bug#64934] [PATCH 26/42] gnu: Add java-eclipse-rdf4j-sail-api Liliana Marie Prikler
2023-07-29 15:28 ` [bug#64934] [PATCH 27/42] gnu: Add java-eclipse-rdf4j-queryparser-api Liliana Marie Prikler
2023-07-29 15:28 ` [bug#64934] [PATCH 28/42] gnu: Add java-eclipse-rdf4j-queryparser-sparql Liliana Marie Prikler
2023-07-29 15:32 ` [bug#64934] [PATCH 29/42] gnu: Add java-eclipse-rdf4j-queryresultio-api Liliana Marie Prikler
2023-07-29 15:32 ` [bug#64934] [PATCH 30/42] gnu: Add java-eclipse-rdf4j-queryresultio-binary Liliana Marie Prikler
2023-07-29 15:32 ` [bug#64934] [PATCH 31/42] gnu: Add java-eclipse-rdf4j-queryresultio-sparqlxml Liliana Marie Prikler
2023-07-29 15:32 ` [bug#64934] [PATCH 32/42] gnu: Add java-eclipse-rdf4j-queryresultio-sparqljson Liliana Marie Prikler
2023-07-29 15:34 ` [bug#64934] [PATCH 33/42] gnu: Add java-eclipse-rdf4j-http-protocol Liliana Marie Prikler
2023-07-29 15:34 ` [bug#64934] [PATCH 34/42] gnu: Add java-eclipse-rdf4j-http-client Liliana Marie Prikler
2023-07-29 15:35 ` [bug#64934] [PATCH 35/42] gnu: Add java-eclipse-rdf4j-repository-sparql Liliana Marie Prikler
2023-07-29 15:36 ` [bug#64934] [PATCH 37/42] gnu: Add java-eclipse-rdf4j-queryalgebra-evaluation Liliana Marie Prikler
2023-07-29 15:36 ` [bug#64934] [PATCH 38/42] gnu: Add java-eclipse-rdf4j-repository-sail Liliana Marie Prikler
2023-07-29 15:37 ` [bug#64934] [PATCH 39/42] gnu: Add java-eclipse-rdf4j-sail-base Liliana Marie Prikler
2023-07-29 15:37 ` [bug#64934] [PATCH 40/42] gnu: Add java-eclipse-rdf4j-sail-memory Liliana Marie Prikler
2023-07-29 15:37 ` [bug#64934] [PATCH 41/42] gnu: Add java-eclipse-rdf4j-sail-nativerdf Liliana Marie Prikler
2023-07-29 15:40 ` [bug#64934] [PATCH 36/42] gnu: Add java-mapdb Liliana Marie Prikler
2023-07-29 15:58 ` [bug#64934] [PATCH 42/42] gnu: Add java-commons-rdf-rdf4j Liliana Marie Prikler
2023-08-05 12:40 ` bug#64934: [PATCH 00/42] I tried to semantic the web, and after downloading half the Internet, these are some packages I came up with Liliana Marie Prikler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54e8fe4f3a701cd960882a7347f7655c6d32e3d5.1690646441.git.liliana.prikler@gmail.com \
--to=liliana.prikler@gmail.com \
--cc=64934@debbugs.gnu.org \
--cc=bjoern.hoefling@bjoernhoefling.de \
--cc=julien@lepiller.eu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).