python-requests-mock: fix pycompile_module= naming

This commit is contained in:
maxice8 2018-08-20 14:53:08 -03:00
parent 5eb89c0896
commit d57f6fb18c
No known key found for this signature in database
GPG Key ID: 543B9D4F4299F06B

View File

@ -1,11 +1,11 @@
# Template file for 'python-requests-mock'
pkgname=python-requests-mock
version=1.5.2
revision=1
revision=2
noarch=yes
wrksrc="requests-mock-${version}"
build_style=python-module
pycompile_modules="requests_mock"
pycompile_module="requests_mock"
hostmakedepends="python-setuptools python3-setuptools python-pbr python3-pbr"
depends="python-requests python-six"
short_desc="Python2 module to test mocked responses from requests"
@ -17,7 +17,7 @@ checksum=7a5fa99db5e3a2a961b6f20ed40ee6baeff73503cf0a553cc4d679409e6170fb
python3-requests-mock_package() {
noarch=yes
pycompile_modules="requests_mock"
pycompile_module="requests_mock"
depends="python3-requests python3-six"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {