public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-python/traitlets/files/, dev-python/traitlets/
@ 2021-08-30 21:41 Michał Górny
  0 siblings, 0 replies; 2+ messages in thread
From: Michał Górny @ 2021-08-30 21:41 UTC (permalink / raw
  To: gentoo-commits

commit:     0fd88eeb287fec71515944272f0a8c229f542c27
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 30 21:04:41 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Aug 30 21:41:41 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fd88eeb

dev-python/traitlets: Bump to 5.1.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/traitlets/Manifest                      |  1 +
 .../traitlets/files/traitlets-5.1.0-py310.patch    | 39 ++++++++++++++++++++++
 dev-python/traitlets/traitlets-5.1.0.ebuild        | 26 +++++++++++++++
 3 files changed, 66 insertions(+)

diff --git a/dev-python/traitlets/Manifest b/dev-python/traitlets/Manifest
index 44a4e0a36d7..d652fc21cd8 100644
--- a/dev-python/traitlets/Manifest
+++ b/dev-python/traitlets/Manifest
@@ -1,2 +1,3 @@
 DIST traitlets-4.3.3.tar.gz 89838 BLAKE2B 04b50fabdc312c427f0cff6d4e8be0a5afcafe6d5a7a5804fb37e6f92b867e6a9c6401c23b7cdd7b0a6372eadaf3e8350018db5d21c5cbc546390138932a2820 SHA512 a7ae0276e5234d6d428908e1ec74c0b92f2b1b73e37402ad154151c41ef6e4aaaad53e8990d4233d8023c31d919e4ea66f100a82324abcb0e6ffb92283fd3c9e
 DIST traitlets-5.0.5.tar.gz 128856 BLAKE2B ad3e5d6dbdf3f118a86be0106e0243146ff833c40300c5fd4c5704db323fcfa4b30d87a88e66608e3a54672c9a7cd6ce07bd9596827fa7ce08625626c9610f7e SHA512 ec5901bab493949f656269a6f7a9211f919a29510d22a6ed440f1e3577dfcb73a6aeca8a0e7d2a6e23192b9ab4844beef1012a847ef08180e64cfb1e2cd40bfa
+DIST traitlets-5.1.0.tar.gz 135161 BLAKE2B adb948cd07a961196c3b02cd28c7dac274ba9152ddae0fab1d706d78643ff1f60e4478731d960e583eb6ad5088b2730efa31c6b3a806497ac5c8aa7b05e51502 SHA512 2b7aa7db355ddb5fa5dcdc091324b933cf7f8b189c033d43408af1bcda40cb242cd787f82098e042f1c65f07bf94b89d7d9f10019374388c47390565e7e3a467

diff --git a/dev-python/traitlets/files/traitlets-5.1.0-py310.patch b/dev-python/traitlets/files/traitlets-5.1.0-py310.patch
new file mode 100644
index 00000000000..eed1b8e0985
--- /dev/null
+++ b/dev-python/traitlets/files/traitlets-5.1.0-py310.patch
@@ -0,0 +1,39 @@
+From 9ee33f09bdae6bea94641ce39e24dc180df5517a Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
+Date: Mon, 30 Aug 2021 23:07:38 +0200
+Subject: [PATCH] Revert "Fix string assertion for python3.10"
+
+This reverts commit dbb604946745ed90c6e9f6ed17f2bde253042d52.
+The relevant change has been reverted in Python 3.10.0rc1, breaking
+the test again.
+---
+ traitlets/tests/test_traitlets_enum.py | 6 +-----
+ 1 file changed, 1 insertion(+), 5 deletions(-)
+
+diff --git a/traitlets/tests/test_traitlets_enum.py b/traitlets/tests/test_traitlets_enum.py
+index a87dd70..769e830 100644
+--- a/traitlets/tests/test_traitlets_enum.py
++++ b/traitlets/tests/test_traitlets_enum.py
+@@ -5,7 +5,6 @@ Test the trait-type ``UseEnum``.
+ 
+ import unittest
+ import enum
+-import sys
+ from traitlets import HasTraits, TraitError, Enum, UseEnum, CaselessStrEnum, FuzzyEnum
+ 
+ 
+@@ -88,10 +87,7 @@ class TestUseEnum(unittest.TestCase):
+             example = self.Example()
+             example.color = value
+             self.assertIsInstance(example.color, Color)
+-            if sys.version_info < (3, 10):
+-                self.assertEqual(str(example.color), value)
+-            else:
+-                self.assertEqual(repr(example.color), value)
++            self.assertEqual(str(example.color), value)
+ 
+     def test_assign_bad_enum_value_name__raises_error(self):
+         # -- CONVERT: string => Enum value (item)
+-- 
+2.33.0
+

diff --git a/dev-python/traitlets/traitlets-5.1.0.ebuild b/dev-python/traitlets/traitlets-5.1.0.ebuild
new file mode 100644
index 00000000000..cc6e4c002e4
--- /dev/null
+++ b/dev-python/traitlets/traitlets-5.1.0.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+DISTUTILS_USE_SETUPTOOLS=no
+
+inherit distutils-r1
+
+DESCRIPTION="A configuration system for Python applications"
+HOMEPAGE="https://github.com/ipython/traitlets"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+PATCHES=(
+	"${FILESDIR}/${P}-py310.patch"
+)
+
+distutils_enable_sphinx docs/source \
+	dev-python/ipython_genutils \
+	dev-python/sphinx_rtd_theme
+distutils_enable_tests pytest


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

* [gentoo-commits] repo/gentoo:master commit in: dev-python/traitlets/files/, dev-python/traitlets/
@ 2022-03-15 14:26 Michał Górny
  0 siblings, 0 replies; 2+ messages in thread
From: Michał Górny @ 2022-03-15 14:26 UTC (permalink / raw
  To: gentoo-commits

commit:     c47a509612ee37b6a8a9f7c7d67bd5f770f38de0
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 15 14:25:08 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Mar 15 14:25:08 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c47a5096

dev-python/traitlets: Remove old

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/traitlets/Manifest                      |  2 --
 .../files/traitlets-5.0.5-python3_10.patch         | 33 ------------------
 .../traitlets/files/traitlets-5.1.0-py310.patch    | 39 ----------------------
 dev-python/traitlets/traitlets-5.0.5.ebuild        | 30 -----------------
 dev-python/traitlets/traitlets-5.1.0.ebuild        | 25 --------------
 dev-python/traitlets/traitlets-5.1.1.ebuild        | 21 ------------
 6 files changed, 150 deletions(-)

diff --git a/dev-python/traitlets/Manifest b/dev-python/traitlets/Manifest
index 420446389b8b..389c79691be6 100644
--- a/dev-python/traitlets/Manifest
+++ b/dev-python/traitlets/Manifest
@@ -1,3 +1 @@
-DIST traitlets-5.0.5.tar.gz 128856 BLAKE2B ad3e5d6dbdf3f118a86be0106e0243146ff833c40300c5fd4c5704db323fcfa4b30d87a88e66608e3a54672c9a7cd6ce07bd9596827fa7ce08625626c9610f7e SHA512 ec5901bab493949f656269a6f7a9211f919a29510d22a6ed440f1e3577dfcb73a6aeca8a0e7d2a6e23192b9ab4844beef1012a847ef08180e64cfb1e2cd40bfa
-DIST traitlets-5.1.0.tar.gz 135161 BLAKE2B adb948cd07a961196c3b02cd28c7dac274ba9152ddae0fab1d706d78643ff1f60e4478731d960e583eb6ad5088b2730efa31c6b3a806497ac5c8aa7b05e51502 SHA512 2b7aa7db355ddb5fa5dcdc091324b933cf7f8b189c033d43408af1bcda40cb242cd787f82098e042f1c65f07bf94b89d7d9f10019374388c47390565e7e3a467
 DIST traitlets-5.1.1.tar.gz 130629 BLAKE2B 75a6f11d95e3989b9faffd576a1c9c45aa413b0b8c6ac853368902a60aad735ffd9699e721878af4e449d07ca6c2b0fae584fa2ae17707408ea9ca7591d38f75 SHA512 6ef5fcde81e1403b4b28c80e636c75f49819e319863dfa654aa5bbb96d18cca82ef8e7878cc8cccdb988d75201c3912fc49c31b673d7182a1f7d3cc78c115112

diff --git a/dev-python/traitlets/files/traitlets-5.0.5-python3_10.patch b/dev-python/traitlets/files/traitlets-5.0.5-python3_10.patch
deleted file mode 100644
index 53ade693a3ad..000000000000
--- a/dev-python/traitlets/files/traitlets-5.0.5-python3_10.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From dbb604946745ed90c6e9f6ed17f2bde253042d52 Mon Sep 17 00:00:00 2001
-From: Olga <olgamatoula@gmail.com>
-Date: Fri, 7 May 2021 17:27:09 +0100
-Subject: [PATCH] Fix string assertion for python3.10
-
----
- traitlets/tests/test_traitlets_enum.py | 6 +++++-
- 1 file changed, 5 insertions(+), 1 deletion(-)
-
-diff --git a/traitlets/tests/test_traitlets_enum.py b/traitlets/tests/test_traitlets_enum.py
-index 769e830b..a87dd705 100644
---- a/traitlets/tests/test_traitlets_enum.py
-+++ b/traitlets/tests/test_traitlets_enum.py
-@@ -5,6 +5,7 @@
- 
- import unittest
- import enum
-+import sys
- from traitlets import HasTraits, TraitError, Enum, UseEnum, CaselessStrEnum, FuzzyEnum
- 
- 
-@@ -87,7 +88,10 @@ def test_assign_scoped_enum_value_name(self):
-             example = self.Example()
-             example.color = value
-             self.assertIsInstance(example.color, Color)
--            self.assertEqual(str(example.color), value)
-+            if sys.version_info < (3, 10):
-+                self.assertEqual(str(example.color), value)
-+            else:
-+                self.assertEqual(repr(example.color), value)
- 
-     def test_assign_bad_enum_value_name__raises_error(self):
-         # -- CONVERT: string => Enum value (item)

diff --git a/dev-python/traitlets/files/traitlets-5.1.0-py310.patch b/dev-python/traitlets/files/traitlets-5.1.0-py310.patch
deleted file mode 100644
index eed1b8e0985c..000000000000
--- a/dev-python/traitlets/files/traitlets-5.1.0-py310.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-From 9ee33f09bdae6bea94641ce39e24dc180df5517a Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
-Date: Mon, 30 Aug 2021 23:07:38 +0200
-Subject: [PATCH] Revert "Fix string assertion for python3.10"
-
-This reverts commit dbb604946745ed90c6e9f6ed17f2bde253042d52.
-The relevant change has been reverted in Python 3.10.0rc1, breaking
-the test again.
----
- traitlets/tests/test_traitlets_enum.py | 6 +-----
- 1 file changed, 1 insertion(+), 5 deletions(-)
-
-diff --git a/traitlets/tests/test_traitlets_enum.py b/traitlets/tests/test_traitlets_enum.py
-index a87dd70..769e830 100644
---- a/traitlets/tests/test_traitlets_enum.py
-+++ b/traitlets/tests/test_traitlets_enum.py
-@@ -5,7 +5,6 @@ Test the trait-type ``UseEnum``.
- 
- import unittest
- import enum
--import sys
- from traitlets import HasTraits, TraitError, Enum, UseEnum, CaselessStrEnum, FuzzyEnum
- 
- 
-@@ -88,10 +87,7 @@ class TestUseEnum(unittest.TestCase):
-             example = self.Example()
-             example.color = value
-             self.assertIsInstance(example.color, Color)
--            if sys.version_info < (3, 10):
--                self.assertEqual(str(example.color), value)
--            else:
--                self.assertEqual(repr(example.color), value)
-+            self.assertEqual(str(example.color), value)
- 
-     def test_assign_bad_enum_value_name__raises_error(self):
-         # -- CONVERT: string => Enum value (item)
--- 
-2.33.0
-

diff --git a/dev-python/traitlets/traitlets-5.0.5.ebuild b/dev-python/traitlets/traitlets-5.0.5.ebuild
deleted file mode 100644
index e691554d0cf3..000000000000
--- a/dev-python/traitlets/traitlets-5.0.5.ebuild
+++ /dev/null
@@ -1,30 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{7..10} )
-DISTUTILS_USE_SETUPTOOLS=no
-
-inherit distutils-r1
-
-DESCRIPTION="A configuration system for Python applications"
-HOMEPAGE="https://github.com/ipython/traitlets"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~ppc ppc64 ~riscv ~sparc x86"
-
-RDEPEND="
-	dev-python/ipython_genutils[${PYTHON_USEDEP}]
-"
-
-PATCHES=(
-	"${FILESDIR}/${P}-python3_10.patch"
-)
-
-distutils_enable_sphinx docs/source \
-	dev-python/ipython_genutils \
-	dev-python/sphinx_rtd_theme
-distutils_enable_tests pytest

diff --git a/dev-python/traitlets/traitlets-5.1.0.ebuild b/dev-python/traitlets/traitlets-5.1.0.ebuild
deleted file mode 100644
index 3c6860909c01..000000000000
--- a/dev-python/traitlets/traitlets-5.1.0.ebuild
+++ /dev/null
@@ -1,25 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..10} )
-DISTUTILS_USE_SETUPTOOLS=no
-
-inherit distutils-r1
-
-DESCRIPTION="A configuration system for Python applications"
-HOMEPAGE="https://github.com/ipython/traitlets"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 arm ~arm64 hppa ppc ~ppc64 ~riscv ~s390 sparc ~x86"
-
-PATCHES=(
-	"${FILESDIR}/${P}-py310.patch"
-)
-
-distutils_enable_sphinx docs/source \
-	dev-python/sphinx_rtd_theme
-distutils_enable_tests pytest

diff --git a/dev-python/traitlets/traitlets-5.1.1.ebuild b/dev-python/traitlets/traitlets-5.1.1.ebuild
deleted file mode 100644
index ad43c304e351..000000000000
--- a/dev-python/traitlets/traitlets-5.1.1.ebuild
+++ /dev/null
@@ -1,21 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..10} )
-DISTUTILS_USE_SETUPTOOLS=no
-
-inherit distutils-r1
-
-DESCRIPTION="A configuration system for Python applications"
-HOMEPAGE="https://github.com/ipython/traitlets"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86"
-
-distutils_enable_sphinx docs/source \
-	dev-python/sphinx_rtd_theme
-distutils_enable_tests pytest


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

end of thread, other threads:[~2022-03-15 14:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-15 14:26 [gentoo-commits] repo/gentoo:master commit in: dev-python/traitlets/files/, dev-python/traitlets/ Michał Górny
  -- strict thread matches above, loose matches on Subject: below --
2021-08-30 21:41 Michał Górny

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