[arch-commits] Commit in python-odfpy/repos/community-any (PKGBUILD PKGBUILD)

Balló György bgyorgy at archlinux.org
Thu Jun 3 18:01:12 UTC 2021


    Date: Thursday, June 3, 2021 @ 18:01:12
  Author: bgyorgy
Revision: 955715

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-06-03 18:01:07 UTC (rev 955714)
+++ PKGBUILD	2021-06-03 18:01:12 UTC (rev 955715)
@@ -1,24 +0,0 @@
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-# Contributor: Eduardo Parra Mazuecos <eduparra90 at gmail.com>
-
-pkgname=python-odfpy
-pkgver=1.4.1
-pkgrel=3
-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=('9f97e4c808f656ce22739eec43a7c1741f645b7decef37d4fb048edb33e8caad')
-
-build() {
-  cd odfpy-release-$pkgver
-  python setup.py build
-}
-
-package() {
-  cd odfpy-release-$pkgver 
-  python setup.py install --root="$pkgdir" --optimize=1
-}

Copied: python-odfpy/repos/community-any/PKGBUILD (from rev 955714, python-odfpy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-06-03 18:01:12 UTC (rev 955715)
@@ -0,0 +1,30 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Eduardo Parra Mazuecos <eduparra90 at gmail.com>
+
+pkgname=python-odfpy
+pkgver=1.4.1
+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')
+checkdepends=('python-pytest')
+source=("https://github.com/eea/odfpy/archive/release-$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('9f97e4c808f656ce22739eec43a7c1741f645b7decef37d4fb048edb33e8caad')
+
+build() {
+  cd odfpy-release-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd odfpy-release-$pkgver
+  PYTHONPATH=. pytest
+}
+
+package() {
+  cd odfpy-release-$pkgver 
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}



More information about the arch-commits mailing list