From ef8e70327b4b37cbd5ee089bfe32e95bceed3f33 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 10:57:42 +0100 Subject: [PATCH] package created using the webbuild interface [release 2.1.3-1mamba;Wed Sep 30 2020] --- README.md | 2 ++ python-ciso8601.spec | 51 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 python-ciso8601.spec diff --git a/README.md b/README.md index 468a84a..baf8f61 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # python-ciso8601 +Converts ISO 8601 or RFC 3339 date time strings into Python datetime objects. + diff --git a/python-ciso8601.spec b/python-ciso8601.spec new file mode 100644 index 0000000..b6cd82c --- /dev/null +++ b/python-ciso8601.spec @@ -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 +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 2.1.3-1mamba +- package created using the webbuild interface