Skip to content

Commit

Permalink
Release version 0.0.0.dev333
Browse files Browse the repository at this point in the history
  • Loading branch information
AAriam committed Oct 22, 2024
1 parent 048db4e commit 639749e
Show file tree
Hide file tree
Showing 12 changed files with 187 additions and 132 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ namespaces = true
# ----------------------------------------- Project Metadata -------------------------------------
#
[project]
version = "0.0.0.dev332"
version = "0.0.0.dev333"
name = "ControlMan"
dependencies = [
"packaging >= 23.2, < 24",
Expand All @@ -38,6 +38,6 @@ dependencies = [
"JSONSchemata == 0.0.0.dev26",
"VersionMan == 0.0.0.dev248",
"HTMP == 0.0.0.dev5",
"LicenseMan == 0.0.0.dev12",
"LicenseMan == 0.0.0.dev13",
]
requires-python = ">=3.10"
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ MDit == 0.0.0.dev27
JSONSchemata == 0.0.0.dev26
VersionMan == 0.0.0.dev248
HTMP == 0.0.0.dev5
LicenseMan == 0.0.0.dev12
LicenseMan == 0.0.0.dev13
6 changes: 3 additions & 3 deletions src/controlman/_data/schema/def/license-component.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ properties:
description: |
XML header of the license.
This is automatically filled when a supported `id` is selected.
$ref: https://jsonschemata.repodynamics.com/string/nonempty
type: string
header_plain:
title: Notice
description: |
Expand All @@ -174,13 +174,13 @@ properties:
By default, the notice is added to the
[main docstring](#ccc-pkg-file---init---py-docstring) of the package.
:::
$ref: https://jsonschemata.repodynamics.com/string/nonempty
type: string
header_md:
title: Markdown Header
description: |
Markdown header of the license.
This is automatically filled when a supported `id` is selected.
$ref: https://jsonschemata.repodynamics.com/string/nonempty
type: string
text_config:
$ref: https://controlman.repodynamics.com/schema/license-component-config
header_config:
Expand Down
22 changes: 22 additions & 0 deletions src/controlman/_data/schema/def/media-file.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
$id: https://controlman.repodynamics.com/schema/media-file
$schema: https://json-schema.org/draft/2020-12/schema
title: Media File
description: Media file.
type: object
additionalProperties: false
required: [ path, url ]
properties:
path:
title: Absolute Path
$ref: https://jsonschemata.repodynamics.com/path/posix/absolute-from-cwd
default: ${{ web.path.source }}/${{ .path_web }}
path_web:
title: Web Path
$ref: https://jsonschemata.repodynamics.com/path/posix/absolute-from-cwd
path_pkg:
title: Package Path
$ref: https://jsonschemata.repodynamics.com/path/posix/absolute-from-cwd
url:
title: URL
$ref: https://jsonschemata.repodynamics.com/url/https
default: ${{ repo.url.raw }}/${{ .path }}
40 changes: 17 additions & 23 deletions src/controlman/_data/schema/def/pkg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,19 @@ properties:
type: object
default: { }
additionalProperties: false
required: [ root, source, import ]
required: [ root, source, source_rel, import ]
properties:
root:
$ref: https://jsonschemata.repodynamics.com/path/posix/absolute-from-cwd
source:
$ref: https://jsonschemata.repodynamics.com/path/dir-name
source_rel:
$ref: https://jsonschemata.repodynamics.com/path/posix/absolute-from-cwd
default: src
source:
$ref: https://jsonschemata.repodynamics.com/path/posix/absolute-from-cwd
default: ${{ .root }}/${{ .source_rel }}
import:
type: string
default: ${{ .root }}/${{ .source }}/${{ ..import_name }}
default: ${{ .source }}/${{ ..import_name }}
name:
title: Name of the Python distribution package.
description: |
Expand Down Expand Up @@ -249,6 +252,9 @@ properties:
legal: XYZ Organization
email:
id: [email protected]
license:
type: string
default: ${{ license.expression }}
typed:
description: Whether the package is typed
type: boolean
Expand Down Expand Up @@ -528,27 +534,28 @@ properties:
- [Setuptools User Guide](https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html)
- [Pip User Guide](https://pip.pypa.io/en/stable/reference/build-system/pyproject-toml/)
type: object
default: { }
required: [ requires ]
properties:
requires:
description: Build system requirements
type: array
default: [ setuptools >= 72.1.0, versioningit >= 3.1.2 ]
examples:
- [ setuptools >= 72.1.0, versioningit >= 3.1.2 ]
uniqueItems: true
minItems: 1
items:
type: string
backend:
description: Build backend
type: string
default: setuptools.build_meta
examples:
- setuptools.build_meta
tool:
title: Build system definitions
description: |
Configurations for the build backend, e.g.,
[Setuptools]([SetupTools](https://setuptools.pypa.io/).
type: object
default: { }
additionalProperties:
type: object
properties:
Expand All @@ -559,37 +566,25 @@ properties:
include-package-data:
title: Include package data
type: boolean
default: true
zip-safe:
title: Zip-safe
type: boolean
default: false
packages:
title: Package definitions
type: object
default: { }
properties:
find:
title: Find packages
type: object
default: { }
properties:
where:
title: Where to find packages
type: array
default: [ '${{ .......path.source }}' ]
items:
type: string
namespaces:
title: Include namespaces
type: boolean
default: true
cmdclass:
title: Command classes
type: object
default:
build_py: versioningit.cmdclass.build_py
sdist: versioningit.cmdclass.sdist
versioningit:
title: Versioningit
type: object
Expand Down Expand Up @@ -646,7 +641,7 @@ properties:
default: true
source-file:
type: string
default: '${{ .....path.source }}/${{ .....import_name }}/__init__.py'
default: '${{ .....path.source_rel }}/${{ .....import_name }}/__init__.py'
build-file:
type: string
default: '${{ .....import_name }}/__init__.py'
Expand All @@ -662,7 +657,6 @@ properties:
"distance": "{distance}",
"commit_hash": "{revision}",
}}
required: [ requires ]
pypi:
title: URLs of the project's PyPI package.
type: object
Expand Down Expand Up @@ -699,7 +693,7 @@ properties:
readme:
title: README file of the Conda package.
default:
path: ${{ ...path.root }}/${{ ...path.source }}/README_conda.md
path: ${{ ...path.root }}/README_conda.md
content:
id: pypackit
$ref: https://controlman.repodynamics.com/schema/docfile
Expand Down
Loading

0 comments on commit 639749e

Please sign in to comment.