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

Evangelos Foutras foutrelis at archlinux.org
Sat Oct 26 05:29:54 UTC 2019


    Date: Saturday, October 26, 2019 @ 05:29:54
  Author: foutrelis
Revision: 520093

archrelease: copy trunk to community-staging-any

Added:
  python-pykeepass/repos/community-staging-any/
  python-pykeepass/repos/community-staging-any/PKGBUILD
    (from rev 520092, python-pykeepass/trunk/PKGBUILD)

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

Copied: python-pykeepass/repos/community-staging-any/PKGBUILD (from rev 520092, python-pykeepass/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-10-26 05:29:54 UTC (rev 520093)
@@ -0,0 +1,31 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+_pkgname=pykeepass
+pkgname=python-pykeepass
+pkgver=3.0.3
+pkgrel=3
+pkgdesc="Python library to interact with keepass databases"
+arch=('any')
+url="https://github.com/pschmitt/pykeepass"
+license=('GPL3')
+depends=(python-argon2_cffi python-construct python-dateutil python-future python-lxml python-pycryptodome)
+makedepends=(git python-setuptools)
+_commit=11ee6052ba83861cd9c08e7fd64b6780f9354e1c  # tags/3.0.3^0
+source=("git+https://github.com/pschmitt/pykeepass#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $_pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+build() {
+  cd $_pkgname
+  python3 setup.py build
+}
+
+package() {
+  cd $_pkgname
+  python3 setup.py install --root="$pkgdir" --optimize=1
+  rm -r "$pkgdir"/usr/lib/python*/site-packages/tests/
+}



More information about the arch-commits mailing list