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 B9CC8138336 for ; Fri, 9 Nov 2018 14:21:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D8132E0D1D; Fri, 9 Nov 2018 14:21:01 +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 B368BE0D1D for ; Fri, 9 Nov 2018 14:21:01 +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 1DF0E335CEC for ; Fri, 9 Nov 2018 14:21:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 09F8C464 for ; Fri, 9 Nov 2018 14:20:58 +0000 (UTC) From: "Alexey Shvetsov" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexey Shvetsov" Message-ID: <1541773206.7fd18acee9712cd4fa02f39dffc8f9e1e7af2256.alexxy@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/namespace-paste/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/namespace-paste/namespace-paste-1-r1.ebuild X-VCS-Directories: dev-python/namespace-paste/ X-VCS-Committer: alexxy X-VCS-Committer-Name: Alexey Shvetsov X-VCS-Revision: 7fd18acee9712cd4fa02f39dffc8f9e1e7af2256 X-VCS-Branch: master Date: Fri, 9 Nov 2018 14:20:58 +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-Archives-Salt: f809a33c-9da3-45a4-9c92-f293d7675354 X-Archives-Hash: 17dee1c8196cb29cfdb8a1dc289a9172 commit: 7fd18acee9712cd4fa02f39dffc8f9e1e7af2256 Author: Alexey Shvetsov gentoo org> AuthorDate: Fri Nov 9 14:07:45 2018 +0000 Commit: Alexey Shvetsov gentoo org> CommitDate: Fri Nov 9 14:20:06 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fd18ace dev-python/namespace-paste: eapi7 + py3_7 Package-Manager: Portage-2.3.51, Repoman-2.3.12 Signed-off-by: Alexey Shvetsov gentoo.org> .../namespace-paste/namespace-paste-1-r1.ebuild | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/dev-python/namespace-paste/namespace-paste-1-r1.ebuild b/dev-python/namespace-paste/namespace-paste-1-r1.ebuild new file mode 100644 index 00000000000..8fe4d7da6cf --- /dev/null +++ b/dev-python/namespace-paste/namespace-paste-1-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} ) +inherit python-r1 + +DESCRIPTION="Namespace package declaration for paste" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Python/Namespace_packages" +SRC_URI="" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-solaris" +IUSE="" + +RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + ${PYTHON_DEPS}" +DEPEND="${PYTHON_DEPS}" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +src_unpack() { + mkdir -p "${S}"/paste || die + cat > "${S}"/paste/__init__.py <<-EOF || die + __import__('pkg_resources').declare_namespace(__name__) + EOF +} + +src_install() { + python_foreach_impl python_domodule paste +}