spdx-python-model 0.0.1__tar.gz → 0.0.2__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.
- {spdx_python_model-0.0.1 → spdx_python_model-0.0.2}/PKG-INFO +1 -2
- {spdx_python_model-0.0.1 → spdx_python_model-0.0.2}/pyproject.toml +1 -2
- {spdx_python_model-0.0.1 → spdx_python_model-0.0.2}/src/spdx_python_model/bindings/v3_0_1.py +0 -5
- {spdx_python_model-0.0.1 → spdx_python_model-0.0.2}/src/spdx_python_model/version.py +1 -1
- {spdx_python_model-0.0.1 → spdx_python_model-0.0.2}/.github/workflows/publish.yaml +0 -0
- {spdx_python_model-0.0.1 → spdx_python_model-0.0.2}/.github/workflows/test.yaml +0 -0
- {spdx_python_model-0.0.1 → spdx_python_model-0.0.2}/.gitignore +0 -0
- {spdx_python_model-0.0.1 → spdx_python_model-0.0.2}/LICENSE +0 -0
- {spdx_python_model-0.0.1 → spdx_python_model-0.0.2}/README.md +0 -0
- {spdx_python_model-0.0.1 → spdx_python_model-0.0.2}/gen/generate-bindings +0 -0
- {spdx_python_model-0.0.1 → spdx_python_model-0.0.2}/src/spdx_python_model/__init__.py +0 -0
- {spdx_python_model-0.0.1 → spdx_python_model-0.0.2}/src/spdx_python_model/bindings/__init__.py +0 -0
- {spdx_python_model-0.0.1 → spdx_python_model-0.0.2}/tests/test_import.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: spdx_python_model
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.2
|
|
4
4
|
Summary: SPDX Model Python Bindings
|
|
5
5
|
Project-URL: Homepage, https://github.com/spdx/spdx-python-model
|
|
6
6
|
Project-URL: Repository, https://github.com/spdx/spdx-python-model.git
|
|
@@ -19,7 +19,6 @@ Classifier: Topic :: Software Development :: Build Tools
|
|
|
19
19
|
Requires-Python: >=3.9
|
|
20
20
|
Provides-Extra: dev
|
|
21
21
|
Requires-Dist: pytest>=7.4; extra == 'dev'
|
|
22
|
-
Requires-Dist: shacl2code==0.0.20; extra == 'dev'
|
|
23
22
|
Description-Content-Type: text/markdown
|
|
24
23
|
|
|
25
24
|
# spdx-python-model
|
|
@@ -22,7 +22,6 @@ classifiers = [
|
|
|
22
22
|
|
|
23
23
|
[project.optional-dependencies]
|
|
24
24
|
dev = [
|
|
25
|
-
"shacl2code == 0.0.20",
|
|
26
25
|
"pytest >= 7.4",
|
|
27
26
|
]
|
|
28
27
|
|
|
@@ -35,7 +34,7 @@ Issues = "https://github.com/spdx/spdx-python-model/issues"
|
|
|
35
34
|
requires = [
|
|
36
35
|
"hatchling",
|
|
37
36
|
"hatch-build-scripts",
|
|
38
|
-
"shacl2code == 0.0.
|
|
37
|
+
"shacl2code == 0.0.21",
|
|
39
38
|
]
|
|
40
39
|
build-backend = "hatchling.build"
|
|
41
40
|
|
{spdx_python_model-0.0.1 → spdx_python_model-0.0.2}/src/spdx_python_model/bindings/v3_0_1.py
RENAMED
|
@@ -253,11 +253,6 @@ class ObjectProp(IRIProp):
|
|
|
253
253
|
self.cls = cls
|
|
254
254
|
self.required = required
|
|
255
255
|
|
|
256
|
-
def init(self):
|
|
257
|
-
if self.required and not self.cls.IS_ABSTRACT:
|
|
258
|
-
return self.cls()
|
|
259
|
-
return None
|
|
260
|
-
|
|
261
256
|
def validate(self, value):
|
|
262
257
|
check_type(value, (self.cls, str))
|
|
263
258
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{spdx_python_model-0.0.1 → spdx_python_model-0.0.2}/src/spdx_python_model/bindings/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|