From a906a512442ba3bb4b9f9349d2c61cc7f37841c4 Mon Sep 17 00:00:00 2001 From: Stefano Cotta Ramusino Date: Sat, 6 Jan 2024 10:45:30 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.5.4-1mamba;Thu Jul 02 2015] --- README.md | 2 ++ python-arrow.spec | 45 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 python-arrow.spec diff --git a/README.md b/README.md index e99e3aa..2fe59b1 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # python-arrow +Better dates and times for Python. + diff --git a/python-arrow.spec b/python-arrow.spec new file mode 100644 index 0000000..01a425f --- /dev/null +++ b/python-arrow.spec @@ -0,0 +1,45 @@ +Name: python-arrow +Version: 0.5.4 +Release: 1mamba +Summary: Better dates and times for Python +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Stefano Cotta Ramusino +URL: https://arrow.readthedocs.org +Source: https://pypi.python.org/packages/source/a/arrow/arrow-%{version}.tar.gz +License: Apache License 2.0 +## AUTOBUILDREQ-BEGIN +BuildRequires: libpython-devel +## AUTOBUILDREQ-END +Requires: python >= %python_version +Requires: python-dateutil +BuildRoot: %{_tmppath}/%{name}-%{version}-root +BuildArch: noarch + +%description +%{summary}. + +%prep +%setup -q -n arrow-%{version} + +%build +CFLAGS="%{optflags}" %{__python} setup.py build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%{__python} setup.py install \ + -O1 --skip-build \ + --root="%{buildroot}" \ + --install-headers=%{_includedir}/python \ + --install-lib=%{python_sitearch} \ + --record=%{name}.filelist + +sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist + +%files -f %{name}.filelist +%defattr(-,root,root) + +%changelog +* Thu Jul 02 2015 Stefano Cotta Ramusino 0.5.4-1mamba +- package created using the webbuild interface