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 51432139695 for ; Tue, 9 May 2017 18:43:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 74CC121C0A6; Tue, 9 May 2017 18:43:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4F53C21C08B for ; Tue, 9 May 2017 18:43:27 +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 09A163416BF for ; Tue, 9 May 2017 18:43:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5E10B7453 for ; Tue, 9 May 2017 18:43:24 +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: <1494355394.619be1feaa18eb694ff4c4223538c83f254f093e.mgorny@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/metadata.xml dev-python/namespace-paste/namespace-paste-1.ebuild X-VCS-Directories: dev-python/namespace-paste/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 619be1feaa18eb694ff4c4223538c83f254f093e X-VCS-Branch: master Date: Tue, 9 May 2017 18:43:24 +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: 45878bc6-5dad-461e-9c1a-5a4412403c19 X-Archives-Hash: 4d224bbe8905749c80d99fe069700ee0 commit: 619be1feaa18eb694ff4c4223538c83f254f093e Author: Michał Górny gentoo org> AuthorDate: Tue May 9 17:22:56 2017 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue May 9 18:43:14 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=619be1fe dev-python/namespace-paste: Namespace package for paste.* dev-python/namespace-paste/metadata.xml | 7 +++++ .../namespace-paste/namespace-paste-1.ebuild | 33 ++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/dev-python/namespace-paste/metadata.xml b/dev-python/namespace-paste/metadata.xml new file mode 100644 index 00000000000..266e3f19ca5 --- /dev/null +++ b/dev-python/namespace-paste/metadata.xml @@ -0,0 +1,7 @@ + + + + + python@gentoo.org + + diff --git a/dev-python/namespace-paste/namespace-paste-1.ebuild b/dev-python/namespace-paste/namespace-paste-1.ebuild new file mode 100644 index 00000000000..760dcb9e090 --- /dev/null +++ b/dev-python/namespace-paste/namespace-paste-1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_{4,5,6}} ) +inherit python-r1 + +DESCRIPTION="Namespace package declaration for paste" +HOMEPAGE="" +SRC_URI="" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~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 +}