forked from pool/python-appdirs
Accepting request 310168 from home:tbechtold:branches:devel:languages:python
- update to 1.4.0: - [PR #42] AppAuthor is now optional on Windows - [issue 41] Support Jython on Windows, Mac, and Unix-like platforms. Windows support requires `JNA <https://github.com/twall/jna>`_. - [PR #44] Fix incorrect behaviour of the site_config_dir method - [Unix, issue 16] Conform to XDG standard, instead of breaking it for everybody - [Unix] Removes gratuitous case mangling of the case, since \*nix-es are usually case sensitive, so mangling is not wise - [Unix] Fixes the uterly wrong behaviour in ``site_data_dir``, return result based on XDG_DATA_DIRS and make room for respecting the standard which specifies XDG_DATA_DIRS is a multiple-value variable - [Issue 6] Add ``*_config_dir`` which are distinct on nix-es, according to XDG specs; on Windows and Mac return the corresponding ``*_data_dir`` - Remove unzip as BuildRequires. tar.gz file now provided and used OBS-URL: https://build.opensuse.org/request/show/310168 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-appdirs?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
69a8cfc95f
commit
1286742fb6
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-appdirs
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,16 +17,15 @@
|
||||
|
||||
|
||||
Name: python-appdirs
|
||||
Version: 1.2.0
|
||||
Version: 1.4.0
|
||||
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://pypi.python.org/packages/source/a/appdirs/appdirs-%{version}.zip
|
||||
Source: https://pypi.python.org/packages/source/a/appdirs/appdirs-%{version}.tar.gz
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-setuptools
|
||||
BuildRequires: unzip
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
|
||||
Reference in New Issue
Block a user