- 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:
Thomas Bechtold 2017-08-08 06:14:22 +00:00 committed by Git OBS Bridge
parent bdc67b710a
commit 559406b98e
5 changed files with 15 additions and 19 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:95259bccef631e5e44438c50087f761d699005e472f8f77f20ec968e51a7e10e
size 11550

3
appdirs-1.4.3.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9e5896d1372858f8dd3344faf4e5014d21849c756c8d5701f78f8a103b372d92
size 12700

View File

@ -1,13 +0,0 @@
Index: appdirs-1.4.1/setup.py
===================================================================
--- appdirs-1.4.1.orig/setup.py
+++ appdirs-1.4.1/setup.py
@@ -2,7 +2,7 @@
import sys
import os
import os.path
-from setuptools import setup
+from distutils.core import setup
import appdirs
tests_require = []

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Tue Aug 8 06:11:57 UTC 2017 - tbechtold@suse.com
- 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.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Feb 23 11:45:52 UTC 2017 - jmatejek@suse.com Thu Feb 23 11:45:52 UTC 2017 - jmatejek@suse.com

View File

@ -18,14 +18,13 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-appdirs Name: python-appdirs
Version: 1.4.1 Version: 1.4.3
Release: 0 Release: 0
Summary: A small Python module for determining platform-specific dirs Summary: A small Python module for determining platform-specific dirs
License: MIT License: MIT
Group: Development/Languages/Python Group: Development/Languages/Python
Url: http://github.com/ActiveState/appdirs Url: http://github.com/ActiveState/appdirs
Source: https://files.pythonhosted.org/packages/source/a/appdirs/appdirs-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/a/appdirs/appdirs-%{version}.tar.gz
Patch0: desetuptoolize.patch
BuildRequires: %{python_module base} BuildRequires: %{python_module base}
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -43,7 +42,6 @@ help you choose an appropriate:
%prep %prep
%setup -q -n appdirs-%{version} %setup -q -n appdirs-%{version}
%patch0 -p1
# strip shebang # strip shebang
sed -r -i '1s/^#!.*$//' appdirs.py sed -r -i '1s/^#!.*$//' appdirs.py