Update package version to 9.0.1
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
name: python-pytest
|
name: python-pytest
|
||||||
description: Framework writing small and readable python tests
|
description: Framework writing small and readable python tests
|
||||||
version: 8.4.2
|
version: 9.0.1
|
||||||
revision: 2
|
revision: 1
|
||||||
url: https://docs.pytest.org/en/stable/
|
url: https://docs.pytest.org/en/stable/
|
||||||
license: MIT
|
license: MIT
|
||||||
architecture: any
|
architecture: any
|
||||||
@@ -18,3 +18,8 @@ make_depends:
|
|||||||
- python-setuptools
|
- python-setuptools
|
||||||
- python-setuptools-scm
|
- python-setuptools-scm
|
||||||
- python-wheel
|
- python-wheel
|
||||||
|
downloads:
|
||||||
|
- url: https://github.com/pytest-dev/pytest/releases/download/${BPM_PKG_VERSION}/pytest-${BPM_PKG_VERSION}.tar.gz
|
||||||
|
extract_to: ${BPM_SOURCE}
|
||||||
|
extract_strip_components: 1
|
||||||
|
checksum: 3e9c069ea73583e255c3b21cf46b8d3c56f6e3a1a8f6da94ccb0fcf57b9d73c8
|
||||||
|
|||||||
@@ -2,16 +2,6 @@
|
|||||||
# 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
|
||||||
|
|
||||||
DOWNLOAD="https://github.com/pytest-dev/pytest/releases/download/${BPM_PKG_VERSION}/pytest-${BPM_PKG_VERSION}.tar.gz"
|
|
||||||
FILENAME="${DOWNLOAD##*/}"
|
|
||||||
|
|
||||||
# The prepare function is executed in the root of the temp directory
|
|
||||||
# This function is used for downloading files and putting them into the correct location
|
|
||||||
prepare() {
|
|
||||||
wget "$DOWNLOAD"
|
|
||||||
tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE"
|
|
||||||
}
|
|
||||||
|
|
||||||
# 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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user