diff options
author | Julian Ospald <hasufell@gentoo.org> | 2013-02-26 00:03:27 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2013-02-26 00:03:27 +0000 |
commit | 447a40c710878dd2f5a9d7b3b67d0179c2de0f19 (patch) | |
tree | 3544db115191c56b41b44f55d737ef006c958760 /dev-python/pygame | |
parent | Clean up old revisions. (diff) | |
download | historical-447a40c710878dd2f5a9d7b3b67d0179c2de0f19.tar.gz historical-447a40c710878dd2f5a9d7b3b67d0179c2de0f19.tar.bz2 historical-447a40c710878dd2f5a9d7b3b67d0179c2de0f19.zip |
convert to distutils-r1
Package-Manager: portage-2.2.0_alpha163/cvs/Linux x86_64
Manifest-Sign-Key: 0xE73C35B3
Diffstat (limited to 'dev-python/pygame')
-rw-r--r-- | dev-python/pygame/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/pygame/Manifest | 17 | ||||
-rw-r--r-- | dev-python/pygame/pygame-1.9.2_pre20120101-r2.ebuild | 83 |
3 files changed, 99 insertions, 9 deletions
diff --git a/dev-python/pygame/ChangeLog b/dev-python/pygame/ChangeLog index 6f3c2764d554..93ccd2a314a0 100644 --- a/dev-python/pygame/ChangeLog +++ b/dev-python/pygame/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/pygame # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pygame/ChangeLog,v 1.91 2013/01/01 19:29:29 hasufell Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygame/ChangeLog,v 1.92 2013/02/26 00:03:23 hasufell Exp $ + +*pygame-1.9.2_pre20120101-r2 (26 Feb 2013) + + 26 Feb 2013; Julian Ospald <hasufell@gentoo.org> + +pygame-1.9.2_pre20120101-r2.ebuild: + convert to distutils-r1 01 Jan 2013; Julian Ospald <hasufell@gentoo.org> pygame-1.9.2_pre20120101-r1.ebuild: diff --git a/dev-python/pygame/Manifest b/dev-python/pygame/Manifest index 31b2ee5cf5df..7e734723c270 100644 --- a/dev-python/pygame/Manifest +++ b/dev-python/pygame/Manifest @@ -5,18 +5,19 @@ DIST pygame-1.9.2_pre20120101.tar.xz 2263028 SHA256 86d386a84a29387e98f6650edbd7 DIST pygame-1.9.2_pre3082.tar.xz 1970680 SHA256 477783e906f96656f694b798aa07ecdb9a63c3cb77fefa4dbceeb28ee1daa1fb SHA512 5e3cb080542e4f0baf6f032bfda77b105abd3093201e913f3b692730eee3eb2318150d4185d4eb2c4e79cd7895b2893ba6d51c26bdf9027b7490dfaa71d62da1 WHIRLPOOL d64ae79a97db36921284d32a09dfbafdcbaf6295a26f5f0154d1197a9597a55f62fa0ffcd71a9658ad51b64dd995d211ac84a1e34a4818b85443d88c11e0228a DIST pygame-1.9.2_pre3203.tar.xz 2184128 SHA256 f0b1742d8ddf82ac2c73c0f1ad7f8c000d2a3325798eaa7abb2b6f76a55abf62 SHA512 84debcd088578bc075a76f6c58d46c6bb841bf4be890085c140c256dfca850f8fba5412534cd563bbc92b923f3875ccca788d574971e145117d95c000e0dd092 WHIRLPOOL 6b2a8092c9aed3365b3903c0884bcedf2baf51ab09b48a5f51093176de84f9cf92ac06c4e3e93e4f215ea967c35d51747d63ca85db378c361ceec3f09c442968 EBUILD pygame-1.9.2_pre20120101-r1.ebuild 2015 SHA256 9451c62c0f625c1b0eebb52eca6638879694491a0c734379b7e7907626cdaaa3 SHA512 012a7a45ed796cca1c167b7f2df71223b83852315b1e0af8ea076971f65767e59eb70cbbbad698f1b7df131677ddb787504af3ad72d99b25564f2a4fb6e5b229 WHIRLPOOL ea349b2a258d9c4d9236674ab26ffb9d4ea8038372cbc58cbabec67a904ccb1551e0685119bdc0b2583ca74a41286bdfc2202b50174bdc44a69a917cdd87cff3 +EBUILD pygame-1.9.2_pre20120101-r2.ebuild 1998 SHA256 5a1d41013e482ba7f772ad2fb4c626fe1898d7b0d6f15c5f9fefce0ce20a9474 SHA512 05bdd5c7371f1170dc43fb74e47aabe5ce5e873b070004213b00731cd4f3532802353bdc66d5a5ef376e1af56729061a91877ced9558fe3ff1a1b36d475d27b1 WHIRLPOOL 4102b3643b876f9ff36f34291036da43c95c277c86cc606ce4869729bc0fc40b506db1570a719c8fa533602be540abaf9d70797be8184ed1c6401facd212aea8 EBUILD pygame-1.9.2_pre3082.ebuild 1795 SHA256 c84e9dfa3fab899a018c0cb7327b02cd0af9835ed9ae653f270ca7cdd9531f61 SHA512 ecca83bbda705d857e9f7a3a71b3c5f19207de1f19427aad3461730f9e0cacddde4f716875b7a06571fdb0b7b4b304a6bd812ee8ee06a7d228354e5951406231 WHIRLPOOL 1d8e131b65b81a4bf381e965dfe91ff84a13d7d95af42ea39374e7c79caa6a3b3027113d440ccaee66b09530798d1b96477b54a3ac971f224dee546678d137c4 EBUILD pygame-1.9.2_pre3203.ebuild 1962 SHA256 f0f14992bd2a78ce9425906462a58239ef712b44d03db08453e6c060aaf1b5ad SHA512 4a8f4f775d86dc5744c4615c6eb05b69987a0674e3cc14b79ff294e2cd6b43015a2d2242e5483e4fa5da2e49eec8bf784edc1838746803847b4fe801845a8432 WHIRLPOOL 3faadaf2529441fce02a9b5dcd89a312d829b1aef4f809fd6c0d261fd7410efa5df533c1f35c07bdd41bfbd473793d49c5f717c030b179c0640c21e35b67dae4 -MISC ChangeLog 12262 SHA256 354bb7503c531532a2991ddc5535fa3349fa650202b9dcb6a83a862b4a926879 SHA512 19e5a8a65010b71ac28514f6b6826428d274943f78c45e6c91f2fbca881992d063cfa28f96419d198e4d7c45bcc4ddc9e62f3ac8bcaeb6c753e5262632a0faad WHIRLPOOL c1d59262b8652ef669a626f86c02e54b9a40c4a1b92e6c4f9ea2212a261229e99cae4db2b598ab9c7f06224dff585cb35298a06cf1ce9cd6982239ec60918470 +MISC ChangeLog 12423 SHA256 b958d6c0ff62c6283a7f1544972d49b41bb78923e66887e16e30222f71b62e5b SHA512 b82f0041fb952d944f9292d9c1b85b01acd4cfb1c14b9541567ee3f69be433050e4317ecc87e60fb4594141912da328b09dc6021174dff0aaed58be32c62a946 WHIRLPOOL 5ecd64d945ad744cba53609e5575429bb1e720e479c61e72bbf0625850ff8c7348bd64b60ec4d7eb5ce0789838c4c7a9ac9571ea00e0dce2fc99e44c98b9ea64 MISC metadata.xml 159 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4 SHA512 d5a29b9f6ecddfc368dc0f1f8919cd3c3d6ecf2c7a82bc8d4c0dd51b7aa15561ed0462acb8ae39bc84f97e706e82d9b4b06357494f164f1648219f604b473fbe WHIRLPOOL 36e19b63a1b307cc200e1d73499b7477f73799db3909e71b5a0916084728351c76d400f65e2c8b3f8fffb2c9ba54c0bd235f785b47414178d98f11d64a9420d7 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iQEcBAEBCAAGBQJQ4zkdAAoJEFpvPKfnPDWzubYH/3joTD656V8KWj5LbZfeHAN0 -0txla9/nHkzVN67qhxruO5SJ+44tQmE+BQ+EfIvx2R7xzW3qrCk5Az9jOGycrUQR -io/OWSdwK+bwegmIoPRlc4sc6hgJgyqMQVbS/WdH12WpdO9Fph6ksDBkLREB5YdY -KudlXScS+gVkv6mP0cqYypu0qYap8NAwE4s49Q98WR7nNKPdJAPQ0wgbiPSKGl4X -pQ3KwjSzIo5BI/S0FXy9qVDCH6LhWA1q0ttOkH+nLPJlgx4FBW4kjaudeCpFW3BI -kjL/ElHICtFVvnB2gOgDAnf5RLtC9agp1hnC6tAW6P4465sSBTT4aHKKhmL8qyI= -=PBRB +iQEcBAEBCAAGBQJRK/vNAAoJEFpvPKfnPDWzy6YIAK9u7+dyJoAdNAGeWBVl5yjl +MrMqzcg7tUg+TSCAYalLsF7sMSowYYcBMLBLG3ivrdYTdD2c1+x158YrJZw3kLNa +W6b5xlaDGDZhvpfnKem6S4cWIITPfiFtgDCxtmr6rbkGzCzvUWGHnxdmBm54i/zK +tRRzFGNw0M9gM1f///UpGnpf288isHdf71bseDc4XGALdfv5REz/64PIvpU4Ilsf +12NrkwnQ4mo26CNsOSuoZ96kldxY9aiGQqrQ+Si0fFgHKSe3cM4mvfgZeIiFSSi0 +myX8R9AL2Bo1mWZLFwJT3L5w9UiwD+0LOwxZYmQh2PXlgju4xkfFG9RrmPDueHo= +=YzmU -----END PGP SIGNATURE----- diff --git a/dev-python/pygame/pygame-1.9.2_pre20120101-r2.ebuild b/dev-python/pygame/pygame-1.9.2_pre20120101-r2.ebuild new file mode 100644 index 000000000000..3203ac0c72b8 --- /dev/null +++ b/dev-python/pygame/pygame-1.9.2_pre20120101-r2.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygame/pygame-1.9.2_pre20120101-r2.ebuild,v 1.1 2013/02/26 00:03:23 hasufell Exp $ + +EAPI=5 +PYTHON_COMPAT=( python{2_5,2_6,2_7,3_2,3_3} ) +DISTUTILS_IN_SOURCE_BUILD=1 +inherit flag-o-matic distutils-r1 virtualx + +DESCRIPTION="Python bindings for SDL multimedia library" +HOMEPAGE="http://www.pygame.org/" +if [[ "${PV}" == *_pre* ]]; then + SRC_URI="http://people.apache.org/~Arfrever/gentoo/${P}.tar.xz" +else + SRC_URI="http://www.pygame.org/ftp/pygame-${PV}release.tar.gz" +fi + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd" +IUSE="doc examples X" + +DEPEND="dev-python/numpy[${PYTHON_USEDEP}] + >=media-libs/sdl-image-1.2.2[png,jpeg] + >=media-libs/sdl-mixer-1.2.4 + >=media-libs/sdl-ttf-2.0.6 + >=media-libs/smpeg-0.4.4-r1 + X? ( >=media-libs/libsdl-1.2.5[X,video] ) + !X? ( >=media-libs/libsdl-1.2.5 )" +RDEPEND="${DEPEND}" + +if [[ "${PV}" != *_pre* ]]; then + S="${WORKDIR}/${P}release" +fi + +DOCS=( WHATSNEW ) + +python_configure() { + "${EPYTHON}" config.py -auto + + if ! use X; then + sed -e "s:^scrap :#&:" -i Setup || die "sed failed" + fi + + # Disable automagic dependency on PortMidi. + sed -e "s:^pypm :#&:" -i Setup || die "sed failed" + + sed -i -e "s/import _camera/from pygame &/g" lib/camera.py || die #415593 +} + +python_compile() { + if [[ ${EPYTHON} == python2* ]]; then + local CFLAGS=${CFLAGS} CXXFLAGS=${CXXFLAGS} + + append-flags -fno-strict-aliasing + fi + + distutils-r1_python_compile +} + +python_test() { + VIRTUALX_COMMAND="${PYTHON}" virtualmake run_tests.py +} + +python_install() { + distutils-r1_python_install + + rm -fr "${D}$(python_get_sitedir)/pygame/examples" + rm -fr "${D}$(python_get_sitedir)/pygame/tests" +} + +python_install_all() { + distutils-r1_python_install_all + + if use doc; then + dohtml -r docs/* + fi + + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins -r examples/* + fi +} |