[packages/python3-glom] Initial
arekm
arekm at pld-linux.org
Sun Mar 15 17:17:59 CET 2026
commit 5259d38765e45b5e9a563fff9191baa79a4efb17
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sun Mar 15 17:17:39 2026 +0100
Initial
python3-glom.spec | 70 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 70 insertions(+)
---
diff --git a/python3-glom.spec b/python3-glom.spec
new file mode 100644
index 0000000..42e8dc2
--- /dev/null
+++ b/python3-glom.spec
@@ -0,0 +1,70 @@
+#
+# Conditional build:
+%bcond_without tests # unit tests
+
+%define module glom
+Summary: Declarative object transformer and formatter for nested data
+Summary(pl.UTF-8): Deklaratywny transformator i formater zagnieżdżonych danych
+Name: python3-%{module}
+Version: 25.12.0
+Release: 1
+License: BSD
+Group: Libraries/Python
+#Source0Download: https://pypi.org/simple/glom/
+Source0: https://files.pythonhosted.org/packages/source/g/glom/%{module}-%{version}.tar.gz
+# Source0-md5: a303aca98d04605cf4dadb0013869fac
+URL: https://github.com/mahmoud/glom
+BuildRequires: python3-build
+BuildRequires: python3-installer
+BuildRequires: python3-modules >= 1:3.7
+BuildRequires: python3-setuptools
+%if %{with tests}
+BuildRequires: python3-attrs
+BuildRequires: python3-boltons >= 19.3.0
+BuildRequires: python3-face >= 20.1.1
+BuildRequires: python3-pytest
+%endif
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 2.044
+Requires: python3-attrs
+Requires: python3-boltons >= 19.3.0
+Requires: python3-face >= 20.1.1
+Requires: python3-modules >= 1:3.7
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Glom is a declarative object transformer and formatter for
+conglomerating nested data. It makes it easy to work with data that
+has been loaded from JSON, YAML, databases, and other sources.
+
+%description -l pl.UTF-8
+Glom to deklaratywny transformator i formater do scalania
+zagnieżdżonych danych. Ułatwia pracę z danymi załadowanymi z JSON,
+YAML, baz danych i innych źródeł.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+%py3_build_pyproject
+
+%if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
+%{__python3} -m pytest tests glom/test
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py3_install_pyproject
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc LICENSE README.md CHANGELOG.md
+%attr(755,root,root) %{_bindir}/glom
+%{py3_sitescriptdir}/glom
+%{py3_sitescriptdir}/glom-%{version}.dist-info
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-glom.git/commitdiff/5259d38765e45b5e9a563fff9191baa79a4efb17
More information about the pld-cvs-commit
mailing list