forked from pool/python-itypes
Accepting request 914895 from devel:languages:python
- Enable tests (we need to get source tarball from GitHub directly). - Update to version 1.2.0: * adding long description content type text/markdown * adding read func in setup.py * removing python v3.3 support * fix collections deprecation warning * Create LICENSE.md * Add Python 2/3 trove classifiers to setup.py * Add support for running tests on Travis * Add 'itypes.Object' * Update README.md - Update to 1.2.0 * fix collections deprecation warning OBS-URL: https://build.opensuse.org/request/show/914895 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-itypes?expand=0&rev=2
This commit is contained in:
commit
811521ace0
29
LICENSE.md
29
LICENSE.md
@ -1,29 +0,0 @@
|
||||
# License
|
||||
|
||||
Copyright © 2017-present, Tom Christie.
|
||||
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.
|
||||
|
||||
* Neither the name of the copyright holder nor the names of its
|
||||
contributors may be used to endorse or promote products derived from
|
||||
this software without specific prior written permission.
|
||||
|
||||
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.
|
18
_service
Normal file
18
_service
Normal file
@ -0,0 +1,18 @@
|
||||
<services>
|
||||
<service name="obs_scm" mode="disabled">
|
||||
<param name="url">https://github.com/PavanTatikonda/itypes.git</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="revision">1.2.0</param>
|
||||
<param name="versionformat">@PARENT_TAG@</param>
|
||||
<!-- param name="versionrewrite-pattern">v(.*)</param -->
|
||||
<param name="exclude">.git*</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
<param name="changesauthor">mcepl@cepl.eu</param>
|
||||
</service>
|
||||
<service mode="disabled" name="tar" />
|
||||
<service name="recompress" mode="disabled">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">gz</param>
|
||||
</service>
|
||||
<service name="set_version" mode="disabled" />
|
||||
</services>
|
4
_servicedata
Normal file
4
_servicedata
Normal file
@ -0,0 +1,4 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://github.com/PavanTatikonda/itypes.git</param>
|
||||
<param name="changesrevision">86b6fb6aea3546fd86eb319bd06a82a655a94a97</param></service></servicedata>
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c6e77bb9fd68a4bfeb9d958fea421802282451a25bac4913ec94db82a899c073
|
||||
size 2188
|
3
itypes-1.2.0.tar.gz
Normal file
3
itypes-1.2.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:96b5a71a940bc8a4dafecbc1541df2e32dd5d27adf45534f80372c50fefee44b
|
||||
size 5573
|
5
itypes.obsinfo
Normal file
5
itypes.obsinfo
Normal file
@ -0,0 +1,5 @@
|
||||
name: itypes
|
||||
version: 1.2.0
|
||||
mtime: 1587332795
|
||||
commit: 86b6fb6aea3546fd86eb319bd06a82a655a94a97
|
||||
|
@ -1,3 +1,29 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 29 19:21:21 UTC 2021 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Enable tests (we need to get source tarball from GitHub
|
||||
directly).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 29 19:18:05 UTC 2021 - mcepl@cepl.eu
|
||||
|
||||
- Update to version 1.2.0:
|
||||
* adding long description content type text/markdown
|
||||
* adding read func in setup.py
|
||||
* removing python v3.3 support
|
||||
* fix collections deprecation warning
|
||||
* Create LICENSE.md
|
||||
* Add Python 2/3 trove classifiers to setup.py
|
||||
* Add support for running tests on Travis
|
||||
* Add 'itypes.Object'
|
||||
* Update README.md
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 25 10:16:51 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to 1.2.0
|
||||
* fix collections deprecation warning
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 25 12:46:09 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-itypes
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -18,14 +18,14 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-itypes
|
||||
Version: 1.1.0
|
||||
Version: 1.2.0
|
||||
Release: 0
|
||||
Summary: Basic immutable container types for Python
|
||||
License: BSD-2-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/tomchristie/itypes
|
||||
Source: https://files.pythonhosted.org/packages/source/i/itypes/itypes-%{version}.tar.gz
|
||||
Source1: https://raw.githubusercontent.com/tomchristie/itypes/master/LICENSE.md
|
||||
Source: itypes-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@ -41,8 +41,7 @@ Use these in circumstances where it may result in more comprehensible code, or
|
||||
when you want to create custom types with restricted, immutable interfaces.
|
||||
|
||||
%prep
|
||||
%setup -q -n itypes-%{version}
|
||||
cp %{SOURCE1} .
|
||||
%autosetup -p1 -n itypes-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@ -51,6 +50,9 @@ cp %{SOURCE1} .
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest tests.py
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE.md
|
||||
%{python_sitelib}/itypes.py*
|
||||
|
Loading…
Reference in New Issue
Block a user