summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Briesenick <sbriesen@gentoo.org>2007-05-16 22:09:01 +0000
committerStefan Briesenick <sbriesen@gentoo.org>2007-05-16 22:09:01 +0000
commit09c71da85d511ce902a15880d620f3665eb0bd21 (patch)
tree1c7ca435bba99dc4c7c372e294c3434bdc46759b /dev-python/pycdio
parentVersion bump. Remove old version. (diff)
downloadhistorical-09c71da85d511ce902a15880d620f3665eb0bd21.tar.gz
historical-09c71da85d511ce902a15880d620f3665eb0bd21.tar.bz2
historical-09c71da85d511ce902a15880d620f3665eb0bd21.zip
initial commit.
Package-Manager: portage-2.1.2.7
Diffstat (limited to 'dev-python/pycdio')
-rw-r--r--dev-python/pycdio/ChangeLog10
-rw-r--r--dev-python/pycdio/Manifest16
-rw-r--r--dev-python/pycdio/files/digest-pycdio-0.123
-rw-r--r--dev-python/pycdio/metadata.xml14
-rw-r--r--dev-python/pycdio/pycdio-0.12.ebuild56
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..6ca7f8dbb294
--- /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 1434 RMD160 c96f65121ca3e8e8ab207901c815bd14940e2bba SHA1 6717c54e10422306cf07f9c71ed85c0630ea1006 SHA256 a32807aa5d28e21e028a3194f780efee2ff58781af38cf97b59e94ad74e8d9cd
+MD5 d95a111c105155e48f53fbe4a89341a2 pycdio-0.12.ebuild 1434
+RMD160 c96f65121ca3e8e8ab207901c815bd14940e2bba pycdio-0.12.ebuild 1434
+SHA256 a32807aa5d28e21e028a3194f780efee2ff58781af38cf97b59e94ad74e8d9cd pycdio-0.12.ebuild 1434
+MISC ChangeLog 349 RMD160 8f9de9ed4319452ad1f5b3860956e62931cd3207 SHA1 42d329374512cfda5ec74f92fa7681b2b518af5c SHA256 63f8c6bc33b820a283605315fc24ddd48bb25a380e47ed73306b7b46f65c6e5e
+MD5 d5f3f1791b6dc72956a89c0c51c420de ChangeLog 349
+RMD160 8f9de9ed4319452ad1f5b3860956e62931cd3207 ChangeLog 349
+SHA256 63f8c6bc33b820a283605315fc24ddd48bb25a380e47ed73306b7b46f65c6e5e ChangeLog 349
+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
+}