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 96F031382C5 for ; Wed, 13 May 2020 09:03:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B6499E0B83; Wed, 13 May 2020 09:03:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 9D6BFE0B83 for ; Wed, 13 May 2020 09:03:13 +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 1AE3D350506 for ; Wed, 13 May 2020 09:03:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BCB6823F for ; Wed, 13 May 2020 09:03:09 +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: <1589360578.c4a92df7b473c523351a9dd5ba769b464b77d6a1.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/appdirs/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/appdirs/appdirs-1.4.4.ebuild X-VCS-Directories: dev-python/appdirs/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: c4a92df7b473c523351a9dd5ba769b464b77d6a1 X-VCS-Branch: master Date: Wed, 13 May 2020 09:03: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: 355d276e-55a1-409c-9419-10ad343b60b4 X-Archives-Hash: ac0d89dc6c7e0b521f8c313fce762bdb commit: c4a92df7b473c523351a9dd5ba769b464b77d6a1 Author: Michał Górny gentoo org> AuthorDate: Wed May 13 08:22:42 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed May 13 09:02:58 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4a92df7 dev-python/appdirs: Add missing ebuild for 1.4.4 Signed-off-by: Michał Górny gentoo.org> dev-python/appdirs/appdirs-1.4.4.ebuild | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/dev-python/appdirs/appdirs-1.4.4.ebuild b/dev-python/appdirs/appdirs-1.4.4.ebuild new file mode 100644 index 00000000000..fcb6e362e93 --- /dev/null +++ b/dev-python/appdirs/appdirs-1.4.4.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# note the patch below +DISTUTILS_USE_SETUPTOOLS=no +PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Module for determining appropriate platform-specific dirs" +HOMEPAGE="https://github.com/ActiveState/appdirs" +SRC_URI="https://github.com/ActiveState/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +PATCHES=( "${FILESDIR}"/${PN}-1.4.4-distutils.patch ) + +python_test() { + "${PYTHON}" test/test_api.py -v || die "Tests fail with ${EPYTHON}" +}