summaryrefslogtreecommitdiff
path: root/games-util/nml
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-08-11 09:34:39 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-08-11 09:34:39 +0100
commit7e2b5bc2c2e2e045de6095d46c24ee857453adf2 (patch)
tree4387abc7e6be6debdd362738e7976e0d053163a1 /games-util/nml
parent9b97cf60d2411c33c1b2170b730b345ea9995002 (diff)
gentoo auto-resync : 11:08:2023 - 09:34:39
Diffstat (limited to 'games-util/nml')
-rw-r--r--games-util/nml/Manifest2
-rw-r--r--games-util/nml/nml-0.7.4.ebuild42
2 files changed, 44 insertions, 0 deletions
diff --git a/games-util/nml/Manifest b/games-util/nml/Manifest
index cbe50edd7675..a16e0462c778 100644
--- a/games-util/nml/Manifest
+++ b/games-util/nml/Manifest
@@ -1,3 +1,5 @@
DIST nml-0.7.1.tar.gz 562101 BLAKE2B 3c29bde63048ea276d868df8aa3e13c4f1d3949c1e2c4a973e6f5f5bff7a6e57ce5c56d6605f44d91602209967cbe732f7f9031b471de3104d6c04a41582541f SHA512 a123680f89243f29ad88f2c0bc50fe7c801bd70d7cd49d71d3e5d199b1f4042e4143b71340aea3c47d938f838647016cebc0b56e39ede627497139755c9b829e
+DIST nml-0.7.4.tar.gz 569348 BLAKE2B 620f6100627d7c1cd67bbf481c96abb8be4574e0ec70cf529502980c9d8aca3660f1469fbdce99d5736d21287053b6c199a5a390f56f3704d7ceb16e6ba6582e SHA512 78a0961db3a56684fbc999f69bc5e02b9f002ba7b7a2afd39c7d4c9695b3306339ee55c4b9d711d85ca7c4c0e4d53abc71c9e0720904d44a0c388a793a28fc4b
EBUILD nml-0.7.1.ebuild 729 BLAKE2B 37347f335b5e23c6be93eab68aba73b23f2c97615f14e1660af38818fa96f335edf232058e9a3b0d8e60fea853f9911738daff4015f294b8d7bbf2081ba178d4 SHA512 806b43f83de1c0623baf34031dcb76956f874e4e3f3a9d700e566dba484251640c51ff6c3cf952607c9e5daf6365f3874dd2487badcd37040e4d3206ca670f70
+EBUILD nml-0.7.4.ebuild 921 BLAKE2B d2203e5c78bf8d31fa16bea92aab496a4dfbbaed7401a57371e624fc63646720f422423325ca027390974a11fdb819b5a792de39d3e7bf2937f848bd04db185d SHA512 b4a678194f78f0de4fe95a2da36c6c7a16cb542ea805baacb8f4b96cd9ec4250d137dd8ba6609794b83428c3b2dfbaa6ccedd4ab32c8e42efd2fd261e5774a12
MISC metadata.xml 330 BLAKE2B 81477cebc8e9113ac32bce37688a891827538b302fc8ffd29f551440d488b8b55e7ec0f0e45a2476f3e156ebb02a80f44c413a44a9a03de82c0ab994831cb57e SHA512 bc2460a21cc905ebbec7ad13f803bb239616b4da8100c0c1bd939f7be3d1efe9560010af271e382d08caa632382547220aa249f40212c2966ffce5dc7713d632
diff --git a/games-util/nml/nml-0.7.4.ebuild b/games-util/nml/nml-0.7.4.ebuild
new file mode 100644
index 000000000000..103717df9f3b
--- /dev/null
+++ b/games-util/nml/nml-0.7.4.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_SINGLE_IMPL=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} )
+inherit distutils-r1
+
+DESCRIPTION="Compiler of NML files into GRF/NFO files"
+HOMEPAGE="https://github.com/OpenTTD/nml/"
+SRC_URI="https://github.com/OpenTTD/nml/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+
+RDEPEND="
+ $(python_gen_cond_dep '
+ dev-python/pillow[${PYTHON_USEDEP},zlib]
+ dev-python/ply[${PYTHON_USEDEP}]
+ ')
+"
+
+src_prepare() {
+ default
+}
+
+python_test() {
+ # the tests involving sprites seem to fail when running in the ebuild,
+ # unless --no-cache is passed.
+ emake regression NML_FLAGS='-s -c --verbosity=1 --no-cache'
+}
+
+src_install() {
+ local DOCS=( README.md docs/changelog.txt )
+ distutils-r1_src_install
+
+ doman docs/nmlc.1
+}