-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpy3-djangorestframework.yaml
69 lines (61 loc) · 1.59 KB
/
py3-djangorestframework.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
# Copyright (c) 2024 VEXXHOST, Inc.
# SPDX-License-Identifier: GPL-3.0-only
package:
name: py3-djangorestframework
description: Web APIs for Django, made easy.
version: 3.15.2
epoch: 1
copyright:
- license: BSD-2-Clause
dependencies:
provider-priority: 0
vars:
pypi-package: djangorestframework
import: rest_framework
data:
- name: py-versions
items:
3.10: '310'
environment:
contents:
packages:
- py3-supported-build-base
pipeline:
- uses: git-checkout
with:
repository: https://github.com/encode/django-rest-framework
tag: ${{package.version}}
expected-commit: 69d2465248ef2ee2cd2b7ca6decb84ef8d05f328
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=~4.2.15
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}}