summaryrefslogtreecommitdiff
path: root/dev-lang
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-11-14 03:02:32 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-11-14 03:02:32 +0000
commitd3c7d3e5f9607edef1a795ccc502ab3eb3121165 (patch)
treed36ccc4ef4aa53927a8cd66bc5d3ab06fe1bdd24 /dev-lang
parent4dc2f97ed84159736ecfb5dea5485e83b27810d1 (diff)
gentoo auto-resync : 14:11:2024 - 03:02:32
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/Manifest.gzbin22136 -> 22138 bytes
-rw-r--r--dev-lang/R/Manifest2
-rw-r--r--dev-lang/R/R-4.4.1.ebuild2
-rw-r--r--dev-lang/eisl/Manifest2
-rw-r--r--dev-lang/eisl/eisl-5.37.ebuild52
-rw-r--r--dev-lang/luajit/Manifest3
-rw-r--r--dev-lang/luajit/luajit-2.1.1727870382.ebuild27
-rw-r--r--dev-lang/luajit/luajit-2.1.9999999999.ebuild79
-rw-r--r--dev-lang/nprolog/Manifest2
-rw-r--r--dev-lang/nprolog/nprolog-3.40.ebuild49
10 files changed, 210 insertions, 8 deletions
diff --git a/dev-lang/Manifest.gz b/dev-lang/Manifest.gz
index 3dc22ee65046..61ea6c77e5ab 100644
--- a/dev-lang/Manifest.gz
+++ b/dev-lang/Manifest.gz
Binary files differ
diff --git a/dev-lang/R/Manifest b/dev-lang/R/Manifest
index e306530b8753..f23750f7211c 100644
--- a/dev-lang/R/Manifest
+++ b/dev-lang/R/Manifest
@@ -7,5 +7,5 @@ DIST R-4.4.1.tar.gz 37353459 BLAKE2B 2c44fcab719cc2a2cef4566fd4e6c22386f02827a41
DIST R-78d6830e28ea90a046da79a9b4f70c39594bb6d6.bash_completion 13596 BLAKE2B 53338e4a1c4f68beb69247216e553dbcac47f660fbf032bfebf7a660e32d2cff5b11ed35411c52de7e1fd6e00bbf5b5ea19369a325fa0a38bd93d63dc3288cbd SHA512 9ccd19bb1b0c18a2f13035ccd6809447429e197e298fb4d1df808ef345d723b42f75a1b91c349f6dbb46e4a82e59ef33e11300c495d79b63d670d0c0f2b16a06
EBUILD R-4.3.1-r1.ebuild 7139 BLAKE2B 6ad669bf41cbef1e56cd10728fa2390043cd7ddde0c095f917f0779b625fbe92c4176a17e60cd0fcd23e0106a28bdf739a311c01768a4ba12a70fc238153af6d SHA512 96c50da1fbebfcf22a3cf9a558cba9df0e655f1456986a806dfd6d2362560a1cde8d922dca02cdcdd67279fe1e4191d74892b6dc1a9194399632642d3ec9adf1
EBUILD R-4.3.2-r1.ebuild 7142 BLAKE2B 076b384f913f4f3c3dc311b1fb18c21e1bb34bf22c0b9ee3cd178f45737b37efcfa962e0f08caa844f2c84fe742a5a0bb0a1918d50ae8887b37bdac81f249718 SHA512 7aa832f3be64244db12e6ad2a875491b07c9b476f7cf549ca3c77a4597113cbef9b3daac76b29f1c4d15ee15170664bdf29e6a814fe9f3e4cbe6cfe41f820859
-EBUILD R-4.4.1.ebuild 7251 BLAKE2B ea40ae49e7434a55cf787a23ec83b463b38139fe9011bf199575bb1aaa2e99f43b2ae42584f8d5fcc8713f0ea6cdb7a814fe26dd5559859b8f456f2b03cfae70 SHA512 f109fd04b03a44110bff3ba2ff45151e9e7b987b5109084ab4c99d80054255c7a04355a4625ba6457aa0178398a4c760b29e28107c3299e7ca41edfb59fdcffa
+EBUILD R-4.4.1.ebuild 7249 BLAKE2B bac9534523954fcb65e21dbda6e5e76d4824a55ff169de79bcdbfbe8c23f186a90e7773a92b08260c48083a736f5ebbc7621a76abb1bcd2ef17f3c23fa08bb84 SHA512 0bbb5f9113ff876f79ce0bb88d821bae3812442b087bc00b6fff5c90b6422d198e44ed6e437467a2558af8645f6ac12e347afefd3f9385c29032e876ca412db0
MISC metadata.xml 1359 BLAKE2B 9cfca4def686f457622427e067bffba74608366f21125a167aa6efba5013db0c6c3e6d83d5b7012f436a7db44f4578061ce8c8673c8be95b417f52d66787f664 SHA512 1884aad4c68ddf884838c02f5e078966fcd932a7f2b1eac8298d895b4fb632bbc4abf7a849fdd870e0db7136c6642a4c3b1ccd5360e9f3253919b3a0b25a8555
diff --git a/dev-lang/R/R-4.4.1.ebuild b/dev-lang/R/R-4.4.1.ebuild
index 9692b16b1e68..a40ea16046c9 100644
--- a/dev-lang/R/R-4.4.1.ebuild
+++ b/dev-lang/R/R-4.4.1.ebuild
@@ -17,7 +17,7 @@ SRC_URI="
LICENSE="|| ( GPL-2 GPL-3 ) LGPL-2.1"
SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~hppa ~loong sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos"
+KEYWORDS="amd64 arm64 ~hppa ~loong sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos"
IUSE="cairo doc icu java jpeg +libdeflate lto minimal nls openmp perl png prefix profile readline test tiff tk X"
REQUIRED_USE="
diff --git a/dev-lang/eisl/Manifest b/dev-lang/eisl/Manifest
index f4f3e7eac92b..0be9f331c86a 100644
--- a/dev-lang/eisl/Manifest
+++ b/dev-lang/eisl/Manifest
@@ -3,9 +3,11 @@ DIST eisl-5.31.tar.gz 3134740 BLAKE2B 73fe01c7d996c68281300b2e971b096f26649e6226
DIST eisl-5.33.tar.gz 3136290 BLAKE2B e6ecd62c1fce947ff971d15b70b78119e49f5cd13f7d695d364fb848e4ba29fee46a076a651a542c84278ba0eebd970dec4d88990a68c0add40c6e281a987a85 SHA512 3be0fb5184c609b0cce3681903e132fbaeaa3ef00a4770e56f027299d93e103617ab326e14c279f7e97955be4e0929d271a7bc80dd7c9841320ad060270ac16c
DIST eisl-5.35.tar.gz 3136245 BLAKE2B 9de21f365ef4e7c7af513e0370bbd79b1412f927e3a2fbf628445cc4e6b324e3b552be1b7d7720dce6dae32a82abe9b13e9b9f4aa4bd892730ed9d63a0cf5ade SHA512 63eca37ee1565520fed967989d4900f22962768c024974434033add8d544a3c6dd4bf6fb677f2ef28472fbfc3d8296d2776c907d572e9383d6c7501f8aa42ee0
DIST eisl-5.36.tar.gz 3136331 BLAKE2B 84f3b6917d2d4c2319e3322a9c80bfd4ebebcf9731c7625f1be8f619edc60c1c005db407b09c3f1158e5d7c739244e975513f75bb16913b9cc8162b0fafeb8fd SHA512 6f7d8629a74513ed0d6f3eab7aa9f6af1ec706ebe64c48543ead70fb4825d6e090b4cc1399353b07ed107b78c589f1398c7169ba9799be132de4da5552d95846
+DIST eisl-5.37.tar.gz 3136844 BLAKE2B 43a326e4367b9ba01ef57194ffb9c9f9a9cf322de3055d340263075d2fdd5d06bc0abb3ccacf41018227e1a13e71dd91cd77e42001a58ef8121f8910a03bcb13 SHA512 5f3c88d16f8febb88767d31de193e90da27357132cb46e11ae526ec7d048a8f392b688d2eb815bc297bab3c2ead5ba497bc0dba48a1b65754a6ef499259fddab
EBUILD eisl-5.31.ebuild 1010 BLAKE2B caf0eaf92d6f0397eba23e8641b1bff1d5316d97d1886e75a2bcd504354fbef1ca19d053168ad592503156a7b6270da2dd39cb03f65f78dbb210f6c569476904 SHA512 f637a8521189709117940c1d4240280357394dfb9dceb591658afbc58ccc5190e649144df52ac100f24e0ca3c98913b53d67ca4fa5aa92814bab560791913b35
EBUILD eisl-5.33.ebuild 1011 BLAKE2B 291b801fbede039429edf9317a5ac1a7beed406019edb25aa218be9f718deff1742a4e99adc349ebe04d5160126bae590de9dc831378aeddfaf7bcce5e554ca1 SHA512 71d7528dbfbc0b76b68bc574aa7ca11b463cae94a5682bc74458cd8b0530de222de50aa540e3e9e444bbef58b2c36d49bb94ad929a99dc9574148ac3abba6afd
EBUILD eisl-5.35.ebuild 1011 BLAKE2B 291b801fbede039429edf9317a5ac1a7beed406019edb25aa218be9f718deff1742a4e99adc349ebe04d5160126bae590de9dc831378aeddfaf7bcce5e554ca1 SHA512 71d7528dbfbc0b76b68bc574aa7ca11b463cae94a5682bc74458cd8b0530de222de50aa540e3e9e444bbef58b2c36d49bb94ad929a99dc9574148ac3abba6afd
EBUILD eisl-5.36.ebuild 1011 BLAKE2B 291b801fbede039429edf9317a5ac1a7beed406019edb25aa218be9f718deff1742a4e99adc349ebe04d5160126bae590de9dc831378aeddfaf7bcce5e554ca1 SHA512 71d7528dbfbc0b76b68bc574aa7ca11b463cae94a5682bc74458cd8b0530de222de50aa540e3e9e444bbef58b2c36d49bb94ad929a99dc9574148ac3abba6afd
+EBUILD eisl-5.37.ebuild 1011 BLAKE2B 291b801fbede039429edf9317a5ac1a7beed406019edb25aa218be9f718deff1742a4e99adc349ebe04d5160126bae590de9dc831378aeddfaf7bcce5e554ca1 SHA512 71d7528dbfbc0b76b68bc574aa7ca11b463cae94a5682bc74458cd8b0530de222de50aa540e3e9e444bbef58b2c36d49bb94ad929a99dc9574148ac3abba6afd
EBUILD eisl-9999.ebuild 1005 BLAKE2B bf9361efcf3f564ea3dd41a9f9d404b95b774df7f88b6280fa1d41d67eebbe1063d6f49876068478d31d11dc0846247b7655d4022ca07cd26c4ee869856acd6b SHA512 dfb4fc078498d62a137dcac57a0cd7bf5c7efb85bf4b9cbec3406ebbe432906e1d621ddf282145a3037bdd1a84b603b665d14638adf4d2894441da7b9c7a3b8c
MISC metadata.xml 631 BLAKE2B fd171b07cf1f7beae7be774a5da360d466c83f01a6bd52dc69af436926ae5aebec27a2723c11498be21c4f96f6b82c6aa3571f4b84e763459ef78086450252f2 SHA512 dd9e329f24ce6d3922e92e81d36234b93151f71c88d6ba4b38557565a7c1c3bc4b7172d4d55f1d2d5bd6c5cada449691067cc71abd4d456941f6a8b78fe0df87
diff --git a/dev-lang/eisl/eisl-5.37.ebuild b/dev-lang/eisl/eisl-5.37.ebuild
new file mode 100644
index 000000000000..0ef48728bee1
--- /dev/null
+++ b/dev-lang/eisl/eisl-5.37.ebuild
@@ -0,0 +1,52 @@
+# 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 compatible with the ISLisp standard"
+HOMEPAGE="https://github.com/sasagawa888/eisl/"
+
+if [[ "${PV}" == *9999* ]] ; then
+ inherit git-r3
+
+ EGIT_REPO_URI="https://github.com/sasagawa888/${PN}.git"
+else
+ SRC_URI="https://github.com/sasagawa888/${PN}/archive/v${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="BSD-2"
+SLOT="0"
+RESTRICT="test" # Tests run cppcheck (and fail)
+
+DOCS=( README{,-ja}.md documents )
+
+RDEPEND="
+ sys-libs/ncurses:=
+"
+DEPEND="
+ ${RDEPEND}
+"
+
+PATCHES=( "${FILESDIR}/${PN}-3.60-Makefile.patch" )
+
+src_compile() {
+ emake CC="$(tc-getCC)" clean edlis eisl
+}
+
+src_install() {
+ exeinto /usr/bin
+ doexe edlis eisl
+
+ # Compilation of ISLisp files on installation fails.
+ # Do not compile them and mimic "make install".
+ insinto "/usr/share/${PN}"
+ doins -r library
+ doins fast.h ffi.h
+
+ einstalldocs
+}
diff --git a/dev-lang/luajit/Manifest b/dev-lang/luajit/Manifest
index f8d5883761af..e9a896c67a05 100644
--- a/dev-lang/luajit/Manifest
+++ b/dev-lang/luajit/Manifest
@@ -1,5 +1,6 @@
DIST luajit-2.1.1716656478.tar.gz 1081717 BLAKE2B 42807910aa81e705ff39c382e98e479d46d31453fd6fc1857220c7d4cb66d0801e2ffd813ea3c55ab2bcde8e64275d0fec2044514d7b0ef5287714ec8061bf7a SHA512 6b00d37a33f0bafbd953569ef035546a97237a53cfb718d8aecca7e9c7afe5e4706e4a53e40b9afb8720adc8eee044d8d75b8ea6cdc50d2c3f8461d79bb73b26
DIST luajit-2.1.1727870382.tar.gz 1082759 BLAKE2B ca2cca53238b1fcbb5a829b125f6b3efda3a863765027c8c224a01b95756255583e126ec04c115e7acc54314fb387ce1b09b9384acf0a852d51f887409bd702a SHA512 ac26594526f10e878874c02b2bbdfc6a0d1366c60456fbd09a75da5f565a2f81a1c73e385a7e7f0096a3923df5f4ac7f727100faced355bd05a9da0e95fbe1ef
EBUILD luajit-2.1.1716656478.ebuild 1765 BLAKE2B 1e2960f12069fce84b46b1f06cc1129bd35c13e25ca3d9de5e1ccaed92ee0e827574c8f96faee5c32da1a2e3cd7335b94417ddcf0f299b4f1223b25bc98d3465 SHA512 3ed141f3339ba892fb2598b3c8d3f86760dfb5ea1c6efbf996cad9cb202faa9f5613426c5bf4dcfe741cf3b13f63bbf76bf651333eab414f4852a0622f629f64
-EBUILD luajit-2.1.1727870382.ebuild 1770 BLAKE2B 843279e5cdcd3fd43efc0e95bb5fc11c091ee9ea826052219cb125107ffec62df5c16404ccf0fe893e9bae47075122dc853b8873234d63ec3a890d5e37671e1b SHA512 71102fd63cf724b44ab00d8d8818d94f33602084a0447b77bbad8a178c472edc2ac25024bf85fe11d9e5fcc7e6f7726a67673273153a4e97a42a4db1561c5878
+EBUILD luajit-2.1.1727870382.ebuild 2357 BLAKE2B fc22a5e4d9f0d7a9458fc171f3f438d7a8d04a3182cc1ce5210ae7e8f05c4fa83f700ebb31298f075a978277991eac76abd67ab95a8a3f8d20025e2834d35033 SHA512 1ea5dec28a91f0549c72800513e1db36293aa89fa65513aa2de23c2421ebc3ac3cf4e1aa1608160e87a342168b62b89cfd6a7b6d461810c2e6fd58d65519cc6a
+EBUILD luajit-2.1.9999999999.ebuild 2319 BLAKE2B c215f9324d2528f6e5da26d87d119e1447cd28a0f1e9499f4262b85bd5a987f40fa221d63bab9ad8afdc261f0e15d753ca832408219d02e845b18baea1d2b65b SHA512 e1ac4499a26eb8a2d3bb666879ab2d10cb598a3c0d7e2fa541c8fd00446598d2783908b91409c8337a21c9d8ae57627d78110da4bacfeec2a207a20a132a7cc8
MISC metadata.xml 417 BLAKE2B dca79cd3a003ad462f7da8372af0e4012c826bc5b3001417f5b5c969f9ae9dc0cf5f6a5ac35c1badfa95769c46f701a9fa1220e2c4ecd1320cd3e904a657a4ce SHA512 812208e908c4775c7a6009764416007ab3bea124da44dca696425340848a8ff4eeae7128977162c0e679c485a9c27f03639c87854b0d513eec8bceb19d316e0d
diff --git a/dev-lang/luajit/luajit-2.1.1727870382.ebuild b/dev-lang/luajit/luajit-2.1.1727870382.ebuild
index 82931bad8f2f..1a9014c337c4 100644
--- a/dev-lang/luajit/luajit-2.1.1727870382.ebuild
+++ b/dev-lang/luajit/luajit-2.1.1727870382.ebuild
@@ -2,7 +2,6 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-GIT_COMMIT=97813fb924edf822455f91a5fbbdfdb349e5984f
# Upstream doesn't make releases anymore and instead have a (broken) "rolling
# git tag" model.
@@ -17,13 +16,31 @@ inherit toolchain-funcs
DESCRIPTION="Just-In-Time Compiler for the Lua programming language"
HOMEPAGE="https://luajit.org/"
-SRC_URI="https://github.com/LuaJIT/LuaJIT/archive/${GIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/LuaJIT-${GIT_COMMIT}"
+
+if [[ ${PV} == 2.1.9999999999 ]]; then
+ # This is the 2.1 rolling release live build. When a 2.2 or 3.x branch comes
+ # out, create a new ebuild for it.
+ #
+ # Upstream recommends pulling rolling releases from the v2.1 branch.
+ # > The old git master branch is phased out and stays pinned to the v2.0
+ # > branch. Please follow the versioned branches instead.
+ #
+ # See http://luajit.org/status.html for additional information.
+ EGIT_BRANCH="v2.1"
+ EGIT_REPO_URI="https://luajit.org/git/luajit.git"
+ inherit git-r3
+else
+ # Update this commit hash to bump a pinned-commit ebuild.
+ GIT_COMMIT=97813fb924edf822455f91a5fbbdfdb349e5984f
+ SRC_URI="https://github.com/LuaJIT/LuaJIT/archive/${GIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/LuaJIT-${GIT_COMMIT}"
+
+ KEYWORDS="~amd64 ~arm ~arm64 -hppa ~mips ~ppc -riscv -sparc ~x86 ~amd64-linux ~x86-linux"
+fi
LICENSE="MIT"
-# this should probably be pkgmoved to 2.0 for sake of consistency.
+# this should probably be pkgmoved to 2.1 for sake of consistency.
SLOT="2/${PV}"
-KEYWORDS="~amd64 ~arm ~arm64 -hppa ~mips ~ppc -riscv -sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="lua52compat static-libs"
_emake() {
diff --git a/dev-lang/luajit/luajit-2.1.9999999999.ebuild b/dev-lang/luajit/luajit-2.1.9999999999.ebuild
new file mode 100644
index 000000000000..f4cd0a39d8e1
--- /dev/null
+++ b/dev-lang/luajit/luajit-2.1.9999999999.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Upstream doesn't make releases anymore and instead have a (broken) "rolling
+# git tag" model.
+#
+# https://github.com/LuaJIT/LuaJIT/issues/665#issuecomment-784452583
+# https://www.freelists.org/post/luajit/LuaJIT-uses-rolling-releases
+#
+# Regular snapshots should be made from the v2.1 branch. Get the version with
+# `git show -s --format=%ct`
+
+inherit toolchain-funcs
+
+DESCRIPTION="Just-In-Time Compiler for the Lua programming language"
+HOMEPAGE="https://luajit.org/"
+
+if [[ ${PV} == 2.1.9999999999 ]]; then
+ # This is the 2.1 rolling release live build. When a 2.2 or 3.x branch comes
+ # out, create a new ebuild for it.
+ #
+ # Upstream recommends pulling rolling releases from the v2.1 branch.
+ # > The old git master branch is phased out and stays pinned to the v2.0
+ # > branch. Please follow the versioned branches instead.
+ #
+ # See http://luajit.org/status.html for additional information.
+ EGIT_BRANCH="v2.1"
+ EGIT_REPO_URI="https://luajit.org/git/luajit.git"
+ inherit git-r3
+else
+ # Update this commit hash to bump a pinned-commit ebuild.
+ GIT_COMMIT=""
+ SRC_URI="https://github.com/LuaJIT/LuaJIT/archive/${GIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/LuaJIT-${GIT_COMMIT}"
+
+ KEYWORDS="~amd64 ~arm ~arm64 -hppa ~mips ~ppc -riscv -sparc ~x86 ~amd64-linux ~x86-linux"
+fi
+
+LICENSE="MIT"
+# this should probably be pkgmoved to 2.1 for sake of consistency.
+SLOT="2/${PV}"
+IUSE="lua52compat static-libs"
+
+_emake() {
+ emake \
+ Q= \
+ PREFIX="${EPREFIX}/usr" \
+ MULTILIB="$(get_libdir)" \
+ DESTDIR="${D}" \
+ CFLAGS="" \
+ LDFLAGS="" \
+ HOST_CC="$(tc-getBUILD_CC)" \
+ HOST_CFLAGS="${BUILD_CPPFLAGS} ${BUILD_CFLAGS}" \
+ HOST_LDFLAGS="${BUILD_LDFLAGS}" \
+ STATIC_CC="$(tc-getCC)" \
+ DYNAMIC_CC="$(tc-getCC) -fPIC" \
+ TARGET_LD="$(tc-getCC)" \
+ TARGET_CFLAGS="${CPPFLAGS} ${CFLAGS}" \
+ TARGET_LDFLAGS="${LDFLAGS}" \
+ TARGET_AR="$(tc-getAR) rcus" \
+ BUILDMODE="$(usex static-libs mixed dynamic)" \
+ TARGET_STRIP="true" \
+ INSTALL_LIB="${ED}/usr/$(get_libdir)" \
+ "$@"
+}
+
+src_compile() {
+ tc-export_build_env
+ _emake XCFLAGS="$(usex lua52compat "-DLUAJIT_ENABLE_LUA52COMPAT" "")"
+}
+
+src_install() {
+ _emake install
+ dosym luajit-"${PV}" /usr/bin/luajit
+
+ HTML_DOCS="doc/." einstalldocs
+}
diff --git a/dev-lang/nprolog/Manifest b/dev-lang/nprolog/Manifest
index 1030d2e79771..d644f889cbb5 100644
--- a/dev-lang/nprolog/Manifest
+++ b/dev-lang/nprolog/Manifest
@@ -1,4 +1,6 @@
AUX nprolog-3.22-ncursesw.patch 270 BLAKE2B 4e412a1b42bea3e797ddb0f17a5d22bd0f22f5e9fd037bc199704c1abd664413df1adaafc35ed5f430b4da36279199b30b57d34cf459064efa3bc94a1f61a6ca SHA512 41c510be3afad45ba77d1882f864b62349c2d81fc4ac166d736506d14f1e9061ce4d1f9ec3a6adb15fbd4b377573b915f27efba0825701dc396848ce5e2d16e3
DIST nprolog-3.36.tar.gz 598498 BLAKE2B 1cf2f1459698f2c7df01b4a2202e292b5c0918c363ebc761007f7996f405f7334e757678dbe510ea5c3a52dce8a5fa2b84cd898b04b3bfa4ab33d325ecd17401 SHA512 33ce46cec1c1d167b70ba0f59655f58d42e388d63f5515cec88086db1035d54700865ddfbe213f393d65180928c3951c11056471ef5499761182ea6536a0ddb2
+DIST nprolog-3.40.tar.gz 599241 BLAKE2B 7cf99fe273b69468b4b07283eb5008e46dd9661013ea0c4911a70eecb50aa3334167806c2f5f7b39c8485a22a22c960f4c5e79ffeea63d0216e3a327c1be87c2 SHA512 624f0634505312d2a4d1c9be713612cecb95fd28856df31f0bd57ba6b965383eecf7dfaa594b3c740fd05336dc5775f8cc887282438aaf9b02a635847cfdcfac
EBUILD nprolog-3.36.ebuild 888 BLAKE2B c0614eed790898637c575682580b6879192cb584bc11044d9af3270e919ce0d41c052326c2d1e9b9746051fb3cdee90552510029c9a2e8d64d14dedc607eb547 SHA512 5aa1cbeefdde67461fc2f08e5afb2d2b51bda61e18859ee1b65e11367fa06ce018e9001c94806f8518a5264a929407ed3b26d5e442115080771712fecdfc1a99
+EBUILD nprolog-3.40.ebuild 889 BLAKE2B 8b9ac031e349ee93be59b36a8654e718ac65954258ec03138b0e6e8c9b6ece5ef9378e7a6e641e716b2be75de337ef8d1e765d06ee2f5e685c5015cacd445523 SHA512 c3fe6314b02f2a6d9f6bc8ded5973f65e46061563a99a53a7aa8b7b7c134d95246ca6a70ac0cb51e6f8e56c23bb67d11809f05130795eb3f4659b219017d70fc
MISC metadata.xml 657 BLAKE2B 9331358542d57958385bc1218b4a1c5d38185ab0822d0cc68e51bcc5f8b00645a523a1a4f60d30188efc3ed7cb934f0a6a964d27bf0915c5956c69774c734590 SHA512 972ae4d1f2179887f77d8805f2e5482c17767e38b078fa9d9ee65a2f43e0b56b76fccd0166f4c5121de9a7cead4faa7683bd8e9076c257ffb2d1deb673eb276e
diff --git a/dev-lang/nprolog/nprolog-3.40.ebuild b/dev-lang/nprolog/nprolog-3.40.ebuild
new file mode 100644
index 000000000000..39a1d076726e
--- /dev/null
+++ b/dev-lang/nprolog/nprolog-3.40.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
+}