From: Tom Gillespie Date: Fri, 3 Jan 2020 07:40:25 +0000 (-0500) Subject: dev-java/core-specs-alpha: new package for clojure X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2cf09e558a820243d3d6a10c906c1161a1339004;p=gentoo.git dev-java/core-specs-alpha: new package for clojure >=clojure-1.9.0 depends on dev-java/core-specs-alpha This commit includes an ant build.xml file so that no maven dependencies are needed. Signed-off-by: Tom Gillespie Signed-off-by: Kent Fredric --- diff --git a/dev-java/core-specs-alpha/Manifest b/dev-java/core-specs-alpha/Manifest new file mode 100644 index 000000000000..771bb73d3651 --- /dev/null +++ b/dev-java/core-specs-alpha/Manifest @@ -0,0 +1,2 @@ +DIST core-specs-alpha-0.1.24.tar.gz 9896 BLAKE2B cb06053d2aa77b4bbd58b612fb0f80137833e156a5136e4f53f6123d158bdbe676e9bacdfe76728b1320986589e8242c52f49a4d8922bda5374e34fe52969ddc SHA512 6ddf20bf9be36f7493104f69f4e9402fc62f49005471a967843c7cfee898c67aaf5046886db73e6b54942538beed9556d83f4582e85fd02ef4cb755cb5a18d34 +DIST core-specs-alpha-0.2.44.tar.gz 10163 BLAKE2B c81ebb08779c3db137363ffb12bc7e26d29cd67323c98430a033f639714da83bf8c9d14146c12d925094e057d3735d100e33656e9571a0a4c107dc9fb56359e9 SHA512 1a59b947c580e45a280b25d5827a174565e066dde577685ca86aa1bbd9767716991cefb8a944c7ded0f84a71f9902f7fcdb5baacc7e19180096d599a51083048 diff --git a/dev-java/core-specs-alpha/core-specs-alpha-0.1.24.ebuild b/dev-java/core-specs-alpha/core-specs-alpha-0.1.24.ebuild new file mode 100644 index 000000000000..1dbd7e477390 --- /dev/null +++ b/dev-java/core-specs-alpha/core-specs-alpha-0.1.24.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit java-pkg-2 java-ant-2 + +EGIT_REF="43815fc" + +MY_PN=${PN//-/.} +MY_P=${MY_PN}-${PV} + +DESCRIPTION="A Clojure library with specs to describe Clojure core macros and functions." +HOMEPAGE="https://clojure.org/ https://github.com/clojure/core.specs.alpha" +SRC_URI="https://github.com/clojure/${MY_PN}/archive/${MY_P}.tar.gz -> ${P}.tar.gz" + +LICENSE="EPL-1.0" +SLOT="0.1" +KEYWORDS="~amd64 ~x86 ~x86-linux" +IUSE="" + +CDEPEND="dev-java/ant-core:0" +RDEPEND=">=virtual/jre-1.8:*" +DEPEND=" + ${CDEPEND} + >=virtual/jdk-1.8:*" + +S="${WORKDIR}/${MY_PN}-${MY_P}" + +EANT_TASKS="jar" +EANT_EXTRA_ARGS="-Dmaven.build.finalName=${MY_P}" + +src_prepare() { + default + cp "${FILESDIR}/build.xml" . || die +} + +src_install() { + java-pkg_newjar "target/${MY_P}.jar" + dodoc CONTRIBUTING.md README.md +} diff --git a/dev-java/core-specs-alpha/core-specs-alpha-0.2.44.ebuild b/dev-java/core-specs-alpha/core-specs-alpha-0.2.44.ebuild new file mode 100644 index 000000000000..ebab256dc34e --- /dev/null +++ b/dev-java/core-specs-alpha/core-specs-alpha-0.2.44.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit java-pkg-2 java-ant-2 + +EGIT_REF="d69f559" + +MY_PN=${PN//-/.} +MY_P=${MY_PN}-${PV} + +DESCRIPTION="A Clojure library with specs to describe Clojure core macros and functions." +HOMEPAGE="https://clojure.org/ https://github.com/clojure/core.specs.alpha" +SRC_URI="https://github.com/clojure/${MY_PN}/archive/${MY_P}.tar.gz -> ${P}.tar.gz" + +LICENSE="EPL-1.0" +SLOT="0.2" +KEYWORDS="~amd64 ~x86 ~x86-linux" +IUSE="" + +CDEPEND="dev-java/ant-core:0" +RDEPEND=">=virtual/jre-1.8:*" +DEPEND=" + ${CDEPEND} + >=virtual/jdk-1.8:*" + +S="${WORKDIR}/${MY_PN}-${MY_P}" + +EANT_TASKS="jar" +EANT_EXTRA_ARGS="-Dmaven.build.finalName=${MY_P}" + +src_prepare() { + default + cp "${FILESDIR}/build.xml" . || die +} + +src_install() { + java-pkg_newjar "target/${MY_P}.jar" + dodoc CONTRIBUTING.md README.md +} diff --git a/dev-java/core-specs-alpha/files/build.xml b/dev-java/core-specs-alpha/files/build.xml new file mode 100644 index 000000000000..0499525e8817 --- /dev/null +++ b/dev-java/core-specs-alpha/files/build.xml @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dev-java/core-specs-alpha/metadata.xml b/dev-java/core-specs-alpha/metadata.xml new file mode 100644 index 000000000000..3e2f01e0d964 --- /dev/null +++ b/dev-java/core-specs-alpha/metadata.xml @@ -0,0 +1,15 @@ + + + + + tgbugs@gmail.com + Tom Gillespie + + + proxy-maint@gentoo.org + Proxy Maintainers + + + clojure/core.specs.alpha + +