From f539605fa5c70ba4bbab7a71f49f6b47e0911ccf Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Fri, 2 Jan 2026 20:01:10 -0800 Subject: [PATCH] add: jade (#8874) (#8876) (cherry picked from commit 51cf2770036b5aec874dd10fd6970491d49b79db) Signed-off-by: Owen-sz Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> --- anda/langs/python/jade/anda.hcl | 6 ++++ anda/langs/python/jade/jade.spec | 48 ++++++++++++++++++++++++++++++ anda/langs/python/jade/update.rhai | 1 + 3 files changed, 55 insertions(+) create mode 100644 anda/langs/python/jade/anda.hcl create mode 100644 anda/langs/python/jade/jade.spec create mode 100644 anda/langs/python/jade/update.rhai diff --git a/anda/langs/python/jade/anda.hcl b/anda/langs/python/jade/anda.hcl new file mode 100644 index 0000000000..6981ec174c --- /dev/null +++ b/anda/langs/python/jade/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "jade.spec" + } +} diff --git a/anda/langs/python/jade/jade.spec b/anda/langs/python/jade/jade.spec new file mode 100644 index 0000000000..d59938d50a --- /dev/null +++ b/anda/langs/python/jade/jade.spec @@ -0,0 +1,48 @@ +%global pypi_name jade +%global _desc Exoplanet evolution code. + +Name: python-%{pypi_name} +Version: 0.1.0 +Release: 1%?dist +Summary: Exoplanet evolution code +License: LGPL-3.0 +URL: https://gitlab.unige.ch/spice_dune/jade +Source0: %{pypi_source} +BuildArch: noarch + +BuildRequires: python3 +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip + +Packager: Owen Zimmerman + +%description +%_desc + +%package -n python3-%{pypi_name} +Summary: %{summary} +Provides: jade +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +%_desc + +%prep +%autosetup -n jade-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files jade + +%files -n python3-%{pypi_name} -f %{pyproject_files} +%doc README.md +%license LICENSE +%{_bindir}/jade + +%changelog +* Fri Jan 02 2026 Owen Zimmerman +- Initial commit diff --git a/anda/langs/python/jade/update.rhai b/anda/langs/python/jade/update.rhai new file mode 100644 index 0000000000..7e4f13db9e --- /dev/null +++ b/anda/langs/python/jade/update.rhai @@ -0,0 +1 @@ +rpm.version(pypi("jade"));