Gentoo Archives: gentoo-commits

From: "Miroslav Šulc" <fordfrog@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/apgdiff/
Date: Mon, 04 Oct 2021 06:20:58
Message-Id: 1633328450.f4d743739ced715fba01e9b99899602f740ee4be.fordfrog@gentoo
1 commit: f4d743739ced715fba01e9b99899602f740ee4be
2 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 4 06:19:11 2021 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 4 06:20:50 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4d74373
7
8 dev-db/apgdiff: bump to 2.7.0
9
10 Package-Manager: Portage-3.0.26, Repoman-3.0.3
11 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
12
13 dev-db/apgdiff/Manifest | 1 +
14 dev-db/apgdiff/apgdiff-2.7.0.ebuild | 55 +++++++++++++++++++++++++++++++++++++
15 2 files changed, 56 insertions(+)
16
17 diff --git a/dev-db/apgdiff/Manifest b/dev-db/apgdiff/Manifest
18 index e2443ad6aba..8d4eb5dcbdb 100644
19 --- a/dev-db/apgdiff/Manifest
20 +++ b/dev-db/apgdiff/Manifest
21 @@ -1 +1,2 @@
22 DIST apgdiff-2.4-src.zip 227714 BLAKE2B 1c62c94592b28a7caf5a56f4ef4206cc2655f2da278d5a71e165f409587d1573dd44b62261817f0b994ed95a398555190dee6a2873fe493f695e91c6cf9dd22c SHA512 f37e0f86ff8a8bc53a43cac1748ab3a2c96ab6c972b37ee63f281ee397b31a7b48986cbc963d89ea773f1bb7b10b798de74a4c88a03f2db7672501b93355261b
23 +DIST apgdiff-2.7.0-sources.tar.gz 365759 BLAKE2B 6a43bea29fa77a6a07b8599b150769e42480e656d7930faf56dd5db89a2281e10baee596e78d245411879ca99e143d3ebfb6144ea68b5d2f56f7f939004897dc SHA512 db52bcf5af78339ab08cd6a5225d7df9d55cf4eb1bcefaf9e9b12f8ac06f7babb2261ac92b7aa49a6f43a39f9e7894f4dea88b1b794f0a87681ab872c5d1d430
24
25 diff --git a/dev-db/apgdiff/apgdiff-2.7.0.ebuild b/dev-db/apgdiff/apgdiff-2.7.0.ebuild
26 new file mode 100644
27 index 00000000000..cea00c1a158
28 --- /dev/null
29 +++ b/dev-db/apgdiff/apgdiff-2.7.0.ebuild
30 @@ -0,0 +1,55 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +# Skeleton command:
35 +# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://github.com/fordfrog/apgdiff/archive/refs/tags/release_2.7.0.tar.gz --slot 0 --keywords "~amd64 ~x86" --ebuild apgdiff-2.7.0.ebuild
36 +
37 +EAPI=7
38 +
39 +JAVA_PKG_IUSE="doc source test"
40 +MAVEN_ID="cz.startnet:apgdiff:2.7.0"
41 +JAVA_TESTING_FRAMEWORKS="junit-4"
42 +
43 +inherit java-pkg-2 java-pkg-simple
44 +
45 +DESCRIPTION="A simple PostgreSQL diff tool that is useful for schema upgrades"
46 +HOMEPAGE="http://www.apgdiff.com/"
47 +SRC_URI="https://github.com/fordfrog/${PN}/archive/refs/tags/release_${PV}.tar.gz -> ${P}-sources.tar.gz"
48 +LICENSE="MIT"
49 +SLOT="0"
50 +KEYWORDS="~amd64 ~x86"
51 +
52 +# Compile dependencies
53 +# POM: pom.xml
54 +# test? junit:junit:4.13.1 -> >=dev-java/junit-4.13.2:4
55 +# test? org.hamcrest:hamcrest-all:1.3 -> !!!artifactId-not-found!!!
56 +
57 +DEPEND="
58 + >=virtual/jdk-1.8:*
59 + ${CDEPEND}
60 + test? (
61 + dev-java/hamcrest-core:0
62 + )
63 +"
64 +
65 +RDEPEND="
66 + >=virtual/jre-1.8:*
67 + ${CDEPEND}"
68 +
69 +RESTRICT="!test? ( test )"
70 +
71 +S="${WORKDIR}/${PN}-release_${PV}"
72 +
73 +JAVA_LAUNCHER_FILENAME="${PN}"
74 +
75 +JAVA_SRC_DIR="src/main/java"
76 +JAVA_MAIN_CLASS="cz.startnet.utils.pgdiff.Main"
77 +JAVA_RESOURCE_DIRS=(
78 + "src/main/resources"
79 +)
80 +
81 +JAVA_TEST_GENTOO_CLASSPATH="hamcrest-core,junit-4"
82 +JAVA_TEST_SRC_DIR="src/test/java"
83 +JAVA_TEST_RESOURCE_DIRS=(
84 + "src/test/resources"
85 +)