[arch-commits] Commit in python-pykeepass/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Tue Nov 10 04:05:28 UTC 2020
Date: Tuesday, November 10, 2020 @ 04:05:27
Author: foutrelis
Revision: 748470
archrelease: copy trunk to community-staging-any
Added:
python-pykeepass/repos/community-staging-any/
python-pykeepass/repos/community-staging-any/PKGBUILD
(from rev 748469, python-pykeepass/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: python-pykeepass/repos/community-staging-any/PKGBUILD (from rev 748469, python-pykeepass/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-10 04:05:27 UTC (rev 748470)
@@ -0,0 +1,31 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+_pkgname=pykeepass
+pkgname=python-pykeepass
+pkgver=3.2.1
+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-pycryptodomex)
+makedepends=(git python-setuptools)
+_commit=4ef5069d14131b2ac8d34ef260afdbd58bffb3a4 # tags/3.2.1
+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