python-MiniMock: fix pycompile_module
This commit is contained in:
parent
dd0af194fc
commit
e44601c19d
1 changed files with 4 additions and 4 deletions
|
@ -1,10 +1,11 @@
|
||||||
# Template file for 'python-MiniMock'
|
# Template file for 'python-MiniMock'
|
||||||
pkgname=python-MiniMock
|
pkgname=python-MiniMock
|
||||||
version=1.2.8
|
version=1.2.8
|
||||||
revision=1
|
revision=2
|
||||||
|
noarch=yes
|
||||||
wrksrc="${pkgname/python-//}-${version}"
|
wrksrc="${pkgname/python-//}-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
pycompile_module="minimock"
|
pycompile_module="minimock.py"
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
depends="python"
|
depends="python"
|
||||||
short_desc="The simplest possible mock library in Python2"
|
short_desc="The simplest possible mock library in Python2"
|
||||||
|
@ -13,7 +14,6 @@ license="MIT"
|
||||||
homepage="https://pypi.org/project/MiniMock/"
|
homepage="https://pypi.org/project/MiniMock/"
|
||||||
distfiles="${PYPI_SITE}/M/MiniMock/MiniMock-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/M/MiniMock/MiniMock-${version}.tar.gz"
|
||||||
checksum=5fdfdfeadf0fc781d0592a1b90d2fcc11581f682ff7cba6201cfdb15c3ea5a4c
|
checksum=5fdfdfeadf0fc781d0592a1b90d2fcc11581f682ff7cba6201cfdb15c3ea5a4c
|
||||||
noarch=yes
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense docs/license.txt
|
vlicense docs/license.txt
|
||||||
|
@ -21,8 +21,8 @@ post_install() {
|
||||||
|
|
||||||
python3-MiniMock_package() {
|
python3-MiniMock_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
pycompile_module="minimock"
|
|
||||||
depends="python3"
|
depends="python3"
|
||||||
|
pycompile_module="minimock.py"
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/python3*
|
vmove usr/lib/python3*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue