Skip to content

Commit e48a20d

Browse files
committed
Add standard-xdrlib recipe
1 parent 0d72421 commit e48a20d

File tree

2 files changed

+60
-0
lines changed

2 files changed

+60
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
build_type:
2+
- regular
3+
- empty

recipes/standard-xdrlib/recipe.yaml

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
schema_version: 1
2+
3+
context:
4+
name: standard-xdrlib
5+
version: 3.13.0
6+
7+
package:
8+
name: ${{ name|lower }}
9+
version: ${{ version }}
10+
11+
source:
12+
url: https://pypi.org/packages/source/${{ name[0] }}/${{ name }}/standard_xdrlib-${{ version }}.tar.gz
13+
sha256: 92db79aa6f1565c483a5ef73cb367a2b8b4a45130e4a2b95e96fe2c4319bcd55
14+
15+
build:
16+
number: 0
17+
noarch: python
18+
script:
19+
- if: build_type == "regular"
20+
then: ${{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
21+
22+
requirements:
23+
host:
24+
- if: build_type == "regular"
25+
then:
26+
- python 3.13.*
27+
- pip
28+
- setuptools >=75.0
29+
run:
30+
- if: build_type == "regular"
31+
then: python >=3.13
32+
else: python >=${{ python_min }},<3.13
33+
34+
tests:
35+
- if: build_type == "regular"
36+
then:
37+
- python:
38+
imports:
39+
- xdrlib
40+
pip_check: true
41+
python_version: "3.*"
42+
else:
43+
- python:
44+
imports:
45+
- xdrlib
46+
pip_check: true
47+
python_version: ${{ python_min }}.*
48+
49+
about:
50+
summary: Standard library xdrlib redistribution. "dead battery".
51+
license: PSF-2.0
52+
license_file: LICENSE
53+
repository: https://github.com/youknowone/python-deadlib
54+
55+
extra:
56+
recipe-maintainers:
57+
- beenje

0 commit comments

Comments
 (0)