python-logbook 1.5.3-3 (armv7hnl;aarch64;znver1;i686;x86_64) 2020-11996
9999
| Status | published | ||||||||||
| Submitter | angrypenguinpoland [@T] gmail.com | ||||||||||
| Platform | rolling | ||||||||||
| Repository | main | ||||||||||
| URL | https://abf.openmandriva.org/build_lists/807933 | ||||||||||
| Packages |
|
||||||||||
| Build Date | 2020-07-14 20:40:01 +0000 UTC | ||||||||||
| Last Updated | 2020-07-17 20:58:48.013224563 +0000 UTC |
$ git diff --patch-with-stat --summary 985e82a264fe47935ce746d1e5af9f07f73d740a..bb9aab98fd50ec374450fc2e7e05c42d80c49a42
.abf.yml | 2 +-
python-logbook.spec | 21 ++++++++++++---------
2 files changed, 13 insertions(+), 10 deletions(-)
diff --git a/.abf.yml b/.abf.yml
index a6200db..0d9a3ed 100644
--- a/.abf.yml
+++ b/.abf.yml
@@ -1,2 +1,2 @@
sources:
- logbook-1.5.3.tar.gz: e43d38224ba6829cee6a439d5de9ab2bfe95f983
+ Logbook-1.5.3.tar.gz: e1d8d11b8616b8a9f7c2fe38d89141b013505cac
diff --git a/python-logbook.spec b/python-logbook.spec
index 4e5fa89..78f9fdb 100644
--- a/python-logbook.spec
+++ b/python-logbook.spec
@@ -5,14 +5,16 @@ Summary: A logging replacement for Python
Name: python-logbook
Version: 1.5.3
-Release: 1
-Source0: https://github.com/getlogbook/logbook/archive/%{version}/%{tarname}-%{version}.tar.gz
-#Source0: http://pypi.python.org/packages/source/L/Logbook/Logbook-%{version}.tar.gz
+Release: 3
+#Source0: https://github.com/getlogbook/logbook/archive/%{version}/%{tarname}-%{version}.tar.gz
+Source0: http://pypi.python.org/packages/source/L/Logbook/Logbook-%{version}.tar.gz
License: BSD
Group: Development/Python
Url: http://logbook.pocoo.org/
+BuildRequires: pkgconfig(python)
BuildRequires: python3dist(setuptools)
+BuildRequires: python3dist(cython)
%description
Logbook is a logging sytem for Python that replaces the standard
@@ -20,15 +22,16 @@ library’s logging module. It was designed with both complex and simple
applications and mind and the idea to make logging fun.
%prep
-%setup -q -n %{tarname}-%{version}
+%setup -q -n Logbook-%{version}
%build
-%__python setup.py build
+%{_bindir}/cython logbook/_speedups.pyx
+%py_build
%install
-PYTHONDONTWRITEBYTECODE= %__python setup.py install --root=%{buildroot} --record=FILE_LIST
-sed -i 's/.*egg-info$//' FILE_LIST
+%py_install
-%files -f FILE_LIST
+%files
%doc CHANGES
-%{python3_sitelib}/logbook*
+%{python_sitearch}/logbook/
+%{python_sitearch}/Logbook-%{version}-py*
Not Available
| benbullard79 [@T] cox.net | No Comment. | 1927d 20hrs |
| benbullard79 [@T] cox.net | No Comment. | 1927d 20hrs |