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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F37151581F3 for ; Tue, 26 Nov 2024 01:45:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E6296E0844; Tue, 26 Nov 2024 01:45:05 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C5DA3E0844 for ; Tue, 26 Nov 2024 01:45:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 740E8335C31 for ; Tue, 26 Nov 2024 01:45:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BDD1B1F42 for ; Tue, 26 Nov 2024 01:45:01 +0000 (UTC) From: "Maciej Barć" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" Message-ID: <1732585497.7a4084c23f23e063e2642f335b2a21b64af6f06d.xgqt@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/nprolog/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/nprolog/Manifest dev-lang/nprolog/nprolog-3.45.ebuild X-VCS-Directories: dev-lang/nprolog/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: 7a4084c23f23e063e2642f335b2a21b64af6f06d X-VCS-Branch: master Date: Tue, 26 Nov 2024 01:45:01 +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: 6cc15331-cdc1-4ba8-a074-27c00b5efd1a X-Archives-Hash: d523b1f80921e7010e210133774e8fbe commit: 7a4084c23f23e063e2642f335b2a21b64af6f06d Author: Maciej Barć gentoo org> AuthorDate: Tue Nov 26 01:21:32 2024 +0000 Commit: Maciej Barć gentoo org> CommitDate: Tue Nov 26 01:44:57 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a4084c2 dev-lang/nprolog: bump to 3.45 Signed-off-by: Maciej Barć gentoo.org> dev-lang/nprolog/Manifest | 1 + dev-lang/nprolog/nprolog-3.45.ebuild | 49 ++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/dev-lang/nprolog/Manifest b/dev-lang/nprolog/Manifest index 9ee0b4c84ca5..4a86c2459380 100644 --- a/dev-lang/nprolog/Manifest +++ b/dev-lang/nprolog/Manifest @@ -1,2 +1,3 @@ DIST nprolog-3.36.tar.gz 598498 BLAKE2B 1cf2f1459698f2c7df01b4a2202e292b5c0918c363ebc761007f7996f405f7334e757678dbe510ea5c3a52dce8a5fa2b84cd898b04b3bfa4ab33d325ecd17401 SHA512 33ce46cec1c1d167b70ba0f59655f58d42e388d63f5515cec88086db1035d54700865ddfbe213f393d65180928c3951c11056471ef5499761182ea6536a0ddb2 DIST nprolog-3.41.tar.gz 599368 BLAKE2B d335f87834ca9a6cb167416ebd8024e7122fc17c5b065997e1b88c003ab7f8d772d715d363c712d75fb81d5634993f1dd106593f90f3d375696b8c6826668e98 SHA512 d0927259a3a7b157c9d346cf99c4fb354c4ff4f71c92970c63439c016137437cd2ebcfef7b4bffe50befb3abc5f463abb68eb5b859fa52220e36aac57957321d +DIST nprolog-3.45.tar.gz 679833 BLAKE2B 2955479ac67ae7636278b2d161e14d5718f68690920c91c088216e92437dd7e53d7cb79d81f7f05b3135f083e5f785e2e340b6b1f8d841eee0988f3c41ad22d0 SHA512 df709224a249ce967eadf60561f9368a8025c39ebeccaa32424bf2591ec481669d7dd4867ab082d1f6eb1c80149d6ad64d37c91611df7de4a6d3904117257842 diff --git a/dev-lang/nprolog/nprolog-3.45.ebuild b/dev-lang/nprolog/nprolog-3.45.ebuild new file mode 100644 index 000000000000..39a1d076726e --- /dev/null +++ b/dev-lang/nprolog/nprolog-3.45.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Interpreter and compiler to be compatible with Arity/Prolog32" +HOMEPAGE="https://github.com/sasagawa888/nprolog/" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/sasagawa888/${PN}.git" +else + SRC_URI="https://github.com/sasagawa888/nprolog/archive/v${PV}.tar.gz + -> ${P}.tar.gz" + + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="BSD-2" +SLOT="0" + +PATCHES=( "${FILESDIR}/${PN}-3.22-ncursesw.patch" ) + +DOCS=( README{,-ja}.md document ) + +src_prepare() { + if [[ -f edlog ]] ; then + rm edlog || die + fi + + default +} + +src_compile() { + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" +} + +src_install() { + exeinto /usr/bin + doexe npl + + insinto "/usr/share/${PN}" + doins -r example library + + einstalldocs +}