1 |
commit: 4c418bbe5968b844a5b4f870fa42ec8265b4eb15 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 2 09:03:40 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 2 09:16:20 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c418bbe |
7 |
|
8 |
dev-python/flufl-lock: Bump to 5.0.4 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/flufl-lock/Manifest | 1 + |
13 |
dev-python/flufl-lock/flufl-lock-5.0.4.ebuild | 38 +++++++++++++++++++++++++++ |
14 |
2 files changed, 39 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/flufl-lock/Manifest b/dev-python/flufl-lock/Manifest |
17 |
index 76f79e11cd3..5110585fe57 100644 |
18 |
--- a/dev-python/flufl-lock/Manifest |
19 |
+++ b/dev-python/flufl-lock/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST flufl-lock-5.0.1.tar.gz 27788 BLAKE2B 2651898e881719f24bc61e14f697877ca39f2747fadf52de1a5fc917b26e23001df5f0a4ea2e48271da69198e1a1336e69cc0167a4f46fddd21f464b355fa4ca SHA512 f937fb6c7f7bef2b85674225f83f3162f34db3fe2df3d9a896f772c4489c3e0611361e3d1d9efda7727112d780f31022d3045d3a3b8e78e9412aca2f2418ca24 |
22 |
+DIST flufl.lock-5.0.4.tar.gz 29486 BLAKE2B 3fc6c3bfdac3c877c82f9f56e739342604be9f855a42a99bd06e5fb89fe8b3bc4cabd2e357e8e0992f7aa3f5ec7ea4a18e1f59a05beeeed7074a72440d3f6b9b SHA512 c08d8115c836f7523887d86539e9f11a2007913936fd8a4a116a610b648adf289fb086e8904b2163a6af7449e92a6edf9fad09fb770a34473768ffc4d8eb146e |
23 |
|
24 |
diff --git a/dev-python/flufl-lock/flufl-lock-5.0.4.ebuild b/dev-python/flufl-lock/flufl-lock-5.0.4.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..57e4a8b7e44 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/flufl-lock/flufl-lock-5.0.4.ebuild |
29 |
@@ -0,0 +1,38 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{7..9} ) |
36 |
+inherit distutils-r1 |
37 |
+ |
38 |
+MY_P=${P/-/.} |
39 |
+DESCRIPTION="NFS-safe file locking with timeouts for POSIX systems" |
40 |
+HOMEPAGE="https://gitlab.com/warsaw/flufl.lock" |
41 |
+SRC_URI="mirror://pypi/${PN::1}/${PN/-/.}/${MY_P}.tar.gz" |
42 |
+S=${WORKDIR}/${MY_P} |
43 |
+ |
44 |
+LICENSE="Apache-2.0" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~x86" |
47 |
+ |
48 |
+RDEPEND=" |
49 |
+ dev-python/atpublic[${PYTHON_USEDEP}] |
50 |
+ dev-python/psutil[${PYTHON_USEDEP}] |
51 |
+ $(python_gen_cond_dep ' |
52 |
+ dev-python/typing-extensions[${PYTHON_USEDEP}] |
53 |
+ ' python3_7)" |
54 |
+BDEPEND=" |
55 |
+ test? ( dev-python/sybil[${PYTHON_USEDEP}] )" |
56 |
+ |
57 |
+distutils_enable_tests pytest |
58 |
+ |
59 |
+src_prepare() { |
60 |
+ sed -i -e 's:--cov=flufl::' setup.cfg || die |
61 |
+ distutils-r1_src_prepare |
62 |
+} |
63 |
+ |
64 |
+python_install_all() { |
65 |
+ distutils-r1_python_install_all |
66 |
+ find "${D}" -name '*.pth' -delete || die |
67 |
+} |