-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpy3-django-compressor.yaml
72 lines (64 loc) · 1.75 KB
/
py3-django-compressor.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# Copyright (c) 2024 VEXXHOST, Inc.
# SPDX-License-Identifier: GPL-3.0-only
package:
name: py3-django-compressor
description: ('Compresses linked and inline JavaScript or CSS into single cached files.',)
version: 4.5.1
epoch: 1
copyright:
- license: MIT
dependencies:
provider-priority: 0
vars:
pypi-package: django-compressor
import: compressor
data:
- name: py-versions
items:
3.10: '310'
environment:
contents:
packages:
- py3-supported-build-base
pipeline:
- uses: git-checkout
with:
repository: https://github.com/django-compressor/django-compressor
tag: ${{package.version}}
expected-commit: 33df9384b6f047991f45a469d82a84c50021c6a5
subpackages:
- range: py-versions
name: py${{range.key}}-${{vars.pypi-package}}
description: python${{range.key}} version of ${{vars.pypi-package}}
dependencies:
provider-priority: ${{range.value}}
provides:
- py3-${{vars.pypi-package}}
runtime:
- py${{range.key}}-django-appconf=~1.0.6
- py${{range.key}}-django=~4.2.15
- py${{range.key}}-rcssmin=~1.1.2
- py${{range.key}}-rjsmin=~1.2.2
pipeline:
- uses: py/build-wheel
with:
python: python${{range.key}}
- uses: strip
test:
pipeline:
- uses: python/import
with:
python: python${{range.key}}
imports: |
import ${{vars.import}}
- name: py3-supported-${{vars.pypi-package}}
description: meta package providing ${{vars.pypi-package}} for supported python versions.
dependencies:
runtime:
- py3.10-${{vars.pypi-package}}
test:
pipeline:
- uses: python/import
with:
imports: |
import ${{vars.import}}