python-mtranslate: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 21:52:44 +07:00
parent 2315282efe
commit 20b2bbc51f
3 changed files with 18 additions and 32 deletions

View file

@ -1,31 +0,0 @@
# Template file for 'python-mtranslate'
pkgname=python-mtranslate
version=1.6
revision=2
archs=noarch
wrksrc="mtranslate-${version}"
build_style=python-module
pycompile_module="mtranslate"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Simple api for google translate"
maintainer="Benjamín Albiñana <benalb@gmail.com>"
license="MIT"
homepage="https://github.com/mouuff/mtranslate"
distfiles="https://github.com/mouuff/mtranslate/archive/${version}.tar.gz"
checksum=58fe274c692717a6e22acaf8712014a4ba1bd9a09409d246f31796f6f0117385
post_install() {
vlicense LICENSE
}
python3-mtranslate_package() {
archs=noarch
pycompile_module="mtranslate"
depends="python3"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}

View file

@ -1 +0,0 @@
python-mtranslate

View file

@ -0,0 +1,18 @@
# Template file for 'python3-mtranslate'
pkgname=python3-mtranslate
version=1.6
revision=3
wrksrc="mtranslate-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3"
short_desc="Simple api for google translate"
maintainer="Benjamín Albiñana <benalb@gmail.com>"
license="MIT"
homepage="https://github.com/mouuff/mtranslate"
distfiles="https://github.com/mouuff/mtranslate/archive/${version}.tar.gz"
checksum=58fe274c692717a6e22acaf8712014a4ba1bd9a09409d246f31796f6f0117385
post_install() {
vlicense LICENSE
}