blob: 9fd4c2dc7fc29abeaaeb12b43443201e4917459c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Maintainer: Martin Scholz <scholz.m82@gmail.com>
pkgname=python-trytond_sale_stock_quantity
_name=trytond_sale_stock_quantity
pkgver=5.8.1
_pkgdir=5.8
pkgrel=2
pkgbase=python-$_name
pkgdesc="Tryton module to add stock warning on sale"
arch=('any')
url="http://www.tryton.org/"
license=('GPL3')
depends=('python>=3.6')
makedepends=('python-distribute')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=('45bfa3103f9de9ab14e800a8bee135dbaede86c60a738c19fc27f962c071a6e0')
sha512sums=('b8f41cd26a519cf01106f3c2c535ba61df7fcac570a169cfaf998a505d184f3e6af1afaf55bac448202644963e8d117d50ad99b909d3ea84f62a715175144277')
b2sums=('88ab3bf9282efaf597e1163119472980314cb6f2e45f41caf892b451be2536e3bb2b70de2f04c814f62b46a897ddbbd89937b14ec9f1a8abfe68bbca1211a9f1')
build() {
cd $srcdir/$_name-$pkgver
python setup.py build
}
package() {
cd $srcdir/$_name-$pkgver
python setup.py install --root=$pkgdir --optimize=1 --skip-build
}
|