From: "Manuel Rüger" <mrueg@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/mrueg:master commit in: dev-python/pythondialog/
Date: Sun, 11 Oct 2015 11:44:34 +0000 (UTC) [thread overview]
Message-ID: <1444563854.b17db84efded2f27adee63484a967951e2e1c41b.mrueg@gentoo> (raw)
commit: b17db84efded2f27adee63484a967951e2e1c41b
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 11 11:44:14 2015 +0000
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> 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
+}
next reply other threads:[~2015-10-11 11:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-11 11:44 Manuel Rüger [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-11-25 21:40 [gentoo-commits] dev/mrueg:master commit in: dev-python/pythondialog/ Manuel Rüger
2015-07-11 15:00 Manuel Rüger
2015-07-11 14:07 Manuel Rüger
2015-07-11 14:02 Manuel Rüger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1444563854.b17db84efded2f27adee63484a967951e2e1c41b.mrueg@gentoo \
--to=mrueg@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox