New package: python-mtranslate-1.6

closes #10002
This commit is contained in:
Benjamín Albiñana 2019-03-18 19:44:27 +01:00 committed by maxice8
parent 64f81c8537
commit 91b3031410
No known key found for this signature in database
GPG key ID: 543B9D4F4299F06B
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,31 @@
# Template file for 'python-mtranslate'
pkgname=python-mtranslate
version=1.6
revision=1
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
}
}

1
srcpkgs/python3-mtranslate Symbolic link
View file

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