Compare commits
1 Commits
Author | SHA256 | Date | |
---|---|---|---|
39f01239a9 |
@@ -1,3 +0,0 @@
|
|||||||
<multibuild>
|
|
||||||
<package>test</package>
|
|
||||||
</multibuild>
|
|
BIN
editables-0.3.tar.gz
(Stored with Git LFS)
Normal file
BIN
editables-0.3.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
editables-0.5.tar.gz
(Stored with Git LFS)
BIN
editables-0.5.tar.gz
(Stored with Git LFS)
Binary file not shown.
@@ -1,27 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Tue Jul 25 18:42:18 UTC 2023 - Benoît Monin <benoit.monin@gmx.fr>
|
|
||||||
|
|
||||||
- update to version 0.5:
|
|
||||||
* Fix a bug that broke importlib.invalidate_caches
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Tue Jul 11 10:38:18 UTC 2023 - Markéta Machová <mmachova@suse.com>
|
|
||||||
|
|
||||||
- Convert to multibuild to break a build cycle
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Mon Jul 10 09:59:29 UTC 2023 - Benoît Monin <benoit.monin@gmx.fr>
|
|
||||||
|
|
||||||
- update to version 0.4:
|
|
||||||
* Add a new add_to_subpackage method
|
|
||||||
* Add type annotations
|
|
||||||
* Internal admin: Switch to nox for automation
|
|
||||||
* Internal admin: Switch to ruff for linting
|
|
||||||
* Internal admin: Switch from setuptools to flit_core
|
|
||||||
- drop skip_python2 and require python >= 3.7
|
|
||||||
- drop setuptools and requires pip and flit-core to build the rpm
|
|
||||||
- add pytest as a build requirement and run the tests
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Apr 21 12:24:32 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Fri Apr 21 12:24:32 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file
|
# spec file for package python-editables
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2023 SUSE LLC
|
||||||
#
|
#
|
||||||
@@ -16,32 +16,20 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%global flavor @BUILD_FLAVOR@%{nil}
|
%define skip_python2 1
|
||||||
%if "%{flavor}" == "test"
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%define psuffix -%{flavor}
|
|
||||||
%bcond_without test
|
|
||||||
%else
|
|
||||||
%define psuffix %{nil}
|
|
||||||
%bcond_with test
|
|
||||||
%endif
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-editables%{psuffix}
|
Name: python-editables
|
||||||
Version: 0.5
|
Version: 0.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Editable installations
|
Summary: Editable installations
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/pfmoore/editables
|
URL: https://github.com/pfmoore/editables
|
||||||
Source: https://files.pythonhosted.org/packages/source/e/editables/editables-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/e/editables/editables-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module base >= 3.7}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module flit-core >= 3.3}
|
|
||||||
BuildRequires: %{python_module pip}
|
|
||||||
BuildRequires: dos2unix
|
BuildRequires: dos2unix
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
%if %{with test}
|
|
||||||
BuildRequires: %{python_module editables = %{version}}
|
|
||||||
BuildRequires: %{python_module pytest}
|
|
||||||
%endif
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@@ -60,27 +48,16 @@ Python, without needing a reinstall.
|
|||||||
dos2unix -c ascii README.md
|
dos2unix -c ascii README.md
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%if !%{with test}
|
%python_build
|
||||||
%pyproject_wheel
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%if !%{with test}
|
%python_install
|
||||||
%pyproject_install
|
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
%endif
|
|
||||||
|
|
||||||
%check
|
|
||||||
%if %{with test}
|
|
||||||
%pytest
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%if !%{with test}
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
%{python_sitelib}/editables
|
%{python_sitelib}/editables
|
||||||
%{python_sitelib}/editables-%{version}*-info
|
%{python_sitelib}/editables-%{version}*-info
|
||||||
%endif
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user