[arch-commits] Commit in python-pykeepass (3 files)
Balló György
bgyorgy at archlinux.org
Sat Dec 15 10:25:23 UTC 2018
Date: Saturday, December 15, 2018 @ 10:25:23
Author: bgyorgy
Revision: 416360
archrelease: copy trunk to community-any
Added:
python-pykeepass/repos/
python-pykeepass/repos/community-any/
python-pykeepass/repos/community-any/PKGBUILD
(from rev 416359, python-pykeepass/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: python-pykeepass/repos/community-any/PKGBUILD (from rev 416359, python-pykeepass/trunk/PKGBUILD)
===================================================================
--- repos/community-any/PKGBUILD (rev 0)
+++ repos/community-any/PKGBUILD 2018-12-15 10:25:23 UTC (rev 416360)
@@ -0,0 +1,31 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+_pkgname=pykeepass
+pkgname=python-pykeepass
+pkgver=3.0.2
+pkgrel=2
+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-lxml python-pycryptodome)
+makedepends=(git python-setuptools)
+_commit=76b9e06d1de6f143114c84c33dee849c32e09525 # tags/3.0.2^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