Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 25 additions & 7 deletions py3-attrs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
package:
name: py3-attrs
version: 23.2.0
epoch: 0
epoch: 1
description: Classes Without Boilerplate
copyright:
- license: MIT
Expand All @@ -21,21 +21,39 @@ environment:
- py3-hatchling
- py3-pip
- py3-setuptools
- py3-wheel
- python3
- wolfi-base
environment:
# This is needed to work around the error "ValueError: ZIP does not support timestamps before 1980"
# The script
SOURCE_DATE_EPOCH: 315532800

pipeline:
- uses: fetch
- uses: git-checkout
with:
expected-sha256: 935dc3b529c262f6cf76e50877d35a4bd3c1de194fd41f47a2b7ae8f19971f30
uri: https://files.pythonhosted.org/packages/source/a/attrs/attrs-${{package.version}}.tar.gz
repository: https://github.com/python-attrs/attrs.git
tag: ${{package.version}}
expected-commit: 9e443b18527dc96b194e92805fa751cbf8434ba9

- name: Fetch History (required by pip install)
runs: |
git fetch --unshallow

- name: Python Install
runs: pip3 install . --root=${{targets.destdir}}
runs: export SOURCE_DATE_EPOCH=$(git log -1 --format=%ct || $SOURCE_DATE_EPOCH) && pip3 install . --root=${{targets.destdir}}

- uses: strip

update:
enabled: true
release-monitor:
identifier: 15099
ignore-regex-patterns:
- "^.*?post\\d"
github:
identifier: python-attrs/attrs

test:
pipeline:
- uses: python/import
with:
import: attrs
36 changes: 14 additions & 22 deletions py3-cffi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
package:
name: py3-cffi
version: 1.16.0
epoch: 2
epoch: 3
description: Foreign Function Interface for Python calling C code.
copyright:
- license: MIT
Expand All @@ -24,35 +24,27 @@ environment:
- wolfi-base

pipeline:
- uses: fetch
- uses: git-checkout
with:
expected-sha256: bcb3ef43e58665bbda2fb198698fcae6776483e0c4a631aa5647806c25e02cc0
uri: https://files.pythonhosted.org/packages/source/c/cffi/cffi-${{package.version}}.tar.gz
repository: https://github.com/python-cffi/cffi
tag: v${{package.version}}
expected-commit: ba44abd69cf6f0f1cc90db34cd067275dc10fc71

- name: Python Build
runs: python setup.py build
- uses: python/build

- name: Python Install
runs: python setup.py install --prefix=/usr --root="${{targets.destdir}}"
- uses: python/install

- uses: strip

update:
enabled: true
release-monitor:
identifier: 5536
github:
identifier: python-cffi/cffi
strip-prefix: v
tag-filter: v

test:
pipeline:
- runs: |
LIBRARY="cffi"
IMPORT_STATEMENT="import cffi"

if ! python -c "$IMPORT_STATEMENT"; then
echo "Failed to import library '$LIBRARY'."
python -c "$IMPORT_STATEMENT" 2>&1
exit 1
else
echo "Library '$LIBRARY' is installed and can be imported successfully."
exit 0
fi
- uses: python/import
with:
import: cffi
21 changes: 14 additions & 7 deletions py3-charset-normalizer.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package:
name: py3-charset-normalizer
version: 3.3.2
epoch: 3
epoch: 4
description: "offers you an alternative to Universal Charset Encoding Detector, also known as Chardet"
copyright:
- license: Apache-2.0
- license: MIT
dependencies:
runtime:
- python3
Expand All @@ -20,10 +20,11 @@ environment:
- wolfi-base

pipeline:
- uses: fetch
- uses: git-checkout
with:
uri: https://files.pythonhosted.org/packages/source/c/charset-normalizer/charset-normalizer-${{package.version}}.tar.gz
expected-sha256: f30c3cb33b24454a82faecaf01b19c18562b1e89558fb6c56de4d9118a032fd5
repository: https://github.com/jawah/charset_normalizer.git
tag: ${{package.version}}
expected-commit: 79dce4857914fead2ffe55eb787cad6d5cf14643

- runs: |
sed -i '/cov-report/d' setup.cfg
Expand All @@ -36,5 +37,11 @@ pipeline:

update:
enabled: true
release-monitor:
identifier: 55366
github:
identifier: jawah/charset_normalizer

test:
pipeline:
- uses: python/import
with:
import: charset_normalizer
21 changes: 15 additions & 6 deletions py3-idna.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
package:
name: py3-idna
version: "3.7"
epoch: 1
epoch: 2
description: Internationalized Domain Names in Applications (IDNA)
copyright:
- license: BSD-3-Clause
Expand All @@ -21,10 +21,11 @@ environment:
- wolfi-base

pipeline:
- uses: fetch
- uses: git-checkout
with:
expected-sha256: 028ff3aadf0609c1fd278d8ea3089299412a7a8b9bd005dd08b9f8285bcb5cfc
uri: https://files.pythonhosted.org/packages/source/i/idna/idna-${{package.version}}.tar.gz
repository: https://github.com/kjd/idna.git
tag: v${{package.version}}
expected-commit: 1d365e17e10d72d0b7876316fc7b9ca0eebdd38d

- name: Python Build
uses: python/build-wheel
Expand All @@ -33,5 +34,13 @@ pipeline:

update:
enabled: true
release-monitor:
identifier: 5487
github:
identifier: kjd/idna
strip-prefix: v
tag-filter: v

test:
pipeline:
- uses: python/import
with:
import: idna
27 changes: 17 additions & 10 deletions py3-multidict.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
package:
name: py3-multidict
version: 6.0.5
epoch: 0
epoch: 1
description: multidict implementation
copyright:
- license: Apache-2.0
Expand All @@ -21,20 +21,27 @@ environment:
- wolfi-base

pipeline:
- uses: fetch
- uses: git-checkout
with:
expected-sha256: f7e301075edaf50500f0b341543c41194d8df3ae5caf4702f2095f3ca73dd8da
uri: https://files.pythonhosted.org/packages/source/m/multidict/multidict-${{package.version}}.tar.gz
repository: https://github.com/aio-libs/multidict.git
tag: v${{package.version}}
expected-commit: a9b281b2ef4ab25d95d6b268aa88c428e75c3696

- name: Python Build
runs: python setup.py build
- uses: python/build

- name: Python Install
runs: python setup.py install --prefix=/usr --root="${{targets.destdir}}"
- uses: python/install

- uses: strip

update:
enabled: true
release-monitor:
identifier: 11132
github:
identifier: aio-libs/multidict
strip-prefix: v
tag-filter: v

test:
pipeline:
- uses: python/import
with:
import: multidict
22 changes: 15 additions & 7 deletions py3-parsing.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package:
name: py3-parsing
version: 3.1.2
epoch: 1
description: "simple packaging tool for simple packages (core)"
epoch: 2
description: "The pyparsing module is an alternative approach to creating and executing simple grammars, vs. the traditional lex/yacc approach, or the use of regular expressions. "
copyright:
- license: MIT
dependencies:
Expand All @@ -22,10 +22,11 @@ environment:
- wolfi-base

pipeline:
- uses: fetch
- uses: git-checkout
with:
uri: https://files.pythonhosted.org/packages/source/p/pyparsing/pyparsing-${{package.version}}.tar.gz
expected-sha256: a1bac0ce561155ecc3ed78ca94d3c9378656ad4c94c1270de543f621420f94ad
repository: https://github.com/pyparsing/pyparsing.git
tag: ${{package.version}}
expected-commit: 7d4bda2743ebc04f68d2594bc4fffc70cd65848f

- runs: |
mkdir -p dist
Expand All @@ -39,5 +40,12 @@ pipeline:

update:
enabled: true
release-monitor:
identifier: 3756
github:
identifier: pyparsing/pyparsing
strip-prefix: pyparsing_

test:
pipeline:
- uses: python/import
with:
import: pyparsing
13 changes: 7 additions & 6 deletions py3-poetry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
package:
name: py3-poetry
version: 1.8.3
epoch: 0
epoch: 1
description: Python dependency management and packaging made easy.
copyright:
- license: MIT
Expand Down Expand Up @@ -52,11 +52,6 @@ pipeline:
tag: ${{package.version}}
expected-commit: e5e4b0ce9d2f4a50f6feeacac3a7d995f0880979

- uses: fetch
with:
expected-sha256: 67f4eb68288eab41e841cc71a00d26cf6bdda9533022d0189a145a34d0a35f48
uri: https://files.pythonhosted.org/packages/source/p/poetry/poetry-${{package.version}}.tar.gz

- name: Python Build
uses: python/build-wheel

Expand All @@ -66,3 +61,9 @@ update:
enabled: true
github:
identifier: python-poetry/poetry

test:
pipeline:
- uses: python/import
with:
import: poetry
27 changes: 17 additions & 10 deletions py3-requests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
package:
name: py3-requests
version: 2.32.3
epoch: 0
epoch: 1
description: Python HTTP for Humans.
copyright:
- license: Apache-2.0
Expand All @@ -25,20 +25,27 @@ environment:
- wolfi-base

pipeline:
- uses: fetch
- uses: git-checkout
with:
expected-sha256: 55365417734eb18255590a9ff9eb97e9e1da868d4ccd6402399eaf68af20a760
uri: https://files.pythonhosted.org/packages/source/r/requests/requests-${{package.version}}.tar.gz
repository: https://github.com/psf/requests.git
tag: v${{package.version}}
expected-commit: 0e322af87745eff34caffe4df68456ebc20d9068

- name: Python Build
runs: python setup.py build
- uses: python/build

- name: Python Install
runs: python setup.py install --prefix=/usr --root="${{targets.destdir}}"
- uses: python/install

- uses: strip

update:
enabled: true
release-monitor:
identifier: 4004
github:
identifier: psf/requests
strip-prefix: v
tag-filter: v

test:
pipeline:
- uses: python/import
with:
import: requests
Loading