python-MiniMock: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 23:36:09 +07:00
parent 2e4fda644d
commit 9e32bf2bef
3 changed files with 18 additions and 32 deletions

View file

@ -1,31 +0,0 @@
# Template file for 'python-MiniMock'
pkgname=python-MiniMock
version=1.2.8
revision=3
archs=noarch
wrksrc="${pkgname/python-//}-${version}"
build_style=python-module
pycompile_module="minimock.py"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="The simplest possible mock library in Python2"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://pypi.org/project/MiniMock/"
distfiles="${PYPI_SITE}/M/MiniMock/MiniMock-${version}.tar.gz"
checksum=5fdfdfeadf0fc781d0592a1b90d2fcc11581f682ff7cba6201cfdb15c3ea5a4c
post_install() {
vlicense docs/license.txt
}
python3-MiniMock_package() {
archs=noarch
depends="python3"
pycompile_module="minimock.py"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense docs/license.txt
}
}

View file

@ -1 +0,0 @@
python-MiniMock

View file

@ -0,0 +1,18 @@
# Template file for 'python3-MiniMock'
pkgname=python3-MiniMock
version=1.2.8
revision=4
wrksrc="MiniMock-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3"
short_desc="Simple possible mock library in Python3"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://pypi.org/project/MiniMock/"
distfiles="${PYPI_SITE}/M/MiniMock/MiniMock-${version}.tar.gz"
checksum=5fdfdfeadf0fc781d0592a1b90d2fcc11581f682ff7cba6201cfdb15c3ea5a4c
post_install() {
vlicense docs/license.txt
}