From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EDAAC15800A for ; Mon, 24 Jul 2023 11:33:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CF287E0974; Mon, 24 Jul 2023 11:33:38 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B21D8E0974 for ; Mon, 24 Jul 2023 11:33:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 41B4F341427 for ; Mon, 24 Jul 2023 11:33:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 329C5C43 for ; Mon, 24 Jul 2023 11:33:34 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1690198405.795643b6728a22901f7b6d42ec32bc11993f2764.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/python-rtmidi/files/, dev-python/python-rtmidi/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/python-rtmidi/Manifest dev-python/python-rtmidi/files/python-rtmidi-1.4.9-unbundle_rtmidi.patch dev-python/python-rtmidi/python-rtmidi-1.4.9.ebuild X-VCS-Directories: dev-python/python-rtmidi/files/ dev-python/python-rtmidi/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 795643b6728a22901f7b6d42ec32bc11993f2764 X-VCS-Branch: master Date: Mon, 24 Jul 2023 11:33:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1aee98c5-83d9-4348-9aec-c075b5d5df96 X-Archives-Hash: d0433e75a21b6fd03b891cc328c76890 commit: 795643b6728a22901f7b6d42ec32bc11993f2764 Author: Michał Górny gentoo org> AuthorDate: Mon Jul 24 11:19:49 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Jul 24 11:33:25 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=795643b6 dev-python/python-rtmidi: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/python-rtmidi/Manifest | 1 - .../python-rtmidi-1.4.9-unbundle_rtmidi.patch | 59 ---------------------- .../python-rtmidi/python-rtmidi-1.4.9.ebuild | 52 ------------------- 3 files changed, 112 deletions(-) diff --git a/dev-python/python-rtmidi/Manifest b/dev-python/python-rtmidi/Manifest index 56940aca4fc3..1bc658cf76b4 100644 --- a/dev-python/python-rtmidi/Manifest +++ b/dev-python/python-rtmidi/Manifest @@ -1,2 +1 @@ -DIST python-rtmidi-1.4.9.tar.gz 251238 BLAKE2B dda4052e893839f88a6756306f8ff4e89ee66ad9716d374efbb7b92a8e9074e98c8d5df0cc82aa3c6e0c77a78fe9b997079623a5147c03eeea9128dfb7605215 SHA512 91c5a0f807549fbe9d87df6e40b8c3db0f9be753616ba51804900195d02120cd972e39c69dd99e60e4ea1b1d9831d0b956b64ce71b2fe03422efc57bccf5cb70 DIST python_rtmidi-1.5.4.tar.gz 327631 BLAKE2B c4bdbca7e011922eddb7995818cf471d0a3a5243c407b6ca82afad666af367beba4eec0a594ee26a2aca513b85f7964b81f9bd9d5ca095a03219382797402525 SHA512 2468ea12fcf6b741eefab7673a7d5d39322fccc853bd6e69ba77e90d6ee3e2681966d9886774386ddb395ee045fd266501c090707894bae5e47cf142c46fd0a4 diff --git a/dev-python/python-rtmidi/files/python-rtmidi-1.4.9-unbundle_rtmidi.patch b/dev-python/python-rtmidi/files/python-rtmidi-1.4.9-unbundle_rtmidi.patch deleted file mode 100644 index 45cece4b2eb9..000000000000 --- a/dev-python/python-rtmidi/files/python-rtmidi-1.4.9-unbundle_rtmidi.patch +++ /dev/null @@ -1,59 +0,0 @@ ---- a/setup.py -+++ b/setup.py -@@ -102,7 +102,7 @@ - - # Set up options for compiling the _rtmidi Extension - if cythonize: -- sources = [join(SRC_DIR, "_rtmidi.pyx"), join(SRC_DIR, "rtmidi", "RtMidi.cpp")] -+ sources = [join(SRC_DIR, "_rtmidi.pyx")] - elif exists(join(SRC_DIR, "_rtmidi.cpp")): - cythonize = lambda x: x # noqa - sources = [join(SRC_DIR, "_rtmidi.cpp"), join(SRC_DIR, "rtmidi", "RtMidi.cpp")] -@@ -145,18 +145,13 @@ - - - if sys.platform.startswith('linux'): -- if alsa and find_library('asound'): -- define_macros.append(("__LINUX_ALSA__", None)) -- libraries.append('asound') -+ if not find_library('rtmidi'): -+ sys.exit("Failed to find librtmidi") - -- if jack: -- check_for_jack(define_macros, libraries) -- -- if not find_library('pthread'): -- sys.exit("The 'pthread' library is required to build python-rtmidi on" -- "Linux. Please install the libc6 development package.") -- -- libraries.append("pthread") -+ res = subprocess.check_output(['pkg-config', '--variable', 'includedir', 'rtmidi']) -+ rtmidi_include_dir = res.decode().strip() -+ include_dirs.append(rtmidi_include_dir) -+ libraries.append('rtmidi') - elif sys.platform.startswith('darwin'): - if jack: - check_for_jack(define_macros, libraries) -@@ -197,7 +192,7 @@ - # Finally, set up our distribution - setup( - packages=['rtmidi'], -- ext_modules=cythonize(extensions), -+ ext_modules=cythonize(extensions, include_path=[ rtmidi_include_dir ]), - tests_require=[], # Test dependencies are handled by tox - # On systems without a RTC (e.g. Raspberry Pi), system time will be the - # Unix epoch when booted without network connection, which makes zip fail, ---- a/tests/test_rtmidi.py -+++ b/tests/test_rtmidi.py -@@ -54,11 +54,6 @@ - else: - self.assertEqual(res, rtmidi.API_UNSPECIFIED) - -- def test_get_rtmidi_version(self): -- version = rtmidi.get_rtmidi_version() -- self.assertTrue(isinstance(version, string_types)) -- self.assertEqual(version, '4.0.0') -- - - class BaseTests: - NOTE_ON = [0x90, 48, 100] diff --git a/dev-python/python-rtmidi/python-rtmidi-1.4.9.ebuild b/dev-python/python-rtmidi/python-rtmidi-1.4.9.ebuild deleted file mode 100644 index 69f7947f93cd..000000000000 --- a/dev-python/python-rtmidi/python-rtmidi-1.4.9.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9..11} ) -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 - -inherit distutils-r1 pypi - -DESCRIPTION="Python bindings for media-libs/rtmidi implemented using Cython" -HOMEPAGE=" - https://pypi.org/project/python-rtmidi/ - https://spotlightkid.github.io/python-rtmidi/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="+alsa jack" - -# Most of these tests do not play nicely with the sandbox, some only -# work with exactly the same version of rtmidi as the bundled one, and -# several fail even with disabled sandbox unless there are actual MIDI -# I/O devices present. -RESTRICT="test" - -DEPEND="media-libs/rtmidi[alsa?,jack?]" -RDEPEND="${DEPEND}" -BDEPEND="