diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2011-04-12 18:13:12 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2011-04-12 18:13:12 +0000 |
commit | 9f3364988a2d4a16ed761810782350db7286e3fd (patch) | |
tree | b7192c2e16959c1221af7f63796a5a0a4127c2f0 /dev-tcltk | |
parent | Delete older ebuilds. (diff) | |
download | historical-9f3364988a2d4a16ed761810782350db7286e3fd.tar.gz historical-9f3364988a2d4a16ed761810782350db7286e3fd.tar.bz2 historical-9f3364988a2d4a16ed761810782350db7286e3fd.zip |
Call Python-related functions only with USE="python".
Package-Manager: portage-2.2.0_alpha29_p17/cvs/Linux x86_64
Diffstat (limited to 'dev-tcltk')
-rw-r--r-- | dev-tcltk/snack/Manifest | 22 | ||||
-rw-r--r-- | dev-tcltk/snack/snack-2.2.10-r4.ebuild | 27 |
2 files changed, 37 insertions, 12 deletions
diff --git a/dev-tcltk/snack/Manifest b/dev-tcltk/snack/Manifest index 1d88c2bc64f7..d86c6c971439 100644 --- a/dev-tcltk/snack/Manifest +++ b/dev-tcltk/snack/Manifest @@ -4,17 +4,23 @@ Hash: SHA1 AUX alsa-undef-sym.patch 1225 RMD160 6d8068bdad0a99e512f8c3a19e0b42ed3545433a SHA1 15865e0e304b094aff9de1fb1338faffc2fff8d8 SHA256 98ea274e8d6bd63e7ac785c65dcbd7d45fd7f904af974ffb3792c1b7917141f9 AUX snack-2.2.10-darwin.patch 1108 RMD160 df59e122a371dbe35ca01a65d0d32baa549e330e SHA1 5eb83bd28edf64d8cc4727bec2b27d0c701132f7 SHA256 8ea2ae5fba07018cf457df25e008e0013bcfdcde46bd16f9aa8c26caa8d64445 DIST snack2.2.10.tar.gz 1798252 RMD160 52616bc4cf06baee0e5d7a91faa5b385ee60c7a7 SHA1 2c333fde061cf1cb7d5932c9cff4eb968c7d095a SHA256 4bfe764547ab92ba58f43b77366dbb7c7b3512d65a27cdbf9e585a9cb64ce81e -DIST snack2.2.9.tar.gz 1792744 RMD160 9eeb8153e57db05c332e755f3f875b0aaccc85cf SHA1 666568b5b1c4f0b6aab873ef9b6b2fccc5ce0ae5 SHA256 620fc9a3f3bd9f3a386d64b465fcffc2030992cd7558bab3122b8929b7f4bf88 -EBUILD snack-2.2.10-r2.ebuild 1854 RMD160 fd6cfda508e1a77e65d95ba9482e6b6a8c7268e4 SHA1 ebe16be88745e5ebc508c7bf70dfe7c2ad76f48c SHA256 9752c04ccfc2cb4b4cc8188c2367b6fd84b4c5c1ad2e3f72a6b6801abc7edd10 -EBUILD snack-2.2.10-r3.ebuild 1882 RMD160 b36323e75ec262aa0ca010eb85728a61bca82b7f SHA1 299dae6ed63a111a94cf4d4d67784ee4628d7ad3 SHA256 d3d55f3ebc93618f42f18a31ec05b2ff764eaa8a3e7bc052bed89547acc1e5ac -EBUILD snack-2.2.10-r4.ebuild 2198 RMD160 6b2b12d539bbb559175b83f25117e0dd0595c523 SHA1 f4d7bcfac880fc214a30beff9bac3890afaf8d57 SHA256 2fd8b268f6526c22b5670b2beb92c1d73cbb15e225eef9770d91f4c031b80854 -EBUILD snack-2.2.9.ebuild 1288 RMD160 b0bca78dd03445a1d587456907e7cee8142a6ae5 SHA1 2848feea9cc495a7455083599a2f555e66f75139 SHA256 ef52f6a40a1b1e692f748db11e6c6645aaba9a9a5fdb929e10e1d9eaa2191d47 +EBUILD snack-2.2.10-r4.ebuild 2398 RMD160 eb667747ce275053c04428dd35c3f2e0d1125c27 SHA1 82a69e6fa9acef4295537d88827614f5c64e8f20 SHA256 0ddeff5ea24feb11e857b6030d7373a461f488dc7faf5d1c4284e01720ea62f7 MISC ChangeLog 6094 RMD160 e36261399792f9f124ab9c68c76740a298aa7e49 SHA1 9014bcb3e29cf9b9597f78aaa16f3f5e97c91a7d SHA256 c1232e71d2570334b47059e3e34575f32ae61736b70921dde944680064a29c90 MISC metadata.xml 158 RMD160 f197c34c7dd71f6025e93436e3f999137928554a SHA1 edb8e5ac668440e92e947fc3dff54484b28c7775 SHA256 62fb2b0a899315973de885234e3931a2f652b343b68f90fe0778378fdca6f290 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iEYEARECAAYFAk2aqNsACgkQOeoy/oIi7uwP0gCfdPaD9Bh6wJHSPt/BSF2bLFg4 -02gAoLFlk+pRHnByBgC4LaSl+PeWrDBY -=0Dkl +iQIcBAEBAgAGBQJNpJZNAAoJENgZr6v6gHY04c4P/01n5Tt0e2xxCHFF4AmUnSS+ +9jS3I7Ffqn0dJHSjeDOBasRBZvuFA1plcbboGwl9/mqcpWJbU3nstjL51yAxrzIw +wiY333fZ81MxgvfIYhmeDNXIppnOMmfCqU9GSnrSMPJHJAhdLl6ir/1/98b4UlMJ +Ly7w6Dc4o3XjRnF9rPzYAK7TQwqqSOrhF1j2/Ug4oBuz2D1M+cKCU9XRhUlMjqBz +W41QtDsZ/mFBqmn6Ne3YrrCqa5ewlsnS6IMKQWdMErq0lQgIvx3+K502i1IhRyWx +VMaIX7AZMJAhFH//mNt7jW39zEOB/7sVVLvgkEml6BdmGZDhZUxitwkU1fgxFxTr +wrVjp7cDMA44pJmtM0ljvXt065bxGb3nssQTe1msvFj1wF+r1zAAhGadVUegl/cX +tYI7OwfecWwmlMjRO39aS4QE57M1GIKl3Ayr18Qyg5I6BghTZtVNHxLkcsbFsQPt +cIWFriVKDdoXpjpr/OR3CyMU5aMXFqcrZnoQD+JgakcxKdo3ICjmL/YYu8UX0bFM +991Lkbcmg1sBnhyBiXaWVrozxVBrdEOMyiDOcfaLGzj3/KZ2/12dYw4623v8+wKC +rqANFUl05ZNcURzXnHy+34dy0WotsD1+e7GPqDB1tYJ39pPvLjnT2VEFvG2yoLCf +TNDY+ep15j47073GrOZh +=Sf6x -----END PGP SIGNATURE----- diff --git a/dev-tcltk/snack/snack-2.2.10-r4.ebuild b/dev-tcltk/snack/snack-2.2.10-r4.ebuild index fa34fcb4f03e..9a7a5514f135 100644 --- a/dev-tcltk/snack/snack-2.2.10-r4.ebuild +++ b/dev-tcltk/snack/snack-2.2.10-r4.ebuild @@ -1,12 +1,12 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/snack/snack-2.2.10-r4.ebuild,v 1.9 2010/06/09 11:55:25 angelos Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/snack/snack-2.2.10-r4.ebuild,v 1.10 2011/04/12 18:13:12 arfrever Exp $ EAPI="3" PYTHON_DEPEND="python? 2" SUPPORT_PYTHON_ABIS="1" -PYTHON_MODNAME="tkSnack.py" +RESTRICT_PYTHON_ABIS="3.*" inherit eutils distutils multilib @@ -27,10 +27,17 @@ DEPEND=" alsa? ( media-libs/alsa-lib ) vorbis? ( media-libs/libvorbis )" RDEPEND="${DEPEND}" -RESTRICT_PYTHON_ABIS="3.*" S="${WORKDIR}/${PN}${PV}/unix" +PYTHON_MODNAME="tkSnack.py" + +pkg_setup() { + if use python; then + python_pkg_setup + fi +} + src_prepare() { # bug 226137 - snack depends on alsa private symbol _snd_pcm_mmap_hw_ptr epatch "${FILESDIR}"/alsa-undef-sym.patch @@ -84,3 +91,15 @@ src_install() { fi fi } + +pkg_postinst() { + if use python; then + distutils_pkg_postinst + fi +} + +pkg_postrm() { + if use python; then + distutils_pkg_postrm + fi +} |