package created using the webbuild interface [release 2.1.3-1mamba;Wed Sep 30 2020]
This commit is contained in:
parent
c81f5b906c
commit
ef8e70327b
@ -1,2 +1,4 @@
|
||||
# python-ciso8601
|
||||
|
||||
Converts ISO 8601 or RFC 3339 date time strings into Python datetime objects.
|
||||
|
||||
|
51
python-ciso8601.spec
Normal file
51
python-ciso8601.spec
Normal file
@ -0,0 +1,51 @@
|
||||
Name: python-ciso8601
|
||||
Version: 2.1.3
|
||||
Release: 1mamba
|
||||
Summary: Converts ISO 8601 or RFC 3339 date time strings into Python datetime objects
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://pypi.org/project/ciso8601/
|
||||
Source: https://pypi.debian.net/ciso8601/ciso8601-%{version}.tar.gz
|
||||
License: MIT
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: ldconfig
|
||||
BuildRequires: libpython3-devel
|
||||
BuildRequires: libpython36-devel
|
||||
## AUTOBUILDREQ-END
|
||||
Requires: python >= %python_version
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
%{summary}.
|
||||
|
||||
%if 0%{?with_pyver}
|
||||
%pyver_package
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%setup -q -n ciso8601-%{version}
|
||||
|
||||
%build
|
||||
CFLAGS="%{optflags}" %{__python} setup.py build
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%{__python} setup.py install \
|
||||
-O1 --skip-build \
|
||||
--root="%{buildroot}" \
|
||||
--install-headers=%{python_inc} \
|
||||
--install-lib=%{python_sitearch} \
|
||||
--record=%{name}.filelist
|
||||
|
||||
sed -i "s,.*/man/.*,&.gz," %{name}.filelist
|
||||
|
||||
%files %{?pyappend} -f %{name}.filelist
|
||||
%defattr(-,root,root)
|
||||
%doc LICENSE
|
||||
|
||||
%changelog
|
||||
* Wed Sep 30 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.3-1mamba
|
||||
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user