diff options
author | Stefan Briesenick <sbriesen@gentoo.org> | 2007-05-16 22:09:01 +0000 |
---|---|---|
committer | Stefan Briesenick <sbriesen@gentoo.org> | 2007-05-16 22:09:01 +0000 |
commit | 567b18e7230ac953209a3a02d7c3b600ecdbae07 (patch) | |
tree | 0752769795538725002670d62912fa5032432dd7 /dev-python/pycdio | |
parent | Version bump. Remove old version. (diff) | |
download | gentoo-2-567b18e7230ac953209a3a02d7c3b600ecdbae07.tar.gz gentoo-2-567b18e7230ac953209a3a02d7c3b600ecdbae07.tar.bz2 gentoo-2-567b18e7230ac953209a3a02d7c3b600ecdbae07.zip |
initial commit.
(Portage version: 2.1.2.7)
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/files/digest-pycdio-0.12 | 3 | ||||
-rw-r--r-- | dev-python/pycdio/metadata.xml | 14 | ||||
-rw-r--r-- | dev-python/pycdio/pycdio-0.12.ebuild | 56 |
5 files changed, 99 insertions, 0 deletions
diff --git a/dev-python/pycdio/ChangeLog b/dev-python/pycdio/ChangeLog new file mode 100644 index 000000000000..62b416a57f33 --- /dev/null +++ b/dev-python/pycdio/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-python/pycdio +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pycdio/ChangeLog,v 1.1 2007/05/16 22:09:01 sbriesen Exp $ + +*pycdio-0.12 (16 May 2007) + + 16 May 2007; Stefan Briesenick <sbriesen@gentoo.org> +metadata.xml, + +pycdio-0.12.ebuild: + initial commit. + diff --git a/dev-python/pycdio/Manifest b/dev-python/pycdio/Manifest new file mode 100644 index 000000000000..1ed87aa4940f --- /dev/null +++ b/dev-python/pycdio/Manifest @@ -0,0 +1,16 @@ +DIST pycdio-0.12.tar.gz 320067 RMD160 49382de728ff1d48d5f098c223f870c73c2d3be8 SHA1 2f8ebda5b6e18c6bd8666b2bd14349019f8e9efe SHA256 829327e23684ea8a8c03debafd2c680e7352a9e78cf00f705e2af098fd55c3df +EBUILD pycdio-0.12.ebuild 1334 RMD160 5571b2f52fc090faf8a4d78c2d29c5cc78099777 SHA1 f07f0aaacd1bd84f15396cd1bf3dc0cf04a8e534 SHA256 d10b0eedbe08dd71f684e7b2157e78486040eadadca196e74f20eda724a5ad7b +MD5 386322e1064a314c604eb4715411b79a pycdio-0.12.ebuild 1334 +RMD160 5571b2f52fc090faf8a4d78c2d29c5cc78099777 pycdio-0.12.ebuild 1334 +SHA256 d10b0eedbe08dd71f684e7b2157e78486040eadadca196e74f20eda724a5ad7b pycdio-0.12.ebuild 1334 +MISC ChangeLog 258 RMD160 7073186bffca52be1fda654834e30a26aac29e4a SHA1 023d5aaf6e118f12b0e0e67deaa6a7eee9fc5864 SHA256 41d144750f554f4fe77860cbe0b994cb92bdaafdeb705c78d0bf24b41ae9bebf +MD5 63eb7dc78feedb6adb9520b156bb9618 ChangeLog 258 +RMD160 7073186bffca52be1fda654834e30a26aac29e4a ChangeLog 258 +SHA256 41d144750f554f4fe77860cbe0b994cb92bdaafdeb705c78d0bf24b41ae9bebf ChangeLog 258 +MISC metadata.xml 507 RMD160 f8c16e3275f3c7e8cb7373d6bfa25754ccb02c85 SHA1 21f33259bbe9e909dd8341aa582666023e17e42b SHA256 a15e313ce96543b1d6cdfcbc143d21318d56d54e5fc884682dd0240edaeebc85 +MD5 eb40d28e545096400a7ca6acf7b671ac metadata.xml 507 +RMD160 f8c16e3275f3c7e8cb7373d6bfa25754ccb02c85 metadata.xml 507 +SHA256 a15e313ce96543b1d6cdfcbc143d21318d56d54e5fc884682dd0240edaeebc85 metadata.xml 507 +MD5 95ddabe74f2d71ef76ef4c2083ad48ab files/digest-pycdio-0.12 235 +RMD160 021f73ea0f07b96ff59a59b33a025fef2c179769 files/digest-pycdio-0.12 235 +SHA256 c038b9bf6f975ebc18ac1883be7bf363e53b0bdb6675903b4a7fdeefb917c01b files/digest-pycdio-0.12 235 diff --git a/dev-python/pycdio/files/digest-pycdio-0.12 b/dev-python/pycdio/files/digest-pycdio-0.12 new file mode 100644 index 000000000000..19f15deceb44 --- /dev/null +++ b/dev-python/pycdio/files/digest-pycdio-0.12 @@ -0,0 +1,3 @@ +MD5 0055a6100f02dcc15f8de3ac9494449d pycdio-0.12.tar.gz 320067 +RMD160 49382de728ff1d48d5f098c223f870c73c2d3be8 pycdio-0.12.tar.gz 320067 +SHA256 829327e23684ea8a8c03debafd2c680e7352a9e78cf00f705e2af098fd55c3df pycdio-0.12.tar.gz 320067 diff --git a/dev-python/pycdio/metadata.xml b/dev-python/pycdio/metadata.xml new file mode 100644 index 000000000000..b15cf2248fb0 --- /dev/null +++ b/dev-python/pycdio/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>no-herd</herd> + <maintainer> + <email>sbriesen@gentoo.org</email> + <name>Stefan Briesenick</name> + </maintainer> + <longdescription lang="en"> + The pycdio (and libcdio) libraries encapsulate CD-ROM reading and + control. Python programs wishing to be oblivious of the OS- and + device-dependent properties of a CD-ROM can use this library. + </longdescription> +</pkgmetadata> diff --git a/dev-python/pycdio/pycdio-0.12.ebuild b/dev-python/pycdio/pycdio-0.12.ebuild new file mode 100644 index 000000000000..f5b57637afe9 --- /dev/null +++ b/dev-python/pycdio/pycdio-0.12.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pycdio/pycdio-0.12.ebuild,v 1.1 2007/05/16 22:09:01 sbriesen Exp $ + +inherit eutils distutils flag-o-matic multilib + +DESCRIPTION="pycdio is a Python interface to the CD Input and Control library (libcdio)" +HOMEPAGE="http://savannah.gnu.org/projects/libcdio/" +SRC_URI="http://ftp.gnu.org/gnu/libcdio/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +DEPEND="virtual/python + dev-libs/libcdio + dev-lang/swig" + +PYTHON_MODNAME="" + +src_unpack() { + unpack ${A} + cd "${S}" + + # remove obsolete sys.path and adjust 'data' path in examples + sed -i -e "s:^sys.path.insert.*::" -e "s:\.\./data:./data:g" example/*.py.in +} + +src_compile() { + # -fPIC is needed for shared objects on some platforms (amd64 and others) + append-flags -fPIC + + distutils_src_compile +} + +src_install(){ + make DESTDIR="${D}" install || die "make install failed." + chmod a+x ${D}usr/$(get_libdir)/python*/site-packages/*.so + rm -f ${D}usr/$(get_libdir)/python*/site-packages/*.py[co] + + dodoc AUTHORS NEWS README + + if use doc; then + insinto /usr/share/doc/${PF}/examples + doins example/{README,*.py} + doins -r data + fi +} + +pkg_postinst() { + python_version + for pymod in cdio pycdio iso9660 pyiso9660; do + python_mod_compile ${ROOT}usr/$(get_libdir)/python${PYVER}/site-packages/${pymod}.py + done +} |