6 Commits

Author SHA256 Message Date
a176c7350a Accepting request 1320956 from games
Update to 0.8.1

OBS-URL: https://build.opensuse.org/request/show/1320956
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nml?expand=0&rev=30
2025-12-04 10:24:56 +00:00
fcc7aadff5 - update to 0.8.1:
* Add: station properties to editor symbols script by @Pixel-Tony in #383
  * Change: move black options to pyproject.toml by @ahyangyi in #386
  * Add: Extend FEAT_TRAIN track_type for prop 34 by @glx22 in #390
  * Codefix 41d5cd4: standalone build references non existing files by @glx22 in #397
  * Add: Support for Action5 type 1B bridge deck overlays by @zephyris in #393
  * Add: FEAT_AIRCRAFT flight_state variable (varE2) by @glx22 in #391
  * Fix: Validation and handling of multiple settings in one parameter by @glx22 in #382
  * Upgrade: bump the actions group across 1 directory with 6 updates by @dependabot[bot] in #396
  * Codefix: Fix typos and grammar errors by @Rito13 in #389
  * Change: Validate action 2 loaded list does not overlap special types. by @PeterN in #400
  * Add: Station/RoadStop height and blocked pillar flag lists. by @PeterN in #388
  * Update: changelog for 0.8.1 by @glx22 in #399

OBS-URL: https://build.opensuse.org/package/show/games/nml?expand=0&rev=64
2025-12-03 09:43:46 +00:00
d636ee7c39 Accepting request 1314026 from games
OBS-URL: https://build.opensuse.org/request/show/1314026
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nml?expand=0&rev=29
2025-10-28 13:49:11 +00:00
508e2f1412 - Use pyproject macros to build and install.
- Add in fdupes
- List files and directories under python3_sitearch explicitly.

OBS-URL: https://build.opensuse.org/package/show/games/nml?expand=0&rev=62
2025-10-28 09:20:40 +00:00
d9415f0b93 Accepting request 1287869 from games
Update to 0.8.0

OBS-URL: https://build.opensuse.org/request/show/1287869
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nml?expand=0&rev=28
2025-06-23 13:06:03 +00:00
db2f5a6d47 Update to 0.8.0
OBS-URL: https://build.opensuse.org/package/show/games/nml?expand=0&rev=60
2025-06-22 20:51:53 +00:00
4 changed files with 63 additions and 9 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d9e7ce5f847ad2a90f702cd478e1a01bede5f9cd2bcfa5e2183cea96264cc945
size 582265

3
nml-0.8.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:92d10d7550b405c0861c8773e8c92a81e11577a16ec75432fe80c9c4941c3a4f
size 613970

View File

@@ -1,3 +1,47 @@
Wed Dec 3 09:26:34 UTC 2025 - Jan Baier <jbaier@suse.com>
- update to 0.8.1:
* Add: station properties to editor symbols script by @Pixel-Tony in #383
* Change: move black options to pyproject.toml by @ahyangyi in #386
* Add: Extend FEAT_TRAIN track_type for prop 34 by @glx22 in #390
* Codefix 41d5cd4: standalone build references non existing files by @glx22 in #397
* Add: Support for Action5 type 1B bridge deck overlays by @zephyris in #393
* Add: FEAT_AIRCRAFT flight_state variable (varE2) by @glx22 in #391
* Fix: Validation and handling of multiple settings in one parameter by @glx22 in #382
* Upgrade: bump the actions group across 1 directory with 6 updates by @dependabot[bot] in #396
* Codefix: Fix typos and grammar errors by @Rito13 in #389
* Change: Validate action 2 loaded list does not overlap special types. by @PeterN in #400
* Add: Station/RoadStop height and blocked pillar flag lists. by @PeterN in #388
* Update: changelog for 0.8.1 by @glx22 in #399
-------------------------------------------------------------------
Tue Oct 28 01:45:20 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Use pyproject macros to build and install.
- Add in fdupes
- List files and directories under python3_sitearch explicitly.
-------------------------------------------------------------------
Sun Jun 22 20:46:03 UTC 2025 - Jan Baier <jbaier@suse.com>
- update to 0.8.0
* Add: Support for Action5 type 1A overlay rocks by @zephyris in https://github.com/OpenTTD/nml/pull/365
* Fix: ALL_NORMAL_CARGO_CLASSES and ALL_CARGO_CLASSES did not include newer cargo classes. by @frosch123 in
https://github.com/OpenTTD/nml/pull/366
* Fix: Don't announce dependabot PRs by @glx22 in https://github.com/OpenTTD/nml/pull/356
* Fix: Nicer error message when a station switch returns a SpriteLayout by @glx22 in https://github.com/OpenTTD/nml/pull/360
* Fix 530e325f: 'gh' requires a git repository by @glx22 in https://github.com/OpenTTD/nml/pull/364
* Fix #367: Incorrect limits for House and Industry Tile by @glx22 in https://github.com/OpenTTD/nml/pull/368
* Codefix: Remove unneeded "global" by @glx22 in https://github.com/OpenTTD/nml/pull/369
* Upgrade: bump pypa/cibuildwheel from 2.22.0 to 2.23.2 in the actions group by @dependabot in https://github.com/OpenTTD/nml/pull/370
* Add: Road/tram/railtype variable 0x45. by @frosch123 in https://github.com/OpenTTD/nml/pull/373
* Add: Parent scope for airports and airport tiles. by @frosch123 in https://github.com/OpenTTD/nml/pull/374
* Add: Constants for (new) station and roadstop animation and random triggers. by @frosch123 in https://github.com/OpenTTD/nml/pull/375
* Change: Vendor in latest ply version by @glx22 in https://github.com/OpenTTD/nml/pull/342
* Upgrade: bump pypa/cibuildwheel from 2.23.2 to 2.23.3 in the actions group by @dependabot in https://github.com/OpenTTD/nml/pull/376
* Add: Support for badge menu vertical ellipsis icon by @zephyris in https://github.com/OpenTTD/nml/pull/377
* Update: changelog for 0.8.0 by @glx22 in https://github.com/OpenTTD/nml/pull/379
-------------------------------------------------------------------
Sun Feb 16 12:45:00 UTC 2025 - Jan Baier <jbaier@suse.com>

View File

@@ -2,6 +2,7 @@
# spec file for package nml
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,16 +18,19 @@
Name: nml
Version: 0.7.6
Version: 0.8.1
Release: 0
Summary: NewGRF Meta Language
License: GPL-2.0-or-later
Group: Development/Tools/Building
URL: http://dev.openttdcoop.org/projects/nml
Source: https://github.com/OpenTTD/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz
BuildRequires: fdupes
BuildRequires: gcc
BuildRequires: python3-devel
BuildRequires: python3-pip
BuildRequires: python3-setuptools
BuildRequires: python3-wheel
# We need the required packages also on building for regression tests:
BuildRequires: python3-Pillow >= 3.4
BuildRequires: python3-ply
@@ -41,13 +45,17 @@ A tool to compile nml files to grf or nfo files, making newgrf coding easier.
%autosetup -p1 -n %{name}-%{version}
%build
make extensions
%python3_pyproject_wheel
%check
PYTHONDONTWRITEBYTECODE=1 make -C regression
export PYTHONDONTWRITEBYTECODE=1
export PYTHONPATH=%{buildroot}%{python3_sitearch}
make -C regression
%install
python3 setup.py install --skip-build --root=%{buildroot} --prefix=%{_prefix}
%python3_pyproject_install
%fdupes %{buildroot}%{python3_sitearch}
%fdupes %{buildroot}%{python3_sitelib}
install -D -m0644 docs/nmlc.1 %{buildroot}%{_mandir}/man1/nmlc.1
@@ -67,7 +75,9 @@ rm %{buildroot}%{python3_sitelib}/nml/_lz77.c
%doc docs/*.txt
%{_bindir}/nmlc
%{_mandir}/man1/nmlc.1*
%{python3_sitearch}/*
%{python3_sitelib}/%{name}/
%{python3_sitelib}/%{name}
%{python3_sitearch}/%{name}
%{python3_sitearch}/nml_lz77.cpython-*-linux-gnu.so
%{python3_sitearch}/%{name}-%{version}.dist-info
%changelog