From 6f26b37d9e61ade86eb957ca23663e093ede74f4 Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Sat, 14 Mar 2015 14:59:06 +0000 Subject: Version bump. Sources now bundled with findbugs and uses its version numbers. Latest findbugs is 3.0.1 but jFormatString itself hasn't changed since 2.0.3. Package-Manager: portage-2.2.18/cvs/Linux x86_64 Manifest-Sign-Key: 0x9C6D7DE4 --- dev-java/jformatstring/ChangeLog | 11 +++- dev-java/jformatstring/Manifest | 31 +++++++++-- dev-java/jformatstring/files/build.xml | 60 ---------------------- dev-java/jformatstring/jformatstring-0.9-r1.ebuild | 47 ----------------- dev-java/jformatstring/jformatstring-2.0.3.ebuild | 32 ++++++++++++ dev-java/jformatstring/metadata.xml | 1 + 6 files changed, 68 insertions(+), 114 deletions(-) delete mode 100644 dev-java/jformatstring/files/build.xml delete mode 100644 dev-java/jformatstring/jformatstring-0.9-r1.ebuild create mode 100644 dev-java/jformatstring/jformatstring-2.0.3.ebuild diff --git a/dev-java/jformatstring/ChangeLog b/dev-java/jformatstring/ChangeLog index e1941c23266b..e6c7b94641a4 100644 --- a/dev-java/jformatstring/ChangeLog +++ b/dev-java/jformatstring/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-java/jformatstring -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jformatstring/ChangeLog,v 1.3 2014/06/17 13:43:24 mrueg Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jformatstring/ChangeLog,v 1.4 2015/03/14 14:58:54 chewi Exp $ + +*jformatstring-2.0.3 (14 Mar 2015) + + 14 Mar 2015; James Le Cuirot +jformatstring-2.0.3.ebuild, + -files/build.xml, -jformatstring-0.9-r1.ebuild, metadata.xml: + Version bump. Sources now bundled with findbugs and uses its version numbers. + Latest findbugs is 3.0.1 but jFormatString itself hasn't changed since 2.0.3. 17 Jun 2014; Manuel RĂ¼ger -jformatstring-0.9.ebuild: NM: Cleanup superseded ebuilds. diff --git a/dev-java/jformatstring/Manifest b/dev-java/jformatstring/Manifest index 162ab2a1bfd8..b8651b030d6f 100644 --- a/dev-java/jformatstring/Manifest +++ b/dev-java/jformatstring/Manifest @@ -1,5 +1,26 @@ -AUX build.xml 1603 SHA256 ee3ec33b2b7601323b013c357d3621d1d99d075f1b31d20570e8385b2176d615 SHA512 8144f5c268feb7ecd67ca7f0f7283369893ea254efafdf8106587e01fe05a41efa5add784e64cbb3d1f4cc7b10d759d949131cc517e5d5545ec4121809e998f0 WHIRLPOOL f950b2b9aadeb0ebe8f74c4377e1aa8ea7785fbf10cf49a18cafbd9d13e1a4faa6715c3d40767321ef7b568083e85bad9bfb6ff50bcbbeb9c4952b3669bd8757 -DIST jformatstring-0.9.tar.gz 15710 SHA256 b9311e645313060df5cb65cc604bd0cc692c3b327d46db0245cbbf0984958f5c SHA512 b3e2880195d3f33e39ed4fe61487b1c600c89cbf82a95d420fa2b6b47dbade1970e670e0e37d2fbd1d382cc249fdd640833cae79c9942d305b467e65406b016d WHIRLPOOL d47fba868c56395d53bb0e6e7779a1b13f343d37517192adfc445e196da6dba5372e3400973e434a5eae883cfeddffe1a4ea3eaccf27108c1c66daf096a45654 -EBUILD jformatstring-0.9-r1.ebuild 1077 SHA256 6a56d1398a8613f04b608bdadf05e1854ac3827698c51dfd2e3798b1156540c8 SHA512 65f7d2fabf6c8aab9f21b72070a1ba10590dfc8a74f429ea05483f620ee7589291f725606e7d8ece7bc418c0cca3fef80b54fa2e099faecfb911e14d1138d783 WHIRLPOOL 33fc0c9c77a7da6754d9218798b89d5d721ed59c8033a95a2c86b9dbef96fae7bb371d5a21c163eef7fa2f731609215f6af62258e0d27677435aea05c3f0b671 -MISC ChangeLog 849 SHA256 5343ca60a987c38575c4f66421bff82ab9448740518465fb0389f496c266d715 SHA512 bb14188607ebb9b9a93f0026631aa6213b6acda25b789734a9d7deefe5f0810060a7e8d7d5e8f276e161da056715b40bf442e1fa7990aed37afe5e1a59b273c9 WHIRLPOOL 8c8bb8fd6298831277d347088a01b733964ceab2a07020bab66a5236ce63d086f94591de9142db215e90023d0ec0bf5ae19c6ca443609392d9423a9b018333f5 -MISC metadata.xml 158 SHA256 ea882ceccfd160b16cf7e79de423bdcc12b3fa000f124491a6df36f5783894fb SHA512 54f88fc3270968439ba87295b04365a89101c55d33a8c209a56036dc60244e5c73f78ec09484b3e5af28de9dee2159b1dab670cbd5d80a9e0c4543145c0390a3 WHIRLPOOL fcffc4fb6751b5a6eec33aa833f9d7dea0168d3ab67f7e34565370f92fd917ed882bcc57585481bf4d31e601f83a592d99d1c3f50fc793f1c38cd174cc8b2f26 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +DIST findbugs-3.0.1-source.zip 9625065 SHA256 bd8ec66550d419ed40283bd78a6268f9af57dcad20b732a9309fd1835abd33ff SHA512 d967769f2356f28b34d92c7451cf3e2ac004e667bfc3b049b5b10b1c19d7be2cfa0db132a77698d042300330f77a2bb5dd8c4baa0d67c37b7e5ae6da9e83a64f WHIRLPOOL 9e407cb5733560d6a548da37becdf1b1b120459a2453d85d4a345a7ff30a3ba1d92179a2586ebfac3c23c6d20f591aed6429b501d6ec791f4b1a390ab77ce387 +EBUILD jformatstring-2.0.3.ebuild 869 SHA256 c0fead603ed12c759c415668f77b1c3e500dd8e853e160e04d25ba4b19ee4e32 SHA512 25b986dcdc470e1fcaf329b6a5b6b6a33b57f28ac0f1e0a74bdc5e775a41b2e9db60414966aee80df42c266bb68c679ec78e7fba72207eccb59d6f4f1267f28b WHIRLPOOL 8c7bfda3882fcf2f3c1575cc09f7c8893ae94cb4267184bbfddd95d7d19c4b21824f8801e5842580e1f2f44d21324bc71dd7a9c412ae8854876ca2b5833b209f +MISC ChangeLog 1189 SHA256 7294fdc6debe7f2e14676407862ff1e7c965d859b6bd0a2f91dbc3b1792e5b87 SHA512 1143f818baa71f0ec67076a3c6a3783bd97eae21d37d7c42a59a932e7f2eaba49efa2d154f5b1c84bee5c5dcd3fd8297088ce6f4d4f68b9a85efcc215efd2102 WHIRLPOOL ed6053490198343841cc4ce21fb8a6cca08c2e821d2a8b8fe0f30e6c0aeff4a9970024f29d93e3b04a2fe6616c201219ceff24aa0194a3ef521f1480ae435565 +MISC metadata.xml 409 SHA256 0168fb8de08521cd034fa447953189e70c58af3d2484a25a239ee85ccbf79fec SHA512 30928026e28e1682b1b335bb79a688b0ad1b1d8a8a4c848317d17789d2911e58b94371c4b4aaba307869854e4ef01307c32301d9b377799d157f43176efb0b0e WHIRLPOOL da8de8005812f2d99150d3d1cd86e658e6c3ce9d9c229a8556633b117978d40d35d19cfa93649ea0781b7fd7de5ca9bea2d33a209f219a35ced6ffe5f2fabe0f +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0 + +iQJ8BAEBCABmBQJVBEy0XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w +ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ1MjhERTZCRDg2OTFBNDM5MUZEQTJFRDQy +MUM2MzIxMjlDNkQ3REU0AAoJECHGMhKcbX3kVvIP/0+wc12k80lbObrdlSmLGhFD +zAQTDJgButf+mHupW6Vdwr2p7t+ruX/ZXJ0ULvHaexDlmMBgv8Ncr4oEeCBDJoBu +PL53iqff4fyEriKw8X2ASA81qo0BQC2fpZD6Ttd9ymYhlT4vcWkF+b7H6uob/FX6 +UVrmc3iTk/KuaWYDTcRWJrys+dMGKKrAq7W+tdMtOW9FIhTA1MQmrZNseDl7tzcZ +LY2MMsOxY6PvCv4asG9xAd3YiW4n1vX0IzFNUK6V/8Kx1B9IxXbHMrIblQn73dBM +zeL78jhEZZuyjssBJWHhHRt82s5mT4JFYEVX3aV23MIdOcigbdR1kig+ngrsuQss +S6uxtG/eiofkFHMGJXo3bssNI86wbqD5uTzDiDylQ5pUN9Jyxoy2ji5MF1ifRkgP +VdIlfZSnG7NfxhEedmZDIgmyb3scOpzRS+dj/NcE060o873JHnBVug+UroedGLq5 +LC2Zkn/2GN9QqfJx7ghIb12NyPW34mdb3C4dPqWvTBenwGcun1RZOvn3bfoP5T+c +CRsiRZOSrPVPEBdj5nI/G7asA4J/V1TaeQaK6kvn12+ld2yFdhfa5ZQvZHFcGrGC +aMqPboyYG/eZ/m8xewcEYqluO/TfKWFh6DYECduFJYKR3Ootp+Du7zxczdWGMBV2 +sHW9PPQuwrARIQwwnTpw +=kGAL +-----END PGP SIGNATURE----- diff --git a/dev-java/jformatstring/files/build.xml b/dev-java/jformatstring/files/build.xml deleted file mode 100644 index 68cb8b6b86a5..000000000000 --- a/dev-java/jformatstring/files/build.xml +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/dev-java/jformatstring/jformatstring-0.9-r1.ebuild b/dev-java/jformatstring/jformatstring-0.9-r1.ebuild deleted file mode 100644 index 3048f5dc7a58..000000000000 --- a/dev-java/jformatstring/jformatstring-0.9-r1.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jformatstring/jformatstring-0.9-r1.ebuild,v 1.1 2012/06/17 15:20:15 sera Exp $ - -EAPI=4 - -JAVA_PKG_IUSE="doc source test" - -inherit eutils java-pkg-2 java-ant-2 - -DESCRIPTION="Compile time checking for Java Format Strings" -SRC_URI="mirror://gentoo/${P}.tar.gz" -HOMEPAGE="https://jformatstring.dev.java.net/" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" -IUSE="" - -RDEPEND=">=virtual/jre-1.5" -DEPEND=">=virtual/jdk-1.5 - app-arch/unzip - test? ( - dev-java/ant-junit:0 - dev-java/junit:4 - )" - -java_prepare() { - # Upstreams is aargh! - cp "${FILESDIR}"/build.xml . || die -} - -JAVA_ANT_REWRITE_CLASSPATH="true" -EANT_TEST_GENTOO_CLASSPATH="junit:4" - -src_test() { - java-pkg-2_src_test -} - -src_install() { - # Rename to match old name it was installed under - # should be fixed on slot bump - java-pkg_newjar build/${PN}.jar jFormatString.jar - - use source && java-pkg_dosrc src/java/* - use doc && java-pkg_dojavadoc build/javadoc -} diff --git a/dev-java/jformatstring/jformatstring-2.0.3.ebuild b/dev-java/jformatstring/jformatstring-2.0.3.ebuild new file mode 100644 index 000000000000..525cd2279ddd --- /dev/null +++ b/dev-java/jformatstring/jformatstring-2.0.3.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jformatstring/jformatstring-2.0.3.ebuild,v 1.1 2015/03/14 14:58:54 chewi Exp $ + +EAPI=5 + +FINDBUGS_PV="3.0.1" +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Compile time checking for Java format strings" +SRC_URI="mirror://sourceforge/findbugs/findbugs-${FINDBUGS_PV}-source.zip" +HOMEPAGE="http://code.google.com/p/j-format-string" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +RDEPEND=">=virtual/jre-1.5" +DEPEND=">=virtual/jdk-1.5 + app-arch/unzip" + +src_unpack() { + unzip -qoj "${DISTDIR}/findbugs-${FINDBUGS_PV}-source.zip" "findbugs-${FINDBUGS_PV}/lib/jFormatString.jar" || die + unpack ./jFormatString.jar +} + +java_prepare() { + find -name "*.class" -delete || die +} diff --git a/dev-java/jformatstring/metadata.xml b/dev-java/jformatstring/metadata.xml index 7303cef96964..2e1274aa1899 100644 --- a/dev-java/jformatstring/metadata.xml +++ b/dev-java/jformatstring/metadata.xml @@ -2,4 +2,5 @@ java + This code is designed to allow for compile time checking of Java format strings. It can check that the format string is valid, that the proper number of arguments are supplied and that they are of the correct type. -- cgit v1.2.3-65-gdbad