From 10d43bfccfaaa33add3a375fe9d2213378495986 Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Fri, 9 Jan 2026 14:01:34 -0800 Subject: [PATCH] add: dora-search (#8985) (#9010) * add: diffq * add: dora-search * remove --------- (cherry picked from commit 690e465349df5641fa2953faf195be1325bcbe85) Signed-off-by: Owen-sz Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> --- anda/langs/python/dora-search/anda.hcl | 5 ++ .../langs/python/dora-search/dora-search.spec | 53 +++++++++++++++++++ anda/langs/python/dora-search/update.rhai | 1 + 3 files changed, 59 insertions(+) create mode 100644 anda/langs/python/dora-search/anda.hcl create mode 100644 anda/langs/python/dora-search/dora-search.spec create mode 100644 anda/langs/python/dora-search/update.rhai diff --git a/anda/langs/python/dora-search/anda.hcl b/anda/langs/python/dora-search/anda.hcl new file mode 100644 index 0000000000..ff36648dd3 --- /dev/null +++ b/anda/langs/python/dora-search/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "dora-search.spec" + } +} diff --git a/anda/langs/python/dora-search/dora-search.spec b/anda/langs/python/dora-search/dora-search.spec new file mode 100644 index 0000000000..c625cbc48b --- /dev/null +++ b/anda/langs/python/dora-search/dora-search.spec @@ -0,0 +1,53 @@ +%global pypi_name dora-search +%global _desc Dora is an experiment management framework. It expresses grid searches as pure python files as part of your repo. It identifies experiments with a unique hash signature. Scale up to hundreds of experiments without losing your sanity. + +%define debug_package %{nil} + +Name: python-%{pypi_name} +Version: 0.1.12 +Release: 1%?dist +Summary: Experiment management framework +License: MIT +URL: https://github.com/facebookresearch/dora +Source0: %url/archive/refs/tags/v%version.tar.gz + +BuildRequires: python3-devel +BuildRequires: python3-pip +BuildRequires: python3-setuptools + +Packager: Owen Zimmerman + +%description +%_desc + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +%_desc + +%package -n python3-%{pypi_name}-doc +Summary: documentation for python3-%{pypi_name} + +%description -n python3-%{pypi_name}-doc +documentation for python3-%{pypi_name}. + +%prep +%autosetup -n dora-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files dora + +%files -n python3-%{pypi_name} -f %{pyproject_files} +%doc README.md +%license LICENSE +%{_bindir}/dora + +%changelog +* Thu Jan 08 2026 Owen Zimmerman +- Initial commit diff --git a/anda/langs/python/dora-search/update.rhai b/anda/langs/python/dora-search/update.rhai new file mode 100644 index 0000000000..55b23c931b --- /dev/null +++ b/anda/langs/python/dora-search/update.rhai @@ -0,0 +1 @@ +rpm.version(pypi("dora-search"));