mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
+github.com/Ousret/charset normalizer (#5115)
* new file: projects/github.com/Ousret/charset_normalizer/package.yml * modified: projects/github.com/Ousret/charset_normalizer/package.yml
This commit is contained in:
parent
5a3c22ca70
commit
24a48493a0
1 changed files with 27 additions and 0 deletions
27
projects/github.com/Ousret/charset_normalizer/package.yml
Normal file
27
projects/github.com/Ousret/charset_normalizer/package.yml
Normal file
|
@ -0,0 +1,27 @@
|
|||
distributable:
|
||||
url: git+https://github.com/Ousret/charset_normalizer.git
|
||||
ref: ${{version.tag}}
|
||||
|
||||
versions:
|
||||
github: Ousret/charset_normalizer
|
||||
|
||||
dependencies:
|
||||
python.org: '>=3.11'
|
||||
|
||||
runtime:
|
||||
env:
|
||||
PYTHONPATH: ${{prefix}}/lib/python{{deps.python.org.version.major}}/site-packages:$PYTHONPATH
|
||||
|
||||
build:
|
||||
- python -m pip install --prefix={{prefix}} .
|
||||
- run: ln -s python{{deps.python.org.version.marketing}} python{{deps.python.org.version.major}}
|
||||
working-directory: ${{prefix}}/lib
|
||||
|
||||
provides:
|
||||
- bin/normalizer
|
||||
|
||||
test:
|
||||
- python -c 'import charset_normalizer; print(charset_normalizer.__version__)' | grep {{version}}
|
||||
- normalizer --version | grep {{version}}
|
||||
- echo "Hello, World!" > test.txt
|
||||
- normalizer test.txt | grep 'English'
|
Loading…
Reference in a new issue