summaryrefslogtreecommitdiff
path: root/dev-python/flufl-lock
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/flufl-lock')
-rw-r--r--dev-python/flufl-lock/Manifest3
-rw-r--r--dev-python/flufl-lock/files/flufl-lock-dontinstalltests.diff12
-rw-r--r--dev-python/flufl-lock/flufl-lock-5.0.1.ebuild29
3 files changed, 44 insertions, 0 deletions
diff --git a/dev-python/flufl-lock/Manifest b/dev-python/flufl-lock/Manifest
index e800088eac0c..b9964c38c6dd 100644
--- a/dev-python/flufl-lock/Manifest
+++ b/dev-python/flufl-lock/Manifest
@@ -1,3 +1,6 @@
+AUX flufl-lock-dontinstalltests.diff 554 BLAKE2B 4440739b038f1a73e035555028152c14ceca39ad42ddbd5457c839c154d12160fbd6d3da1c4f0e24977b9f2d0f117fd031e2f65599198172a61ea0f19a39b84e SHA512 e0a918f69563e5573fb245736ebf7557ad98e917cf9cac51d331fa7265a6a46f3b9b1fee0f14f66d0d8ffb8d4e5b57cbc4271f3b95362ce0029e36046138b578
DIST flufl-lock-3.2.tar.gz 19250 BLAKE2B 230d7122fb6db1b4002e5732a878d597837f1c8cb10b85f4c131f793f820dc0b76a494504aef89845be4f7bdfab94b17573f83002712c245206c9ce25fac893a SHA512 496195e1c52f628bc6c0e8fc3dcd5373ed01cfee35b6165cae37ab4b90d70265c6a0aea565f1e0663277c2b9e9bafde8af1420133a15e6254275fad2f28a56d0
+DIST flufl-lock-5.0.1.tar.gz 27788 BLAKE2B 2651898e881719f24bc61e14f697877ca39f2747fadf52de1a5fc917b26e23001df5f0a4ea2e48271da69198e1a1336e69cc0167a4f46fddd21f464b355fa4ca SHA512 f937fb6c7f7bef2b85674225f83f3162f34db3fe2df3d9a896f772c4489c3e0611361e3d1d9efda7727112d780f31022d3045d3a3b8e78e9412aca2f2418ca24
EBUILD flufl-lock-3.2.ebuild 574 BLAKE2B 2ff8d9470afef5e042e561a721c6e77c3750fc25aa7f918e88e3c0917b773aab69de40c422d4c8fce37f8b121d976ebb1fbebdd6522b6fc98a8b487a445d732f SHA512 087e144a6c232a0467c50f0bd848ca6632c955abf9741c51e59f88004d8b2066d3a8edf76346d87ff320ea8918ba1c88deaaea95fcd4acb429183070c42d5bcd
+EBUILD flufl-lock-5.0.1.ebuild 820 BLAKE2B c8e28bcccbb13b75000f16c00ddb0b4c77da2c2c75fdc731bbbc5bb3562d7fe1dfdd38d539b03fa6bee3139ed91c597827b183b7ed1a2482d7d42aaa89b293c4 SHA512 bdd9e3c75e563e67063692d629cdc9d0c05eec760ca9e74f51f20a96df5b14bedacedead8fa4f4a0534d90f09feca1a8367ec15ad46e9db45a079dac9de5bf6a
MISC metadata.xml 333 BLAKE2B 1a681ac99aee289a919b530bb87037df6fe53b044ce14ce3a9da3cec54a73d7fde58cf01f12678f18397d16b56c9e5bf88d289ddec4469e343d7193502124124 SHA512 a73512d246562e6591eb9c8d13759352cede7f0ae978d02c87bd72b1fe2c9b155cc3908e8489b136387bada61f1257d8e0771e01e26d998b51f9ce13c087ec41
diff --git a/dev-python/flufl-lock/files/flufl-lock-dontinstalltests.diff b/dev-python/flufl-lock/files/flufl-lock-dontinstalltests.diff
new file mode 100644
index 000000000000..3cd5bfba99ed
--- /dev/null
+++ b/dev-python/flufl-lock/files/flufl-lock-dontinstalltests.diff
@@ -0,0 +1,12 @@
+diff -Naurp a/setup.py b/setup.py
+--- a/setup.py 2020-08-20 06:35:06.000000000 +0200
++++ b/setup.py 2020-09-27 17:50:43.776476265 +0200
+@@ -24,7 +24,7 @@ setup(
+ keywords='locking locks lock',
+ url='https://flufllock.readthedocs.io',
+ download_url='https://pypi.python.org/pypi/flufl.lock',
+- packages=find_namespace_packages(where='.'),
++ packages=find_namespace_packages(where='.', exclude=['tests', 'docs']),
+ namespace_packages=['flufl'],
+ include_package_data=True,
+ # readthedocs builds fail unless zip_safe is False.
diff --git a/dev-python/flufl-lock/flufl-lock-5.0.1.ebuild b/dev-python/flufl-lock/flufl-lock-5.0.1.ebuild
new file mode 100644
index 000000000000..29e78cd92cc3
--- /dev/null
+++ b/dev-python/flufl-lock/flufl-lock-5.0.1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+inherit distutils-r1
+
+MY_PN=${PN/-/.}
+
+DESCRIPTION="NFS-safe file locking with timeouts for POSIX systems."
+HOMEPAGE="https://gitlab.com/warsaw/flufl.lock"
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+RDEPEND="dev-python/atpublic[${PYTHON_USEDEP}]
+ dev-python/psutil[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ dev-python/typing-extensions[${PYTHON_USEDEP}]
+ ' python3_{6,7})"
+
+# See https://gitlab.com/warsaw/flufl.lock/-/issues/22
+PATCHES=( "${FILESDIR}/flufl-lock-dontinstalltests.diff" )