diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2009-02-27 20:49:23 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2009-02-27 20:49:23 +0000 |
commit | fc37bc1560b00ab9fd99b389da8c226d234a7195 (patch) | |
tree | f252d065d980512b46b3d7d1ef5b889224062517 /dev-python/pygraphviz | |
parent | stable ppc64, bug 256681 (diff) | |
download | historical-fc37bc1560b00ab9fd99b389da8c226d234a7195.tar.gz historical-fc37bc1560b00ab9fd99b389da8c226d234a7195.tar.bz2 historical-fc37bc1560b00ab9fd99b389da8c226d234a7195.zip |
Initial import, closing bug #253415, thanks Robert Morris
Package-Manager: portage-2.2_rc23/cvs/Linux x86_64
Diffstat (limited to 'dev-python/pygraphviz')
-rw-r--r-- | dev-python/pygraphviz/ChangeLog | 11 | ||||
-rw-r--r-- | dev-python/pygraphviz/Manifest | 15 | ||||
-rw-r--r-- | dev-python/pygraphviz/files/pygraphviz-0.99.1-setup.py.patch | 33 | ||||
-rw-r--r-- | dev-python/pygraphviz/metadata.xml | 11 | ||||
-rw-r--r-- | dev-python/pygraphviz/pygraphviz-0.99.1.ebuild | 37 |
5 files changed, 107 insertions, 0 deletions
diff --git a/dev-python/pygraphviz/ChangeLog b/dev-python/pygraphviz/ChangeLog new file mode 100644 index 000000000000..0d02335c8537 --- /dev/null +++ b/dev-python/pygraphviz/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-python/pygraphviz +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygraphviz/ChangeLog,v 1.1 2009/02/27 20:49:23 bicatali Exp $ + +*pygraphviz-0.99.1 (27 Feb 2009) + + 27 Feb 2009; SĂ©bastien Fabbro <bicatali@gentoo.org> + +files/pygraphviz-0.99.1-setup.py.patch, +metadata.xml, + +pygraphviz-0.99.1.ebuild: + Initial import, closing bug #253415, thanks Robert Morris + diff --git a/dev-python/pygraphviz/Manifest b/dev-python/pygraphviz/Manifest new file mode 100644 index 000000000000..67d12cefed24 --- /dev/null +++ b/dev-python/pygraphviz/Manifest @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX pygraphviz-0.99.1-setup.py.patch 1365 RMD160 21c99573bdd8110fe6d7e510b289b3c826f3fa85 SHA1 1fdb8a16e40a6d901ac2b5531b87dab124e492ae SHA256 26d133aa57857662d14fb418ca79eba45ae29727a883cbeec5d968c701e134f9 +DIST pygraphviz-0.99.1.tar.gz 85092 RMD160 90872f9daf9721bbd7dc6cbe6ecb7bfec0679171 SHA1 01634b1921f4a127ca091387f4e18c64c096229e SHA256 7fa6fcde271584d0732532bc72108e720098198c9455d682d2246422f0e423ef +EBUILD pygraphviz-0.99.1.ebuild 894 RMD160 6a480f38efbeab7c0be012416f11ca948c7204df SHA1 dc5748c42963677793f3b1baf568839136606d00 SHA256 6461c8ed1c047975af4e409e19f1342b6168bf386264d5686da9f545739cb9ae +MISC ChangeLog 454 RMD160 7e224e0483d423eac825bd9d495d00af36258395 SHA1 9aebaa90c2751725d7b55e544c67163f9ea76cc5 SHA256 f31b9272b971372b96a7e531a59dda886ea693070f868be1fd292d6c772161cb +MISC metadata.xml 450 RMD160 0b1ad4d0244f4488b611020cb62da7e53950cc0f SHA1 12b513b5f8214e531054b1a3124d255a2d709a42 SHA256 d557a44d61bc5f7b285ce29d9ab787670018d052ac525f03e13e878e83dd6b06 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.10 (GNU/Linux) + +iEYEARECAAYFAkmoUd0ACgkQ1ycZbhPLE2CSlgCcCTSV5OYNxVUSR7ragBig8QHZ +UbgAn0AdcU94MGYhpfZuI2EE7GlU94jE +=lYg+ +-----END PGP SIGNATURE----- diff --git a/dev-python/pygraphviz/files/pygraphviz-0.99.1-setup.py.patch b/dev-python/pygraphviz/files/pygraphviz-0.99.1-setup.py.patch new file mode 100644 index 000000000000..35a66814b5ff --- /dev/null +++ b/dev-python/pygraphviz/files/pygraphviz-0.99.1-setup.py.patch @@ -0,0 +1,33 @@ +--- setup.py.orig 2009-02-27 20:17:52.004477424 +0000 ++++ setup.py 2009-02-27 20:18:42.009572270 +0000 +@@ -135,12 +135,6 @@ + execfile(os.path.join('pygraphviz','release.py')) + + packages = ["pygraphviz","pygraphviz.tests"] +-docdirbase = 'share/doc/pygraphviz-%s' % version +-data = [(docdirbase, glob("*.txt")), +- (os.path.join(docdirbase, 'examples'),glob("examples/*.py")), +- (os.path.join(docdirbase, 'examples'),glob("examples/*.dat")), +- (os.path.join(docdirbase, 'examples'),glob("examples/*.dat.gz")), +- ] + extension = [Extension("pygraphviz._graphviz", + ["pygraphviz/graphviz_wrap.c"], + include_dirs=include_dirs, +@@ -165,7 +159,6 @@ + url = url, + download_url = download_url, + packages = packages, +- data_files = data, + classifiers = classifiers, + ext_modules = extension, + package_data = package_data, +--- setup_egg.py.orig 2009-02-27 20:19:32.994136036 +0000 ++++ setup_egg.py 2009-02-27 20:20:14.253100416 +0000 +@@ -34,7 +34,6 @@ + url = url, + download_url = download_url, + packages = packages, +- data_files = data, + classifiers = classifiers, + ext_modules = extension, + package_data = package_data, diff --git a/dev-python/pygraphviz/metadata.xml b/dev-python/pygraphviz/metadata.xml new file mode 100644 index 000000000000..21cc6edc2b4e --- /dev/null +++ b/dev-python/pygraphviz/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>python</herd> +<longdescription lang="en"> + Pygraphviz is a Python interface to the Graphviz graph layout and + visualization package. + With Pygraphviz you can create, edit, read, write, and draw graphs using + Python to access the Graphviz graph data structure and layout algorithms. +</longdescription> +</pkgmetadata> diff --git a/dev-python/pygraphviz/pygraphviz-0.99.1.ebuild b/dev-python/pygraphviz/pygraphviz-0.99.1.ebuild new file mode 100644 index 000000000000..f007f269ca9d --- /dev/null +++ b/dev-python/pygraphviz/pygraphviz-0.99.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygraphviz/pygraphviz-0.99.1.ebuild,v 1.1 2009/02/27 20:49:23 bicatali Exp $ + +EAPI=2 +NEED_PYTHON="2.4" +inherit distutils + +DESCRIPTION="Python bindings for the agraph library in the graphviz package." +HOMEPAGE="http://networkx.lanl.gov/pygraphviz/" +SRC_URI="http://networkx.lanl.gov/download/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples" + +RDEPEND=">=media-gfx/graphviz-2.12" +DEPEND="${RDEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${P}-setup.py.patch +} + +src_test() { + cd build/lib* + PYTHONPATH=. ${python} -c "import pygraphviz; pygraphviz.test()" \ + || die "tests failed" +} + +src_install() { + distutils_src_install + if use examples; then + insinto /usr/share/doc/${PF} + doins -r examples || die + fi +} |