Gentoo Archives: gentoo-commits

From: Theo Anderson <telans@××××××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pykeepass/, dev-python/pykeepass/files/
Date: Wed, 08 Jun 2022 05:14:24
Message-Id: 1654665223.5f68eb298425e43567726e8d99c02a42a3b18c66.telans@gentoo
1 commit: 5f68eb298425e43567726e8d99c02a42a3b18c66
2 Author: James Beddek <telans <AT> posteo <DOT> de>
3 AuthorDate: Fri Jun 3 06:00:20 2022 +0000
4 Commit: Theo Anderson <telans <AT> posteo <DOT> de>
5 CommitDate: Wed Jun 8 05:13:43 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5f68eb29
7
8 dev-python/pykeepass: drop 4.0.0, 4.0.1
9
10 Signed-off-by: James Beddek <telans <AT> posteo.de>
11
12 dev-python/pykeepass/Manifest | 2 --
13 .../files/pykeepass-4.0.0-fix-tests-install.patch | 33 ------------------
14 dev-python/pykeepass/pykeepass-4.0.0.ebuild | 40 ----------------------
15 dev-python/pykeepass/pykeepass-4.0.1.ebuild | 40 ----------------------
16 4 files changed, 115 deletions(-)
17
18 diff --git a/dev-python/pykeepass/Manifest b/dev-python/pykeepass/Manifest
19 index bc2747de6..82fafddbe 100644
20 --- a/dev-python/pykeepass/Manifest
21 +++ b/dev-python/pykeepass/Manifest
22 @@ -1,3 +1 @@
23 -DIST pykeepass-4.0.0.tar.gz 88720 BLAKE2B 7dcce1ded4527f32e0a602d9a7b742fabd32ee6c5e6836f0d4d217c3117177f258e974275670c9cea408e05335004996bea6a68ba12fe02ac30b0276ac7cfb54 SHA512 03483c9dc78774b2c5d4088f9995db9a9142bc69a8d4bc1824f4868175d3556434cb155c1f35a3fa0c04fca72f571af518166f59bcbe21431b7fe34a20b57cb2
24 -DIST pykeepass-4.0.1.tar.gz 99343 BLAKE2B ed3ea6575041ef73adc769365078818af9080851bba8b31ee24ef283480633305147307c4ea7217fba96ca18cd90bcf33b0d66b0a9148121165f67937d8677b0 SHA512 512f25029fcaa7a84459767cd9101d113623722c2aaf466fd3e77cf0043c37d344ccd2c0226fcbc3b3c22e39f8060c172ab1e1c72993c469a4499b21c47f6134
25 DIST pykeepass-4.0.2.tar.gz 102819 BLAKE2B 27bac0508328ed36bed779a5a74978a0e7d3aec25212811de7295214b05fc018e722530b3e40d2e09a68c8ffffd93f60dde79aa6ee03b1a445c1ac93d51c0847 SHA512 2e3704246fd1bf230fa6525a3d2cba1cd09634b669653df3c66ac52642bcd1a59f28ca09ef8a05b31e70604c70b9ad247d7ab2badddab325aa0dee837c0a2402
26
27 diff --git a/dev-python/pykeepass/files/pykeepass-4.0.0-fix-tests-install.patch b/dev-python/pykeepass/files/pykeepass-4.0.0-fix-tests-install.patch
28 deleted file mode 100644
29 index 2b2572165..000000000
30 --- a/dev-python/pykeepass/files/pykeepass-4.0.0-fix-tests-install.patch
31 +++ /dev/null
32 @@ -1,33 +0,0 @@
33 -From 883714197ab39dfb68a5dffd2268e88a964f8913 Mon Sep 17 00:00:00 2001
34 -From: David Heidelberg <david@××××.cz>
35 -Date: Wed, 14 Aug 2019 17:37:25 +0200
36 -Subject: [PATCH] setup.py: exclude tests directory
37 -
38 -Fixes build on ebuild based distributions.
39 -
40 -Signed-off-by: David Heidelberg <david@××××.cz>
41 ----
42 - setup.py | 2 +-
43 - tests/__init__.py | 0
44 - 2 files changed, 1 insertion(+), 1 deletion(-)
45 - delete mode 100644 tests/__init__.py
46 -
47 -diff --git a/setup.py b/setup.py
48 -index 773acfc..2a8c17b 100644
49 ---- a/setup.py
50 -+++ b/setup.py
51 -@@ -11,7 +11,7 @@ setup(
52 - author="Philipp Schmitt",
53 - author_email="philipp@×××××××.co",
54 - url="https://github.com/libkeepass/pykeepass",
55 -- packages=find_packages(),
56 -+ packages=find_packages(exclude=("tests")),
57 - install_requires=[
58 - "python-dateutil",
59 - "construct",
60 -diff --git a/tests/__init__.py b/tests/__init__.py
61 -deleted file mode 100644
62 -index e69de29..0000000
63 ---
64 -2.22.1
65 -
66
67 diff --git a/dev-python/pykeepass/pykeepass-4.0.0.ebuild b/dev-python/pykeepass/pykeepass-4.0.0.ebuild
68 deleted file mode 100644
69 index 6f57d2b68..000000000
70 --- a/dev-python/pykeepass/pykeepass-4.0.0.ebuild
71 +++ /dev/null
72 @@ -1,40 +0,0 @@
73 -# Copyright 1999-2021 Gentoo Authors
74 -# Distributed under the terms of the GNU General Public License v2
75 -
76 -EAPI=7
77 -
78 -PYTHON_COMPAT=( python3_{8..9} )
79 -
80 -inherit distutils-r1
81 -
82 -DESCRIPTION="Python library to interact with keepass databases (supports KDBX3 and KDBX4) "
83 -HOMEPAGE="https://github.com/libkeepass/pykeepass"
84 -SRC_URI="https://github.com/libkeepass/pykeepass/archive/${PV}.tar.gz -> ${P}.tar.gz"
85 -
86 -LICENSE="GPL-3"
87 -SLOT="0"
88 -KEYWORDS="~amd64 ~x86"
89 -
90 -RDEPEND="
91 - >=dev-python/argon2-cffi-19.2.0[${PYTHON_USEDEP}]
92 - >=dev-python/construct-2.10.54[${PYTHON_USEDEP}]
93 - >=dev-python/future-0.18.2[${PYTHON_USEDEP}]
94 - >=dev-python/lxml-4.3.5[${PYTHON_USEDEP}]
95 - >=dev-python/pycryptodome-3.8.2[${PYTHON_USEDEP}]
96 - >=dev-python/python-dateutil-2.8.1[${PYTHON_USEDEP}]
97 -"
98 -DEPEND="${RDEPEND}"
99 -
100 -PATCHES=( "${FILESDIR}"/pykeepass-4.0.0-fix-tests-install.patch )
101 -
102 -distutils_enable_tests pytest
103 -
104 -src_prepare() {
105 - distutils-r1_src_prepare
106 - # pycryptodomex to pycryptodome conversion
107 - sed -i 's/Cryptodome/Crypto/g' pykeepass/kdbx_parsing/{common,twofish}.py || die
108 -}
109 -
110 -python_test() {
111 - "${EPYTHON}" tests/tests.py -v || die
112 -}
113
114 diff --git a/dev-python/pykeepass/pykeepass-4.0.1.ebuild b/dev-python/pykeepass/pykeepass-4.0.1.ebuild
115 deleted file mode 100644
116 index 56c92d9b3..000000000
117 --- a/dev-python/pykeepass/pykeepass-4.0.1.ebuild
118 +++ /dev/null
119 @@ -1,40 +0,0 @@
120 -# Copyright 1999-2021 Gentoo Authors
121 -# Distributed under the terms of the GNU General Public License v2
122 -
123 -EAPI=8
124 -
125 -PYTHON_COMPAT=( python3_{8..9} )
126 -
127 -inherit distutils-r1
128 -
129 -DESCRIPTION="Python library to interact with keepass databases (supports KDBX3 and KDBX4) "
130 -HOMEPAGE="https://github.com/libkeepass/pykeepass"
131 -SRC_URI="https://github.com/libkeepass/pykeepass/archive/${PV}.tar.gz -> ${P}.tar.gz"
132 -
133 -LICENSE="GPL-3"
134 -SLOT="0"
135 -KEYWORDS="~amd64 ~x86"
136 -
137 -RDEPEND="
138 - >=dev-python/argon2-cffi-19.2.0[${PYTHON_USEDEP}]
139 - >=dev-python/construct-2.10.54[${PYTHON_USEDEP}]
140 - >=dev-python/future-0.18.2[${PYTHON_USEDEP}]
141 - >=dev-python/lxml-4.3.5[${PYTHON_USEDEP}]
142 - >=dev-python/pycryptodome-3.8.2[${PYTHON_USEDEP}]
143 - >=dev-python/python-dateutil-2.8.1[${PYTHON_USEDEP}]
144 -"
145 -DEPEND="${RDEPEND}"
146 -
147 -PATCHES=( "${FILESDIR}"/pykeepass-4.0.0-fix-tests-install.patch )
148 -
149 -distutils_enable_tests pytest
150 -
151 -src_prepare() {
152 - distutils-r1_src_prepare
153 - # pycryptodomex to pycryptodome conversion
154 - sed -i 's/Cryptodome/Crypto/g' pykeepass/kdbx_parsing/{common,twofish}.py || die
155 -}
156 -
157 -python_test() {
158 - "${EPYTHON}" tests/tests.py -v || die
159 -}