aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Adamski <michal@ert.pl>2020-11-16 16:35:38 +0100
committerMichał Adamski <michal@ert.pl>2020-11-16 16:35:38 +0100
commit9e39bf003b7556090a43d67f673d27d872016b56 (patch)
tree756034f9777ed142f23b106353e41145e1b3a179
parent6fbafd8e456e353497bc801c69bddac162dd9df6 (diff)
community/py3-keepass: relax dependencies
-rw-r--r--community/py3-keepass/0001-relax-dependencies.patch43
-rw-r--r--community/py3-keepass/APKBUILD10
2 files changed, 50 insertions, 3 deletions
diff --git a/community/py3-keepass/0001-relax-dependencies.patch b/community/py3-keepass/0001-relax-dependencies.patch
new file mode 100644
index 00000000000..40ffd7f66c9
--- /dev/null
+++ b/community/py3-keepass/0001-relax-dependencies.patch
@@ -0,0 +1,43 @@
+From bd7c67faad24770c7378464a640b9baa72257ede Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Micha=C5=82=20Adamski?= <michal@ert.pl>
+Date: Mon, 16 Nov 2020 15:11:30 +0100
+Subject: [PATCH] relax dependencies
+
+---
+ requirements.txt | 12 ++++++------
+ setup.py | 2 +-
+ 2 files changed, 7 insertions(+), 7 deletions(-)
+
+diff --git a/requirements.txt b/requirements.txt
+index 7dfdf28..467e9f2 100644
+--- a/requirements.txt
++++ b/requirements.txt
+@@ -1,6 +1,6 @@
+-lxml==4.3.5
+-pycryptodomex==3.9.4
+-construct==2.10.54
+-argon2-cffi==19.2.0
+-python-dateutil==2.8.0
+-future==0.17.1
++lxml==4.3.*
++pycryptodomex==3.9.*
++construct==2.10.*
++argon2-cffi==19.2.*
++python-dateutil==2.8.*
++future==0.17.*
+diff --git a/setup.py b/setup.py
+index 55c17bc..0609302 100644
+--- a/setup.py
++++ b/setup.py
+@@ -18,7 +18,7 @@ setup(
+ install_requires=[
+ "python-dateutil",
+ # FIXME python2 - last version to support python2
+- "construct==2.10.54",
++ "construct==2.10.*",
+ "argon2_cffi",
+ "pycryptodomex>=3.6.2",
+ "lxml",
+--
+2.25.1
+
diff --git a/community/py3-keepass/APKBUILD b/community/py3-keepass/APKBUILD
index 0f156a23184..4bcac8e975a 100644
--- a/community/py3-keepass/APKBUILD
+++ b/community/py3-keepass/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=py3-keepass
pkgver=3.2.1
-pkgrel=1
+pkgrel=2
pkgdesc="Python3 library to interact with keepass databases"
url="https://github.com/pschmitt/pykeepass"
arch="noarch !s390x !mips !mips64" # pykeepass test fail on s390x and mips
@@ -10,7 +10,10 @@ license="GPL-3.0-only"
depends="python3 py3-dateutil py3-pycryptodomex py3-construct py3-lxml
py3-argon2-cffi py3-cffi py3-future py3-setuptools"
makedepends="python3-dev"
-source="https://pypi.io/packages/source/p/pykeepass/pykeepass-$pkgver.tar.gz"
+source="
+ https://pypi.io/packages/source/p/pykeepass/pykeepass-$pkgver.tar.gz
+ 0001-relax-dependencies.patch
+"
builddir="$srcdir/pykeepass-$pkgver"
build() {
@@ -25,4 +28,5 @@ package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
-sha512sums="559287581741d5b3465fa722d0dc51dbbcb46776349c7a4ce2b688b8e692f188078718adcdf527723e35f30b3f68efa4625bba5db5109841b75d2590d0b67ff8 pykeepass-3.2.1.tar.gz"
+sha512sums="559287581741d5b3465fa722d0dc51dbbcb46776349c7a4ce2b688b8e692f188078718adcdf527723e35f30b3f68efa4625bba5db5109841b75d2590d0b67ff8 pykeepass-3.2.1.tar.gz
+732b9de1ace8cb6b659528e6b3d326f92b2d83bf42a39b43b0ece369102146ed322fec8e01899be5ca6c6ba29c1691e6e2ddf5723633ceed9de012964443c171 0001-relax-dependencies.patch"