* [gentoo-commits] repo/gentoo:master commit in: dev-python/bpython/files/, dev-python/bpython/
@ 2016-01-17 13:45 Andrey Grozin
0 siblings, 0 replies; 4+ messages in thread
From: Andrey Grozin @ 2016-01-17 13:45 UTC (permalink / raw
To: gentoo-commits
commit: d8bb57b1cb09f84af0b4dde1603f8e327dc067f2
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 17 13:34:59 2016 +0000
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Sun Jan 17 13:36:27 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8bb57b1
dev-python/bpython: cleaning old
Package-Manager: portage-2.2.26
dev-python/bpython/Manifest | 3 -
dev-python/bpython/bpython-0.13.1.ebuild | 67 ----------------------
dev-python/bpython/bpython-0.13.2.ebuild | 65 ---------------------
dev-python/bpython/bpython-0.14.1.ebuild | 62 --------------------
.../bpython/files/bpython-0.13-test_repl.patch | 34 -----------
dev-python/bpython/files/bpython-desktop.patch | 8 ---
6 files changed, 239 deletions(-)
diff --git a/dev-python/bpython/Manifest b/dev-python/bpython/Manifest
index 998118b..0f78ae9 100644
--- a/dev-python/bpython/Manifest
+++ b/dev-python/bpython/Manifest
@@ -1,5 +1,2 @@
-DIST bpython-0.13.1.tar.gz 156558 SHA256 ee208a60a54f902a8c827f4a80fda8a6235790d59cc1fc089943df50936accae SHA512 cb3f1e8d8df5eb9978956b3503ef98b1c39e80704792281be7e560ec0d648aefa6d979ab45a642ec369fc252e7fde399013aa1a4154ceb73465bc3d95bea4b19 WHIRLPOOL a5d00b92507d1970de95f20ee54723774432687b1f11637f3aa75f9e8979e93015034f37253bd947100436f8400cdbe2ba523b6517a7ba265950b3f20dc6f9db
-DIST bpython-0.13.2.tar.gz 158551 SHA256 a1870a78e44ed6ef54aa906c58234cb0d12011f2e9a49dc29bd5d9423abfbde2 SHA512 6bf74c9618bf92fc6ca23c9020b17219c64b16f159773624b67f87875c962857bde2dd4b03da621da7c8d50622739f95a880638c7c536f5f0dbf510c71f5a874 WHIRLPOOL 71da7518100bd73868ab53e1d13cb8831b0f6629713b993729948f38df52262537b8605f9304ff0edeca5e4f4d3435677c61e84b2d6fc54b2d66df74e756318c
-DIST bpython-0.14.1.tar.gz 184850 SHA256 d96224d55ffb99ef9d2565e9b18202080b3659408fcce2594c9ec7bde65d8eb1 SHA512 6583d74cae29244ceefcbb2aaf24e789dafd63f9295e3e848f9e298b958d4a344c606051a9efd7f5a728d3ad1b9e58d011931d14f7e60e7c1fbd8b38a2dd1b09 WHIRLPOOL f52e7660054af1547452d777801a79e028378ed1d2f3fdfd3a36e9e5a9154d8389a5eb37e108abef06eb178340be234dacc2b87567bcc37797d3f519b4ea6644
DIST bpython-0.14.2.tar.gz 184808 SHA256 d1f03c9b64a67219ef41aec258c95f192ade5fd187d48fe61b15c1f1d707e302 SHA512 aa6fb8a6fe08746c31783308423400bf2482c6401fc03a1cf1e95592b83946b49eb8df29ac274d0711e01e7b2dcad37c00a609b3b600c31774563d0638d67159 WHIRLPOOL fe6847da5bb0b5b72f9230d175dbe0812a010281bf6a022f87196f71426a37d116a3bf9292cdd20fcd465e56d9b7c3d975028d2bb3a07afacc5c87f3b4b3d0f6
DIST bpython-0.14.tar.gz 184430 SHA256 f7c9fc80fc5a4eb6a345a67815e31957c0c65c1bbdfc68cf99267cdc81a3d35b SHA512 1c43af30902ac01385a4f9d0af1f7531f190dea9ee0d43725d5a23d881874184beca1df9fc8f94f21110d99ca07a851861c56976199e9306515e2b00ca07f1f7 WHIRLPOOL 21dc44b48a0fb31d0c125fc203f90fe7750e81599353a51c215672ed82218fc3b4f544cdb530d6447d099e4eaa5983ad52b8f48e1e83bcf4799dad190af797eb
diff --git a/dev-python/bpython/bpython-0.13.1.ebuild b/dev-python/bpython/bpython-0.13.1.ebuild
deleted file mode 100644
index 4e37da2..0000000
--- a/dev-python/bpython/bpython-0.13.1.ebuild
+++ /dev/null
@@ -1,67 +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} )
-PYTHON_REQ_USE="ncurses"
-
-inherit distutils-r1
-
-DESCRIPTION="Syntax highlighting and autocompletion for the Python interpreter"
-HOMEPAGE="http://www.bpython-interpreter.org/ https://bitbucket.org/bobf/bpython/ https://pypi.python.org/pypi/bpython"
-SRC_URI="http://www.bpython-interpreter.org/releases/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc gtk test"
-
-RDEPEND="
- dev-python/pygments[${PYTHON_USEDEP}]
- dev-python/requests[${PYTHON_USEDEP}]
- dev-python/setuptools[${PYTHON_USEDEP}]
- gtk? ( dev-python/pygobject:2[$(python_gen_usedep python2_7)]
- dev-python/pygtk[$(python_gen_usedep python2_7)] )
- dev-python/urwid[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
- test? ( dev-python/mock[${PYTHON_USEDEP}] )"
-
-DOCS=( AUTHORS CHANGELOG TODO sample-config sample.theme light.theme )
-
-PATCHES=( "${FILESDIR}"/${PN}-desktop.patch
- "${FILESDIR}"/${PN}-0.13-test_repl.patch )
-
-# Req'd for clean build by each impl
-DISTUTILS_IN_SOURCE_BUILD=1
-
-python_compile_all() {
- if use doc; then
- sphinx-build -b html -c doc/sphinx/source/ \
- doc/sphinx/source/ doc/sphinx/source/html || die "docs build failed"
- fi
-}
-
-python_install() {
- distutils-r1_python_install
- if ! use gtk; then
- rm -f "${D}"usr/bin/bpython-gtk*
- # delete_unneeded_modules() {
- rm -f "${D}$(python_get_sitedir)/bpython/gtk_.py"
- fi
-}
-
-python_test() {
- pushd build/lib > /dev/null
- # https://bitbucket.org/bobf/bpython/issue/289/test-failures-in-latest-release-py27-py33
- sed -e s':test_enter:_&:' -i bpython/test/test_repl.py || die
-
- "${PYTHON}" -m unittest discover || die
- popd > /dev/null
-}
-
-python_install_all() {
- use doc && local HTML_DOCS=( doc/sphinx/source/html/. )
- distutils-r1_python_install_all
-}
diff --git a/dev-python/bpython/bpython-0.13.2.ebuild b/dev-python/bpython/bpython-0.13.2.ebuild
deleted file mode 100644
index 38e0c06..0000000
--- a/dev-python/bpython/bpython-0.13.2.ebuild
+++ /dev/null
@@ -1,65 +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} )
-PYTHON_REQ_USE="ncurses"
-
-inherit distutils-r1
-
-DESCRIPTION="Syntax highlighting and autocompletion for the Python interpreter"
-HOMEPAGE="http://www.bpython-interpreter.org/ https://bitbucket.org/bobf/bpython/ https://pypi.python.org/pypi/bpython"
-SRC_URI="http://www.bpython-interpreter.org/releases/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="doc gtk test"
-
-RDEPEND="dev-python/pygments[${PYTHON_USEDEP}]
- dev-python/requests[${PYTHON_USEDEP}]
- dev-python/setuptools[${PYTHON_USEDEP}]
- gtk? ( dev-python/pygobject:2[$(python_gen_usedep python2_7)]
- dev-python/pygtk[$(python_gen_usedep python2_7)] )
- dev-python/urwid[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
- test? ( dev-python/mock[${PYTHON_USEDEP}] )"
-
-DOCS=( AUTHORS CHANGELOG TODO sample-config sample.theme light.theme )
-
-PATCHES=( "${FILESDIR}"/${PN}-desktop.patch )
-
-# Req'd for clean build by each impl
-DISTUTILS_IN_SOURCE_BUILD=1
-
-python_compile_all() {
- if use doc; then
- sphinx-build -b html -c doc/sphinx/source/ \
- doc/sphinx/source/ doc/sphinx/source/html || die "docs build failed"
- fi
-}
-
-python_install() {
- distutils-r1_python_install
- if ! use gtk; then
- rm -f "${D}"usr/bin/bpython-gtk*
- # delete_unneeded_modules() {
- rm -f "${D}$(python_get_sitedir)/bpython/gtk_.py"
- fi
-}
-
-python_test() {
- pushd build/lib > /dev/null
- # https://bitbucket.org/bobf/bpython/issue/289/test-failures-in-latest-release-py27-py33
- sed -e s':test_enter:_&:' -i bpython/test/test_repl.py || die
-
- "${PYTHON}" -m unittest discover || die
- popd > /dev/null
-}
-
-python_install_all() {
- use doc && local HTML_DOCS=( doc/sphinx/source/html/. )
- distutils-r1_python_install_all
-}
diff --git a/dev-python/bpython/bpython-0.14.1.ebuild b/dev-python/bpython/bpython-0.14.1.ebuild
deleted file mode 100644
index 6d90b58..0000000
--- a/dev-python/bpython/bpython-0.14.1.ebuild
+++ /dev/null
@@ -1,62 +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 python3_{3,4} )
-
-PYTHON_REQ_USE="ncurses"
-
-inherit distutils-r1
-
-DESCRIPTION="Syntax highlighting and autocompletion for the Python interpreter"
-HOMEPAGE="http://www.bpython-interpreter.org/ https://bitbucket.org/bobf/bpython/ https://pypi.python.org/pypi/bpython"
-SRC_URI="
- http://www.bpython-interpreter.org/releases/${P}.tar.gz
- mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
- "
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc test"
-
-RDEPEND="
- >=dev-python/curtsies-0.1.18[${PYTHON_USEDEP}]
- <dev-python/curtsies-0.2.0[${PYTHON_USEDEP}]
- dev-python/greenlet[${PYTHON_USEDEP}]
- dev-python/jedi[${PYTHON_USEDEP}]
- dev-python/pygments[${PYTHON_USEDEP}]
- dev-python/requests[${PYTHON_USEDEP}]
- dev-python/setuptools[${PYTHON_USEDEP}]
- >=dev-python/six-1.5[${PYTHON_USEDEP}]
- dev-python/urwid[${PYTHON_USEDEP}]
- dev-python/watchdog[${PYTHON_USEDEP}]
- "
-DEPEND="${RDEPEND}
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
- test? ( dev-python/mock[${PYTHON_USEDEP}] )"
-
-DOCS=( AUTHORS CHANGELOG sample.theme light.theme )
-
-# Req'd for clean build by each impl
-DISTUTILS_IN_SOURCE_BUILD=1
-
-python_compile_all() {
- if use doc; then
- sphinx-build -b html -c doc/sphinx/source/ \
- doc/sphinx/source/ doc/sphinx/source/html || die "docs build failed"
- fi
-}
-
-python_test() {
- pushd build/lib > /dev/null
- "${PYTHON}" -m unittest discover || die
- popd > /dev/null
-}
-
-python_install_all() {
- use doc && local HTML_DOCS=( doc/sphinx/source/html/. )
- distutils-r1_python_install_all
-}
diff --git a/dev-python/bpython/files/bpython-0.13-test_repl.patch b/dev-python/bpython/files/bpython-0.13-test_repl.patch
deleted file mode 100644
index b71cfbe..0000000
--- a/dev-python/bpython/files/bpython-0.13-test_repl.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-https://bitbucket.org/thomasballinger/bpython-for-clean-patch/commits/94c4664c1303
-# HG changeset patch
-# User Thomas Ballinger <thomasballinger@gmail.com>
-# Date 1404088731 14400
-# Branch 0.13-bugfix
-# Node ID 94c4664c130303b1ae53629d6ebcff04f5d5d7ae
-# Parent 106c49981f5e2db325d543d24c063f9c38013023
-simplest possible fix for test that changes in py3.3
-
-diff --git a/bpython/test/test_repl.py b/bpython/test/test_repl.py
---- a/bpython/test/test_repl.py
-+++ b/bpython/test/test_repl.py
-@@ -1,4 +1,5 @@
- import os
-+import sys
- import unittest
- from itertools import islice
- from mock import Mock
-@@ -280,8 +281,12 @@
-
- self.assertTrue(self.repl.complete())
- self.assertTrue(hasattr(self.repl.completer,'matches'))
-- self.assertEqual(self.repl.completer.matches,
-- ['UnboundLocalError(', '__doc__'])
-+ if sys.version_info[0] == 3 and sys.version_info[1] >= 3:
-+ self.assertEqual(self.repl.completer.matches,
-+ ['ChildProcessError(', 'UnboundLocalError(', '__doc__'])
-+ else:
-+ self.assertEqual(self.repl.completer.matches,
-+ ['UnboundLocalError(', '__doc__'])
-
- # 2. Attribute tests
- def test_simple_attribute_complete(self):
-
diff --git a/dev-python/bpython/files/bpython-desktop.patch b/dev-python/bpython/files/bpython-desktop.patch
deleted file mode 100644
index 8598679..0000000
--- a/dev-python/bpython/files/bpython-desktop.patch
+++ /dev/null
@@ -1,8 +0,0 @@
-diff -r -U1 bpython-0.11.orig/data/bpython.desktop bpython-0.11/data/bpython.desktop
---- bpython-0.11.orig/data/bpython.desktop 2012-04-05 04:06:42.000000000 +0700
-+++ bpython-0.11/data/bpython.desktop 2012-11-15 17:20:09.000000000 +0700
-@@ -7,3 +7,3 @@
- Type=Application
--Categories=Development;Utility;ConsoleOnly;
-+Categories=Development;ConsoleOnly;
- StartupNotify=true
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/bpython/files/, dev-python/bpython/
@ 2016-10-12 14:10 Andrey Grozin
0 siblings, 0 replies; 4+ messages in thread
From: Andrey Grozin @ 2016-10-12 14:10 UTC (permalink / raw
To: gentoo-commits
commit: 900c6bed7375926fc47143f7b6e8efb5295f1682
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 12 14:10:04 2016 +0000
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Wed Oct 12 14:10:04 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=900c6bed
dev-python/bpython: cleaning old
Package-Manager: portage-2.3.0
dev-python/bpython/Manifest | 2 -
dev-python/bpython/bpython-0.14.2.ebuild | 59 --------------------------
dev-python/bpython/bpython-0.14.ebuild | 65 -----------------------------
dev-python/bpython/bpython-0.15-r1.ebuild | 59 --------------------------
dev-python/bpython/bpython-0.15.ebuild | 59 --------------------------
dev-python/bpython/files/bpython-0.14.patch | 14 -------
6 files changed, 258 deletions(-)
diff --git a/dev-python/bpython/Manifest b/dev-python/bpython/Manifest
index ab3ce25..15f15fa 100644
--- a/dev-python/bpython/Manifest
+++ b/dev-python/bpython/Manifest
@@ -1,5 +1,3 @@
DIST bpython-0.13.2.tar.gz 158551 SHA256 a1870a78e44ed6ef54aa906c58234cb0d12011f2e9a49dc29bd5d9423abfbde2 SHA512 6bf74c9618bf92fc6ca23c9020b17219c64b16f159773624b67f87875c962857bde2dd4b03da621da7c8d50622739f95a880638c7c536f5f0dbf510c71f5a874 WHIRLPOOL 71da7518100bd73868ab53e1d13cb8831b0f6629713b993729948f38df52262537b8605f9304ff0edeca5e4f4d3435677c61e84b2d6fc54b2d66df74e756318c
-DIST bpython-0.14.2.tar.gz 184808 SHA256 d1f03c9b64a67219ef41aec258c95f192ade5fd187d48fe61b15c1f1d707e302 SHA512 aa6fb8a6fe08746c31783308423400bf2482c6401fc03a1cf1e95592b83946b49eb8df29ac274d0711e01e7b2dcad37c00a609b3b600c31774563d0638d67159 WHIRLPOOL fe6847da5bb0b5b72f9230d175dbe0812a010281bf6a022f87196f71426a37d116a3bf9292cdd20fcd465e56d9b7c3d975028d2bb3a07afacc5c87f3b4b3d0f6
-DIST bpython-0.14.tar.gz 184430 SHA256 f7c9fc80fc5a4eb6a345a67815e31957c0c65c1bbdfc68cf99267cdc81a3d35b SHA512 1c43af30902ac01385a4f9d0af1f7531f190dea9ee0d43725d5a23d881874184beca1df9fc8f94f21110d99ca07a851861c56976199e9306515e2b00ca07f1f7 WHIRLPOOL 21dc44b48a0fb31d0c125fc203f90fe7750e81599353a51c215672ed82218fc3b4f544cdb530d6447d099e4eaa5983ad52b8f48e1e83bcf4799dad190af797eb
DIST bpython-0.15.tar.gz 198852 SHA256 3f4f7a32416371da2ee0774726875ce63d3f9fed8b58e5a9ad1580b33fd3cef7 SHA512 421a4c8cd7885b0cc73c38ca89bfdbe6535fc4f4575c42195b1b6a9ccdb68e8c3491ebefd7439241f322c3e4ae0a37679253ae8f63b41fc2cfc7fc2ab77b8867 WHIRLPOOL e6a83335d7ea2d099098fb3014aa212a14e71786c9d7e323cf0bba7223b98b9b4cffbeb214de53d9e00b03088304d41fedc37334266fa7e44ae4e905132c72c8
DIST bpython-0.16.tar.gz 201898 SHA256 faf3ddf602bd8ad7f133011778966333b9dcefbc3100df27a200b648906f655f SHA512 1173d720aa679e4a6079c7febd36abbffa901604c99c6d1ce1e940a8fbcf8a4ba7bc526de0ef5290e3859a4384d1cd5cbef62fd9f056ddcb545b64d69d103a5b WHIRLPOOL 13aaebc84f9685cd617d5d88fcb48531020925412fa1a0ecda223907b441279bb7639938f06d21a216cf9c4137d3bd1c122f00dcfa8a88d03abba0471c2124c2
diff --git a/dev-python/bpython/bpython-0.14.2.ebuild b/dev-python/bpython/bpython-0.14.2.ebuild
deleted file mode 100644
index 590489d..00000000
--- a/dev-python/bpython/bpython-0.14.2.ebuild
+++ /dev/null
@@ -1,59 +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 python3_{3,4} )
-
-PYTHON_REQ_USE="ncurses"
-
-inherit distutils-r1
-
-DESCRIPTION="Syntax highlighting and autocompletion for the Python interpreter"
-HOMEPAGE="http://www.bpython-interpreter.org/ https://github.com/bpython/bpython https://pypi.python.org/pypi/bpython"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc test"
-
-RDEPEND="
- >=dev-python/curtsies-0.1.18[${PYTHON_USEDEP}]
- <dev-python/curtsies-0.2.0[${PYTHON_USEDEP}]
- dev-python/greenlet[${PYTHON_USEDEP}]
- dev-python/jedi[${PYTHON_USEDEP}]
- dev-python/pygments[${PYTHON_USEDEP}]
- dev-python/requests[${PYTHON_USEDEP}]
- dev-python/setuptools[${PYTHON_USEDEP}]
- >=dev-python/six-1.5[${PYTHON_USEDEP}]
- dev-python/urwid[${PYTHON_USEDEP}]
- dev-python/watchdog[${PYTHON_USEDEP}]
- "
-DEPEND="${RDEPEND}
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
- test? ( dev-python/mock[${PYTHON_USEDEP}] )"
-
-DOCS=( AUTHORS CHANGELOG sample.theme light.theme )
-
-# Req'd for clean build by each impl
-DISTUTILS_IN_SOURCE_BUILD=1
-
-python_compile_all() {
- if use doc; then
- sphinx-build -b html -c doc/sphinx/source/ \
- doc/sphinx/source/ doc/sphinx/source/html || die "docs build failed"
- fi
-}
-
-python_test() {
- pushd build/lib > /dev/null
- "${PYTHON}" -m unittest discover || die
- popd > /dev/null
-}
-
-python_install_all() {
- use doc && local HTML_DOCS=( doc/sphinx/source/html/. )
- distutils-r1_python_install_all
-}
diff --git a/dev-python/bpython/bpython-0.14.ebuild b/dev-python/bpython/bpython-0.14.ebuild
deleted file mode 100644
index 8c0673b..00000000
--- a/dev-python/bpython/bpython-0.14.ebuild
+++ /dev/null
@@ -1,65 +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 python3_{3,4} )
-
-PYTHON_REQ_USE="ncurses"
-
-inherit distutils-r1
-
-DESCRIPTION="Syntax highlighting and autocompletion for the Python interpreter"
-HOMEPAGE="http://www.bpython-interpreter.org/ https://bitbucket.org/bobf/bpython/ https://pypi.python.org/pypi/bpython"
-SRC_URI="
- http://www.bpython-interpreter.org/releases/${P}.tar.gz
- mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
- "
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc test"
-
-RDEPEND="
- dev-python/curtsies[${PYTHON_USEDEP}]
- dev-python/greenlet[${PYTHON_USEDEP}]
- dev-python/jedi[${PYTHON_USEDEP}]
- dev-python/pygments[${PYTHON_USEDEP}]
- dev-python/requests[${PYTHON_USEDEP}]
- dev-python/setuptools[${PYTHON_USEDEP}]
- >=dev-python/six-1.4[${PYTHON_USEDEP}]
- dev-python/urwid[${PYTHON_USEDEP}]
- dev-python/watchdog[${PYTHON_USEDEP}]
- "
-DEPEND="${RDEPEND}
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
- test? ( dev-python/mock[${PYTHON_USEDEP}] )"
-
-DOCS=( AUTHORS CHANGELOG sample.theme light.theme )
-
-# Upstream patch
-# https://github.com/bpython/bpython/commit/43e70389badc48be2986a606f8f7b3f2aa29d59b
-PATCHES=( "${FILESDIR}"/${P}.patch )
-
-# Req'd for clean build by each impl
-DISTUTILS_IN_SOURCE_BUILD=1
-
-python_compile_all() {
- if use doc; then
- sphinx-build -b html -c doc/sphinx/source/ \
- doc/sphinx/source/ doc/sphinx/source/html || die "docs build failed"
- fi
-}
-
-python_test() {
- pushd build/lib > /dev/null
- "${PYTHON}" -m unittest discover || die
- popd > /dev/null
-}
-
-python_install_all() {
- use doc && local HTML_DOCS=( doc/sphinx/source/html/. )
- distutils-r1_python_install_all
-}
diff --git a/dev-python/bpython/bpython-0.15-r1.ebuild b/dev-python/bpython/bpython-0.15-r1.ebuild
deleted file mode 100644
index d1ea308..00000000
--- a/dev-python/bpython/bpython-0.15-r1.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
-
-PYTHON_REQ_USE="ncurses"
-
-inherit distutils-r1
-
-DESCRIPTION="Syntax highlighting and autocompletion for the Python interpreter"
-HOMEPAGE="http://www.bpython-interpreter.org/ https://github.com/bpython/bpython https://pypi.python.org/pypi/bpython"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc test"
-
-RDEPEND="
- >=dev-python/curtsies-0.1.18[${PYTHON_USEDEP}]
- <dev-python/curtsies-0.2.0[${PYTHON_USEDEP}]
- dev-python/greenlet[${PYTHON_USEDEP}]
- dev-python/jedi[${PYTHON_USEDEP}]
- dev-python/pygments[${PYTHON_USEDEP}]
- dev-python/requests[${PYTHON_USEDEP}]
- dev-python/setuptools[${PYTHON_USEDEP}]
- >=dev-python/six-1.5[${PYTHON_USEDEP}]
- dev-python/urwid[${PYTHON_USEDEP}]
- dev-python/watchdog[${PYTHON_USEDEP}]
- "
-DEPEND="${RDEPEND}
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
- test? ( dev-python/mock[${PYTHON_USEDEP}] )"
-
-DOCS=( AUTHORS CHANGELOG sample.theme light.theme )
-
-# Req'd for clean build by each impl
-DISTUTILS_IN_SOURCE_BUILD=1
-
-python_compile_all() {
- if use doc; then
- sphinx-build -b html -c doc/sphinx/source/ \
- doc/sphinx/source/ doc/sphinx/source/html || die "docs build failed"
- fi
-}
-
-python_test() {
- pushd build/lib > /dev/null
- "${PYTHON}" -m unittest discover || die
- popd > /dev/null
-}
-
-python_install_all() {
- use doc && local HTML_DOCS=( doc/sphinx/source/html/. )
- distutils-r1_python_install_all
-}
diff --git a/dev-python/bpython/bpython-0.15.ebuild b/dev-python/bpython/bpython-0.15.ebuild
deleted file mode 100644
index 4ac804f..00000000
--- a/dev-python/bpython/bpython-0.15.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 python3_{3,4} )
-
-PYTHON_REQ_USE="ncurses"
-
-inherit distutils-r1
-
-DESCRIPTION="Syntax highlighting and autocompletion for the Python interpreter"
-HOMEPAGE="http://www.bpython-interpreter.org/ https://github.com/bpython/bpython https://pypi.python.org/pypi/bpython"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc test"
-
-RDEPEND="
- >=dev-python/curtsies-0.1.18[${PYTHON_USEDEP}]
- <dev-python/curtsies-0.2.0[${PYTHON_USEDEP}]
- dev-python/greenlet[${PYTHON_USEDEP}]
- dev-python/jedi[${PYTHON_USEDEP}]
- dev-python/pygments[${PYTHON_USEDEP}]
- dev-python/requests[${PYTHON_USEDEP}]
- dev-python/setuptools[${PYTHON_USEDEP}]
- >=dev-python/six-1.5[${PYTHON_USEDEP}]
- dev-python/urwid[${PYTHON_USEDEP}]
- dev-python/watchdog[${PYTHON_USEDEP}]
- "
-DEPEND="${RDEPEND}
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
- test? ( dev-python/mock[${PYTHON_USEDEP}] )"
-
-DOCS=( AUTHORS CHANGELOG sample.theme light.theme )
-
-# Req'd for clean build by each impl
-DISTUTILS_IN_SOURCE_BUILD=1
-
-python_compile_all() {
- if use doc; then
- sphinx-build -b html -c doc/sphinx/source/ \
- doc/sphinx/source/ doc/sphinx/source/html || die "docs build failed"
- fi
-}
-
-python_test() {
- pushd build/lib > /dev/null
- "${PYTHON}" -m unittest discover || die
- popd > /dev/null
-}
-
-python_install_all() {
- use doc && local HTML_DOCS=( doc/sphinx/source/html/. )
- distutils-r1_python_install_all
-}
diff --git a/dev-python/bpython/files/bpython-0.14.patch b/dev-python/bpython/files/bpython-0.14.patch
deleted file mode 100644
index 00b8e5a..00000000
--- a/dev-python/bpython/files/bpython-0.14.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -r -U2 bpython-0.14.orig/bpython/curtsiesfrontend/repl.py bpython-0.14/bpython/curtsiesfrontend/repl.py
---- bpython-0.14.orig/bpython/curtsiesfrontend/repl.py 2015-02-17 05:07:38.000000000 +0600
-+++ bpython-0.14/bpython/curtsiesfrontend/repl.py 2015-02-19 00:09:13.758932344 +0600
-@@ -420,7 +420,9 @@
- # for reading modules if they fail to load
- old_module_locations = {}
-+ default_level = 0 if py3 else -1
-
- @functools.wraps(self.orig_import)
-- def new_import(name, globals={}, locals={}, fromlist=[], level=-1):
-+ def new_import(name, globals={}, locals={}, fromlist=[],
-+ level=default_level):
- try:
- m = self.orig_import(name, globals=globals, locals=locals,
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/bpython/files/, dev-python/bpython/
@ 2021-10-29 15:29 Arthur Zamarin
0 siblings, 0 replies; 4+ messages in thread
From: Arthur Zamarin @ 2021-10-29 15:29 UTC (permalink / raw
To: gentoo-commits
commit: 9c8807e1f6459f64d22231021a6ddcf8495ded47
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 29 15:26:42 2021 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Oct 29 15:29:02 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c8807e1
dev-python/bpython: enable py3.10
Closes: https://bugs.gentoo.org/812305
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-python/bpython/bpython-0.21.ebuild | 9 ++--
.../bpython/files/bpython-0.21-fix-py3.10.patch | 48 ++++++++++++++++++++++
2 files changed, 53 insertions(+), 4 deletions(-)
diff --git a/dev-python/bpython/bpython-0.21.ebuild b/dev-python/bpython/bpython-0.21.ebuild
index b89b7316740..d815d918656 100644
--- a/dev-python/bpython/bpython-0.21.ebuild
+++ b/dev-python/bpython/bpython-0.21.ebuild
@@ -3,9 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_{7..9} )
-DISTUTILS_USE_SETUPTOOLS=rdepend
-
+PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Syntax highlighting and autocompletion for the Python interpreter"
@@ -34,7 +32,10 @@ BDEPEND="
DOCS=( AUTHORS.rst CHANGELOG.rst )
-PATCHES=( "${FILESDIR}"/${PN}-sphinx-4.patch )
+PATCHES=(
+ "${FILESDIR}"/${PN}-sphinx-4.patch
+ "${FILESDIR}"/${P}-fix-py3.10.patch
+)
distutils_enable_sphinx doc/sphinx/source --no-autodoc
distutils_enable_tests unittest
diff --git a/dev-python/bpython/files/bpython-0.21-fix-py3.10.patch b/dev-python/bpython/files/bpython-0.21-fix-py3.10.patch
new file mode 100644
index 00000000000..5b7c6376782
--- /dev/null
+++ b/dev-python/bpython/files/bpython-0.21-fix-py3.10.patch
@@ -0,0 +1,48 @@
+From 78ead4c83d7c47c35ab075dd08114f51c24a709d Mon Sep 17 00:00:00 2001
+From: Thomas Ballinger <thomasballinger@gmail.com>
+Date: Wed, 6 Oct 2021 19:59:38 -0700
+Subject: [PATCH] Test Python 3.10 (#924)
+
+* Test Python 3.10
+* Update tests for Python 3.10
+
+--- a/bpython/test/test_curtsies_painting.py
++++ b/bpython/test/test_curtsies_painting.py
+@@ -139,6 +139,14 @@ def test_completion(self):
+ "└──────────────────────────────┘",
+ "Welcome to bpython! Press <F1> f",
+ ]
++ if sys.version_info[:2] < (3, 10)
++ else [
++ ">>> an",
++ "┌──────────────────────────────┐",
++ "│ and anext( any( │",
++ "└──────────────────────────────┘",
++ "Welcome to bpython! Press <F1> f",
++ ]
+ )
+ self.assert_paint_ignoring_formatting(screen, (0, 4))
+
+--- a/bpython/test/test_interpreter.py
++++ b/bpython/test/test_interpreter.py
+@@ -35,7 +35,19 @@ def test_syntaxerror(self):
+
+ i.runsource("1.1.1.1")
+
+- if sys.version_info[:2] >= (3, 8):
++ if sys.version_info[:2] >= (3, 10):
++ expected = (
++ " File "
++ + green('"<bpython-input-148>"')
++ + ", line "
++ + bold(magenta("1"))
++ + "\n 1.1.1.1\n ^^^^^\n"
++ + bold(red("SyntaxError"))
++ + ": "
++ + cyan("invalid syntax. Perhaps you forgot a comma?")
++ + "\n"
++ )
++ elif (3, 8) <= sys.version_info[:2] <= (3, 9):
+ expected = (
+ " File "
+ + green('"<input>"')
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/bpython/files/, dev-python/bpython/
@ 2021-12-10 14:24 Andrey Grozin
0 siblings, 0 replies; 4+ messages in thread
From: Andrey Grozin @ 2021-12-10 14:24 UTC (permalink / raw
To: gentoo-commits
commit: 831013622624e3cf169c94015a8c65cf79f28a9f
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 10 14:23:58 2021 +0000
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Fri Dec 10 14:23:58 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83101362
dev-python/bpython: remove old version
Package-Manager: Portage-3.0.29, Repoman-3.0.3
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>
dev-python/bpython/Manifest | 1 -
dev-python/bpython/bpython-0.21.ebuild | 41 ------------------
.../bpython/files/bpython-0.21-fix-py3.10.patch | 48 ----------------------
dev-python/bpython/files/bpython-sphinx-4.patch | 8 ----
4 files changed, 98 deletions(-)
diff --git a/dev-python/bpython/Manifest b/dev-python/bpython/Manifest
index 57b9078d8607..82fee5093f84 100644
--- a/dev-python/bpython/Manifest
+++ b/dev-python/bpython/Manifest
@@ -1,2 +1 @@
-DIST bpython-0.21.tar.gz 208206 BLAKE2B 22db7abe3786df337af50f6217fa8c6702871b50de41245797270e70622084a22b3d6615cfe634044599a532c5bc14677b01dc77042d228213eaae2cad11b623 SHA512 a0eea1b9c2329ce5665456e99703ef476faab38f880eb8a330a6536970888cfdaada9f0e377d3c1acd8b6c79eb0c562ada43e82bac9df4cce5878594c3399ddf
DIST bpython-0.22.1.tar.gz 217294 BLAKE2B 907b51753182add775d3e2ba08c3999d30ba23ab13d59f364d03ce5f22191e1a90031f7c3b5477fd00c94342a5ee204aa2618a7cd1a9470bbc898cfc266ba9bd SHA512 6b29235c41b645c3658812b8c80637d1e76029a6386f8628e5c681b2f3fdea653f89a12f4e28f55381464755e04fa7a33f023f096e75d889d5a588222c0d06c3
diff --git a/dev-python/bpython/bpython-0.21.ebuild b/dev-python/bpython/bpython-0.21.ebuild
deleted file mode 100644
index d815d9186569..000000000000
--- a/dev-python/bpython/bpython-0.21.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..10} )
-inherit distutils-r1
-
-DESCRIPTION="Syntax highlighting and autocompletion for the Python interpreter"
-HOMEPAGE="https://www.bpython-interpreter.org/ https://github.com/bpython/bpython https://pypi.org/project/bpython/"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-RDEPEND="
- >=dev-python/curtsies-0.3.5[${PYTHON_USEDEP}]
- dev-python/cwcwidth[${PYTHON_USEDEP}]
- dev-python/greenlet[${PYTHON_USEDEP}]
- dev-python/jedi[${PYTHON_USEDEP}]
- dev-python/pygments[${PYTHON_USEDEP}]
- dev-python/pyxdg[${PYTHON_USEDEP}]
- dev-python/requests[${PYTHON_USEDEP}]
- dev-python/urwid[${PYTHON_USEDEP}]
- dev-python/watchdog[${PYTHON_USEDEP}]
- "
-# sphinx is used implicitly to build manpages
-BDEPEND="
- dev-python/sphinx[${PYTHON_USEDEP}]
- "
-
-DOCS=( AUTHORS.rst CHANGELOG.rst )
-
-PATCHES=(
- "${FILESDIR}"/${PN}-sphinx-4.patch
- "${FILESDIR}"/${P}-fix-py3.10.patch
-)
-
-distutils_enable_sphinx doc/sphinx/source --no-autodoc
-distutils_enable_tests unittest
diff --git a/dev-python/bpython/files/bpython-0.21-fix-py3.10.patch b/dev-python/bpython/files/bpython-0.21-fix-py3.10.patch
deleted file mode 100644
index 5b7c63767820..000000000000
--- a/dev-python/bpython/files/bpython-0.21-fix-py3.10.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-From 78ead4c83d7c47c35ab075dd08114f51c24a709d Mon Sep 17 00:00:00 2001
-From: Thomas Ballinger <thomasballinger@gmail.com>
-Date: Wed, 6 Oct 2021 19:59:38 -0700
-Subject: [PATCH] Test Python 3.10 (#924)
-
-* Test Python 3.10
-* Update tests for Python 3.10
-
---- a/bpython/test/test_curtsies_painting.py
-+++ b/bpython/test/test_curtsies_painting.py
-@@ -139,6 +139,14 @@ def test_completion(self):
- "└──────────────────────────────┘",
- "Welcome to bpython! Press <F1> f",
- ]
-+ if sys.version_info[:2] < (3, 10)
-+ else [
-+ ">>> an",
-+ "┌──────────────────────────────┐",
-+ "│ and anext( any( │",
-+ "└──────────────────────────────┘",
-+ "Welcome to bpython! Press <F1> f",
-+ ]
- )
- self.assert_paint_ignoring_formatting(screen, (0, 4))
-
---- a/bpython/test/test_interpreter.py
-+++ b/bpython/test/test_interpreter.py
-@@ -35,7 +35,19 @@ def test_syntaxerror(self):
-
- i.runsource("1.1.1.1")
-
-- if sys.version_info[:2] >= (3, 8):
-+ if sys.version_info[:2] >= (3, 10):
-+ expected = (
-+ " File "
-+ + green('"<bpython-input-148>"')
-+ + ", line "
-+ + bold(magenta("1"))
-+ + "\n 1.1.1.1\n ^^^^^\n"
-+ + bold(red("SyntaxError"))
-+ + ": "
-+ + cyan("invalid syntax. Perhaps you forgot a comma?")
-+ + "\n"
-+ )
-+ elif (3, 8) <= sys.version_info[:2] <= (3, 9):
- expected = (
- " File "
- + green('"<input>"')
diff --git a/dev-python/bpython/files/bpython-sphinx-4.patch b/dev-python/bpython/files/bpython-sphinx-4.patch
deleted file mode 100644
index 5003de24bcf6..000000000000
--- a/dev-python/bpython/files/bpython-sphinx-4.patch
+++ /dev/null
@@ -1,8 +0,0 @@
-diff -U2 -r bpython-0.21.orig/doc/sphinx/source/conf.py bpython-0.21/doc/sphinx/source/conf.py
---- bpython-0.21.orig/doc/sphinx/source/conf.py 2020-03-30 01:44:23.000000000 +0700
-+++ bpython-0.21/doc/sphinx/source/conf.py 2021-05-22 21:06:51.161746459 +0700
-@@ -215,3 +215,3 @@
- # If true, show URL addresses after external links.
- #man_show_urls = False
--
-+man_make_section_directory = False
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-12-10 14:24 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-10 14:24 [gentoo-commits] repo/gentoo:master commit in: dev-python/bpython/files/, dev-python/bpython/ Andrey Grozin
-- strict thread matches above, loose matches on Subject: below --
2021-10-29 15:29 Arthur Zamarin
2016-10-12 14:10 Andrey Grozin
2016-01-17 13:45 Andrey Grozin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox