package created using the webbuild interface [release 0.5.4-1mamba;Thu Jul 02 2015]

This commit is contained in:
Stefano Cotta Ramusino 2024-01-06 10:45:30 +01:00
parent 8a9c95d082
commit a906a51244
2 changed files with 47 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# python-arrow
Better dates and times for Python.

45
python-arrow.spec Normal file
View File

@ -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 <stefano.cotta@openmamba.org>
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 <stefano.cotta@openmamba.org> 0.5.4-1mamba
- package created using the webbuild interface