diff options
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 5 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = python-translate pkgdesc = Translate is a simple but powerful translation tool written in python with support for multiple translation providers. pkgver = 3.6.1 - pkgrel = 1 + pkgrel = 2 url = https://github.com/terryyin/translate-python arch = any license = MIT @@ -10,6 +10,7 @@ pkgbase = python-translate makedepends = python-wheel makedepends = python-pytest-runner depends = python + depends = python-libretranslate source = python-translate::https://github.com/terryyin/translate-python/archive/refs/tags/3.6.1.tar.gz sha256sums = 28ddafe090847031a46f626fd06a2adaff067ff9f7c15234e05b196c9393f7f1 @@ -2,16 +2,17 @@ pkgname=python-translate pkgver=3.6.1 -pkgrel=1 +pkgrel=2 pkgdesc="Translate is a simple but powerful translation tool written in python with support for multiple translation providers." url="https://github.com/terryyin/translate-python" -depends=('python') +depends=('python' 'python-libretranslate') makedepends=('python-build' 'python-installer' 'python-wheel' 'python-pytest-runner') license=('MIT') arch=('any') source=(${pkgname}::"https://github.com/terryyin/translate-python/archive/refs/tags/$pkgver.tar.gz") sha256sums=('28ddafe090847031a46f626fd06a2adaff067ff9f7c15234e05b196c9393f7f1') + build() { cd "${srcdir}/translate-python-${pkgver}" python -m build --wheel --no-isolation |