summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin 'golodhrim' Scholz2019-07-14 17:39:25 +0200
committerMartin 'golodhrim' Scholz2019-07-14 17:39:25 +0200
commit13c3c3728b67f7f27414b9a9c9735170175d76f5 (patch)
treee7a47bc22a29e45625f931021c6629f80e337232
downloadaur-13c3c3728b67f7f27414b9a9c9735170175d76f5.tar.gz
adding module python-trytond_product_measurements for trytond
-rw-r--r--.SRCINFO14
-rw-r--r--.gitignore6
-rw-r--r--PKGBUILD24
3 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..cf9d8f229b7
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = python-trytond_product_measurements
+ pkgdesc = Tryton module to add measurements to product
+ pkgver = 5.2.0
+ pkgrel = 1
+ url = http://www.tryton.org/
+ arch = any
+ license = GPL3
+ makedepends = python-distribute
+ depends = python>=3.5
+ source = https://files.pythonhosted.org/packages/source/t/trytond_product_measurements/trytond_product_measurements-5.2.0.tar.gz
+ sha256sums = fe2257bf7dbf064133d1f153bfd77f8b3ff1c2669f60c685a5648f12b5fdb0e1
+
+pkgname = python-trytond_product_measurements
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..1eb6a87475f
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,6 @@
+*.tar.xz
+*.tar.gz
+*.asc
+/src
+/pkg
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..9c132ede926
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Martin Scholz <scholz.m82@gmail.com>
+pkgname=python-trytond_product_measurements
+_name=trytond_product_measurements
+pkgver=5.2.0
+_pkgdir=5.2
+pkgrel=1
+pkgdesc="Tryton module to add measurements to product"
+arch=('any')
+url="http://www.tryton.org/"
+license=('GPL3')
+depends=('python>=3.5')
+makedepends=('python-distribute')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
+sha256sums=('fe2257bf7dbf064133d1f153bfd77f8b3ff1c2669f60c685a5648f12b5fdb0e1')
+
+build() {
+ cd $srcdir/$_name-$pkgver
+ python setup.py build
+}
+
+package() {
+ cd $srcdir/$_name-$pkgver
+ python setup.py install --root=$pkgdir --optimize=1 --skip-build
+}