libvirt-python 11.6.0__tar.gz → 11.8.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/ChangeLog +40 -0
  2. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/Makefile +1 -1
  3. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/PKG-INFO +1 -1
  4. libvirt_python-11.8.0/VERSION +1 -0
  5. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/libvirt-python.spec +5 -3
  6. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/setup.py +10 -6
  7. libvirt-python-11.6.0/VERSION +0 -1
  8. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/AUTHORS +0 -0
  9. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/CONTRIBUTING.rst +0 -0
  10. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/COPYING +0 -0
  11. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/HACKING +0 -0
  12. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/MANIFEST.in +0 -0
  13. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/README +0 -0
  14. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/build/libvirt_python.egg-info/SOURCES.txt +0 -0
  15. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/examples/README +0 -0
  16. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/examples/consolecallback.py +0 -0
  17. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/examples/dhcpleases.py +0 -0
  18. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/examples/dominfo.py +0 -0
  19. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/examples/domipaddrs.py +0 -0
  20. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/examples/domrestore.py +0 -0
  21. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/examples/domsave.py +0 -0
  22. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/examples/domstart.py +0 -0
  23. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/examples/esxlist.py +0 -0
  24. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/examples/event-test.py +0 -0
  25. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/examples/guest-vcpus/guest-vcpu-daemon.py +0 -0
  26. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/examples/guest-vcpus/guest-vcpu.py +0 -0
  27. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/examples/nodestats.py +0 -0
  28. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/examples/sparsestream.py +0 -0
  29. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/examples/topology.py +0 -0
  30. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/generator.py +0 -0
  31. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/libvirt-lxc-override-api.xml +0 -0
  32. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/libvirt-lxc-override.c +0 -0
  33. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/libvirt-override-api.xml +0 -0
  34. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/libvirt-override-virConnect.py +0 -0
  35. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/libvirt-override-virDomain.py +0 -0
  36. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/libvirt-override-virDomainCheckpoint.py +0 -0
  37. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/libvirt-override-virDomainSnapshot.py +0 -0
  38. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/libvirt-override-virNetwork.py +0 -0
  39. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/libvirt-override-virStoragePool.py +0 -0
  40. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/libvirt-override-virStream.py +0 -0
  41. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/libvirt-override.c +0 -0
  42. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/libvirt-override.py +0 -0
  43. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/libvirt-qemu-override-api.xml +0 -0
  44. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/libvirt-qemu-override.c +0 -0
  45. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/libvirt-qemu-override.py +0 -0
  46. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/libvirt-utils.c +0 -0
  47. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/libvirt-utils.h +0 -0
  48. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/libvirtaio.py +0 -0
  49. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/pyproject.toml +0 -0
  50. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/requirements-test.txt +0 -0
  51. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/setup.cfg +0 -0
  52. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/tests/eventmock.py +0 -0
  53. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/tests/test_aio.py +0 -0
  54. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/tests/test_api_coverage.py +0 -0
  55. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/tests/test_conn.py +0 -0
  56. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/tests/test_domain.py +0 -0
  57. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/tests/test_domain_checkpoint.py +0 -0
  58. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/tests/test_domain_snapshot.py +0 -0
  59. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/tests/test_interface.py +0 -0
  60. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/tests/test_network.py +0 -0
  61. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/tests/test_nodedev.py +0 -0
  62. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/tests/test_storage.py +0 -0
  63. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/tox.ini +0 -0
  64. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/typewrappers.c +0 -0
  65. {libvirt-python-11.6.0 → libvirt_python-11.8.0}/typewrappers.h +0 -0
@@ -1,3 +1,43 @@
1
+ 2025- 9- 11 Jiri Denemark <jdenemar@redhat.com>
2
+
3
+ spec: Set dist_name when creating a distribution tarball
4
+ When a distribution tarball is created (python3 -m build -n -s) the
5
+ dist_name in the spec file included in that tarball must match the
6
+ actual tarball name. The tarball name depends on the setuptools version
7
+ used to create it rather than on the version of setuptools installed on
8
+ the system RPMs are built.
9
+
10
+ Fixes: ed8ab5075d9190fdcd2894412d2127ac2a1d9535
11
+ Reported-by: Daniel P. Berrangé <berrange@redhat.com>
12
+
13
+
14
+ 2025- 9- 11 Jiri Denemark <jdenemar@redhat.com>
15
+
16
+ setup.py: Add support for multiple replacements in *.in
17
+
18
+
19
+ 2025- 9- 10 Jiri Denemark <jdenemar@redhat.com>
20
+
21
+ build: Adapt to PEP 625 distribution file naming
22
+ The version of setuptools shipped by Fedora 42 is PEP 625 compliant,
23
+ which requires distribution files to contain a normalized package name.
24
+ Thus the generated tarball is called libvirt_python-$VER.tar.gz rather
25
+ than libvirt-python-$VER.tar.gz created by older setuptools. The source
26
+ directory inside the tarball follows the same naming.
27
+
28
+ Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
29
+
30
+
31
+ 2025- 9- 1 Jiri Denemark <jdenemar@redhat.com>
32
+
33
+ Post-release version bump to 11.8.0
34
+
35
+
36
+ 2025- 8- 1 Jiri Denemark <jdenemar@redhat.com>
37
+
38
+ Post-release version bump to 11.7.0
39
+
40
+
1
41
  2025- 7- 1 Jiri Denemark <jdenemar@redhat.com>
2
42
 
3
43
  Post-release version bump to 11.6.0
@@ -19,4 +19,4 @@ test: all
19
19
  tox
20
20
 
21
21
  rpm: all
22
- rpmbuild -ta dist/libvirt-python-$(shell tr -d '\n' < VERSION).tar.gz
22
+ rpmbuild -ta dist/libvirt[-_]python-$(shell tr -d '\n' < VERSION).tar.gz
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: libvirt-python
3
- Version: 11.6.0
3
+ Version: 11.8.0
4
4
  Summary: The libvirt virtualization API python binding
5
5
  Home-page: http://www.libvirt.org
6
6
  Maintainer: Libvirt Maintainers
@@ -0,0 +1 @@
1
+ 11.8.0
@@ -12,11 +12,13 @@
12
12
  %define supported_platform 0
13
13
  %endif
14
14
 
15
+ %define dist_name libvirt_python
16
+
15
17
  Summary: The libvirt virtualization API python3 binding
16
18
  Name: libvirt-python
17
- Version: 11.6.0
19
+ Version: 11.8.0
18
20
  Release: 1%{?dist}
19
- Source0: https://libvirt.org/sources/python/%{name}-%{version}.tar.gz
21
+ Source0: https://libvirt.org/sources/python/%{dist_name}-%{version}.tar.gz
20
22
  Url: https://libvirt.org
21
23
  License: LGPL-2.1-or-later
22
24
  BuildRequires: libvirt-devel == %{version}
@@ -51,7 +53,7 @@ supplied by the libvirt library to use the virtualization capabilities
51
53
  of recent versions of Linux (and other OSes).
52
54
 
53
55
  %prep
54
- %setup -q
56
+ %setup -q -n %{dist_name}-%{version}
55
57
 
56
58
  # Unset execute bit for example scripts; it can introduce spurious
57
59
  # RPM dependencies, like /usr/bin/python3
@@ -189,16 +189,21 @@ class my_sdist(sdist):
189
189
  sdist.finalize_options(self)
190
190
 
191
191
  @staticmethod
192
- def _gen_from_in(file_in, file_out, replace_pattern, replace):
192
+ def _gen_from_in(file_in, file_out, replacements):
193
193
  with open(file_in) as f_in, open(file_out, "w") as f_out:
194
194
  for line in f_in:
195
- f_out.write(line.replace(replace_pattern, replace))
195
+ for pattern, replace in replacements.items():
196
+ line = line.replace(pattern, replace)
197
+ f_out.write(line)
196
198
 
197
199
  def gen_rpm_spec(self):
200
+ full_name = self.distribution.get_fullname()
201
+ dist_name = full_name[:full_name.rfind("-")]
202
+
198
203
  return self._gen_from_in("libvirt-python.spec.in",
199
204
  "libvirt-python.spec",
200
- "@VERSION@",
201
- getVersion())
205
+ {"@VERSION@": getVersion(),
206
+ "@DIST_NAME@": dist_name})
202
207
 
203
208
  def gen_authors(self):
204
209
 
@@ -209,8 +214,7 @@ class my_sdist(sdist):
209
214
  authors = [" " + author for author in authors]
210
215
  self._gen_from_in("AUTHORS.in",
211
216
  "AUTHORS",
212
- "@AUTHORS@",
213
- "\n".join(authors))
217
+ {"@AUTHORS@": "\n".join(authors)})
214
218
 
215
219
  def gen_changelog(self):
216
220
  cmd = ["git", "log", "--pretty=format:%H:%ct %an <%ae>%n%n%s%n%b%n"]
@@ -1 +0,0 @@
1
- 11.6.0
File without changes
File without changes
File without changes
File without changes
File without changes