xmlsec 1.3.15__tar.gz → 1.3.16__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.
- {xmlsec-1.3.15 → xmlsec-1.3.16}/.pre-commit-config.yaml +5 -5
- {xmlsec-1.3.15 → xmlsec-1.3.16}/PKG-INFO +3 -2
- {xmlsec-1.3.15 → xmlsec-1.3.16}/pyproject.toml +4 -6
- {xmlsec-1.3.15 → xmlsec-1.3.16}/setup.py +44 -50
- {xmlsec-1.3.15 → xmlsec-1.3.16}/src/xmlsec.egg-info/PKG-INFO +3 -2
- {xmlsec-1.3.15 → xmlsec-1.3.16}/.readthedocs.yaml +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/LICENSE +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/MANIFEST.in +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/README.rst +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/setup.cfg +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/src/common.h +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/src/constants.c +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/src/constants.h +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/src/debug.h +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/src/ds.c +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/src/enc.c +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/src/exception.c +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/src/exception.h +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/src/keys.c +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/src/keys.h +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/src/lxml.c +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/src/lxml.h +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/src/main.c +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/src/platform.h +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/src/python_xmlsec1.egg-info/PKG-INFO +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/src/python_xmlsec1.egg-info/SOURCES.txt +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/src/python_xmlsec1.egg-info/dependency_links.txt +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/src/python_xmlsec1.egg-info/not-zip-safe +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/src/python_xmlsec1.egg-info/requires.txt +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/src/python_xmlsec1.egg-info/top_level.txt +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/src/pyxmlsec.egg-info/PKG-INFO +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/src/pyxmlsec.egg-info/SOURCES.txt +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/src/pyxmlsec.egg-info/dependency_links.txt +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/src/pyxmlsec.egg-info/not-zip-safe +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/src/pyxmlsec.egg-info/requires.txt +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/src/pyxmlsec.egg-info/top_level.txt +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/src/template.c +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/src/tree.c +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/src/utils.c +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/src/utils.h +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/src/xmlsec/__init__.pyi +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/src/xmlsec/constants.pyi +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/src/xmlsec/py.typed +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/src/xmlsec/template.pyi +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/src/xmlsec/tree.pyi +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/src/xmlsec.cpython-39-darwin.so +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/src/xmlsec.egg-info/SOURCES.txt +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/src/xmlsec.egg-info/dependency_links.txt +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/src/xmlsec.egg-info/not-zip-safe +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/src/xmlsec.egg-info/requires.txt +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/src/xmlsec.egg-info/top_level.txt +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/tests/__init__.py +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/tests/base.py +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/tests/conftest.py +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/tests/data/deskey.bin +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/tests/data/doc.xml +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/tests/data/dsacert.der +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/tests/data/dsakey.der +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/tests/data/enc1-in.xml +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/tests/data/enc1-out.xml +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/tests/data/enc2-in.xml +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/tests/data/enc2-out.xml +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/tests/data/enc3-in.xml +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/tests/data/enc3-out.xml +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/tests/data/enc_template.xml +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/tests/data/rsacert.pem +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/tests/data/rsakey.pem +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/tests/data/rsapub.pem +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/tests/data/sign1-in.xml +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/tests/data/sign1-out.xml +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/tests/data/sign2-in.xml +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/tests/data/sign2-out.xml +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/tests/data/sign3-in.xml +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/tests/data/sign3-out.xml +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/tests/data/sign4-in.xml +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/tests/data/sign4-out.xml +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/tests/data/sign5-in.xml +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/tests/data/sign5-out-xmlsec_1_2_36_to_37.xml +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/tests/data/sign5-out.xml +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/tests/data/sign6-in.bin +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/tests/data/sign6-out.bin +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/tests/data/sign_template.xml +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/tests/softhsm_setup.py +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/tests/test_constants.py +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/tests/test_doc_examples.py +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/tests/test_ds.py +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/tests/test_enc.py +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/tests/test_keys.py +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/tests/test_main.py +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/tests/test_pkcs11.py +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/tests/test_templates.py +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/tests/test_tree.py +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/tests/test_type_stubs.py +0 -0
- {xmlsec-1.3.15 → xmlsec-1.3.16}/tests/test_xmlsec.py +0 -0
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
# See https://pre-commit.com/hooks.html for more hooks
|
|
3
3
|
repos:
|
|
4
4
|
- repo: https://github.com/psf/black
|
|
5
|
-
rev:
|
|
5
|
+
rev: 25.1.0
|
|
6
6
|
hooks:
|
|
7
7
|
- id: black
|
|
8
8
|
types: []
|
|
9
9
|
files: ^.*.pyi?$
|
|
10
10
|
exclude: ^doc/
|
|
11
11
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
12
|
-
rev:
|
|
12
|
+
rev: v5.0.0
|
|
13
13
|
hooks:
|
|
14
14
|
- id: no-commit-to-branch
|
|
15
15
|
- id: trailing-whitespace
|
|
@@ -25,17 +25,17 @@ repos:
|
|
|
25
25
|
- id: pretty-format-json
|
|
26
26
|
args: [--autofix]
|
|
27
27
|
- repo: https://github.com/PyCQA/flake8
|
|
28
|
-
rev: 7.
|
|
28
|
+
rev: 7.3.0
|
|
29
29
|
hooks:
|
|
30
30
|
- id: flake8
|
|
31
31
|
exclude: ^setup.py$
|
|
32
32
|
additional_dependencies: [flake8-docstrings, flake8-bugbear, flake8-logging-format, flake8-builtins, flake8-eradicate, flake8-fixme, pep8-naming, flake8-pep3101, flake8-annotations-complexity,flake8-pyi]
|
|
33
33
|
- repo: https://github.com/PyCQA/isort
|
|
34
|
-
rev:
|
|
34
|
+
rev: 6.0.1
|
|
35
35
|
hooks:
|
|
36
36
|
- id: isort
|
|
37
37
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
38
|
-
rev: v1.
|
|
38
|
+
rev: v1.16.1
|
|
39
39
|
hooks:
|
|
40
40
|
- id: mypy
|
|
41
41
|
exclude: (setup.py|tests/.*.py|doc/.*)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: xmlsec
|
|
3
|
-
Version: 1.3.
|
|
3
|
+
Version: 1.3.16
|
|
4
4
|
Summary: Python bindings for the XML Security Library
|
|
5
5
|
Home-page: https://github.com/mehcode/python-xmlsec
|
|
6
6
|
Author: Bulat Gaifullin
|
|
@@ -39,6 +39,7 @@ Dynamic: description-content-type
|
|
|
39
39
|
Dynamic: home-page
|
|
40
40
|
Dynamic: keywords
|
|
41
41
|
Dynamic: license
|
|
42
|
+
Dynamic: license-file
|
|
42
43
|
Dynamic: maintainer
|
|
43
44
|
Dynamic: maintainer-email
|
|
44
45
|
Dynamic: project-url
|
|
@@ -54,12 +54,10 @@ skip = [
|
|
|
54
54
|
"*-musllinux_i686",
|
|
55
55
|
# LXML doesn't publish wheels for these platforms, which makes it
|
|
56
56
|
# difficult for us to build wheels, so we exclude them.
|
|
57
|
-
"cp36
|
|
58
|
-
"cp37
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"cp36-macosx*",
|
|
62
|
-
"cp37-macosx*",
|
|
57
|
+
"cp36-*",
|
|
58
|
+
"cp37-*",
|
|
59
|
+
"cp38-manylinux_aarch64",
|
|
60
|
+
"cp38-musllinux_aarch64",
|
|
63
61
|
"cp38-macosx*",
|
|
64
62
|
]
|
|
65
63
|
test-command = "pytest -v --color=yes {package}/tests"
|
|
@@ -4,6 +4,7 @@ import io
|
|
|
4
4
|
import json
|
|
5
5
|
import multiprocessing
|
|
6
6
|
import os
|
|
7
|
+
import platform
|
|
7
8
|
import re
|
|
8
9
|
import subprocess
|
|
9
10
|
import sys
|
|
@@ -70,22 +71,18 @@ def latest_release_from_gnome_org_cache(url, lib_name):
|
|
|
70
71
|
return '{}/{}'.format(url, latest_source)
|
|
71
72
|
|
|
72
73
|
|
|
73
|
-
def
|
|
74
|
-
api_url = 'https://api.github.com/repos/{}/releases'.format(repo)
|
|
74
|
+
def latest_release_json_from_github_api(repo):
|
|
75
|
+
api_url = 'https://api.github.com/repos/{}/releases/latest'.format(repo)
|
|
75
76
|
|
|
76
77
|
# if we are running in CI, pass along the GH_TOKEN, so we don't get rate limited
|
|
77
78
|
token = os.environ.get("GH_TOKEN")
|
|
78
79
|
if token:
|
|
79
80
|
log.info("Using GitHub token to avoid rate limiting")
|
|
80
|
-
|
|
81
|
-
releases = [r['tarball_url'] for r in api_releases if r['prerelease'] is False and r['draft'] is False]
|
|
82
|
-
if not releases:
|
|
83
|
-
raise DistutilsError('No release found for {}'.format(repo))
|
|
84
|
-
return releases[0]
|
|
81
|
+
return make_request(api_url, token, json_response=True)
|
|
85
82
|
|
|
86
83
|
|
|
87
84
|
def latest_openssl_release():
|
|
88
|
-
return
|
|
85
|
+
return latest_release_json_from_github_api('openssl/openssl')['tarball_url']
|
|
89
86
|
|
|
90
87
|
|
|
91
88
|
def latest_zlib_release():
|
|
@@ -105,7 +102,9 @@ def latest_libxslt_release():
|
|
|
105
102
|
|
|
106
103
|
|
|
107
104
|
def latest_xmlsec_release():
|
|
108
|
-
|
|
105
|
+
assets = latest_release_json_from_github_api('lsh123/xmlsec')['assets']
|
|
106
|
+
(tar_gz,) = [asset for asset in assets if asset['name'].endswith('.tar.gz')]
|
|
107
|
+
return tar_gz['browser_download_url']
|
|
109
108
|
|
|
110
109
|
|
|
111
110
|
class CrossCompileInfo:
|
|
@@ -213,19 +212,21 @@ class build_ext(build_ext_orig):
|
|
|
213
212
|
super(build_ext, self).run()
|
|
214
213
|
|
|
215
214
|
def prepare_static_build_win(self):
|
|
216
|
-
release_url = 'https://github.com/mxamin/python-xmlsec-win-binaries/releases/download/
|
|
217
|
-
if
|
|
215
|
+
release_url = 'https://github.com/mxamin/python-xmlsec-win-binaries/releases/download/2025.07.10/'
|
|
216
|
+
if platform.machine() == 'ARM64':
|
|
217
|
+
suffix = 'win-arm64'
|
|
218
|
+
elif sys.maxsize > 2**32: # 2.0 GiB
|
|
218
219
|
suffix = 'win64'
|
|
219
220
|
else:
|
|
220
221
|
suffix = 'win32'
|
|
221
222
|
|
|
222
223
|
libs = [
|
|
223
|
-
'libxml2-2.11.
|
|
224
|
-
'libxslt-1.1.
|
|
225
|
-
'zlib-1.
|
|
226
|
-
'iconv-1.
|
|
227
|
-
'openssl-3.0.
|
|
228
|
-
'xmlsec-1.3.
|
|
224
|
+
'libxml2-2.11.9-3.{}.zip'.format(suffix),
|
|
225
|
+
'libxslt-1.1.39.{}.zip'.format(suffix),
|
|
226
|
+
'zlib-1.3.1.{}.zip'.format(suffix),
|
|
227
|
+
'iconv-1.18-1.{}.zip'.format(suffix),
|
|
228
|
+
'openssl-3.0.16.pl1.{}.zip'.format(suffix),
|
|
229
|
+
'xmlsec-1.3.7.{}.zip'.format(suffix),
|
|
229
230
|
]
|
|
230
231
|
|
|
231
232
|
for libfile in libs:
|
|
@@ -381,7 +382,7 @@ class build_ext(build_ext_orig):
|
|
|
381
382
|
url = latest_xmlsec_release()
|
|
382
383
|
self.info('{:10}: {}'.format('xmlsec1', 'PYXMLSEC_XMLSEC1_VERSION unset, downloading latest from {}'.format(url)))
|
|
383
384
|
else:
|
|
384
|
-
url = 'https://
|
|
385
|
+
url = 'https://github.com/lsh123/xmlsec/releases/download/{v}/xmlsec1-{v}.tar.gz'.format(v=self.xmlsec1_version)
|
|
385
386
|
self.info(
|
|
386
387
|
'{:10}: {}'.format(
|
|
387
388
|
'xmlsec1', 'PYXMLSEC_XMLSEC1_VERSION={}, downloading from {}'.format(self.xmlsec1_version, url)
|
|
@@ -435,43 +436,41 @@ class build_ext(build_ext_orig):
|
|
|
435
436
|
openssl_config_cmd.append(cross_compiling.triplet)
|
|
436
437
|
else:
|
|
437
438
|
openssl_config_cmd.insert(0, './config')
|
|
438
|
-
subprocess.
|
|
439
|
-
subprocess.
|
|
440
|
-
subprocess.
|
|
439
|
+
subprocess.check_call(openssl_config_cmd, cwd=str(openssl_dir), env=env)
|
|
440
|
+
subprocess.check_call(['make', '-j{}'.format(multiprocessing.cpu_count() + 1)], cwd=str(openssl_dir), env=env)
|
|
441
|
+
subprocess.check_call(
|
|
441
442
|
['make', '-j{}'.format(multiprocessing.cpu_count() + 1), 'install_sw'], cwd=str(openssl_dir), env=env
|
|
442
443
|
)
|
|
443
444
|
|
|
444
445
|
self.info('Building zlib')
|
|
445
446
|
zlib_dir = next(self.build_libs_dir.glob('zlib-*'))
|
|
446
|
-
subprocess.
|
|
447
|
-
subprocess.
|
|
448
|
-
subprocess.
|
|
447
|
+
subprocess.check_call(['./configure', prefix_arg], cwd=str(zlib_dir), env=env)
|
|
448
|
+
subprocess.check_call(['make', '-j{}'.format(multiprocessing.cpu_count() + 1)], cwd=str(zlib_dir), env=env)
|
|
449
|
+
subprocess.check_call(['make', '-j{}'.format(multiprocessing.cpu_count() + 1), 'install'], cwd=str(zlib_dir), env=env)
|
|
449
450
|
|
|
450
|
-
host_arg =
|
|
451
|
+
host_arg = []
|
|
451
452
|
if cross_compiling:
|
|
452
|
-
host_arg = '--host={}'.format(cross_compiling.arch)
|
|
453
|
+
host_arg = ['--host={}'.format(cross_compiling.arch)]
|
|
453
454
|
|
|
454
455
|
self.info('Building libiconv')
|
|
455
456
|
libiconv_dir = next(self.build_libs_dir.glob('libiconv-*'))
|
|
456
|
-
subprocess.
|
|
457
|
+
subprocess.check_call(
|
|
457
458
|
[
|
|
458
459
|
'./configure',
|
|
459
460
|
prefix_arg,
|
|
460
461
|
'--disable-dependency-tracking',
|
|
461
462
|
'--disable-shared',
|
|
462
|
-
host_arg,
|
|
463
|
+
*host_arg,
|
|
463
464
|
],
|
|
464
465
|
cwd=str(libiconv_dir),
|
|
465
466
|
env=env,
|
|
466
467
|
)
|
|
467
|
-
subprocess.
|
|
468
|
-
subprocess.
|
|
469
|
-
['make', '-j{}'.format(multiprocessing.cpu_count() + 1), 'install'], cwd=str(libiconv_dir), env=env
|
|
470
|
-
)
|
|
468
|
+
subprocess.check_call(['make', '-j{}'.format(multiprocessing.cpu_count() + 1)], cwd=str(libiconv_dir), env=env)
|
|
469
|
+
subprocess.check_call(['make', '-j{}'.format(multiprocessing.cpu_count() + 1), 'install'], cwd=str(libiconv_dir), env=env)
|
|
471
470
|
|
|
472
471
|
self.info('Building LibXML2')
|
|
473
472
|
libxml2_dir = next(self.build_libs_dir.glob('libxml2-*'))
|
|
474
|
-
subprocess.
|
|
473
|
+
subprocess.check_call(
|
|
475
474
|
[
|
|
476
475
|
'./configure',
|
|
477
476
|
prefix_arg,
|
|
@@ -481,19 +480,17 @@ class build_ext(build_ext_orig):
|
|
|
481
480
|
'--without-python',
|
|
482
481
|
'--with-iconv={}'.format(self.prefix_dir),
|
|
483
482
|
'--with-zlib={}'.format(self.prefix_dir),
|
|
484
|
-
host_arg,
|
|
483
|
+
*host_arg,
|
|
485
484
|
],
|
|
486
485
|
cwd=str(libxml2_dir),
|
|
487
486
|
env=env,
|
|
488
487
|
)
|
|
489
|
-
subprocess.
|
|
490
|
-
subprocess.
|
|
491
|
-
['make', '-j{}'.format(multiprocessing.cpu_count() + 1), 'install'], cwd=str(libxml2_dir), env=env
|
|
492
|
-
)
|
|
488
|
+
subprocess.check_call(['make', '-j{}'.format(multiprocessing.cpu_count() + 1)], cwd=str(libxml2_dir), env=env)
|
|
489
|
+
subprocess.check_call(['make', '-j{}'.format(multiprocessing.cpu_count() + 1), 'install'], cwd=str(libxml2_dir), env=env)
|
|
493
490
|
|
|
494
491
|
self.info('Building libxslt')
|
|
495
492
|
libxslt_dir = next(self.build_libs_dir.glob('libxslt-*'))
|
|
496
|
-
subprocess.
|
|
493
|
+
subprocess.check_call(
|
|
497
494
|
[
|
|
498
495
|
'./configure',
|
|
499
496
|
prefix_arg,
|
|
@@ -502,27 +499,26 @@ class build_ext(build_ext_orig):
|
|
|
502
499
|
'--without-python',
|
|
503
500
|
'--without-crypto',
|
|
504
501
|
'--with-libxml-prefix={}'.format(self.prefix_dir),
|
|
505
|
-
host_arg,
|
|
502
|
+
*host_arg,
|
|
506
503
|
],
|
|
507
504
|
cwd=str(libxslt_dir),
|
|
508
505
|
env=env,
|
|
509
506
|
)
|
|
510
|
-
subprocess.
|
|
511
|
-
subprocess.
|
|
512
|
-
['make', '-j{}'.format(multiprocessing.cpu_count() + 1), 'install'], cwd=str(libxslt_dir), env=env
|
|
513
|
-
)
|
|
507
|
+
subprocess.check_call(['make', '-j{}'.format(multiprocessing.cpu_count() + 1)], cwd=str(libxslt_dir), env=env)
|
|
508
|
+
subprocess.check_call(['make', '-j{}'.format(multiprocessing.cpu_count() + 1), 'install'], cwd=str(libxslt_dir), env=env)
|
|
514
509
|
|
|
515
510
|
self.info('Building xmlsec1')
|
|
516
511
|
ldflags.append('-lpthread')
|
|
517
512
|
env['LDFLAGS'] = ' '.join(ldflags)
|
|
518
513
|
xmlsec1_dir = next(self.build_libs_dir.glob('xmlsec1-*'))
|
|
519
|
-
subprocess.
|
|
514
|
+
subprocess.check_call(
|
|
520
515
|
[
|
|
521
516
|
'./configure',
|
|
522
517
|
prefix_arg,
|
|
523
518
|
'--disable-shared',
|
|
524
519
|
'--disable-gost',
|
|
525
520
|
'--enable-md5',
|
|
521
|
+
'--enable-ripemd160',
|
|
526
522
|
'--disable-crypto-dl',
|
|
527
523
|
'--enable-static=yes',
|
|
528
524
|
'--enable-shared=no',
|
|
@@ -531,20 +527,18 @@ class build_ext(build_ext_orig):
|
|
|
531
527
|
'--with-openssl={}'.format(self.prefix_dir),
|
|
532
528
|
'--with-libxml={}'.format(self.prefix_dir),
|
|
533
529
|
'--with-libxslt={}'.format(self.prefix_dir),
|
|
534
|
-
host_arg,
|
|
530
|
+
*host_arg,
|
|
535
531
|
],
|
|
536
532
|
cwd=str(xmlsec1_dir),
|
|
537
533
|
env=env,
|
|
538
534
|
)
|
|
539
|
-
subprocess.
|
|
535
|
+
subprocess.check_call(
|
|
540
536
|
['make', '-j{}'.format(multiprocessing.cpu_count() + 1)]
|
|
541
537
|
+ ['-I{}'.format(str(self.prefix_dir / 'include')), '-I{}'.format(str(self.prefix_dir / 'include' / 'libxml'))],
|
|
542
538
|
cwd=str(xmlsec1_dir),
|
|
543
539
|
env=env,
|
|
544
540
|
)
|
|
545
|
-
subprocess.
|
|
546
|
-
['make', '-j{}'.format(multiprocessing.cpu_count() + 1), 'install'], cwd=str(xmlsec1_dir), env=env
|
|
547
|
-
)
|
|
541
|
+
subprocess.check_call(['make', '-j{}'.format(multiprocessing.cpu_count() + 1), 'install'], cwd=str(xmlsec1_dir), env=env)
|
|
548
542
|
|
|
549
543
|
ext = self.ext_map['xmlsec']
|
|
550
544
|
ext.define_macros = [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: xmlsec
|
|
3
|
-
Version: 1.3.
|
|
3
|
+
Version: 1.3.16
|
|
4
4
|
Summary: Python bindings for the XML Security Library
|
|
5
5
|
Home-page: https://github.com/mehcode/python-xmlsec
|
|
6
6
|
Author: Bulat Gaifullin
|
|
@@ -39,6 +39,7 @@ Dynamic: description-content-type
|
|
|
39
39
|
Dynamic: home-page
|
|
40
40
|
Dynamic: keywords
|
|
41
41
|
Dynamic: license
|
|
42
|
+
Dynamic: license-file
|
|
42
43
|
Dynamic: maintainer
|
|
43
44
|
Dynamic: maintainer-email
|
|
44
45
|
Dynamic: project-url
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|