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 B980615808B for ; Sat, 26 Mar 2022 17:58:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1299FE07EF; Sat, 26 Mar 2022 17:58:10 +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 D6FEFE07EF for ; Sat, 26 Mar 2022 17:58:09 +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 D5BBA343565 for ; Sat, 26 Mar 2022 17:58:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 74781290 for ; Sat, 26 Mar 2022 17:58:07 +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: <1648317461.feeb4b849b4f09403e4c622823d003ad42f256ad.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pygame/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pygame/pygame-2.1.2.ebuild X-VCS-Directories: dev-python/pygame/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: feeb4b849b4f09403e4c622823d003ad42f256ad X-VCS-Branch: master Date: Sat, 26 Mar 2022 17:58:07 +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: f142b2c2-6bf8-4d3a-848a-85785dc58f00 X-Archives-Hash: e35e2611e045f9fa198c507b21ab3f72 commit: feeb4b849b4f09403e4c622823d003ad42f256ad Author: Michał Górny gentoo org> AuthorDate: Sat Mar 26 17:57:41 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Mar 26 17:57:41 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=feeb4b84 dev-python/pygame: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/pygame/pygame-2.1.2.ebuild | 81 ----------------------------------- 1 file changed, 81 deletions(-) diff --git a/dev-python/pygame/pygame-2.1.2.ebuild b/dev-python/pygame/pygame-2.1.2.ebuild deleted file mode 100644 index 0a8ee188120a..000000000000 --- a/dev-python/pygame/pygame-2.1.2.ebuild +++ /dev/null @@ -1,81 +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} ) -inherit distutils-r1 - -DESCRIPTION="Python bindings for SDL multimedia library" -HOMEPAGE="https://www.pygame.org/" -SRC_URI=" - https://github.com/pygame/pygame/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86" -IUSE="examples midi opengl test X" -RESTRICT="!test? ( test )" - -RDEPEND="dev-python/numpy[${PYTHON_USEDEP}] - media-libs/freetype - media-libs/libpng:0= - >=media-libs/sdl2-image-1.2.2 - >=media-libs/sdl2-mixer-1.2.4 - >=media-libs/sdl2-ttf-2.0.6 - >=media-libs/smpeg2-0.4.4-r1 - virtual/jpeg - midi? ( media-libs/portmidi ) - X? ( >=media-libs/libsdl2-1.2.5[opengl?,threads,video,X] ) - !X? ( >=media-libs/libsdl2-1.2.5[threads] )" -DEPEND="${RDEPEND} - test? ( - media-libs/sdl2-image[gif,jpeg,png,tiff] - media-libs/sdl2-mixer[mp3,vorbis,wav] - )" -# fontconfig used for fc-list -RDEPEND+=" - media-libs/fontconfig" -# util-linux provides script -BDEPEND=" - test? ( - media-libs/fontconfig - sys-apps/util-linux - )" - -src_prepare() { - if ! use midi; then - rm test/midi_test.py || die - fi - distutils-r1_src_prepare -} - -python_configure() { - PORTMIDI_INC_PORTTIME=1 LOCALBASE="${EPREFIX}/usr" \ - "${EPYTHON}" "${S}"/buildconfig/config.py -auto || die - - # Disable automagic dependency on PortMidi. - if ! use midi; then - sed -e "s:^pypm :#&:" -i Setup || die "sed failed" - fi -} - -python_test() { - local -x PYTHONPATH=${BUILD_DIR}/install/lib - local -x SDL_VIDEODRIVER=dummy - local -x SDL_AUDIODRIVER=disk - distutils_install_for_testing --via-root - script -eqc "${EPYTHON} -m pygame.tests -v" || die -} - -python_install() { - distutils-r1_python_install - - # Bug #497720 - rm -fr "${D}"$(python_get_sitedir)/pygame/{docs,examples,tests}/ || die -} - -python_install_all() { - distutils-r1_python_install_all - use examples && dodoc -r examples -}