diff options
Diffstat (limited to 'dev-java/javatoolkit')
-rw-r--r-- | dev-java/javatoolkit/Manifest | 10 | ||||
-rw-r--r-- | dev-java/javatoolkit/files/javatoolkit-0.3.0-no-pyxml.patch | 29 | ||||
-rw-r--r-- | dev-java/javatoolkit/files/javatoolkit-0.3.0-python2.6.patch | 12 | ||||
-rw-r--r-- | dev-java/javatoolkit/javatoolkit-0.3.0-r9.ebuild | 33 | ||||
-rw-r--r-- | dev-java/javatoolkit/javatoolkit-0.6.0.ebuild | 27 | ||||
-rw-r--r-- | dev-java/javatoolkit/javatoolkit-9999.ebuild | 30 | ||||
-rw-r--r-- | dev-java/javatoolkit/metadata.xml | 8 |
7 files changed, 149 insertions, 0 deletions
diff --git a/dev-java/javatoolkit/Manifest b/dev-java/javatoolkit/Manifest new file mode 100644 index 000000000000..e0ea07b5bfd2 --- /dev/null +++ b/dev-java/javatoolkit/Manifest @@ -0,0 +1,10 @@ +AUX javatoolkit-0.3.0-no-pyxml.patch 1128 SHA256 9f0e285c15a1a477606c61fabc391a8f56656525c7d92f91ae59e289eee7d8a9 SHA512 edb135c6008a24d22bf5116bc73944fddf5a8c44354b80800425457c9c9ee8ef4f55413ca88507c991ed835945bc7d162f6b1b3a30c57fc5f41f278e0c5afe16 WHIRLPOOL b0cc84debd5be1e5abf4daf338b21ca55e6e84be7d59a39beff65c7b1dfc2442eeb5e7a0e28313606981f18e83f5ef38344887a15ce8ecc7a03bbe3bd2ecb62a +AUX javatoolkit-0.3.0-python2.6.patch 413 SHA256 4128e060d2c3693717c64e443527380f548d663496bb982fe45463e6370d920d SHA512 54df3c263a4b8f42457eb848f3fd79ef83953cfc1069c9229e339a178d2363bdaa636ec11ea49dbf5693c5eafe4d123942bf06f3b77b80b0cd8de2177045952c WHIRLPOOL 6c15e4fff8d0b841ff13dd9d1e38a5e77c41f80db6d0460eb3735f4632953b5ae23030e31da02cde361972468ab939fa2b9aa333f09a5b17c25b8ab5b97eadbd +DIST javatoolkit-0.3.0.tar.bz2 16823 SHA256 47bf8aad2ec58b2d850e8cbe57fe2707859d800b215b24387c7652a50353677c SHA512 e7bbe04e39ab277d0aab89f0eea963c4b0341a336660dab08bfad0510ad1b2b49ce7410a2363bcf9ebad5f8757ee254ddc27af642b4bfb374db52d82cf02c3b1 WHIRLPOOL a9b1034939a0e22c49620bb29d3652e8f5e6a8e71645556fe00463aabc0c1ff2ac2b666f59fd0ceea8ea5dc18579d90cc11a07ba341028831e3b8dd1e8a0e9ce +DIST javatoolkit-0.6.0.tar.bz2 26009 SHA256 eea0c349d0f532d632ac7b79f65c3c90d5dee3a6db044cf37cbbacf7448ac2ac SHA512 ab17ce59032286af30f238a3f0b37b5ebee2bcfbf4029239fce5f691265f87dfec3a7b29972a3d03aebe79ec22c435c2e37ca0e009fd8d53a58e7424a5e61409 WHIRLPOOL 9454a5835aa15afc2e7021c82254b4103b76f1b9165d80eb15b41a62547da7cfb5543af06d418992248d3c4bfce4d0e07cff00fe95d3f5303fb24aabd86a1845 +EBUILD javatoolkit-0.3.0-r9.ebuild 914 SHA256 b92417c725cc81a9b62d5b82152b222ca4937d8eb351ef80d98aee7166d3e062 SHA512 4906143e70c2571a5cbffe2b25fff39a151110b8bcd59d79b9fd0b783e641dadd6f3ff304c1094fb495cf0ec190c9d059e062fbdd7a63a85b7b020746e611620 WHIRLPOOL 67d8e726e17a73f2348fde5a1a69a1d022f91f70b20bd339ee7034538d41019aca416e4f0e3c48643ac0b69bfe8238c6051422047a362ee373ae91d1dcc12ffc +EBUILD javatoolkit-0.6.0.ebuild 859 SHA256 d2b0136aaab5b359291c04198d7dd2bb61e3220d47681583c43c95549bc0eaed SHA512 b4b137610446330088ab3e5e11817a10006969666a548efea31b175df9e5fbf550b73f3dab6fc053eabbf12682b90d0deae69be70c869d9d8cbbf4ceb4537a97 WHIRLPOOL c1a9a64296d71d1b12ac4eb3eaccf7c0e9b6af2b2ac2ea5653f4d3e34aa93249f6b222f62bcb6e1858c73f334a446050990455b6bcd9ce55d7a4592e19d95a94 +EBUILD javatoolkit-9999.ebuild 681 SHA256 213ac2f4515512759e5f6f027a1f2d465c6894c85ba061a94fd1606f587834c3 SHA512 696e6bcdcea76d9b59a65a80a79cf78e1e9634d0a7eba18dd5700edb328b2773399b1dd8c973d19b0aac3c31953015bc0dee37861ee44f551108310fc249997d WHIRLPOOL 873376c45ccc9163d43e2608659fd97bf75dd75fb57d6028c200b601bae786aef3c3da565e9ec41d1d8918fcb065b9b913e659fd1ff4c1134f26fae461370d2a +MISC ChangeLog 3405 SHA256 f99a61fb64a1dfaf685f302b3460af59ba25605635487354fc3384fc8a8167f8 SHA512 ebad97fa9317c63da8cf4cf22712ae1f7600af5c943537d0320ab7533453b0ac90609f54ddcdd127deca23459a5e17cd1e7a66b8cc1d7c3fc3a3ba26666a2536 WHIRLPOOL 1b0505667e4e716aa4b973f3abb39e420dfdbd8cf03b42ed78a473199a82e8ce954f063f5a8d9647987b1977e2911560d77b526945f98db54a8359716c31b4f4 +MISC ChangeLog-2015 11479 SHA256 5eeadb8a2983af6d5b3831b6358b5a9ce22804922bae3ebb8736ece229fe75b8 SHA512 eaf827a0dc58c2b70ec51ed6a9ed593557a45768e54c5497c91f59323f387e527903ad0a86ff5cf65ef7794dd5c4daf4da38efca3f2c833d510442e011a17901 WHIRLPOOL c1d06f73286be6e34555b82b5b7c8533eb7f6d46e53a7e05a8629a55df4b8a1d04f89ea815f84978958c55029f146c5935604132e34266e452c0a027b59a9ea4 +MISC metadata.xml 236 SHA256 3e778d35b34b5cc1a4dd7ce105fe7d2a99b25fb6dfe24709455da94baa8a0548 SHA512 1755c2590e59060f697294c5ad125b83f2d50e05a71f7091b7de75953941914cd2db3a893bd6154a2c90fa4aff5e313e75e3e174dbba1edd5c112787da5be253 WHIRLPOOL 7967660784d0d28e9a3c3c222c5bf85b3a8b59fd84b61780e4e7cc1aa5d8bd87bee40e4c5c42e646f15d6641fe182340bcbe8be94c785f40e0ac870c7a96e5cc diff --git a/dev-java/javatoolkit/files/javatoolkit-0.3.0-no-pyxml.patch b/dev-java/javatoolkit/files/javatoolkit-0.3.0-no-pyxml.patch new file mode 100644 index 000000000000..3218d1702033 --- /dev/null +++ b/dev-java/javatoolkit/files/javatoolkit-0.3.0-no-pyxml.patch @@ -0,0 +1,29 @@ +Index: src/py/javatoolkit/xml/DomRewriter.py +=================================================================== +--- src/py/javatoolkit/xml/DomRewriter.py (revision 8310) ++++ src/py/javatoolkit/xml/DomRewriter.py (working copy) +@@ -78,7 +78,6 @@ + + + def write(self,stream): +- from xml.dom.ext import PrettyPrint +- PrettyPrint(self.document,stream) ++ stream.write(self.document.toxml("utf-8")) + + # vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 nowrap: +Index: src/py/javatoolkit/maven/MavenPom.py +=================================================================== +--- src/py/javatoolkit/maven/MavenPom.py (revision 8310) ++++ src/py/javatoolkit/maven/MavenPom.py (working copy) +@@ -185,10 +185,7 @@ + for build_node in build_nodes: + build_node.appendChild(plugins_node.cloneNode(deep=True)) + +- from xml.dom.ext import PrettyPrint +- self.write = self.__write +- PrettyPrint(xmldoc,self) +- self.write = None ++ self.__write(xmldoc.toxml("utf-8")) + + + def create_element(self,xmldoc,element_name,text_value=None): diff --git a/dev-java/javatoolkit/files/javatoolkit-0.3.0-python2.6.patch b/dev-java/javatoolkit/files/javatoolkit-0.3.0-python2.6.patch new file mode 100644 index 000000000000..d73c94bb6683 --- /dev/null +++ b/dev-java/javatoolkit/files/javatoolkit-0.3.0-python2.6.patch @@ -0,0 +1,12 @@ +diff -uNr py.orig/maven-helper.py py/maven-helper.py +--- src/py.orig/maven-helper.py 2009-03-07 10:36:10.000000000 -0430 ++++ src/py/maven-helper.py 2009-03-07 10:35:25.000000000 -0430 +@@ -21,7 +21,7 @@ + import sys + import StringIO + from optparse import OptionParser, make_option +-from javatoolkit.maven import MavenPom ++from javatoolkit.maven.MavenPom import MavenPom + + __version__ = "$Revision: 1.1 $"[11:-2] + diff --git a/dev-java/javatoolkit/javatoolkit-0.3.0-r9.ebuild b/dev-java/javatoolkit/javatoolkit-0.3.0-r9.ebuild new file mode 100644 index 000000000000..36ac61a52b13 --- /dev/null +++ b/dev-java/javatoolkit/javatoolkit-0.3.0-r9.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +PYTHON_COMPAT=(python2_7) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 eutils multilib prefix + +DESCRIPTION="Collection of Gentoo-specific tools for Java" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Java" +SRC_URI="mirror://gentoo/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +python_prepare_all() { + local PATCHES=( + "${FILESDIR}/${P}-python2.6.patch" + "${FILESDIR}/${P}-no-pyxml.patch" + ) + hprefixify src/py/buildparser src/py/findclass setup.py + + distutils-r1_python_prepare_all +} + +python_install() { + distutils-r1_python_install \ + --install-scripts="${EPREFIX}"/usr/$(get_libdir)/${PN}/bin +} diff --git a/dev-java/javatoolkit/javatoolkit-0.6.0.ebuild b/dev-java/javatoolkit/javatoolkit-0.6.0.ebuild new file mode 100644 index 000000000000..386dce2991d0 --- /dev/null +++ b/dev-java/javatoolkit/javatoolkit-0.6.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 multilib prefix + +DESCRIPTION="Collection of Gentoo-specific tools for Java" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Java" +SRC_URI="https://gitweb.gentoo.org/proj/${PN}.git/snapshot/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +python_prepare_all() { + hprefixify src/py/buildparser src/py/findclass setup.py + distutils-r1_python_prepare_all +} + +python_install() { + distutils-r1_python_install \ + --install-scripts="${EPREFIX}"/usr/$(get_libdir)/${PN}/bin +} diff --git a/dev-java/javatoolkit/javatoolkit-9999.ebuild b/dev-java/javatoolkit/javatoolkit-9999.ebuild new file mode 100644 index 000000000000..60ab2e825142 --- /dev/null +++ b/dev-java/javatoolkit/javatoolkit-9999.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_{4,5,6} ) + +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 multilib prefix git-r3 +EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/javatoolkit.git" +SRC_URI="" +KEYWORDS="" + +DESCRIPTION="Collection of Gentoo-specific tools for Java" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Java" + +LICENSE="GPL-2" +SLOT="0" + +python_prepare_all() { + hprefixify src/py/buildparser src/py/findclass setup.py + + distutils-r1_python_prepare_all +} + +python_install() { + distutils-r1_python_install \ + --install-scripts="${EPREFIX}"/usr/$(get_libdir)/${PN}/bin +} diff --git a/dev-java/javatoolkit/metadata.xml b/dev-java/javatoolkit/metadata.xml new file mode 100644 index 000000000000..952a4b9b605c --- /dev/null +++ b/dev-java/javatoolkit/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>java@gentoo.org</email> + <name>Java</name> + </maintainer> +</pkgmetadata> |