Package Details: python-libretranslate-git r31.20221015-1

Git Clone URL: https://aur.archlinux.org/python-libretranslate-git.git (read-only, click to copy)
Package Base: python-libretranslate-git
Description: Python bindings for LibreTranslate
Upstream URL: https://github.com/argosopentech/LibreTranslate-py
Licenses: MIT
Conflicts: python-libretranslate
Provides: python-libretranslate
Submitter: vantu5z
Maintainer: vantu5z
Last Packager: vantu5z
Votes: 0
Popularity: 0.000000
First Submitted: 2022-07-25 06:27 (UTC)
Last Updated: 2023-01-17 05:31 (UTC)

Required by (2)

Sources (1)

Latest Comments

Vekhir commented on 2023-01-17 12:18 (UTC)

Thanks for the quick response!

vantu5z commented on 2023-01-17 05:34 (UTC)

@Vekhir, thanks! Package updated.

Vekhir commented on 2023-01-16 22:36 (UTC)

Hi, the package has git and python-setuptools as make dependencies, otherwise it won't build in a clean chroot. Also, there is a typo in package()

diff --git a/PKGBUILD b/PKGBUILD
index e523038..6485cf8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@ pkgrel=1
 pkgdesc="Python bindings for LibreTranslate"
 url="https://github.com/argosopentech/LibreTranslate-py"
 depends=('python')
-makedepends=('python-build' 'python-installer' 'python-wheel')
+makedepends=('python-build' 'python-installer' 'python-wheel' 'git' 'python-setuptools')
 license=('MIT')
 arch=('any')
 provides=("${pkgname%-git}")
@@ -32,6 +32,4 @@ build() {
 package() {
     cd "${srcdir}/${pkgname}"
     python -m installer --destdir="$pkgdir" dist/*.whl
-provides=("${pkgname%-git}")
-conflicts=("${pkgname%-git}")
 }