-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
218 extensions/qemu add support for virt manager (#223)
- Loading branch information
1 parent
f089ee0
commit 776c706
Showing
4 changed files
with
47 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,13 @@ | ||
id: py-libvirt | ||
version: 8.4.0 | ||
version: 10.5.0 | ||
about: libvirt python binding | ||
release: 0 | ||
|
||
depends: | ||
- components/libvirt.yml | ||
- components/python.yml | ||
- components/libvirt.yml | ||
- components/python.yml | ||
|
||
build-depends: | ||
- components/py/py-setuptools.yml | ||
sources: | ||
- https://libvirt.org/sources/python/libvirt-python-%{version}.tar.gz | ||
script: |- | ||
python setup.py build | ||
python setup.py install --root=%{install-root} --optimize=1 | ||
- components/py/py-setuptools.yml | ||
|
||
sources: | ||
- https://libvirt.org/sources/python/libvirt-python-%{version}.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,18 @@ | ||
id: py-requests | ||
version: 2.28.1 | ||
version: 2.32.3 | ||
about: Python HTTP for Humans | ||
release: 0 | ||
|
||
depends: | ||
- components/py/py-chardet.yml | ||
- components/py/py-idna.yml | ||
- components/py/py-urllib3.yml | ||
- components/py/py-socks.yml | ||
- components/py/py-idna.yml | ||
- components/py/py-urllib3.yml | ||
- components/py/py-socks.yml | ||
|
||
build-depends: | ||
- components/py/py-setuptools.yml | ||
- components/py/py-setuptools.yml | ||
|
||
sources: | ||
- https://github.com/psf/requests/archive/v%{version}/requests-%{version}.tar.gz | ||
pre-script: | | ||
sed -e '/certifi/d' \ | ||
-e "s/,<.*'/'/" \ | ||
-e '/charset_normalizer/d' \ | ||
-i setup.py | ||
patch -p1 -i /files/certs.patch | ||
- https://github.com/psf/requests/archive/v%{version}/requests-%{version}.tar.gz | ||
- patches/py-requests/cert.patch | ||
|
||
pre-script: |- | ||
patch -p1 -i cert.patch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
diff --git a/src/requests/certs.py b/src/requests/certs.py | ||
index be422c3e..9bfe1c80 100644 | ||
--- a/src/requests/certs.py | ||
+++ b/src/requests/certs.py | ||
@@ -11,7 +11,8 @@ If you are packaging Requests, e.g., for a Linux distribution or a managed | ||
environment, you can change the definition of where() to return a separately | ||
packaged CA bundle. | ||
""" | ||
-from certifi import where | ||
+def where(): | ||
+ return "/etc/ssl/certs/ca-certificates.crt" | ||
|
||
if __name__ == "__main__": | ||
print(where()) |