From: | "Petteri Raty (betelgeuse)" <betelgeuse@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-java/json-simple: json-simple-20080420.ebuild metadata.xml Manifest ChangeLog |
Date: | Sun, 20 Apr 2008 14:33:18 |
Message-Id: | E1JnabT-00056e-Ox@stork.gentoo.org |
1 | betelgeuse 08/04/20 14:33:15 |
2 | |
3 | Added: json-simple-20080420.ebuild metadata.xml Manifest |
4 | ChangeLog |
5 | Log: |
6 | Initial addition. Thanks to serkan for the original ebuild which was then improved by me. |
7 | (Portage version: 2.1.5_rc3) |
8 | |
9 | Revision Changes Path |
10 | 1.1 dev-java/json-simple/json-simple-20080420.ebuild |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/json-simple/json-simple-20080420.ebuild?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/json-simple/json-simple-20080420.ebuild?rev=1.1&content-type=text/plain |
14 | |
15 | Index: json-simple-20080420.ebuild |
16 | =================================================================== |
17 | # Copyright 1999-2008 Gentoo Foundation |
18 | # Distributed under the terms of the GNU General Public License v2 |
19 | # $Header: /var/cvsroot/gentoo-x86/dev-java/json-simple/json-simple-20080420.ebuild,v 1.1 2008/04/20 14:33:15 betelgeuse Exp $ |
20 | |
21 | JAVA_PKG_IUSE="doc source" |
22 | |
23 | inherit java-pkg-2 java-ant-2 |
24 | |
25 | DESCRIPTION="Simple Java toolkit for JSON" |
26 | HOMEPAGE="http://www.json.org" |
27 | |
28 | MY_PN="${PN/-/_}" |
29 | # Bad usptream not having versioned releases |
30 | # orig SRC_URI="http://www.json.org/java/${MY_PN}.zip" |
31 | SRC_URI="mirror://gentoo/${MY_PN}-20080420.zip" |
32 | |
33 | LICENSE="LGPL-2.1" |
34 | SLOT="0" |
35 | KEYWORDS="~amd64 ~x86" |
36 | |
37 | DEPEND=">=virtual/jdk-1.4" |
38 | RDEPEND=">=virtual/jre-1.4" |
39 | |
40 | S="${WORKDIR}/${MY_PN}" |
41 | |
42 | src_unpack() { |
43 | unpack ${A} |
44 | cd "${S}" |
45 | epatch "${FILESDIR}/extra-constructors-from-azureus.patch" |
46 | rm -rv build lib || die |
47 | cp -v "${FILESDIR}/build.xml" . || die |
48 | } |
49 | |
50 | JAVA_ANT_ENCODING="ISO-8859-1" |
51 | EANT_BUILD_TARGET="dist" |
52 | |
53 | src_install() { |
54 | java-pkg_dojar dist/lib/*.jar |
55 | dodoc README.txt || die |
56 | |
57 | use doc && java-pkg_dojavadoc javadoc |
58 | use source && java-pkg_dosrc src/org |
59 | } |
60 | |
61 | |
62 | |
63 | 1.1 dev-java/json-simple/metadata.xml |
64 | |
65 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/json-simple/metadata.xml?rev=1.1&view=markup |
66 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/json-simple/metadata.xml?rev=1.1&content-type=text/plain |
67 | |
68 | Index: metadata.xml |
69 | =================================================================== |
70 | <?xml version="1.0" encoding="UTF-8"?> |
71 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
72 | <pkgmetadata> |
73 | <herd>java</herd> |
74 | <longdescription lang="en"> |
75 | Why the Simple Java toolkit (also named as JSON.simple) for JSON? |
76 | When I use JSON as the data exchange format between the AJAX client and JSP |
77 | for the first time, what worry me mostly is how to encode Java strings and |
78 | numbers correctly in the server side so the AJAX client will receive a well |
79 | formed JSON data. When I looked into the 'JSON in Java' directory in JSON |
80 | website,I found that wrappers to JSONObject and JSONArray can be simpler, |
81 | due to the simplicity of JSON itself. So I wrote the JSON.simple package. |
82 | </longdescription> |
83 | </pkgmetadata> |
84 | |
85 | |
86 | |
87 | 1.1 dev-java/json-simple/Manifest |
88 | |
89 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/json-simple/Manifest?rev=1.1&view=markup |
90 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/json-simple/Manifest?rev=1.1&content-type=text/plain |
91 | |
92 | Index: Manifest |
93 | =================================================================== |
94 | AUX build.xml 1524 RMD160 faadd94f56f942c6e8f0b10b77fc7be143fe3751 SHA1 2a0d962ace8a4ba111dafeb22ba5187ed47963c4 SHA256 4dc2f58cb9611dbe1e03aee77fa48c17b98f3da93b91ac8655bda5468cf6f8c8 |
95 | AUX extra-constructors-from-azureus.patch 5102 RMD160 fbd3697545756930745241d289501d389d317415 SHA1 c4f17d1d4a20e110d4667125cab8c8c7297f6956 SHA256 9fbb7cac3c23caf00521d99a20cc63d0b4fadf75ecae8814f3eefb2600affaaa |
96 | DIST json_simple-20080420.zip 50835 RMD160 7cbc378e159d5038112a1edea1c8fd08209cae5b SHA1 cbb49ca71d2beeb4a7e7344736c9384957af9d8e SHA256 0942dabbf8bea388caf6c1cbb550dbbabfa9e359fb2a9e980d660b572c3a0077 |
97 | EBUILD json-simple-20080420.ebuild 931 RMD160 f8e8c28e1bd828297ec09c455b915cfcb8e6a73a SHA1 bfcf3e43f11c931eeafcc571bbc32adc2b8a7582 SHA256 0c571cd642622ec978e9ea5356ecc8eb6428a2a60c0ca6e0e8d9dec5feb600b1 |
98 | MISC ChangeLog 419 RMD160 df153c54903fecb12a6d69f079ea6d0df52044a4 SHA1 ef41a2f5228e24c966af9a8c9e2236cd0131b718 SHA256 cc0d37b28a5b3253bddeb86b175b077a6d43a362e829e88f6afc906dbdcdfed0 |
99 | MISC metadata.xml 729 RMD160 872a35b2ec851360e4e2b0c130935cdcd0c295be SHA1 59937765a382a57adbf49e5eef1f1a0fe445f08a SHA256 35ca99cca4fd36ebd8e646c31f67df981f73ce9798be98e98551c054ed102561 |
100 | |
101 | |
102 | |
103 | 1.1 dev-java/json-simple/ChangeLog |
104 | |
105 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/json-simple/ChangeLog?rev=1.1&view=markup |
106 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/json-simple/ChangeLog?rev=1.1&content-type=text/plain |
107 | |
108 | Index: ChangeLog |
109 | =================================================================== |
110 | # ChangeLog for dev-java/json-simple |
111 | # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
112 | # $Header: /var/cvsroot/gentoo-x86/dev-java/json-simple/ChangeLog,v 1.1 2008/04/20 14:33:15 betelgeuse Exp $ |
113 | |
114 | *json-simple-20080420 (20 Apr 2008) |
115 | |
116 | 20 Apr 2008; Petteri Räty <betelgeuse@g.o> +files/build.xml, |
117 | +files/extra-constructors-from-azureus.patch, +metadata.xml, |
118 | +json-simple-20080420.ebuild: |
119 | Initial addition. Thanks to serkan for the original ebuild which was then |
120 | improved by me. |
121 | |
122 | |
123 | |
124 | |
125 | -- |
126 | gentoo-commits@l.g.o mailing list |