Accepting request 1040866 from home:ojkastl_buildservice:Branch_devel_languages_python
update to 0.2.1 OBS-URL: https://build.opensuse.org/request/show/1040866 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch_vcs?expand=0&rev=7
This commit is contained in:
parent
21b1a32b80
commit
e4aa30c690
4
_service
Normal file
4
_service
Normal file
@ -0,0 +1,4 @@
|
||||
<services>
|
||||
<service name="download_files" mode="disabled">
|
||||
</service>
|
||||
</services>
|
@ -1,14 +0,0 @@
|
||||
diff --git a/tests/test_build.py b/tests/test_build.py
|
||||
index 2d719a9..6b907ef 100644
|
||||
--- a/tests/test_build.py
|
||||
+++ b/tests/test_build.py
|
||||
@@ -75,7 +75,8 @@ def test_write(new_project_write):
|
||||
assert os.path.isfile(version_file)
|
||||
|
||||
lines = read_file(version_file).splitlines()
|
||||
- assert lines[3] == "version = '1.2.3'"
|
||||
+ assert lines[3].startswith(('version =', '__version__ ='))
|
||||
+ assert lines[3].endswith("version = '1.2.3'")
|
||||
|
||||
|
||||
@pytest.mark.skipif(sys.version_info[0] == 2, reason='Depends on fix in 6.4.0 which is Python 3-only')
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9913d733b34eec9bb0345d0626ca32165a4ad2de15d1ce643c36d09ca908abff
|
||||
size 9321
|
3
hatch_vcs-0.2.1.tar.gz
Normal file
3
hatch_vcs-0.2.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:854e398586e7a0a9295c9d4365729d1ae6834ef39de33c88080f4eecc6fc5681
|
||||
size 9120
|
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 7 06:34:23 UTC 2022 - Johannes Kastl <kastl@b1-systems.de>
|
||||
|
||||
- update to 0.2.1:
|
||||
* Fixed:
|
||||
- Allow root in raw-options
|
||||
- drop patch fix-tests-setuptools-scm7.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 11 12:02:43 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
|
@ -19,14 +19,12 @@
|
||||
%{?!python_module:%define python_module() python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-hatch_vcs
|
||||
Version: 0.2.0
|
||||
Version: 0.2.1
|
||||
Release: 0
|
||||
Summary: Hatch plugin for versioning with your preferred VCS
|
||||
License: MIT
|
||||
URL: https://github.com/ofek/hatch-vcs
|
||||
Source: https://files.pythonhosted.org/packages/source/h/hatch_vcs/hatch_vcs-%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM fix-tests-setuptools-scm7.patch gh#ofek/hatch-vcs#9
|
||||
Patch0: fix-tests-setuptools-scm7.patch
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros >= 20210929
|
||||
Requires: python-hatchling >= 0.21.0
|
||||
@ -49,7 +47,7 @@ BuildRequires: git
|
||||
This provides a plugin for Hatch that uses your preferred version control system (like Git) to determine project versions.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n hatch_vcs-%{version}
|
||||
%autosetup -n hatch_vcs-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
Loading…
x
Reference in New Issue
Block a user