15
0
forked from pool/python-ansel

Accepting request 1004097 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1004097
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ansel?expand=0&rev=4
This commit is contained in:
2022-09-17 18:10:26 +00:00
committed by Git OBS Bridge
4 changed files with 19 additions and 13 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:156d2f7b41c9a604bb6bb28ef9c779c182b183eb06a161b17aede3058f03693a
size 22980

3
ansel-1.0.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8d9027b7dd4804928d39f2fc733fbdd4b5dad5f47473b38c7b7d2196acf470dc
size 35966

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri Sep 16 11:06:43 UTC 2022 - pgajdos@suse.com
- version update to 1.0.0
* first stable release
https://github.com/haney/python-ansel/releases/tag/v1.0.0
- python-six is not required
-------------------------------------------------------------------
Fri Nov 19 12:29:38 UTC 2021 - pgajdos@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-ansel
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,22 +18,22 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-ansel
Version: 0.2.0
Version: 1.0.0
Release: 0
Summary: Codecs for reading/writing documents in the ANSEL character set
License: MIT
Group: Development/Languages/Python
URL: https://github.com/haney/python-ansel
Source: https://files.pythonhosted.org/packages/source/a/ansel/ansel-%{version}.tar.gz
Source: https://github.com/haney/python-ansel/archive/refs/tags/v1.0.0.tar.gz#/ansel-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module poetry}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-six
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module pyfakefs}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module six}
# /SECTION
%python_subpackages
@@ -41,15 +41,13 @@ BuildRequires: %{python_module six}
Codecs for reading/writing documents in the ANSEL character set.
%prep
%setup -q -n ansel-%{version}
# https://github.com/haney/python-ansel/issues/109
sed -i 's:.pytest-runner.::' setup.py
%setup -q -n python-ansel-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check