summaryrefslogtreecommitdiff
path: root/dev-python/pycdio
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/pycdio
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/pycdio')
-rw-r--r--dev-python/pycdio/Manifest5
-rw-r--r--dev-python/pycdio/metadata.xml14
-rw-r--r--dev-python/pycdio/pycdio-0.20-r1.ebuild43
3 files changed, 62 insertions, 0 deletions
diff --git a/dev-python/pycdio/Manifest b/dev-python/pycdio/Manifest
new file mode 100644
index 000000000000..88190d76ac39
--- /dev/null
+++ b/dev-python/pycdio/Manifest
@@ -0,0 +1,5 @@
+DIST pycdio-0.20.tar.gz 197736 SHA256 24b4985b699fc4d12c2d49f7cb25a1ceb65d69278d18458f7b041579c71030d7 SHA512 b53a535440008dc637b31fd2cda22845c91b98e78c30f90c866af3b9bf7cb3faad39f0784b5063a39bd97bb18fc58c75ad0833d53421182d408c2889c491846b WHIRLPOOL 7722efc2398cdcf971ac7c62dc360514f64eb636a6c2c10ab86255e27802e99c4008613541bacf55e7fe20aa1431e1f44b60243722686d69fbc9df9fda6ff619
+EBUILD pycdio-0.20-r1.ebuild 1114 SHA256 cbaefe35e4e01961aa1ea6f334bbeba4722e7f12c2a86b3751c8f80a224dfe47 SHA512 d430c902d9f51da5367e92baddc440c8da7e8a118d0d0f78ade4b7b821c06685578306d88b88618942a24351944745485e9c258d6c3cf5c811355472c3e2d622 WHIRLPOOL a3691897a03e58382d45bff566f5eb6d634c1993f485f6a60fdad4034b0075abed6da8ffdd5006d75fb70c6b8d9312142449abc47bb842fef01aac912e80c703
+MISC ChangeLog 2858 SHA256 0aecc255f09b1facba2911e9b9afc6e4a0c6ad2cdd2243b21087890deffb605d SHA512 85085324b3bb61978070cfef36c4231a79c2f761cfc746ab4b17263bc0d5e021f70b077ac35134b67f70454e5aa0eaf3ab0f7925e2d2eeaf201a252ba7718ab7 WHIRLPOOL a8ea1cb5818cb2c4031f01dd8450364a534c26d7c5a1751a6bf28faf525d07b885d7668f93c30f34d5a2f04ca76f39befc700568d2440c461f53d38f7c0b5a19
+MISC ChangeLog-2015 2036 SHA256 e68b7d5807bd8e618c90d6ad6148d17c16b728d3faccf912f3ba84fda0184319 SHA512 4154594c9906319631394c271ef726fe72dff562af5e63d55f4c077117005ae2ce560a7927c68571294e9e6e198c6606dc5c5a197533b4e5bbd569398efd30f0 WHIRLPOOL 118510df030f3eae66180c91c55f0f4c9ef136b28f6882c184c11d56dfe79baeb59137ebc7db2731de29212dac9e1987dcf65db699234336788833957c59fc6d
+MISC metadata.xml 551 SHA256 dd6e326e5858a0d213cba97591165b6a82a934d7656fa5d86ffec8f18523cb83 SHA512 e74e3c72794ff1356a6d91482162adfbed24320821e8df6ea4043416f586f6e30f91980e4c15281e59c6428a64550986eb69007da30390de6d7de51b250900c7 WHIRLPOOL 304dd30b8b31293cedc17223ebefb54df9b175924b46a64edb7dfc18a6c5cf33aa0b68eec603609d8a31292199415e980d198fa74015e85f327d71509b76a8aa
diff --git a/dev-python/pycdio/metadata.xml b/dev-python/pycdio/metadata.xml
new file mode 100644
index 000000000000..6d6623b91d3b
--- /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>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</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>
+ <upstream>
+ <remote-id type="pypi">pycdio</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/pycdio/pycdio-0.20-r1.ebuild b/dev-python/pycdio/pycdio-0.20-r1.ebuild
new file mode 100644
index 000000000000..755b9a8abdf9
--- /dev/null
+++ b/dev-python/pycdio/pycdio-0.20-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1 flag-o-matic
+
+DESCRIPTION="Python OO interface to libcdio (CD Input and Control library)"
+HOMEPAGE="https://savannah.gnu.org/projects/libcdio/ https://pypi.python.org/pypi/pycdio"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples"
+
+RDEPEND=">=dev-libs/libcdio-0.90"
+DEPEND="${RDEPEND}
+ dev-lang/swig
+ dev-python/setuptools[${PYTHON_USEDEP}]"
+
+RESTRICT="test" # currently tests fail
+
+python_prepare_all() {
+ append-cflags -fno-strict-aliasing
+ # Remove obsolete sys.path and adjust 'data' paths in examples.
+ sed -i \
+ -e "s:^sys.path.insert.*::" \
+ -e "s:\.\./data:./data:g" \
+ example/*.py || die
+
+ # Disable failing tests.
+ sed -i -e "s/test_get_set/_&/" test/test-cdtext.py || die
+ sed -i -e "s/test_fs/_&/" test/test-isocopy.py || die
+ distutils-r1_python_prepare_all
+}
+
+python_install_all(){
+ use examples && local EXAMPLES=( example/. )
+ distutils-r1_python_install_all
+}