New package: python-babelfish-0.5.5

This commit is contained in:
Daniel Santana 2018-11-10 13:12:56 -02:00 committed by maxice8
parent 361e3a618c
commit f854cc8c2b
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,30 @@
# Template file for 'python-babelfish'
pkgname=python-babelfish
version=0.5.5
revision=1
noarch=yes
wrksrc="babelfish-${version}"
build_style=python-module
pycompile_module="babelfish"
hostmakedepends="python-setuptools python3-setuptools"
short_desc="A module to work with countries and languages (Python2)"
maintainer="Daniel Santana <daniel@santana.tech>"
license="BSD-3-Clause"
homepage="https://github.com/Diaoul/babelfish"
distfiles="${PYPI_SITE}/b/babelfish/babelfish-${version}.tar.gz"
checksum=8380879fa51164ac54a3e393f83c4551a275f03617f54a99d70151358e444104
post_install() {
vlicense LICENSE
}
python3-babelfish_package() {
noarch=yes
pycompile_module="babelfish"
depends="python3"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}

1
srcpkgs/python3-babelfish Symbolic link
View file

@ -0,0 +1 @@
python-babelfish