From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DCCC7138359 for ; Sun, 19 Jul 2020 13:05:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D8BBFE0831; Sun, 19 Jul 2020 13:05:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A8615E0831 for ; Sun, 19 Jul 2020 13:05:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 124F334EE0C for ; Sun, 19 Jul 2020 13:05:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0B8DB2A4 for ; Sun, 19 Jul 2020 13:05:33 +0000 (UTC) From: "Keri Harris" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Keri Harris" Message-ID: <1595163864.63dc178975d3be478eee845bfa2c8f69c0c6e0ba.keri@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/tuprolog/, dev-lang/tuprolog/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/tuprolog/Manifest dev-lang/tuprolog/files/build-3.x.xml dev-lang/tuprolog/tuprolog-3.2.0.ebuild X-VCS-Directories: dev-lang/tuprolog/ dev-lang/tuprolog/files/ X-VCS-Committer: keri X-VCS-Committer-Name: Keri Harris X-VCS-Revision: 63dc178975d3be478eee845bfa2c8f69c0c6e0ba X-VCS-Branch: master Date: Sun, 19 Jul 2020 13:05:33 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6bd37e26-35e0-45c1-a102-1376ac9ecb3a X-Archives-Hash: 674ac0b133e2aaea93c4feb1f6227f67 commit: 63dc178975d3be478eee845bfa2c8f69c0c6e0ba Author: Keri Harris gentoo org> AuthorDate: Sun Jul 19 13:04:07 2020 +0000 Commit: Keri Harris gentoo org> CommitDate: Sun Jul 19 13:04:24 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63dc1789 dev-lang/tuprolog: version bump Package-Manager: Portage-2.3.103, Repoman-2.3.22 Signed-off-by: Keri Harris gentoo.org> dev-lang/tuprolog/Manifest | 2 + dev-lang/tuprolog/files/build-3.x.xml | 110 ++++++++++++++++++++++++++++++++ dev-lang/tuprolog/tuprolog-3.2.0.ebuild | 71 +++++++++++++++++++++ 3 files changed, 183 insertions(+) diff --git a/dev-lang/tuprolog/Manifest b/dev-lang/tuprolog/Manifest index 38fcfb70bd6..4b2ae8c599e 100644 --- a/dev-lang/tuprolog/Manifest +++ b/dev-lang/tuprolog/Manifest @@ -1,3 +1,5 @@ DIST tuprolog-2.9.2.tar.gz 6262268 BLAKE2B 39bbc4dcb2336a713f47252ff6f7d00f15aa0072c4864c2d3e453ec43b2c646f9cdc7a69444e21d9cc20ba283ddee5fd980855811f8f80ba4afe7c37cdd47317 SHA512 831c7390fe33fc57cb01d4b1d61485ac5df1aa8ebf386d5aae5c5d32f7677d46aa5aa6cc0eb1d3bb79989a54f8484ad8b97754b7f75fc21af6116ae170a28316 DIST tuprolog-3.0.1.tar.gz 6326591 BLAKE2B a051eb3f22c01e1c269b167fa7d1daec6e4818229e2035c1140401c38094c53451ea720638adaa6d6fda0ea70daf6f5f1bc9ea84f1e4ba9de9f00ca83529697c SHA512 56fa96f717b5c8e56fd2979f2953744964d844e5abf215456e31309d3d92bde142f9bff55e6442b6de55f219c7f143a275ccf89359ff2f2944459bbc94770afa DIST tuprolog-3.1.0.tar.gz 7201383 BLAKE2B 9d8b610240611cd5b3d0dae104a44c72bb5e7c0512e4dbf3e178204d9d36e461219cd869ca1e16e3054ca3e1ee34d3b2c6fa5c659df16f54e3266c7c826af8d6 SHA512 1093e29a79964cb3991326da14f020cdc8ff64f2444c84dbb6b22aa5c4ecbf48f74dbc26af0af949ccc31020573ce5908684af794db4654fb475efa697a82cbf +DIST tuprolog-3.2.0-gentoo-patchset-0.tar.gz 1813 BLAKE2B 4ed7ffbb752a821a2b2842cfdbc1f4ec92d14b35a1c5a722207b45ec9dbdc44588acc010fb6386e8ed2e7d30d3bc8d425f0f74e8cc953cb7afad8305904e1499 SHA512 454757fc01f3f697510426e7a2a41b57350c1e3f980e381e197616e10eaf88339155226096f1d417397b9bc6f4964a45b3d547c6794ad23a4a014b06212b08f0 +DIST tuprolog-3.2.0.tar.gz 6242286 BLAKE2B 77a3d3f886673aca72fffd9bb60657efcbe7ea5bb0f84eea7a72df513295d572c8116472f8d544240fac676ac9a6a0fcecfc3166e6426ef7d8af80eac4ba8d85 SHA512 e27bd989d66bae26c646cb69670fb75232ebdd18d1dbb9d600f9847921ecd56d17221736b3ec15c087857509272ce89af8bc44924130430db3860870a06bb499 diff --git a/dev-lang/tuprolog/files/build-3.x.xml b/dev-lang/tuprolog/files/build-3.x.xml new file mode 100644 index 00000000000..3b6f5818eaa --- /dev/null +++ b/dev-lang/tuprolog/files/build-3.x.xml @@ -0,0 +1,110 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dev-lang/tuprolog/tuprolog-3.2.0.ebuild b/dev-lang/tuprolog/tuprolog-3.2.0.ebuild new file mode 100644 index 00000000000..0dcda3ed7c6 --- /dev/null +++ b/dev-lang/tuprolog/tuprolog-3.2.0.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit eutils java-pkg-2 java-ant-2 + +PATCHSET_VER="0" + +DESCRIPTION="tuProlog is a light-weight Prolog for Internet applications and infrastructures" +HOMEPAGE="http://tuprolog.unibo.it/" +SRC_URI="https://dev.gentoo.org/~keri/distfiles/tuprolog/${P}.tar.gz + https://dev.gentoo.org/~keri/distfiles/tuprolog/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz" + +LICENSE="LGPL-3 BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples test" +RESTRICT="!test? ( test )" + +RDEPEND=">=virtual/jdk-1.8:= + dev-java/javassist:3 + dev-java/commons-lang:3.1 + dev-java/gson:2.6" + +DEPEND="${RDEPEND} + dev-java/ant-core + test? ( + dev-java/ant-junit4:0 + dev-java/junit:4 + dev-java/hamcrest-core:1.3 + )" + +S="${WORKDIR}"/${P} + +EANT_GENTOO_CLASSPATH="javassist:3,commons-lang:3.1,gson:2.6" + +PATCHES=( "${WORKDIR}/${PV}" ) + +src_prepare() { + default + + cp "${FILESDIR}"/build-3.x.xml "${S}"/build.xml || die +} + +src_compile() { + eant jar $(use_doc) +} + +src_test() { + cd "${S}"/dist + java-pkg_jar-from junit:4 + java-pkg_jar-from hamcrest-core:1.3 + cd "${S}" + ANT_TASKS="ant-junit4" eant test || die "eant test failed" +} + +src_install() { + java-pkg_dojar dist/${PN}.jar + java-pkg_dojar dist/2p.jar + + if use doc ; then + java-pkg_dohtml -r docs/* || die + dodoc doc/tuprolog-guide.pdf + fi + + if use examples ; then + docinto examples + dodoc doc/examples/*.pl + fi +}