SHA256
1
0
forked from pool/python-ana

Accepting request 708981 from home:a_faerber:branches:devel:languages:python

Update to v0.06 and clean up packaging

OBS-URL: https://build.opensuse.org/request/show/708981
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ana?expand=0&rev=9
This commit is contained in:
Andreas Färber 2019-06-10 14:37:44 +00:00 committed by Git OBS Bridge
parent 0dd655d709
commit 01599f1509
5 changed files with 13 additions and 32 deletions

24
LICENSE
View File

@ -1,24 +0,0 @@
Copyright (c) 2015, The Regents of the University of California
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:463e69cb3079fabf1e952893e89d211736512ffe13ca7b320f743050cf2a1ac5
size 3132

3
ana-0.06.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5fa16e511773a0efc6ac9294f93eee583612ffb580859737eed07e703947d6f8
size 5876

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Jun 10 14:19:34 UTC 2019 - Andreas Färber <afaerber@suse.de>
- Update to v0.06
* LICENSE and README.md files are now included in the tarball
* Repo URL is deprecated but no new one known (gh#zardus/ana#13)
- Don't overwrite tarball files with local copies
-------------------------------------------------------------------
Thu Jun 6 12:58:58 UTC 2019 - pgajdos@suse.com

View File

@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-ana
Version: 0.05
Version: 0.06
Release: 0
Summary: The Python "ana" module
License: BSD-2-Clause
@ -26,8 +26,6 @@ Group: Development/Languages/Python
Url: https://github.com/zardus/ana
Source: https://files.pythonhosted.org/packages/source/a/ana/ana-%{version}.tar.gz
# https://github.com/zardus/ana/issues/13
Source1: https://github.com/zardus/ana/raw/master/LICENSE
# https://github.com/zardus/ana/issues/13
Source2: https://raw.githubusercontent.com/zardus/ana/master/test.py
Source3: https://raw.githubusercontent.com/zardus/ana/master/test_pickle.p
BuildRequires: %{python_module future}
@ -46,10 +44,8 @@ A Python module that provides an undocumented data layer for Python objects.
%prep
%setup -q -n ana-%{version}
[ -e LICENSE ] || cp %{SOURCE1} LICENSE
[ -e test.py ] || cp %{SOURCE2} test.py
[ -e test_pickle.p ] || cp %{SOURCE3} test_pickle.p
cp %{SOURCE1} %{SOURCE2} %{SOURCE3} .
%build
%python_build
@ -64,6 +60,7 @@ cp %{SOURCE1} %{SOURCE2} %{SOURCE3} .
%files %{python_files}
%defattr(-,root,root,-)
%license LICENSE
%doc README.md
%{python_sitelib}/*
%changelog