From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id D990B13888F for ; Sun, 11 Oct 2015 11:44:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 55FA8E0804; Sun, 11 Oct 2015 11:44:42 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D5B16E0804 for ; Sun, 11 Oct 2015 11:44:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E0338340666 for ; Sun, 11 Oct 2015 11:44:35 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 970B0922 for ; Sun, 11 Oct 2015 11:44:34 +0000 (UTC) From: "Manuel Rüger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Manuel Rüger" Message-ID: <1444563854.b17db84efded2f27adee63484a967951e2e1c41b.mrueg@gentoo> Subject: [gentoo-commits] dev/mrueg:master commit in: dev-python/pythondialog/ X-VCS-Repository: dev/mrueg X-VCS-Files: dev-python/pythondialog/Manifest dev-python/pythondialog/pythondialog-3.3.0-r1.ebuild dev-python/pythondialog/pythondialog-3.3.0-r200.ebuild X-VCS-Directories: dev-python/pythondialog/ X-VCS-Committer: mrueg X-VCS-Committer-Name: Manuel Rüger X-VCS-Revision: b17db84efded2f27adee63484a967951e2e1c41b X-VCS-Branch: master Date: Sun, 11 Oct 2015 11:44:34 +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: 8792d4cf-b16f-494f-8913-2e327abfc1e1 X-Archives-Hash: 39742c509723d841ca296a84ec59ed14 commit: b17db84efded2f27adee63484a967951e2e1c41b Author: Manuel Rüger gentoo org> AuthorDate: Sun Oct 11 11:44:14 2015 +0000 Commit: Manuel Rüger gentoo org> CommitDate: Sun Oct 11 11:44:14 2015 +0000 URL: https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=b17db84e dev-python/pythondialog: Revbump to create python2 package Upstream provides two separate packages for python2 and python3. Of which the python2 might be the last release. This makes it easier to maintain. Thanks to Ian Delany Package-Manager: portage-2.2.23 dev-python/pythondialog/Manifest | 1 - .../pythondialog/pythondialog-3.3.0-r1.ebuild | 60 ---------------------- .../pythondialog/pythondialog-3.3.0-r200.ebuild | 38 ++++++++++++++ 3 files changed, 38 insertions(+), 61 deletions(-) diff --git a/dev-python/pythondialog/Manifest b/dev-python/pythondialog/Manifest index faa90ff..6b36552 100644 --- a/dev-python/pythondialog/Manifest +++ b/dev-python/pythondialog/Manifest @@ -1,2 +1 @@ DIST python2-pythondialog-3.3.0.tar.gz 1906527 SHA256 3e6f593fead98f8a526bc3e306933533236e33729f552f52896ea504f55313fa SHA512 65ce7f9305e20b0c5e0d4588a241e0f14907ecad64f8a6bb3899a2d6e0245fdd848a8c4fb1da3465f03810a1e408fa97c46d9ec082c4ebba0c04a41293a23ea8 WHIRLPOOL 5fc43839b302956a42110e0d2e64bfb9f9b5ccada90cb69579afbb1211b7f117233a25f5bbb970c8b5033413c5c274e27c689e72c83a5887307fa11abc4dc6b8 -DIST python3-pythondialog-3.3.0.tar.bz2 1827891 SHA256 e4ace5b09d712992b7327249e375e49608127666679b2ca9fd48141e218ec998 SHA512 b651593f077f6679be030182ac5f14a02d8bad86206c2733ba8b655d346809a32ea391de91e35101d400c55d9e8ecefaf6f1ba25fec036246186e13530f43a1f WHIRLPOOL 267a2ee4215fd53d7faaf88a02ee544e88eafdd5b1f4c45c4ba535fe46dbed41a1ebae72b0dae00fedb30cfb1fcd245e0439077f538d128137e8c8caca6bba70 diff --git a/dev-python/pythondialog/pythondialog-3.3.0-r1.ebuild b/dev-python/pythondialog/pythondialog-3.3.0-r1.ebuild deleted file mode 100644 index 3213edd..0000000 --- a/dev-python/pythondialog/pythondialog-3.3.0-r1.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="A Python module for making simple text/console-mode user interfaces" -HOMEPAGE="http://pythondialog.sourceforge.net/ https://pypi.python.org/pypi/python2-pythondialog" -SRC_URI="mirror://sourceforge/pythondialog//${PV}/python3-${P}.tar.bz2 mirror://pypi/${PN:0:1}/python2-${PN}/python2-${P}.tar.gz" - -LICENSE="LGPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86" -IUSE="doc examples" - -RDEPEND="dev-util/dialog" -DEPEND="doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" - -S=${WORKDIR} - -src_prepare() { - preparation() { - if python_is_python3; then - cp -r -l "${WORKDIR}/${P}" "${BUILD_DIR}" || die - else - cp -r -l "${WORKDIR}/python2-${P}" "${BUILD_DIR}" || die - fi - pushd "${BUILD_DIR}" > /dev/null - sed -e "/^ 'sphinx.ext.intersphinx',/d" -i doc/conf.py || die - popd > /dev/null - } - python_foreach_impl preparation - distutils-r1_python_prepare_all -} - -python_compile() { - if [[ -z $DOC_BUILT ]]; then - pushd "${BUILD_DIR}" > /dev/null || die - use doc && emake -C doc html - DOC_BUILT=1 - popd > /dev/null || die - fi -} - -python_install() { - pushd "${BUILD_DIR}" > /dev/null || die - if [[ -z $EXAMPLES_INSTALLED ]]; then - use examples && local EXAMPLES=( examples/. ) - EXAMPLES_INSTALLED=1 - fi - if [[ -z $DOCS_INSTALLED ]]; then - use doc && local HTML_DOCS=( doc/_build/html/. ) - DOCS_INSTALLED=1 - fi - distutils-r1_python_install_all - popd > /dev/null || die -} diff --git a/dev-python/pythondialog/pythondialog-3.3.0-r200.ebuild b/dev-python/pythondialog/pythondialog-3.3.0-r200.ebuild new file mode 100644 index 0000000..e1f504e --- /dev/null +++ b/dev-python/pythondialog/pythondialog-3.3.0-r200.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python2_7 pypy ) + +inherit distutils-r1 + +DESCRIPTION="A Python module for making simple text/console-mode user interfaces" +HOMEPAGE="http://pythondialog.sourceforge.net/ https://pypi.python.org/pypi/python2-pythondialog" +SRC_URI="mirror://pypi/${PN:0:1}/python2-${PN}/python2-${P}.tar.gz" + +LICENSE="LGPL-2" +SLOT="python-2" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86" +IUSE="doc examples" + +RDEPEND="dev-util/dialog" +DEPEND="doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" + +S=${WORKDIR}/python2-${P} + +python_prepare_all() { + sed -e "/^ 'sphinx.ext.intersphinx',/d" -i doc/conf.py || die + distutils-r1_python_prepare_all +} + +python_compile_all() { + use doc && emake -C doc html +} + +python_install_all() { + use examples && local EXAMPLES=( examples/. ) + use doc && local HTML_DOCS=( doc/_build/html/. ) + + distutils-r1_python_install_all +}