From 9600c307734526b76573c2a5ad42b8666f31462f Mon Sep 17 00:00:00 2001 From: Anton Bolshakov Date: Thu, 5 Sep 2024 08:29:29 +0800 Subject: [PATCH 1/3] memory_profiler: remove, fix https://github.com/pentoo/pentoo-overlay/issues/1809 --- dev-ruby/memory_profiler/Manifest | 2 -- .../memory_profiler-0.9.14.ebuild | 19 ------------------- ....0.ebuild => memory_profiler-1.0.2.ebuild} | 7 +++++-- dev-ruby/memory_profiler/metadata.xml | 8 -------- 4 files changed, 5 insertions(+), 31 deletions(-) delete mode 100644 dev-ruby/memory_profiler/Manifest delete mode 100644 dev-ruby/memory_profiler/memory_profiler-0.9.14.ebuild rename dev-ruby/memory_profiler/{memory_profiler-1.0.0.ebuild => memory_profiler-1.0.2.ebuild} (75%) delete mode 100644 dev-ruby/memory_profiler/metadata.xml diff --git a/dev-ruby/memory_profiler/Manifest b/dev-ruby/memory_profiler/Manifest deleted file mode 100644 index 04dabbbb8..000000000 --- a/dev-ruby/memory_profiler/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST memory_profiler-0.9.14.tar.gz 15424 BLAKE2B 04fbbf816c58cb17b76d5228cecfa20197cccec2adfbfa86f4507416fcd97a8b10fc95e83867d920bd0903f1d5234c8bd813d76e40fa3fa22ca7350399c3f666 SHA512 a7a0fdb283717d48ccf5aa8563117a68f479e6b4bf5b0cf176abb5f0cd8ca98fd4088b585f4854c9cb71affd8e69204b3e0f05b16db250aae443b5b4d3c65c66 -DIST memory_profiler-1.0.0.tar.gz 18010 BLAKE2B 3e88feea2074fc43c82e40b976b07d0a2fdc69a5084a422957796ff444f48039036cd4255e2eefd0c3297ee3de12b3303d69653673f4290ece765bc122e38189 SHA512 1de1a6cc84a1bc113a27deae17ea81196f642a2cb65bcd7c96269250a7b8f1aceb6a4ffc43a1cec3eb36849442893659248b050a20d8ab32854481d1043c3b9f diff --git a/dev-ruby/memory_profiler/memory_profiler-0.9.14.ebuild b/dev-ruby/memory_profiler/memory_profiler-0.9.14.ebuild deleted file mode 100644 index bea088e00..000000000 --- a/dev-ruby/memory_profiler/memory_profiler-0.9.14.ebuild +++ /dev/null @@ -1,19 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -USE_RUBY="ruby31 ruby32" - -RUBY_FAKEGEM_TASK_DOC="" -RUBY_FAKEGEM_EXTRADOC="README.md" - -inherit ruby-fakegem - -DESCRIPTION="Memory profiling routines for Ruby 2.1+" -HOMEPAGE="https://github.com/SamSaffron/memory_profiler" -SRC_URI="https://github.com/SamSaffron/memory_profiler/archive/v${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="MIT" - -KEYWORDS="~amd64 ~x86" -SLOT="0" diff --git a/dev-ruby/memory_profiler/memory_profiler-1.0.0.ebuild b/dev-ruby/memory_profiler/memory_profiler-1.0.2.ebuild similarity index 75% rename from dev-ruby/memory_profiler/memory_profiler-1.0.0.ebuild rename to dev-ruby/memory_profiler/memory_profiler-1.0.2.ebuild index d3bdb6ffc..f4e8da17d 100644 --- a/dev-ruby/memory_profiler/memory_profiler-1.0.0.ebuild +++ b/dev-ruby/memory_profiler/memory_profiler-1.0.2.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 USE_RUBY="ruby31 ruby32" @@ -17,3 +17,6 @@ LICENSE="MIT" KEYWORDS="amd64 ~arm64 x86" SLOT="0" + +# FIXME: TestReporter#test_no_strings_retained_report [test/test_reporter.rb:251]: +RESTRICT=test diff --git a/dev-ruby/memory_profiler/metadata.xml b/dev-ruby/memory_profiler/metadata.xml deleted file mode 100644 index ace7c2d3a..000000000 --- a/dev-ruby/memory_profiler/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - unknown@pentoo.ch - Author Unknown - - From f84a15e4b3e64cd8e483b1b1780067f562c00192 Mon Sep 17 00:00:00 2001 From: Anton Bolshakov Date: Thu, 5 Sep 2024 08:36:05 +0800 Subject: [PATCH 2/3] stone 3.3.8, fix https://github.com/pentoo/pentoo-overlay/issues/1793 --- dev-python/stone/Manifest | 1 + dev-python/stone/stone-3.3.8.ebuild | 37 +++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 dev-python/stone/stone-3.3.8.ebuild diff --git a/dev-python/stone/Manifest b/dev-python/stone/Manifest index 8a0159f95..cff49d9ac 100644 --- a/dev-python/stone/Manifest +++ b/dev-python/stone/Manifest @@ -1 +1,2 @@ DIST stone-3.3.1.gh.tar.gz 282831 BLAKE2B b9a866e43feedea28cd33b89f78100be520a2756fa78888e9a786ae27942a5c19df51010c0af952de70c782d3fc3588de1ae0f58450d807053989bb91d285f15 SHA512 ee07f01b6f10e771afbe6ca6f07d7efa24a5460e5c163f339ae84a8b7742a659f5cb535e674a2f315d1bfa95b7c02e56f46db1f397188b5b6705f6c00c1e9d73 +DIST stone-3.3.8.gh.tar.gz 281200 BLAKE2B 17af8af8d5cf01483ab4f63ebb694076e675880c0374a11a4b38f02d8783a35c4b518a9109721523fb3efe5b9f6f3381f288a4e00322dfda62343f77f2768f43 SHA512 bd7cd80a44f59225cbd322e385cfc6b6eccd7e30d8e6f0939d0fd65405b75773b1bc4449f6737366d0fa481c5860931b20ffe048eff57aad34ae90be47d18020 diff --git a/dev-python/stone/stone-3.3.8.ebuild b/dev-python/stone/stone-3.3.8.ebuild new file mode 100644 index 000000000..ba84c4261 --- /dev/null +++ b/dev-python/stone/stone-3.3.8.ebuild @@ -0,0 +1,37 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="The Official Api Spec Language for Dropbox" +HOMEPAGE=" + https://www.dropbox.com/developers + https://github.com/dropbox/stone + https://pypi.org/project/stone/ +" +SRC_URI="https://github.com/dropbox/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 x86" + +RDEPEND=" + >=dev-python/ply-3.4[${PYTHON_USEDEP}] + >=dev-python/six-1.3.0[${PYTHON_USEDEP}] +" + +#PATCHES=( "${FILESDIR}"/${P}-python3_11.patch ) + +distutils_enable_tests pytest + +python_prepare_all() { + # Don't run tests via setup.py pytest + sed -i -e "/'pytest-runner .*',/d" setup.py || die + + distutils-r1_python_prepare_all +} From 126461cdaa8bb4797aca77e7e49c50791550e043 Mon Sep 17 00:00:00 2001 From: Anton Bolshakov Date: Thu, 5 Sep 2024 09:15:31 +0800 Subject: [PATCH 3/3] memory_profiler: cleanup --- .../memory_profiler-1.0.2.ebuild | 22 ------------------- 1 file changed, 22 deletions(-) delete mode 100644 dev-ruby/memory_profiler/memory_profiler-1.0.2.ebuild diff --git a/dev-ruby/memory_profiler/memory_profiler-1.0.2.ebuild b/dev-ruby/memory_profiler/memory_profiler-1.0.2.ebuild deleted file mode 100644 index f4e8da17d..000000000 --- a/dev-ruby/memory_profiler/memory_profiler-1.0.2.ebuild +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -USE_RUBY="ruby31 ruby32" - -RUBY_FAKEGEM_TASK_DOC="" -RUBY_FAKEGEM_EXTRADOC="README.md" - -inherit ruby-fakegem - -DESCRIPTION="Memory profiling routines for Ruby 2.1+" -HOMEPAGE="https://github.com/SamSaffron/memory_profiler" -SRC_URI="https://github.com/SamSaffron/memory_profiler/archive/v${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="MIT" - -KEYWORDS="amd64 ~arm64 x86" -SLOT="0" - -# FIXME: TestReporter#test_no_strings_retained_report [test/test_reporter.rb:251]: -RESTRICT=test