Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pygame/
Date: Sat, 28 Mar 2020 17:44:24
Message-Id: 1585417432.159a743f8d3e0e8ac32f6481f3449b71963ec3f8.mgorny@gentoo
1 commit: 159a743f8d3e0e8ac32f6481f3449b71963ec3f8
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Mar 28 17:31:21 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Mar 28 17:43:52 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=159a743f
7
8 dev-python/pygame: Remove redundant versions
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pygame/Manifest | 1 -
13 dev-python/pygame/pygame-1.9.3.ebuild | 79 -----------------------------------
14 2 files changed, 80 deletions(-)
15
16 diff --git a/dev-python/pygame/Manifest b/dev-python/pygame/Manifest
17 index 4740c1c3f0c..b3ae74d328f 100644
18 --- a/dev-python/pygame/Manifest
19 +++ b/dev-python/pygame/Manifest
20 @@ -1,2 +1 @@
21 -DIST pygame-1.9.3.tar.gz 2974541 BLAKE2B 38ba1f85d845cf33202819705ad564168fb3bc7041731d50d8c3f6bf1c55bebf41202f8ae9e4c4ba52cabe7335a9df13d7724104015b49842dc7f7aa7b0bfd19 SHA512 8920c598a97b4ff8602391517f070b67263bacb6330e13ea5d7d5432ee592a7c984fe986837b90a032da3d4e717f9df0cc99f0fb39f1cbde1b4f6a4c132feffe
22 DIST pygame-1.9.6.tar.gz 3223131 BLAKE2B a4d04c933fcad244d32bd512ef8717e60ec923f361e9e0296b5c7d57c5949d3434a040d028249c5b8f3c865ac3dcdbb32e6f0b223186678595a8625213ba2a17 SHA512 d923c554203a7c35e37921658cb4c5bf50215ab0ff4d2b869a1ee6b2e2ca31d66ec4bbde4287f5a777838ffe932cd15b993cb0224b86e43d684de61c35acbcd0
23
24 diff --git a/dev-python/pygame/pygame-1.9.3.ebuild b/dev-python/pygame/pygame-1.9.3.ebuild
25 deleted file mode 100644
26 index 771b5b84479..00000000000
27 --- a/dev-python/pygame/pygame-1.9.3.ebuild
28 +++ /dev/null
29 @@ -1,79 +0,0 @@
30 -# Copyright 1999-2020 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=6
34 -PYTHON_COMPAT=( python{2_7,3_6} )
35 -DISTUTILS_IN_SOURCE_BUILD=1
36 -inherit flag-o-matic distutils-r1 virtualx
37 -
38 -DESCRIPTION="Python bindings for SDL multimedia library"
39 -HOMEPAGE="http://www.pygame.org/"
40 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
41 -
42 -LICENSE="LGPL-2.1"
43 -SLOT="0"
44 -KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ppc ~sparc x86"
45 -IUSE="doc examples midi X"
46 -
47 -DEPEND="dev-python/numpy[${PYTHON_USEDEP}]
48 - >=media-libs/sdl-image-1.2.2[png,jpeg]
49 - >=media-libs/sdl-mixer-1.2.4
50 - >=media-libs/sdl-ttf-2.0.6
51 - >=media-libs/smpeg-0.4.4-r1
52 - midi? ( media-libs/portmidi )
53 - X? ( >=media-libs/libsdl-1.2.5[X,video] )
54 - !X? ( >=media-libs/libsdl-1.2.5 )"
55 -RDEPEND="${DEPEND}"
56 -
57 -DOCS=( WHATSNEW )
58 -
59 -# various module import and data path issues
60 -RESTRICT=test
61 -
62 -python_configure() {
63 - PORTMIDI_INC_PORTTIME=1 LOCALBASE="${EPREFIX}/usr" "${EPYTHON}" config.py -auto
64 -
65 - if ! use X; then
66 - sed -e "s:^scrap :#&:" -i Setup || die "sed failed"
67 - fi
68 -
69 - # Disable automagic dependency on PortMidi.
70 - if ! use midi; then
71 - sed -e "s:^pypm :#&:" -i Setup || die "sed failed"
72 - fi
73 -}
74 -
75 -python_compile() {
76 - if [[ ${EPYTHON} == python2* ]]; then
77 - local CFLAGS=${CFLAGS} CXXFLAGS=${CXXFLAGS}
78 -
79 - append-flags -fno-strict-aliasing
80 - fi
81 -
82 - distutils-r1_python_compile
83 -}
84 -
85 -python_test() {
86 - PYTHONPATH="${BUILD_DIR}/lib" virtx "${EPYTHON}" -m pygame.tests
87 -}
88 -
89 -python_install() {
90 - distutils-r1_python_install
91 -
92 - # Bug #497720
93 - rm -fr "${D}"$(python_get_sitedir)/pygame/{docs,examples,tests}/ || die
94 -}
95 -
96 -python_install_all() {
97 - distutils-r1_python_install_all
98 -
99 - if use doc; then
100 - docinto html
101 - dodoc -r docs/*
102 - fi
103 -
104 - if use examples; then
105 - insinto /usr/share/doc/${PF}/examples
106 - doins -r examples/*
107 - fi
108 -}