[arch-commits] Commit in python-odfpy/repos (2 files)

Brett Cornwall ainola at gemini.archlinux.org
Mon Mar 21 23:07:09 UTC 2022


    Date: Monday, March 21, 2022 @ 23:07:08
  Author: ainola
Revision: 1168682

archrelease: copy trunk to community-testing-any

Added:
  python-odfpy/repos/community-testing-any/
  python-odfpy/repos/community-testing-any/PKGBUILD
    (from rev 1168681, python-odfpy/trunk/PKGBUILD)

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

Copied: python-odfpy/repos/community-testing-any/PKGBUILD (from rev 1168681, python-odfpy/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2022-03-21 23:07:08 UTC (rev 1168682)
@@ -0,0 +1,31 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Maintainer: Brett Cornwall <ainola at archlinux.org>
+# Contributor: Eduardo Parra Mazuecos <eduparra90 at gmail.com>
+
+pkgname=python-odfpy
+pkgver=1.4.2
+pkgrel=1
+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-build' 'python-installer' 'python-setuptools' 'python-wheel')
+checkdepends=('python-pytest')
+source=("https://github.com/eea/odfpy/archive/release-$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('24ad087f38031b2fe60bf22811b9550887afe1cfdea80672d6573387c3025583')
+
+build() {
+  cd odfpy-release-$pkgver
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  cd odfpy-release-$pkgver
+  PYTHONPATH=. pytest
+}
+
+package() {
+  cd odfpy-release-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*whl
+}



More information about the arch-commits mailing list