python-babelfish: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 23:17:29 +07:00
parent 01d5ba16a6
commit 72c1d98ca7
3 changed files with 17 additions and 31 deletions

View File

@ -1,30 +0,0 @@
# Template file for 'python-babelfish'
pkgname=python-babelfish
version=0.5.5
revision=2
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
}
}

View File

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

View File

@ -0,0 +1,17 @@
# Template file for 'python3-babelfish'
pkgname=python3-babelfish
version=0.5.5
revision=3
wrksrc="babelfish-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
short_desc="Module to work with countries and languages (Python3)"
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
}