Update package version to 3.4.6
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
name: python-charset-normalizer
|
name: python-charset-normalizer
|
||||||
description: Encoding and language detection alternative to chardet
|
description: Encoding and language detection alternative to chardet
|
||||||
version: 3.4.5
|
version: 3.4.6
|
||||||
revision: 1
|
revision: 1
|
||||||
url: https://github.com/jawah/charset_normalizer
|
url: https://github.com/jawah/charset_normalizer
|
||||||
license: MIT
|
license: MIT
|
||||||
@@ -13,10 +13,12 @@ depends:
|
|||||||
make_depends:
|
make_depends:
|
||||||
- python-build
|
- python-build
|
||||||
- python-installer
|
- python-installer
|
||||||
- python-setuptools-scm
|
- python-setuptools
|
||||||
- python-wheel
|
- python-wheel
|
||||||
|
check_depends:
|
||||||
|
- python-pytest
|
||||||
downloads:
|
downloads:
|
||||||
- url: https://github.com/jawah/charset_normalizer/archive/refs/tags/${BPM_PKG_VERSION}.tar.gz
|
- url: https://github.com/jawah/charset_normalizer/archive/refs/tags/${BPM_PKG_VERSION}.tar.gz
|
||||||
extract_to: ${BPM_SOURCE}
|
extract_to: ${BPM_SOURCE}
|
||||||
extract_strip_components: 1
|
extract_strip_components: 1
|
||||||
checksum: ea8e9973373593f8226cb498177e9271e5108dfe8c4e655acc175f222ab41891
|
checksum: 5bfb2fc7b4cb63254fc58302223cd3d654766cac56ae6aac29ca37911ba5b3ab
|
||||||
|
|||||||
@@ -2,16 +2,16 @@
|
|||||||
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
|
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
|
||||||
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
|
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
|
||||||
|
|
||||||
# The prepare function is executed in the root of the temp directory
|
|
||||||
# This function is used for putting downloaded files to the correct location or applying patches
|
|
||||||
prepare() {
|
|
||||||
echo "You may remove this function if you do not intend to use it"
|
|
||||||
}
|
|
||||||
|
|
||||||
# The build function is executed in the source directory
|
# The build function is executed in the source directory
|
||||||
# This function is used to compile the source code
|
# This function is used to compile the source code
|
||||||
build() {
|
build() {
|
||||||
python3 -m build --wheel --no-isolation .
|
python3 -m build --wheel --skip-dependency-check --no-isolation .
|
||||||
|
}
|
||||||
|
|
||||||
|
# The check function is executed in the source directory
|
||||||
|
# This function is used to run tests to verify the package has been compiled correctly
|
||||||
|
check() {
|
||||||
|
PYTHONPATH=src pytest
|
||||||
}
|
}
|
||||||
|
|
||||||
# The package function is executed in the source directory
|
# The package function is executed in the source directory
|
||||||
|
|||||||
Reference in New Issue
Block a user