diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-12-24 23:23:49 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-12-24 23:23:49 +0000 |
commit | 2f9e06862c7dcde0646855988cd99c9ab1b3596e (patch) | |
tree | dc62fcdad095624ff65d578d7e5663a813bfc5af /dev-python/pycdio | |
parent | Delete older ebuild. (diff) | |
download | historical-2f9e06862c7dcde0646855988cd99c9ab1b3596e.tar.gz historical-2f9e06862c7dcde0646855988cd99c9ab1b3596e.tar.bz2 historical-2f9e06862c7dcde0646855988cd99c9ab1b3596e.zip |
Version bump. Set SUPPORT_PYTHON_ABIS.
Package-Manager: portage-15152-svn/cvs/Linux x86_64
Diffstat (limited to 'dev-python/pycdio')
-rw-r--r-- | dev-python/pycdio/ChangeLog | 10 | ||||
-rw-r--r-- | dev-python/pycdio/Manifest | 16 | ||||
-rw-r--r-- | dev-python/pycdio/pycdio-0.16.ebuild | 54 |
3 files changed, 65 insertions, 15 deletions
diff --git a/dev-python/pycdio/ChangeLog b/dev-python/pycdio/ChangeLog index 54cbbb0d2b16..0c0469287bf4 100644 --- a/dev-python/pycdio/ChangeLog +++ b/dev-python/pycdio/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/pycdio -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pycdio/ChangeLog,v 1.5 2008/05/29 14:21:17 hawking Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pycdio/ChangeLog,v 1.6 2009/12/24 23:23:49 arfrever Exp $ + +*pycdio-0.16 (25 Dec 2009) + + 25 Dec 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +pycdio-0.16.ebuild: + Version bump. Set SUPPORT_PYTHON_ABIS. 29 May 2008; Ali Polatel <hawking@gentoo.org> pycdio-0.13.ebuild: python_mod_compile is ROOT aware and can take multiple file arguments. diff --git a/dev-python/pycdio/Manifest b/dev-python/pycdio/Manifest index 26f114d821e0..909755959320 100644 --- a/dev-python/pycdio/Manifest +++ b/dev-python/pycdio/Manifest @@ -1,14 +1,4 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -DIST pycdio-0.13.tar.gz 343914 RMD160 6dab76a5811659272d54ac56df3c488912956960 SHA1 e2b9623db4a93391000464ff07df4e2b83ddde2a SHA256 0ff911a5a7d1ee5eb4da6227332e246fcd5bb4af9e041fc33a9b911458efbe68 -EBUILD pycdio-0.13.ebuild 1413 RMD160 1cda85f3dabcee1679a0b5575f1570bfc21ee9c8 SHA1 d6893b4f9f9e21408eedba2b440b168f6e7f77b6 SHA256 333f66f41cbc8922b131783db93b6d9b908e5b77d49deae89b19115ee0089130 -MISC ChangeLog 829 RMD160 9523ab54fcfabde94aa8ecb56cf890e78c4d4ccf SHA1 c873f158f5136d1c3f71c5b3242242e0950b58be SHA256 dcb423dee5f9d3c044b83dd8cdef5a4ebe9cd2a74fc09bfdec2d7b612d9dccc1 +DIST pycdio-0.16.tar.gz 172379 RMD160 d46d104403c5f935ee84048e6c07c0d2ca300f9a SHA1 79e85a74352a9cb6427980ef56204f83184d7c1a SHA256 ab7f1a846741bc57528939354a26d8b87c8d69a719bf4ab807f9592c96b64d2d +EBUILD pycdio-0.16.ebuild 1430 RMD160 7116423e25e829e5cdaa57430e56534a2b5f93dc SHA1 d064ef369540caf7f92d5062335f4bb9d4eb4a2d SHA256 b18d9d79d6c6c7ca5fa0b18a0335f79d5506aee2a63caca97fda73e6e185738a +MISC ChangeLog 996 RMD160 a555234ad0ae001b3299919893807c5b486e638d SHA1 27c5674bbea9b27a8e058a4b6668ac575df351e9 SHA256 177266efb4f27897ed6f53e09e08e269489add86b0eba3860b6270b51036d01d MISC metadata.xml 507 RMD160 f8c16e3275f3c7e8cb7373d6bfa25754ccb02c85 SHA1 21f33259bbe9e909dd8341aa582666023e17e42b SHA256 a15e313ce96543b1d6cdfcbc143d21318d56d54e5fc884682dd0240edaeebc85 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.9 (GNU/Linux) - -iEYEARECAAYFAkg+u+AACgkQQU4yORhF8iClsACgmxMminkKjI5lbcJTSIDgZeuv -g90AmwQ0HUAx6iDIi861+HD2JM05A7tH -=e+4m ------END PGP SIGNATURE----- diff --git a/dev-python/pycdio/pycdio-0.16.ebuild b/dev-python/pycdio/pycdio-0.16.ebuild new file mode 100644 index 000000000000..352efeb81a5d --- /dev/null +++ b/dev-python/pycdio/pycdio-0.16.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pycdio/pycdio-0.16.ebuild,v 1.1 2009/12/24 23:23:49 arfrever Exp $ + +EAPI="2" +SUPPORT_PYTHON_ABIS="1" + +inherit distutils + +DESCRIPTION="Python OO interface to libcdio (CD Input and Control library)" +HOMEPAGE="http://savannah.gnu.org/projects/libcdio/ http://pypi.python.org/pypi/pycdio" +SRC_URI="http://ftp.gnu.org/gnu/libcdio/${P}.tar.gz http://pypi.python.org/packages/source/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" + +RDEPEND="dev-libs/libcdio" +DEPEND="${RDEPEND} + dev-lang/swig + dev-python/setuptools + test? ( dev-python/nose )" +RESTRICT_PYTHON_ABIS="3.*" + +DOCS="README.txt" +PYTHON_MODNAME="cdio.py iso9660.py pycdio.py pyiso9660.py" + +src_prepare() { + distutils_src_prepare + + # Remove obsolete sys.path and adjust 'data' path in examples. + sed -i -e "s:^sys.path.insert.*::" -e "s:\.\./data:./data:g" example/*.py || die "sed failed" + + # Disable failing test. + sed -e "s/test_get_set/_&/" -i test/test-cdtext.py || die "sed failed" +} + +src_test() { + testing() { + PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib.*)" nosetests-${PYTHON_ABI} + } + python_execute_function testing +} + +src_install(){ + distutils_src_install + + if use doc; then + insinto /usr/share/doc/${PF}/examples + doins example/{README,*.py} + doins -r data + fi +} |