diff --git a/packages.txt b/packages.txt index 7b970859490..39a1f92f7fd 100644 --- a/packages.txt +++ b/packages.txt @@ -99,6 +99,7 @@ py3-contextlib2 py3.11-pip py3.10-pip py3-docutils +py3-charset-normalizer py3-pygments py3-magic py3-babel diff --git a/py3-charset-normalizer.yaml b/py3-charset-normalizer.yaml new file mode 100644 index 00000000000..a4235bf25a2 --- /dev/null +++ b/py3-charset-normalizer.yaml @@ -0,0 +1,40 @@ +package: + name: py3-charset-normalizer + version: 3.1.0 + epoch: 0 + description: "offers you an alternative to Universal Charset Encoding Detector, also known as Chardet" + copyright: + - license: Apache-2.0 + dependencies: + runtime: + - python3 + +environment: + contents: + packages: + - wolfi-base + - busybox + - ca-certificates-bundle + - build-base + - python3 + - py3-setuptools + +pipeline: + - uses: fetch + with: + uri: https://files.pythonhosted.org/packages/source/c/charset-normalizer/charset-normalizer-${{package.version}}.tar.gz + expected-sha256: 34e0a2f9c370eb95597aae63bf85eb5e96826d81e3dcf88b8886012906f509b5 + + - runs: | + sed -i '/cov-report/d' setup.cfg + python3 setup.py build + + - runs: | + python3 setup.py install --prefix=/usr --root="${{targets.destdir}}" + + - uses: strip + +update: + enabled: true + release-monitor: + identifier: 55366