summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin 'golodhrim' Scholz2019-07-14 17:35:44 +0200
committerMartin 'golodhrim' Scholz2019-07-14 17:35:44 +0200
commitc72c0fa32b22b0caa43c473afd9f13295a42d034 (patch)
treeaa4fbe45cf5b4f5515c699b995e4f8d74ea51073
downloadaur-c72c0fa32b22b0caa43c473afd9f13295a42d034.tar.gz
adding module python-trytond_analytic_invoice 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..77c7fcccb8d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = python-trytond_analytic_invoice
+ pkgdesc = Tryton module to add analytic accounting on invoice
+ 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_analytic_invoice/trytond_analytic_invoice-5.2.0.tar.gz
+ sha256sums = 30f904577b9137da48f40ef958f799a89ffa9dcfc7327a3206acfa6b401422f7
+
+pkgname = python-trytond_analytic_invoice
+
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..8db537f0807
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Martin Scholz <scholz.m82@gmail.com>
+pkgname=python-trytond_analytic_invoice
+_name=trytond_analytic_invoice
+pkgver=5.2.0
+_pkgdir=5.2
+pkgrel=1
+pkgdesc="Tryton module to add analytic accounting on invoice"
+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=('30f904577b9137da48f40ef958f799a89ffa9dcfc7327a3206acfa6b401422f7')
+
+build() {
+ cd $srcdir/$_name-$pkgver
+ python setup.py build
+}
+
+package() {
+ cd $srcdir/$_name-$pkgver
+ python setup.py install --root=$pkgdir --optimize=1 --skip-build
+}