diff options
author | Rob Cakebread <pythonhead@gentoo.org> | 2008-03-25 20:02:32 +0000 |
---|---|---|
committer | Rob Cakebread <pythonhead@gentoo.org> | 2008-03-25 20:02:32 +0000 |
commit | a16933805ddcd49aaff5a82272b16988765f7f50 (patch) | |
tree | 0e0c8383c5cf35f5c5be10b99ee04baab22e6373 /dev-python/rdflib | |
parent | Add ~ppc and ~ppc64 that should have been added to this version too when doin... (diff) | |
download | gentoo-2-a16933805ddcd49aaff5a82272b16988765f7f50.tar.gz gentoo-2-a16933805ddcd49aaff5a82272b16988765f7f50.tar.bz2 gentoo-2-a16933805ddcd49aaff5a82272b16988765f7f50.zip |
Initial commit. Closes #161492. Thank you Mikael Lammentausta <mikael.lammentausta@savonia-amk.fi>, Sam Jacobson <sam@eversoft.co.nz>, Sunrise.
(Portage version: 2.1.4.4)
Diffstat (limited to 'dev-python/rdflib')
-rw-r--r-- | dev-python/rdflib/ChangeLog | 12 | ||||
-rw-r--r-- | dev-python/rdflib/Manifest | 4 | ||||
-rw-r--r-- | dev-python/rdflib/metadata.xml | 5 | ||||
-rw-r--r-- | dev-python/rdflib/rdflib-2.4.0.ebuild | 60 |
4 files changed, 81 insertions, 0 deletions
diff --git a/dev-python/rdflib/ChangeLog b/dev-python/rdflib/ChangeLog new file mode 100644 index 000000000000..69e0e1fafc92 --- /dev/null +++ b/dev-python/rdflib/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for dev-python/rdflib +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/rdflib/ChangeLog,v 1.1 2008/03/25 20:02:32 pythonhead Exp $ + +*rdflib-2.4.0 (25 Mar 2008) + + 25 Mar 2008; Rob Cakebread <pythonhead@gentoo.org> +metadata.xml, + +rdflib-2.4.0.ebuild: + Initial commit. Closes #161492. Thank you Mikael Lammentausta + <mikael.lammentausta@savonia-amk.fi>, Sam Jacobson <sam@eversoft.co.nz>, + Sunrise. + diff --git a/dev-python/rdflib/Manifest b/dev-python/rdflib/Manifest new file mode 100644 index 000000000000..4cdd9868357e --- /dev/null +++ b/dev-python/rdflib/Manifest @@ -0,0 +1,4 @@ +DIST rdflib-2.4.0.tar.gz 260869 RMD160 0d0ce273d11fc4fc06313c76691186f2be1588a2 SHA1 89e47b38ddd6c3386db21cc4f433762287e334e2 SHA256 aa71d3a0bd667cbab1e746c48726077f42dea7aa58a46f240730e77c3d53a83e +EBUILD rdflib-2.4.0.ebuild 1530 RMD160 93235df7a30ff06f27f4e952d7b9cdf89784e3e1 SHA1 9fb50dd0ca6303e2e5fdf74264bb4e3f69778fe8 SHA256 dc501bd2f4df975017cc0fa04ad354b92e570b4c81e98a8a8b9f48b869053394 +MISC ChangeLog 390 RMD160 e25ed7f38f74ecd71a7613978e98b6bc9b9990ac SHA1 2060b31bd7485a75bfe0cfa5133dcc5b7f885f7c SHA256 fe816eec6bd271447fcf1fd87ecc5db5d2bbfde829452ac52314deeb54785d04 +MISC metadata.xml 160 RMD160 e730f96ab97c5be577a6d6d05f04990374a0dffb SHA1 2aa5e6be9c265c0e7bceb78ee9fd20df5f818e36 SHA256 6cd954a9de2307c57d32b25fa3599dee2908a4ddc6a98594f593d53577307a3a diff --git a/dev-python/rdflib/metadata.xml b/dev-python/rdflib/metadata.xml new file mode 100644 index 000000000000..301d2207cc29 --- /dev/null +++ b/dev-python/rdflib/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>python</herd> +</pkgmetadata> diff --git a/dev-python/rdflib/rdflib-2.4.0.ebuild b/dev-python/rdflib/rdflib-2.4.0.ebuild new file mode 100644 index 000000000000..dfddb8a404b8 --- /dev/null +++ b/dev-python/rdflib/rdflib-2.4.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/rdflib/rdflib-2.4.0.ebuild,v 1.1 2008/03/25 20:02:32 pythonhead Exp $ + +NEED_PYTHON="2.3" + +inherit distutils + +DESCRIPTION="RDF library containing a triple store and parser/serializer" +HOMEPAGE="http://rdflib.net/" +SRC_URI="http://rdflib.net/${P}.tar.gz" +LICENSE="BSD-2" +KEYWORDS="~x86" +SLOT="0" +IUSE="berkdb examples mysql redland sqlite test zodb" +DEPEND=">=dev-python/setuptools-0.6_rc5 + test? ( <dev-python/nose-0.10.0 )" +RDEPEND="mysql? ( dev-python/mysql-python ) + sqlite? ( + >=dev-db/sqlite-3.3.13 + || ( dev-python/pysqlite >=dev-lang/python-2.5 ) ) + berkdb? ( sys-libs/db ) + redland? ( dev-libs/redland-bindings ) + zodb? ( net-zope/zodb )" + + +pkg_setup() { + if use redland && ! built_with_use dev-libs/redland-bindings python ; then + eerror "In order to have rdflib working with redland support, you need" + eerror "to have dev-libs/redland-bindings emerged with 'python' in" + eerror "your USE flags." + die "dev-libs/redland-bindings is missing the python USE flag." + fi +} + + +src_unpack() { + unpack ${A} + cd "${S}" + + # Don't install tests. Remove tests_require to prevent setuptools + # from trying to download deps that it can't find + sed -i \ + -e "s/\(find_packages(\)/\1exclude=('test','test.*')/" \ + -e "/tests_require/d" \ + setup.py || die "sed in setup.py failed" +} + +src_install() { + distutils_src_install + if use examples ; then + insinto /usr/share/doc/${PF}/examples + doins -r examples/* + fi +} + +src_test() { + ${python} setup.py test || die "tests failed" +} + |