Package Details: python-inventree 0.13.4-2

Git Clone URL: https://aur.archlinux.org/python-inventree.git (read-only, click to copy)
Package Base: python-inventree
Description: Python interface for InvenTree inventory management system
Upstream URL: https://github.com/inventree/inventree-python/
Licenses: GPL3
Submitter: andrejr
Maintainer: andrejr (GPereira)
Last Packager: andrejr
Votes: 0
Popularity: 0.000000
First Submitted: 2021-07-29 08:04 (UTC)
Last Updated: 2024-05-02 09:34 (UTC)

Latest Comments

patlefort commented on 2024-01-12 23:20 (UTC)

Missing make dependency: python-setuptools.

GPereira commented on 2023-05-21 14:10 (UTC)

# Maintainer: Andrej Radović <r.andrej@gmail.com>
# Contributor: GPereira <goncalo_pereira@outlook.pt>

pkgname=python-inventree
_name=${pkgname#python-}
pkgver=0.11.2
pkgrel=1
pkgdesc="Python interface for InvenTree inventory management system"
url="https://github.com/inventree/inventree-python/"
depends=(
    'python'
    'python-requests'
)
makedepends=('python-setuptools')
license=('GPL3')
arch=('any')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=('fd4eeb03b871b10da578c092cf1e5acb30d60afeb9390885def1c38c0cc109a0')

build() {
    cd "$srcdir/$_name-$pkgver"
    python setup.py build
}

package() {
    cd "$srcdir/$_name-$pkgver"
    python setup.py install --root="$pkgdir" --optimize=1
    cd $pkgdir/usr/lib/python3*/site-packages/
    rm -rf scripts test
}