[arch-commits] Commit in (3 files)

Balló György bgyorgy at archlinux.org
Thu Jan 9 19:58:51 UTC 2020


    Date: Thursday, January 9, 2020 @ 19:58:51
  Author: bgyorgy
Revision: 551480

Add python-odfpy

It's a new dependency for ocrfeeder.

Added:
  python-odfpy/
  python-odfpy/trunk/
  python-odfpy/trunk/PKGBUILD

----------+
 PKGBUILD |   24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

Added: python-odfpy/trunk/PKGBUILD
===================================================================
--- python-odfpy/trunk/PKGBUILD	                        (rev 0)
+++ python-odfpy/trunk/PKGBUILD	2020-01-09 19:58:51 UTC (rev 551480)
@@ -0,0 +1,24 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Eduardo Parra Mazuecos <eduparra90 at gmail.com>
+
+pkgname=python-odfpy
+pkgver=1.4.0
+pkgrel=4
+pkgdesc="Python API and tools to manipulate OpenDocument files"
+arch=('any')
+url="https://github.com/eea/odfpy"
+license=('Apache' 'GPL')
+depends=('python-defusedxml')
+makedepends=('python-setuptools')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/eea/odfpy/archive/release-$pkgver.tar.gz")
+sha256sums=('3752c12c193428141099eb64e22b4ef0845f69d64611de774705b5cccf4f0303')
+
+build() {
+  cd odfpy-release-$pkgver
+  python setup.py build
+}
+
+package() {
+  cd odfpy-release-$pkgver 
+  python setup.py install --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list