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 (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3455415800A for ; Fri, 11 Aug 2023 07:26:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7A38E2BC016; Fri, 11 Aug 2023 07:26:31 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 615052BC016 for ; Fri, 11 Aug 2023 07:26:31 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 94E04335D1E for ; Fri, 11 Aug 2023 07:26:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 01DC5F37 for ; Fri, 11 Aug 2023 07:26:29 +0000 (UTC) From: "Matthew Smith" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matthew Smith" Message-ID: <1691738747.c3a5342d7059213272a73a10e44c9394ca8e9058.matthew@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-util/nml/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-util/nml/Manifest games-util/nml/nml-0.7.4.ebuild X-VCS-Directories: games-util/nml/ X-VCS-Committer: matthew X-VCS-Committer-Name: Matthew Smith X-VCS-Revision: c3a5342d7059213272a73a10e44c9394ca8e9058 X-VCS-Branch: master Date: Fri, 11 Aug 2023 07:26:29 +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: f1e10d53-168d-4beb-95c8-283a52a9b79d X-Archives-Hash: e2ffe7b189279e1d430ad1e17e2a0c47 commit: c3a5342d7059213272a73a10e44c9394ca8e9058 Author: Matthew Smith gentoo org> AuthorDate: Fri Aug 11 07:25:11 2023 +0000 Commit: Matthew Smith gentoo org> CommitDate: Fri Aug 11 07:25:47 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3a5342d games-util/nml: add 0.7.4 Also set DISTUTILS_EXT=1 and fix tests. Signed-off-by: Matthew Smith gentoo.org> games-util/nml/Manifest | 1 + games-util/nml/nml-0.7.4.ebuild | 42 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/games-util/nml/Manifest b/games-util/nml/Manifest index 2ce391bc2b72..b04958c21fa5 100644 --- a/games-util/nml/Manifest +++ b/games-util/nml/Manifest @@ -1 +1,2 @@ DIST nml-0.7.1.tar.gz 562101 BLAKE2B 3c29bde63048ea276d868df8aa3e13c4f1d3949c1e2c4a973e6f5f5bff7a6e57ce5c56d6605f44d91602209967cbe732f7f9031b471de3104d6c04a41582541f SHA512 a123680f89243f29ad88f2c0bc50fe7c801bd70d7cd49d71d3e5d199b1f4042e4143b71340aea3c47d938f838647016cebc0b56e39ede627497139755c9b829e +DIST nml-0.7.4.tar.gz 569348 BLAKE2B 620f6100627d7c1cd67bbf481c96abb8be4574e0ec70cf529502980c9d8aca3660f1469fbdce99d5736d21287053b6c199a5a390f56f3704d7ceb16e6ba6582e SHA512 78a0961db3a56684fbc999f69bc5e02b9f002ba7b7a2afd39c7d4c9695b3306339ee55c4b9d711d85ca7c4c0e4d53abc71c9e0720904d44a0c388a793a28fc4b 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 +}