wok-current rev 25204
updated python-mock (1.0.1 -> 3.0.5)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 14:28:15 2022 +0100 (2022-07-13) |
parents | 83ae4ccd6df5 |
children | d7ed974f0f39 |
files | python-mock/description.txt python-mock/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/python-mock/description.txt Wed Jul 13 14:28:15 2022 +0100 1.3 @@ -0,0 +1,9 @@ 1.4 +Mock is a library for testing in Python. 1.5 +It allows you to replace parts of your system under test with mock objects 1.6 +and make assertions about how they have been used. 1.7 + 1.8 +Mock is now part of the Python standard library, available as unittest.mock 1.9 +in Python 3.3 onwards. 1.10 + 1.11 +This package contains a rolling backport of the standard library mock code 1.12 +compatible with Python 2.7 and 3.4 and up.
2.1 --- a/python-mock/receipt Wed Jul 13 14:23:19 2022 +0100 2.2 +++ b/python-mock/receipt Wed Jul 13 14:28:15 2022 +0100 2.3 @@ -1,15 +1,17 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="python-mock" 2.7 -VERSION="1.0.1" 2.8 +VERSION="3.0.5" 2.9 CATEGORY="development" 2.10 SHORT_DESC="A library for testing in Python." 2.11 MAINTAINER="pascal.bellard@slitaz.org" 2.12 LICENSE="BSD" 2.13 +WEB_SITE="https://pypi.org/project/mock/" 2.14 +REPOLOGY="python:mock" 2.15 + 2.16 SOURCE="mock" 2.17 TARBALL="$SOURCE-$VERSION.tar.gz" 2.18 -WEB_SITE="https://pypi.python.org/pypi/$SOURCE/$VERSION" 2.19 -WGET_URL="https://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" 2.20 +WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" 2.21 2.22 DEPENDS="python" 2.23 BUILD_DEPENDS="python python-setuptools" 2.24 @@ -30,5 +32,5 @@ 2.25 # Rules to gen a SliTaz package suitable for Tazpkg. 2.26 genpkg_rules() 2.27 { 2.28 - cp -a $install/usr $fs 2.29 + cp -a $install/usr $fs 2.30 }