1
0

- update to 0.7.2:

* Improved tests 
  * switch to pyproject.toml

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-compileall2?expand=0&rev=4
This commit is contained in:
Dirk Mueller 2023-01-07 17:24:33 +00:00 committed by Git OBS Bridge
parent 83b2cc6c92
commit a6513d9d99
4 changed files with 16 additions and 8 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:295c8e1e952a3dfd39d25b0f7598e729113ef1f1323b5e12f49953d1111b8e3d
size 9181

3
compileall2-0.7.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:70e2f8499175a5689cb02fd1eeda3d4b67d68437cd3bb7af8d20b175f70e8aae
size 10975

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sat Jan 7 17:08:43 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 0.7.2:
* Improved tests
* switch to pyproject.toml
-------------------------------------------------------------------
Fri Jan 28 03:55:46 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-compileall2
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-compileall2
Version: 0.7.1
Version: 0.7.2
Release: 0
Summary: Enhanced Python `compileall` module
License: Python-2.0
@ -27,9 +27,10 @@ URL: https://github.com/fedora-python/compileall2
Source: https://files.pythonhosted.org/packages/source/c/compileall2/compileall2-%{version}.tar.gz
Source1: https://raw.githubusercontent.com/fedora-python/compileall2/master/LICENSE
Source2: https://raw.githubusercontent.com/fedora-python/compileall2/master/test_compileall2.py
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module testsuite}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
@ -44,11 +45,11 @@ cp %{SOURCE1} %{SOURCE2} .
%build
export LANG=en_US.UTF-8
%python_build
%pyproject_wheel
%install
export LANG=en_US.UTF-8
%python_install
%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/compileall2
%python_expand %fdupes %{buildroot}%{$python_sitelib}