commit 0ac70068f8d9284d884dff10481d6751895ad90d
Author: Jan Palus <[email protected]>
Date:   Mon Jan 25 18:09:06 2021 +0100

    up to 3.0.6

 python3-openpyxl.spec | 53 ++++++++++++++-------------------------------------
 1 file changed, 14 insertions(+), 39 deletions(-)
---
diff --git a/python3-openpyxl.spec b/python3-openpyxl.spec
index 58da828..2cc927a 100644
--- a/python3-openpyxl.spec
+++ b/python3-openpyxl.spec
@@ -1,21 +1,19 @@
-# Conditional build:
-%bcond_without  tests   # do not perform "make test"
-
 %define        module  openpyxl
 Summary:       A Python library to read/write Excel 2007 xlsx/xlsm files
 Summary(pl.UTF-8):     Biblioteka umożliwiająca tworzenie plików w formacie 
xlsx/xlsm dla języka Python.
-Name:          python-%{module}
-Version:       1.6.1
-Release:       2
-License:       MIT/Expat
+Name:          python3-%{module}
+Version:       3.0.6
+Release:       1
+License:       MIT
 Group:         Development/Languages/Python
 Source0:       
https://pypi.python.org/packages/source/o/%{module}/%{module}-%{version}.tar.gz
-# Source0-md5: d0d92b3b8128609be93a044ce3dac3f8
-URL:           http://bitbucket.org/ericgazoni/openpyxl/wiki/Home
-BuildRequires: python-distribute
+# Source0-md5: bfcd5a08491e4ac72c61d87d2bb22bb5
+URL:           https://openpyxl.readthedocs.io
+BuildRequires: python3-modules >= 1:3.6
+BuildRequires: python3-setuptools
 BuildRequires: rpm-pythonprov
 BuildRequires: rpmbuild(macros) >= 1.710
-Requires:      python-modules
+Requires:      python3-modules >= 1:3.6
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -27,40 +25,17 @@ is ported from the PHPExcel project
 %setup -q -n %{module}-%{version}
 
 %build
-%py_build
-
-#%{?with_tests:%{__python} setup.py test}
+%py3_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%py_install
-
-%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
-%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
-%py_postclean
+%py3_install
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS README
-%dir %{py_sitescriptdir}/%{module}
-%{py_sitescriptdir}/%{module}/*.py[co]
-%dir %{py_sitescriptdir}/%{module}/reader
-%{py_sitescriptdir}/%{module}/reader/*.py[co]
-%dir %{py_sitescriptdir}/%{module}/shared
-%{py_sitescriptdir}/%{module}/shared/*.py[co]
-%dir %{py_sitescriptdir}/%{module}/shared/compat
-%{py_sitescriptdir}/%{module}/shared/compat/*.py[co]
-%dir %{py_sitescriptdir}/%{module}/writer
-%{py_sitescriptdir}/%{module}/writer/*.py[co]
-
-%if "%{py_ver}" > "2.4"
-%{py_sitescriptdir}/%{module}-*.egg-info
-%endif
-
-%define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
-%changelog
-* %{date} PLD Team <[email protected]>
-All persons listed below can be reached at <cvs_login>@pld-linux.org
+%doc AUTHORS.rst README.rst
+%{py3_sitescriptdir}/%{module}
+%{py3_sitescriptdir}/%{module}-*.egg-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-openpyxl.git/commitdiff/0ac70068f8d9284d884dff10481d6751895ad90d

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to