[arch-commits] Commit in python-etesync/trunk (PKGBUILD)

David Runge dvzrv at archlinux.org
Sat Feb 17 13:40:41 UTC 2018


    Date: Saturday, February 17, 2018 @ 13:40:40
  Author: dvzrv
Revision: 296068

upgpkg: python-etesync 0.5.1-2

Rebuild for community. Adding more docs. Adding info on tests.

Modified:
  python-etesync/trunk/PKGBUILD

----------+
 PKGBUILD |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-02-17 13:31:36 UTC (rev 296067)
+++ PKGBUILD	2018-02-17 13:40:40 UTC (rev 296068)
@@ -3,7 +3,7 @@
 _name=etesync
 pkgname=python-etesync
 pkgver=0.5.1
-pkgrel=1
+pkgrel=2
 pkgdesc="Python API to interact with an EteSync server."
 arch=('any')
 url="https://pypi.python.org/pypi/etesync/"
@@ -43,6 +43,8 @@
 
 check() {
   cd "${pkgname}-${pkgver}"
+  # only run relevant tests:
+  # https://github.com/etesync/pyetesync/issues/5
   pytest tests/{test_collections.py,test_crypto.py}
 }
 
@@ -52,6 +54,7 @@
     --optimize=1 \
     --prefix=/usr \
     --root="${pkgdir}"
-  install -vDm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
+  install -t "${pkgdir}/usr/share/doc/${pkgname}" \
+    -vDm644 {DESCRIPTION.rst,README.md}
 }
 



More information about the arch-commits mailing list