From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D69E5138359 for ; Sun, 27 Sep 2020 16:02:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0E81FE07F9; Sun, 27 Sep 2020 16:02:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E76B7E07F9 for ; Sun, 27 Sep 2020 16:02:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6C7E034097F for ; Sun, 27 Sep 2020 16:02:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E72B4365 for ; Sun, 27 Sep 2020 16:02:09 +0000 (UTC) From: "Hanno Böck" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hanno Böck" Message-ID: <1601222521.cf27d3e11936edaf00cc227ace38758b98a27e86.hanno@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/flufl-lock/files/, dev-python/flufl-lock/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/flufl-lock/Manifest dev-python/flufl-lock/files/flufl-lock-dontinstalltests.diff dev-python/flufl-lock/flufl-lock-5.0.1.ebuild X-VCS-Directories: dev-python/flufl-lock/ dev-python/flufl-lock/files/ X-VCS-Committer: hanno X-VCS-Committer-Name: Hanno Böck X-VCS-Revision: cf27d3e11936edaf00cc227ace38758b98a27e86 X-VCS-Branch: master Date: Sun, 27 Sep 2020 16:02:09 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2e17b380-8a74-47b2-90be-7d97a0690b35 X-Archives-Hash: 03b209e6c56bee12683bd33f43365bcc commit: cf27d3e11936edaf00cc227ace38758b98a27e86 Author: Hanno Böck gentoo org> AuthorDate: Sun Sep 27 16:02:01 2020 +0000 Commit: Hanno Böck gentoo org> CommitDate: Sun Sep 27 16:02:01 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf27d3e1 dev-python/flufl-lock: Bump and python 3.8 Patch upstream bug that installs docs/tests into global namespace. Closes: https://bugs.gentoo.org/743923 Signed-off-by: Hanno Böck gentoo.org> Package-Manager: Portage-3.0.8, Repoman-3.0.1 dev-python/flufl-lock/Manifest | 1 + .../files/flufl-lock-dontinstalltests.diff | 12 +++++++++ dev-python/flufl-lock/flufl-lock-5.0.1.ebuild | 29 ++++++++++++++++++++++ 3 files changed, 42 insertions(+) diff --git a/dev-python/flufl-lock/Manifest b/dev-python/flufl-lock/Manifest index bd3d93f7f12..fe5c14b99c3 100644 --- a/dev-python/flufl-lock/Manifest +++ b/dev-python/flufl-lock/Manifest @@ -1 +1,2 @@ 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 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 00000000000..3cd5bfba99e --- /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 00000000000..29e78cd92cc --- /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" )