1 |
commit: 10b429a61f236385b562b09d2890e95f2fadf9c9 |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> |
3 |
AuthorDate: Fri Jan 29 12:21:17 2021 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> |
5 |
CommitDate: Fri Jan 29 12:21:17 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=10b429a6 |
7 |
|
8 |
sci-misc/jwnl: version bump 1.4_rc2, EAPI bump |
9 |
|
10 |
Package-Manager: Portage-3.0.14, Repoman-3.0.2 |
11 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net> |
12 |
|
13 |
sci-misc/jwnl/jwnl-1.3_rc3.ebuild | 48 --------------------------------------- |
14 |
sci-misc/jwnl/jwnl-1.4_rc2.ebuild | 48 +++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 48 insertions(+), 48 deletions(-) |
16 |
|
17 |
diff --git a/sci-misc/jwnl/jwnl-1.3_rc3.ebuild b/sci-misc/jwnl/jwnl-1.3_rc3.ebuild |
18 |
deleted file mode 100644 |
19 |
index 7abef0b58..000000000 |
20 |
--- a/sci-misc/jwnl/jwnl-1.3_rc3.ebuild |
21 |
+++ /dev/null |
22 |
@@ -1,48 +0,0 @@ |
23 |
-# Copyright 1999-2021 Gentoo Authors |
24 |
-# Distributed under the terms of the GNU General Public License v2 |
25 |
- |
26 |
-EAPI=5 |
27 |
- |
28 |
-inherit eutils java-pkg-2 java-utils-2 versionator |
29 |
- |
30 |
-MY_P=${PN}$(delete_all_version_separators) |
31 |
- |
32 |
-DESCRIPTION="Java interface to WordNet dictionary data" |
33 |
-HOMEPAGE="http://jwordnet.sf.net" |
34 |
-SRC_URI=" |
35 |
- mirror://sourceforge/jwordnet/${MY_P}_src.zip |
36 |
- mirror://sourceforge/jwordnet/${MY_P}.zip" |
37 |
- |
38 |
-LICENSE="BSD" |
39 |
-SLOT="0" |
40 |
-KEYWORDS="~x86" |
41 |
-IUSE="" |
42 |
- |
43 |
-COMMON_DEP="dev-java/commons-logging" |
44 |
-DEPEND=">=virtual/jdk-1.4 |
45 |
- app-arch/unzip |
46 |
- ${COMMON_DEP}" |
47 |
-RDEPEND=">=virtual/jre-1.4 |
48 |
- ${COMMON_DEP}" |
49 |
- |
50 |
-S="${WORKDIR}" |
51 |
- |
52 |
-src_prepare() { |
53 |
- rm -v commons-logging.jar jwnl.jar || die |
54 |
-} |
55 |
- |
56 |
-src_compile() { |
57 |
- # picked up from dev-java/ant-eclipse-ecj |
58 |
- ejavac -classpath "$(java-pkg_getjars commons-logging)" \ |
59 |
- `find net -name '*.java'` || die "ejavac failed" |
60 |
- find net -name '*.class' -o -name '*.properties' | \ |
61 |
- xargs jar cf "${S}/${PN}.jar" || die "jar failed" |
62 |
-} |
63 |
- |
64 |
-src_install() { |
65 |
- java-pkg_dojar ${PN}.jar utilities.jar |
66 |
- insinto /usr/share/${PN} |
67 |
- doins create.sql database_properties.xml file_properties.xml \ |
68 |
- jwnl_properties.dtd jwnl_properties.xsd map_properties.xml |
69 |
- dodoc changes.txt |
70 |
-} |
71 |
|
72 |
diff --git a/sci-misc/jwnl/jwnl-1.4_rc2.ebuild b/sci-misc/jwnl/jwnl-1.4_rc2.ebuild |
73 |
new file mode 100644 |
74 |
index 000000000..6a25eede5 |
75 |
--- /dev/null |
76 |
+++ b/sci-misc/jwnl/jwnl-1.4_rc2.ebuild |
77 |
@@ -0,0 +1,48 @@ |
78 |
+# Copyright 1999-2021 Gentoo Authors |
79 |
+# Distributed under the terms of the GNU General Public License v2 |
80 |
+ |
81 |
+EAPI=7 |
82 |
+ |
83 |
+inherit java-pkg-2 java-utils-2 |
84 |
+ |
85 |
+MY_P=${PN}${PV//.} |
86 |
+ |
87 |
+DESCRIPTION="Java interface to WordNet dictionary data" |
88 |
+HOMEPAGE="https://sourceforge.net/projects/jwordnet/" |
89 |
+SRC_URI="mirror://sourceforge/jwordnet/${MY_P//_rc/-rc}.zip" |
90 |
+ |
91 |
+LICENSE="BSD" |
92 |
+SLOT="0" |
93 |
+KEYWORDS="~amd64 ~x86" |
94 |
+ |
95 |
+COMMON_DEP=" |
96 |
+ dev-java/commons-logging:0 |
97 |
+ dev-java/junit:4 |
98 |
+" |
99 |
+DEPEND=">=virtual/jdk-1.7 |
100 |
+ ${COMMON_DEP}" |
101 |
+RDEPEND=">=virtual/jre-1.7 |
102 |
+ ${COMMON_DEP}" |
103 |
+BDEPEND="app-arch/unzip" |
104 |
+ |
105 |
+S="${WORKDIR}/${MY_P//_rc/-rc}" |
106 |
+ |
107 |
+src_prepare() { |
108 |
+ rm jwnl.jar lib/commons-logging.jar lib/junit-4.1.jar || die |
109 |
+ default |
110 |
+} |
111 |
+ |
112 |
+src_compile() { |
113 |
+ # picked up from dev-java/ant-eclipse-ecj |
114 |
+ ejavac -classpath "$(java-pkg_getjars commons-logging):$(java-pkg_getjars junit:4)" \ |
115 |
+ `find -name '*.java'` || die "ejavac failed" |
116 |
+ find -name '*.class' -o -name '*.properties' | \ |
117 |
+ xargs jar cf "${S}/${PN}.jar" || die "jar failed" |
118 |
+} |
119 |
+ |
120 |
+src_install() { |
121 |
+ java-pkg_dojar ${PN}.jar |
122 |
+ insinto /usr/share/${PN} |
123 |
+ doins -r sql config/* |
124 |
+ dodoc changes.txt |
125 |
+} |