forked from pool/python-single-version
Accepting request 1135354 from devel:languages:python
- update to 1.6.0: * catch up with new python ecosystem * switch to poetry and ruff OBS-URL: https://build.opensuse.org/request/show/1135354 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-single-version?expand=0&rev=2
This commit is contained in:
@@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 27 16:39:28 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 1.6.0:
|
||||||
|
* catch up with new python ecosystem
|
||||||
|
* switch to poetry and ruff
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Feb 16 17:07:48 UTC 2021 - Luigi Baldoni <aloisio@gmx.com>
|
Tue Feb 16 17:07:48 UTC 2021 - Luigi Baldoni <aloisio@gmx.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-single-version
|
# spec file for package python-single-version
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 SUSE LLC
|
# Copyright (c) 2023 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,19 +16,20 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?sle15_python_module_pythons}
|
||||||
%define skip_python2 1
|
|
||||||
Name: python-single-version
|
Name: python-single-version
|
||||||
Version: 1.5.1
|
Version: 1.6.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Have a single source of version in your code base
|
Summary: Have a single source of version in your code base
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/hongquan/single-version
|
URL: https://github.com/hongquan/single-version
|
||||||
Source0: https://pypi.io/packages/source/s/single-version/single-version-%{version}.tar.gz
|
Source0: https://pypi.io/packages/source/s/single-version/single_version-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module pip}
|
||||||
|
BuildRequires: %{python_module poetry-core}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-importlib-metadata
|
|
||||||
Requires: python-first >= 2.0
|
Requires: python-first >= 2.0
|
||||||
|
Requires: python-importlib-metadata
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@@ -36,18 +37,18 @@ BuildArch: noarch
|
|||||||
Utility to let you have a single source of version in your code base.
|
Utility to let you have a single source of version in your code base.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n single-version-%{version}
|
%autosetup -n single_version-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitelib}/single_version
|
%{python_sitelib}/single_version
|
||||||
%{python_sitelib}/single_version-%{version}-py%{python_version}.egg-info
|
%{python_sitelib}/single_version-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:d0dee097581a4a9cdf1576075219369abedb67583449c6a0ae2c3f8100b9e903
|
|
||||||
size 4067
|
|
3
single_version-1.6.0.tar.gz
Normal file
3
single_version-1.6.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:3b1fb6e9bd2c88268948d9191c78b63ddd3c07554c1f07cd8a85aedf2486e4fc
|
||||||
|
size 3595
|
Reference in New Issue
Block a user