diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-08-19 08:23:35 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-08-19 08:34:16 +0200 |
commit | 320cf16e32e33c78d8f0a4dfcded559c7cc118f1 (patch) | |
tree | 6eb502def76c4f9a45370b7fa44b53d2c6b0630b /dev-python/flufl-lock | |
parent | dev-python/atpublic: Enable py3.10 (diff) | |
download | gentoo-320cf16e32e33c78d8f0a4dfcded559c7cc118f1.tar.gz gentoo-320cf16e32e33c78d8f0a4dfcded559c7cc118f1.tar.bz2 gentoo-320cf16e32e33c78d8f0a4dfcded559c7cc118f1.zip |
dev-python/flufl-lock: Bump to 6.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/flufl-lock')
-rw-r--r-- | dev-python/flufl-lock/Manifest | 1 | ||||
-rw-r--r-- | dev-python/flufl-lock/flufl-lock-6.0.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-python/flufl-lock/Manifest b/dev-python/flufl-lock/Manifest index b8bf470792a5..a5a0db49cf59 100644 --- a/dev-python/flufl-lock/Manifest +++ b/dev-python/flufl-lock/Manifest @@ -2,3 +2,4 @@ DIST flufl-lock-5.0.1.tar.gz 27788 BLAKE2B 2651898e881719f24bc61e14f697877ca39f2 DIST flufl.lock-5.0.4.tar.gz 29486 BLAKE2B 3fc6c3bfdac3c877c82f9f56e739342604be9f855a42a99bd06e5fb89fe8b3bc4cabd2e357e8e0992f7aa3f5ec7ea4a18e1f59a05beeeed7074a72440d3f6b9b SHA512 c08d8115c836f7523887d86539e9f11a2007913936fd8a4a116a610b648adf289fb086e8904b2163a6af7449e92a6edf9fad09fb770a34473768ffc4d8eb146e DIST flufl.lock-5.0.5.tar.gz 29537 BLAKE2B 978581adb55ce468ed2dd0f84978234a54293ee7cda4517dcdda2a2fc3507c965c419424f6a6bdc8cccbc15b14ebb739ff02e0c00d427f4f92afc31f913d0201 SHA512 11d0dde6addd34fd3812b346d851692addee49e7a65620acae87da791051f89638036a652645cb7fe34edd786afe3112bf5efb3fe4aa36760e2054622b0c1c8e DIST flufl.lock-5.1.tar.gz 29652 BLAKE2B c5b5bbfb284945d2232e8183084e4f9b24518962e2b8bf229bfd10d2e0629f0d248daf8cae544cbf50ec24c57ff2744c3cae4a4de756bdbd11fe51e810ac2eb6 SHA512 fbfc28e4e34e47b92a5b4e6d1771bf2b53ee052947d2f05d3392c3db156c5d14632ad63e0ac5b2934b8dc00176f6ff5b5fe1ff87358056ab9d71c2bb7f2c0498 +DIST flufl.lock-6.0.tar.gz 30762 BLAKE2B 98e259f04aac565271e7918223c1bc8abd528f91fd04490a519b482c0d12bbf954f0c678f89d990bc036df5000fb5587e1689d6fc0cd499ed7fe806a1e3125f5 SHA512 cbd41f1dedb91fc120c3f3e20c15f25a39b0ce5b27a2c4fcedad301e91156d5291b35ff961c38a5a7d43c40fdfa2a879a2ba427f1b17994678fbba797e7a234b diff --git a/dev-python/flufl-lock/flufl-lock-6.0.ebuild b/dev-python/flufl-lock/flufl-lock-6.0.ebuild new file mode 100644 index 000000000000..365c8d1b0d42 --- /dev/null +++ b/dev-python/flufl-lock/flufl-lock-6.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 + +MY_P=${P/-/.} +DESCRIPTION="NFS-safe file locking with timeouts for POSIX systems" +HOMEPAGE="https://gitlab.com/warsaw/flufl.lock" +SRC_URI="mirror://pypi/${PN::1}/${PN/-/.}/${MY_P}.tar.gz" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/atpublic[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( dev-python/sybil[${PYTHON_USEDEP}] )" + +distutils_enable_tests pytest + +src_prepare() { + sed -i -e 's:--cov=flufl --cov-report=term --cov-report=xml::' \ + setup.cfg || die + distutils-r1_src_prepare +} + +python_install_all() { + distutils-r1_python_install_all + find "${D}" -name '*.pth' -delete || die +} |