public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] dev/mrueg:master commit in: dev-python/pythondialog/
@ 2015-07-11 14:02 Manuel Rüger
  0 siblings, 0 replies; 5+ messages in thread
From: Manuel Rüger @ 2015-07-11 14:02 UTC (permalink / raw
  To: gentoo-commits

commit:     cc2002f6e0ac28f7ea2ebd86caa82ba6e9d1cc73
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 11 14:02:21 2015 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Sat Jul 11 14:02:21 2015 +0000
URL:        https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=cc2002f6

[dev-python/pythondialog] Add python2 support.

Package-Manager: portage-2.2.20

 dev-python/pythondialog/Manifest                  |  2 +
 dev-python/pythondialog/metadata.xml              | 11 ++++
 dev-python/pythondialog/pythondialog-3.3.0.ebuild | 72 +++++++++++++++++++++++
 3 files changed, 85 insertions(+)

diff --git a/dev-python/pythondialog/Manifest b/dev-python/pythondialog/Manifest
new file mode 100644
index 0000000..faa90ff
--- /dev/null
+++ b/dev-python/pythondialog/Manifest
@@ -0,0 +1,2 @@
+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/metadata.xml b/dev-python/pythondialog/metadata.xml
new file mode 100644
index 0000000..8d29f44
--- /dev/null
+++ b/dev-python/pythondialog/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer>
+		<email>mrueg@gentoo.org</email>
+		<name>Manuel Rüger</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="sourceforge">pythondialog</remote-id>
+	</upstream>
+</pkgmetadata>

diff --git a/dev-python/pythondialog/pythondialog-3.3.0.ebuild b/dev-python/pythondialog/pythondialog-3.3.0.ebuild
new file mode 100644
index 0000000..e1f49ce
--- /dev/null
+++ b/dev-python/pythondialog/pythondialog-3.3.0.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+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
+			pushd "${BUILD_DIR}" > /dev/null
+		else
+			cp -r -l "${WORKDIR}/python2-${P}" "${BUILD_DIR}" || die
+			pushd "${BUILD_DIR}" > /dev/null
+		fi
+			sed -e "/^    'sphinx.ext.intersphinx',/d" -i doc/conf.py || die
+			popd > /dev/null
+			distutils-r1_python_prepare
+	}
+	python_foreach_impl preparation
+	distutils-r1_python_prepare_all
+}
+
+src_compile() {
+	compile () {
+		if [[ -z $DOC_BUILT ]]; then
+			use doc && emake -C doc html
+			export DOC_BUILT=1
+		fi
+			distutils-r1_python_compile
+	}
+	python_foreach_impl run_in_build_dir compile
+}
+
+src_install() {
+	install () {
+		if [[ -z $EXAMPLES_INSTALLED ]]; then
+			use examples && local EXAMPLES=( examples/. )
+			export EXAMPLES_INSTALLED=1
+		fi
+		if [[ -z $DOCS_INSTALLED ]]; then
+			use doc && local HTML_DOCS=( doc/_build/html/. )
+			export DOCS_INSTALLED=1
+		fi
+		distutils-r1_python_install
+		distutils-r1_python_install_all
+	}
+	python_foreach_impl run_in_build_dir install
+}
+
+run_in_build_dir() {
+	pushd "${BUILD_DIR}" > /dev/null || die
+	"$@"
+	popd > /dev/null || die
+}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] dev/mrueg:master commit in: dev-python/pythondialog/
@ 2015-07-11 14:07 Manuel Rüger
  0 siblings, 0 replies; 5+ messages in thread
From: Manuel Rüger @ 2015-07-11 14:07 UTC (permalink / raw
  To: gentoo-commits

commit:     65456d823cec3271a5c505eda2b40d92e9574968
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 11 14:06:53 2015 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Sat Jul 11 14:06:53 2015 +0000
URL:        https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=65456d82

[dev-python/pythondialog] Bump revision.

Package-Manager: portage-2.2.20

 .../{pythondialog-3.3.0.ebuild => pythondialog-3.3.0-r1.ebuild}           | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/dev-python/pythondialog/pythondialog-3.3.0.ebuild b/dev-python/pythondialog/pythondialog-3.3.0-r1.ebuild
similarity index 100%
rename from dev-python/pythondialog/pythondialog-3.3.0.ebuild
rename to dev-python/pythondialog/pythondialog-3.3.0-r1.ebuild


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gentoo-commits] dev/mrueg:master commit in: dev-python/pythondialog/
@ 2015-07-11 15:00 Manuel Rüger
  0 siblings, 0 replies; 5+ messages in thread
From: Manuel Rüger @ 2015-07-11 15:00 UTC (permalink / raw
  To: gentoo-commits

commit:     8257273a38e0d26df95aa8f3e58e876b70c9fb2e
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 11 14:59:55 2015 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Sat Jul 11 14:59:55 2015 +0000
URL:        https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=8257273a

[dev-python/pythondialog] Improve ebuild style.

Package-Manager: portage-2.2.20

 .../pythondialog/pythondialog-3.3.0-r1.ebuild      | 42 ++++++++--------------
 1 file changed, 15 insertions(+), 27 deletions(-)

diff --git a/dev-python/pythondialog/pythondialog-3.3.0-r1.ebuild b/dev-python/pythondialog/pythondialog-3.3.0-r1.ebuild
index e1f49ce..5effae6 100644
--- a/dev-python/pythondialog/pythondialog-3.3.0-r1.ebuild
+++ b/dev-python/pythondialog/pythondialog-3.3.0-r1.ebuild
@@ -25,48 +25,36 @@ src_prepare() {
 	preparation() {
 		if python_is_python3; then
 			cp -r -l "${WORKDIR}/${P}" "${BUILD_DIR}" || die
-			pushd "${BUILD_DIR}" > /dev/null
 		else
 			cp -r -l "${WORKDIR}/python2-${P}" "${BUILD_DIR}" || die
-			pushd "${BUILD_DIR}" > /dev/null
 		fi
+			pushd "${BUILD_DIR}" > /dev/null
 			sed -e "/^    'sphinx.ext.intersphinx',/d" -i doc/conf.py || die
 			popd > /dev/null
-			distutils-r1_python_prepare
 	}
 	python_foreach_impl preparation
 	distutils-r1_python_prepare_all
 }
 
-src_compile() {
-	compile () {
+python_compile() {
 		if [[ -z $DOC_BUILT ]]; then
+			pushd "${BUILD_DIR}" > /dev/null || die
 			use doc && emake -C doc html
-			export DOC_BUILT=1
+			DOC_BUILT=1
+			popd > /dev/null || die
 		fi
-			distutils-r1_python_compile
-	}
-	python_foreach_impl run_in_build_dir compile
-}
-
-src_install() {
-	install () {
-		if [[ -z $EXAMPLES_INSTALLED ]]; then
-			use examples && local EXAMPLES=( examples/. )
-			export EXAMPLES_INSTALLED=1
-		fi
-		if [[ -z $DOCS_INSTALLED ]]; then
-			use doc && local HTML_DOCS=( doc/_build/html/. )
-			export DOCS_INSTALLED=1
-		fi
-		distutils-r1_python_install
-		distutils-r1_python_install_all
-	}
-	python_foreach_impl run_in_build_dir install
 }
 
-run_in_build_dir() {
+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
 }


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] dev/mrueg:master commit in: dev-python/pythondialog/
@ 2015-10-11 11:44 Manuel Rüger
  0 siblings, 0 replies; 5+ messages in thread
From: Manuel Rüger @ 2015-10-11 11:44 UTC (permalink / raw
  To: gentoo-commits

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
+}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] dev/mrueg:master commit in: dev-python/pythondialog/
@ 2015-11-25 21:40 Manuel Rüger
  0 siblings, 0 replies; 5+ messages in thread
From: Manuel Rüger @ 2015-11-25 21:40 UTC (permalink / raw
  To: gentoo-commits

commit:     fea3cc393340d14b10a5f6e7928ea273279d428d
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 25 21:40:29 2015 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Wed Nov 25 21:40:29 2015 +0000
URL:        https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=fea3cc39

Moved to the tree

 dev-python/pythondialog/Manifest                   |  1 -
 dev-python/pythondialog/metadata.xml               | 11 -------
 .../pythondialog/pythondialog-3.3.0-r200.ebuild    | 38 ----------------------
 3 files changed, 50 deletions(-)

diff --git a/dev-python/pythondialog/Manifest b/dev-python/pythondialog/Manifest
deleted file mode 100644
index 6b36552..0000000
--- a/dev-python/pythondialog/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST python2-pythondialog-3.3.0.tar.gz 1906527 SHA256 3e6f593fead98f8a526bc3e306933533236e33729f552f52896ea504f55313fa SHA512 65ce7f9305e20b0c5e0d4588a241e0f14907ecad64f8a6bb3899a2d6e0245fdd848a8c4fb1da3465f03810a1e408fa97c46d9ec082c4ebba0c04a41293a23ea8 WHIRLPOOL 5fc43839b302956a42110e0d2e64bfb9f9b5ccada90cb69579afbb1211b7f117233a25f5bbb970c8b5033413c5c274e27c689e72c83a5887307fa11abc4dc6b8

diff --git a/dev-python/pythondialog/metadata.xml b/dev-python/pythondialog/metadata.xml
deleted file mode 100644
index 8d29f44..0000000
--- a/dev-python/pythondialog/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-	<maintainer>
-		<email>mrueg@gentoo.org</email>
-		<name>Manuel Rüger</name>
-	</maintainer>
-	<upstream>
-		<remote-id type="sourceforge">pythondialog</remote-id>
-	</upstream>
-</pkgmetadata>

diff --git a/dev-python/pythondialog/pythondialog-3.3.0-r200.ebuild b/dev-python/pythondialog/pythondialog-3.3.0-r200.ebuild
deleted file mode 100644
index e1f504e..0000000
--- a/dev-python/pythondialog/pythondialog-3.3.0-r200.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# 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
-}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-11-25 21:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-11 15:00 [gentoo-commits] dev/mrueg:master commit in: dev-python/pythondialog/ Manuel Rüger
  -- strict thread matches above, loose matches on Subject: below --
2015-11-25 21:40 Manuel Rüger
2015-10-11 11:44 Manuel Rüger
2015-07-11 14:07 Manuel Rüger
2015-07-11 14:02 Manuel Rüger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox