8ddd61d984
[ci skip]
30 lines
812 B
Bash
30 lines
812 B
Bash
# Template file for 'python-babelfish'
|
|
pkgname=python-babelfish
|
|
version=0.5.5
|
|
revision=1
|
|
archs=noarch
|
|
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() {
|
|
archs=noarch
|
|
pycompile_module="babelfish"
|
|
depends="python3"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE
|
|
}
|
|
}
|