forked from pool/python-appdirs
- update to 1.4.3:
- [PR #76] Python 3.6 invalid escape sequence deprecation fixes - Fix for Python 3.6 support - [PR #84] Allow installing without setuptools - [PR #86] Fix string delimiters in setup.py description - Add Python 3.6 support - drop desetuptoolize.patch . no longer needed. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-appdirs?expand=0&rev=7
This commit is contained in:
@@ -18,14 +18,13 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-appdirs
|
||||
Version: 1.4.1
|
||||
Version: 1.4.3
|
||||
Release: 0
|
||||
Summary: A small Python module for determining platform-specific dirs
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Url: http://github.com/ActiveState/appdirs
|
||||
Source: https://files.pythonhosted.org/packages/source/a/appdirs/appdirs-%{version}.tar.gz
|
||||
Patch0: desetuptoolize.patch
|
||||
BuildRequires: %{python_module base}
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
@@ -43,7 +42,6 @@ help you choose an appropriate:
|
||||
|
||||
%prep
|
||||
%setup -q -n appdirs-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
# strip shebang
|
||||
sed -r -i '1s/^#!.*$//' appdirs.py
|
||||
|
||||
Reference in New Issue
Block a user