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"));