[arch-commits] Commit in python-odfpy (3 files)
Balló György
bgyorgy at archlinux.org
Thu Jan 9 19:59:46 UTC 2020
Date: Thursday, January 9, 2020 @ 19:59:46
Author: bgyorgy
Revision: 551481
archrelease: copy trunk to community-any
Added:
python-odfpy/repos/
python-odfpy/repos/community-any/
python-odfpy/repos/community-any/PKGBUILD
(from rev 551480, python-odfpy/trunk/PKGBUILD)
----------+
PKGBUILD | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
Copied: python-odfpy/repos/community-any/PKGBUILD (from rev 551480, python-odfpy/trunk/PKGBUILD)
===================================================================
--- repos/community-any/PKGBUILD (rev 0)
+++ repos/community-any/PKGBUILD 2020-01-09 19:59:46 UTC (rev 551481)
@@ -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