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 4A77D138350 for ; Fri, 17 Apr 2020 20:33:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8D6B6E087E; Fri, 17 Apr 2020 20:33:48 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 69A01E087E for ; Fri, 17 Apr 2020 20:33:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 8C49234EFF6 for ; Fri, 17 Apr 2020 20:33:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id ECAF01D5 for ; Fri, 17 Apr 2020 20:33:44 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1587155621.39b0da7972d0944231ad94d972f1d5a7be43e69d.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pylibacl/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pylibacl/Manifest dev-python/pylibacl/pylibacl-0.5.4.ebuild X-VCS-Directories: dev-python/pylibacl/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 39b0da7972d0944231ad94d972f1d5a7be43e69d X-VCS-Branch: master Date: Fri, 17 Apr 2020 20:33:44 +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: d33753ae-08f6-4c9b-8950-6e49bacc1074 X-Archives-Hash: d35a0649be5333caf78ac27f0c112255 commit: 39b0da7972d0944231ad94d972f1d5a7be43e69d Author: Michał Górny gentoo org> AuthorDate: Fri Apr 17 20:30:52 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Apr 17 20:33:41 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39b0da79 dev-python/pylibacl: Also bump to 0.5.4 0.5.4 is the last version to support Python 2. Signed-off-by: Michał Górny gentoo.org> dev-python/pylibacl/Manifest | 1 + dev-python/pylibacl/pylibacl-0.5.4.ebuild | 35 +++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/dev-python/pylibacl/Manifest b/dev-python/pylibacl/Manifest index 3100c2755e0..def98125c96 100644 --- a/dev-python/pylibacl/Manifest +++ b/dev-python/pylibacl/Manifest @@ -1,2 +1,3 @@ DIST pylibacl-0.5.4_p20191217.tar.gz 40283 BLAKE2B dfe5baababe4cce24bc12dd61263c30160e93be7dc0625abdcad9e4daed19c5ac1ebf43351f9f5815884162258884cd8c7e2edb323ec9ce51247a43d53fea20e SHA512 6d4a84e1885a2000226f956580a8e767216d6280d4b8ae1066e6a1c1f82708d06a4f2eacc3ae45ff7ae3b122125da9fb6afbaae038e117b63cd7d91ac95e2624 DIST pylibacl-v0.5.3.tar.gz 32792 BLAKE2B 005785dda2b7933ff71dd1296b1d4315a6492fc893aba56136c775f78b9aa3bd8f9d4898bbe0160fac53a306329977ddaecd073739531ba42dd0b6cc622b9eef SHA512 ea648acc3df9e1cf2fd68576b0b691a353b257d00b74fc80aa7f60089b9dbc912452ebe6b84da2930cac888b9047740530dd0e38b4d5be52c37fc6d3a29a7ce2 +DIST pylibacl-v0.5.4.tar.gz 35599 BLAKE2B 7970e9c688e5c1983a761d733836197783646bd612585e78feced37bd00a677f4b63382a3619d3261bc7a95ed1d0c62e2d255bba13faeaa9a197ea175e8ca088 SHA512 41de72dd29ffd6a8ddde2008eb440fb34c151b2e77b5187af919909d9785e46d0eea3b605d1e39408a4e3c17a856958fef916c1f6e557fd11454e6ed8bf120e8 diff --git a/dev-python/pylibacl/pylibacl-0.5.4.ebuild b/dev-python/pylibacl/pylibacl-0.5.4.ebuild new file mode 100644 index 00000000000..26cae8f2707 --- /dev/null +++ b/dev-python/pylibacl/pylibacl-0.5.4.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{6,7,8} ) + +inherit distutils-r1 + +DESCRIPTION="POSIX ACLs (Access Control Lists) for Python" +HOMEPAGE=" + https://pylibacl.k1024.org/ + https://pypi.org/project/pylibacl/ + https://github.com/iustin/pylibacl/" +SRC_URI="https://github.com/iustin/pylibacl/archive/${PN}-v${PV}.tar.gz" +S=${WORKDIR}/${PN}-${PN}-v${PV} + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" + +RDEPEND="sys-apps/acl" +DEPEND=${RDEPEND} + +python_test() { + if ! "${EPYTHON}" test/test_acls.py -v; then + eerror + eerror "If you got the following errors:" + eerror "\"IOError: [Errno 95] Operation not supported\"," + eerror "then you should remount the filesystem containing" + eerror "build directory with \"acl\" option enabled." + eerror + die "Tests fail with ${EPYTHON}" + fi +}