diff options
author | Ian Delaney <della5@iinet.com.au> | 2013-03-03 18:22:50 +0800 |
---|---|---|
committer | Ian Delaney <della5@iinet.com.au> | 2013-03-03 18:22:50 +0800 |
commit | 47508f679b1f666c813b2eeb12036080fb8180f9 (patch) | |
tree | 78ca061844d390c1aa1cbccfea8de56c782c3bb9 | |
parent | added raw [dev-python/alembic] (diff) | |
download | improvise-47508f679b1f666c813b2eeb12036080fb8180f9.tar.gz improvise-47508f679b1f666c813b2eeb12036080fb8180f9.tar.bz2 improvise-47508f679b1f666c813b2eeb12036080fb8180f9.zip |
Upgrading state of old and new
Package-Manager: portage-2.1.11.40
25 files changed, 2 insertions, 405 deletions
diff --git a/dev-python/alembic/Manifest b/dev-python/alembic/Manifest deleted file mode 100644 index a6014fa..0000000 --- a/dev-python/alembic/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST alembic-0.4.1.tar.gz 374471 SHA256 33543edc0f46eb6cf0f8897ca05cf829c51823d822118da64f861d51e8482bbe SHA512 c5a248ac1efbab6c4f902bd481cb5f24b679eba024f95a089c04f9bf28d309ce56aa666e90f6a1c00456e94ca0b3a4298a871bee5f07854d60aec6d3654fb925 WHIRLPOOL a86f9452a890e9f7b46f2a3d2921e9e5e16eb1ba314d0f8d9d4a74d085452f3845ff1b7d051dce9b4819ba39be2372ef4bebef340372fee33267e0ca789e0357 diff --git a/dev-python/alembic/alembic-0.4.1.ebuild b/dev-python/alembic/alembic-0.4.1.ebuild deleted file mode 100644 index 49097bb..0000000 --- a/dev-python/alembic/alembic-0.4.1.ebuild +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=4 - -PYTHON_DEPEND="*" -DISTUTILS_SRC_TEST="nosetests" -inherit distutils - -DESCRIPTION="database migrations tool, written by the author of SQLAlchemy" -HOMEPAGE="https://bitbucket.org/zzzeek/alembic" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND="dev-python/sqlalchemy - dev-python/mako" -RDEPEND="${DEPEND}" diff --git a/dev-python/alembic/metadata.xml b/dev-python/alembic/metadata.xml deleted file mode 100644 index 8eed9ce..0000000 --- a/dev-python/alembic/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <herd>python</herd> - <maintainer><email>idella4@gentoo.org</email> - <name>Ian idella4 Delaney proxy maintainer</name> - </maintainer> -</pkgmetadata> diff --git a/dev-python/django-endless-pagination/Manifest b/dev-python/django-endless-pagination/Manifest deleted file mode 100644 index 4fc8ea7..0000000 --- a/dev-python/django-endless-pagination/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST django-endless-pagination-1.1.tar.gz 31499 SHA256 9b9ed6f93313ea1d6b3af650383fc4788b3151265e3841e41681e24e66abb72e SHA512 5526e565988e8af436936ffb949c826c20b6f3af4628e34a29f735a4e7fad97f0d953d53141b34dc268be185a25a2cd236b0b3a1e5946c52e8f6b8e6a0a4f9d7 WHIRLPOOL bfb569d657b4598a47d5cd1ba9ebdd1fd62b1310b65f53a026187b519cc8d70baa763bacef9e9f54e4eeee379cb06531c5c3ce396c15af102fd4615553c9ca72 diff --git a/dev-python/django-endless-pagination/django-endless-pagination-1.1.ebuild b/dev-python/django-endless-pagination/django-endless-pagination-1.1.ebuild deleted file mode 100644 index a71747d..0000000 --- a/dev-python/django-endless-pagination/django-endless-pagination-1.1.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=4 - -PYTHON_DEPEND="2:2.7" -SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="3.*" -#DISTUTILS_SRC_TEST="nosetests" -inherit distutils - -DESCRIPTION="Tools supporting ajax, multiple and lazy pagination, Twitter-style and Digg-style pagination" -HOMEPAGE="http://code.google.com/p/django-endless-pagination/" -SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc test" -PYTHON_MODNAME="endless_pagination" - -DEPEND="dev-python/setuptools" -RDEPEND="${DEPEND} - doc? ( dev-python/sphinx )" - -src_compile() { - distutils_src_compile - use doc && emake -C doc html -} - -src_test() { - testing() { - pushd build-"${PYTHON_ABI}"/lib > /dev/null - PYTHONPATH=. "$(PYTHON)" -d "${S}"/tests/runtests.py - popd > /dev/null - } - python_execute_function testing -} - -src_install() { - distutils_src_install - use doc && dohtml -r doc/_build/html/ -} diff --git a/dev-python/django-endless-pagination/metadata.xml b/dev-python/django-endless-pagination/metadata.xml deleted file mode 100644 index 62940a8..0000000 --- a/dev-python/django-endless-pagination/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <herd>python</herd> - <maintainer><email>tampakrap@gentoo.org</email></maintainer> - <maintainer> - <email>johneed@hotmail.com,della5@iinet.com.au</email> - <name>Ian Delaney aka idella4 proxy maintainer</name> - </maintainer> - -</pkgmetadata> diff --git a/dev-python/django-setuptest/Manifest b/dev-python/django-setuptest/Manifest deleted file mode 100644 index 3f59c95..0000000 --- a/dev-python/django-setuptest/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST praekelt-django-setuptest-0.1.2-O-g86Offe9.zip 8665 SHA256 15a79449fc9145830f88f2bba9238d3fc85794a08a8bbe719f1208cc834672ca SHA512 c6cf91e20fe876bf7516245d4ad6d3c7adb84811bc11b73bc3e991ca3e0a621973095c522f1c1dc6d29853cebcae41518c350d26f3bb86b40be1ea1ebdfb1fc2 WHIRLPOOL abcbf93c40a00f012fd2daacc5d2d2993823ab5ba223f2e3f4adc056e6cf3c7a5bf65a58166c1cea7286d5e1e11cca4247f7b1aa2f72321b6d8b49ce22f58172 diff --git a/dev-python/django-setuptest/django-setuptest-0.1.2.ebuild b/dev-python/django-setuptest/django-setuptest-0.1.2.ebuild deleted file mode 100644 index 817457b..0000000 --- a/dev-python/django-setuptest/django-setuptest-0.1.2.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=4 -PYTHON_DEPEND="2" -RESTRICT_PYTHON_ABIS="3.*" -SUPPORT_PYTHON_ABIS=1 -inherit distutils - -MY_PN="praekelt-${P}-O-g86Offe9" -MY_P="praekelt-${PN}-860ffe9" -DESCRIPTION="Simple test suite enabling Django app testing via setup.py" -HOMEPAGE="https://github.com/praekelt/django-setuptest" -SRC_URI="https://github.com/praekelt/${PN}/zipball/master/${MY_PN}.zip" -LICENSE="MIT" -SLOT="0" - -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND="dev-python/pep8 - dev-python/coverage" - -DEPEND="${RDEPEND} - dev-python/setuptools" - -S="${WORKDIR}/${MY_P}" diff --git a/dev-python/django-setuptest/metadata.xml b/dev-python/django-setuptest/metadata.xml deleted file mode 100644 index 62940a8..0000000 --- a/dev-python/django-setuptest/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <herd>python</herd> - <maintainer><email>tampakrap@gentoo.org</email></maintainer> - <maintainer> - <email>johneed@hotmail.com,della5@iinet.com.au</email> - <name>Ian Delaney aka idella4 proxy maintainer</name> - </maintainer> - -</pkgmetadata> diff --git a/dev-python/example_project/Manifest b/dev-python/example_project/Manifest deleted file mode 100644 index 16cd45a..0000000 --- a/dev-python/example_project/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST tampakrap-example_project-6e7a33a.zip 9681 SHA256 b294e248df7aaa16878196f91443207b7563e6c25ec42b9703d907986b35c845 SHA512 59397977b8b7784101f432a7c6516bd68d5842f71c5d67e8c2511d5ac8f28f7bc2eb4c2430b2d7bcd6dba5a0c915468e7541de9198af77df34c871b2363d8d4b WHIRLPOOL d68d6299247bd0cfa2925cc9953535429f559f3e3c3dd07067ec434299ea0b13dd311b231368042d96f571900a2028667196bcca28526a00a945b7edad971e15 diff --git a/dev-python/example_project/example_project-0.3.ebuild b/dev-python/example_project/example_project-0.3.ebuild deleted file mode 100644 index d6489a1..0000000 --- a/dev-python/example_project/example_project-0.3.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=4 -PYTHON_DEPEND="2:2.7" -RESTRICT_PYTHON_ABIS="3.*" -SUPPORT_PYTHON_ABIS=1 -DISTUTILS_SRC_TEST="setup.py" -inherit distutils - -MY_PN="tampakrap-${PN}-6e7a33a" -MY_P="tampakrap-${PN}-6e7a33a" -DESCRIPTION="super tampakrap's wonder of wonders example_project" -HOMEPAGE="https://github.com/tampakrap/example_project" -SRC_URI="https://github.com/tampakrap/${PN}/zipball/master/${MY_PN}.zip" -LICENSE="MIT" -SLOT="0" - -KEYWORDS="~amd64 ~x86" -IUSE="test mysql sqlite" - -RDEPEND="dev-python/django-setuptest - >=dev-python/django-1.4.1[mysql] - >=dev-python/pycurl-7.19.0 - dev-python/beautifulsoup - =dev-python/feedparser-9999 - >=dev-python/pycrypto-2.6" - -DEPEND="${RDEPEND} - dev-python/setuptools" - -S="${WORKDIR}/${MY_P}" - -src_test() { - python "${S}"/manage.py test -} diff --git a/dev-python/example_project/files/requirements.txt b/dev-python/example_project/files/requirements.txt deleted file mode 100644 index 183453a..0000000 --- a/dev-python/example_project/files/requirements.txt +++ /dev/null @@ -1,7 +0,0 @@ -Packages required for this django project include; - - django-setuptest - >=django-1.4.1 (gentoo users require use flag mysql or sqlite) - >pycurl-7.19.0 - feedparser trunk as of September 2012 (gentoo users, feedparser-9999) - pycrypto-2.6 diff --git a/dev-python/example_project/files/setup.py b/dev-python/example_project/files/setup.py deleted file mode 100644 index 839c4ff..0000000 --- a/dev-python/example_project/files/setup.py +++ /dev/null @@ -1,21 +0,0 @@ -#!/usr/bin/env python - -from setuptools import setup, find_packages -from setuptest import test - -setup( - name='example_project', - version='0.3-dev', - description='test', - author='test', - packages=find_packages(), - cmdclass={'test': test}, - - license='???', - url='"https://github.com/tampakrap/example_project', - classifiers=[ - 'Development Status :: 5 - Production/Stable', - 'Intended Audience :: Developers', - 'License :: OSI Approved :: MIT License', - ] -) diff --git a/dev-python/example_project/metadata.xml b/dev-python/example_project/metadata.xml deleted file mode 100644 index 5366461..0000000 --- a/dev-python/example_project/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <herd>python</herd> - <maintainer><email>tampakrap@gentoo.org</email></maintainer> - <maintainer> - <email>della5@iinet.com.au</email> - <name>Ian Delaney aka idella4 proxy maintainer</name> - </maintainer> - -</pkgmetadata> diff --git a/dev-python/oct2py/Manifest b/dev-python/oct2py/Manifest deleted file mode 100644 index 5342193..0000000 --- a/dev-python/oct2py/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST oct2py-0.3.1.zip 117885 SHA256 c18f357ac579f764a7269a17959db7e24b2fba0a3026c030799120000225f8cf SHA512 78ac10466b1f25140950c3d99f1fb31eb551c839833176603b6eb562893f30bdaf199a775d20717eabafce3f137a8dc98601adabccb5bc666206ebff42c6da3b WHIRLPOOL 9a46e03618060c386d89ea9b5293b4715d2acd2e7c281e357adef0e63a1d85db2f7d8aa455605b056f39193826bce445a21169de23b9a53fcfb13aa66eb65106 diff --git a/dev-python/oct2py/metadata.xml b/dev-python/oct2py/metadata.xml deleted file mode 100644 index d02cc23..0000000 --- a/dev-python/oct2py/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <herd>python</herd> - <maintainer><email>tampakrap@gentoo.org</email></maintainer> - <maintainer> - <email>della5@iinet.com.au</email> - <name>Ian Delaney aka idella4 proxy maintainer</name> - </maintainer> -</pkgmetadata> diff --git a/dev-python/oct2py/oct2py-0.3.1.ebuild b/dev-python/oct2py/oct2py-0.3.1.ebuild deleted file mode 100644 index c166873..0000000 --- a/dev-python/oct2py/oct2py-0.3.1.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=4 - -PYTHON_DEPEND="*:2.6" -SUPPORT_PYTHON_ABIS="1" -#RESTRICT_PYTHON_ABIS="3.*" -inherit distutils - -DESCRIPTION="Uses Octave to run commands and m-files" -HOMEPAGE="http://pypi.python.org/pypi/octpy https://bitbucket.org/blink1073/oct2py/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc" - -DEPEND="app-arch/unzip - dev-python/setuptools" -RDEPEND="${DEPEND} - sci-mathematics/octave - dev-python/numpy - sci-libs/scipy - doc? ( dev-python/sphinx )" - -src_compile() { - distutils_src_compile - if use doc; then - mkdir doc/{html,_static} || die - PYTHONPATH=.:../ sphinx-build -b html doc/ doc/html - fi -} - -src_test() { - testing() { - pushd build-"${PYTHON_ABI}"/lib > /dev/null - PYTHONPATH=. "$(PYTHON)" -v ${PN}/tests/test_oct2py.py - popd > /dev/null - } - python_execute_function testing -} - -src_install() { - distutils_src_install - use doc && dohtml -r doc/html/ -} diff --git a/dev-python/pil/pil-1.1.7.ebuild b/dev-python/pil/pil-1.1.7.ebuild index 819df45..71598a3 100644 --- a/dev-python/pil/pil-1.1.7.ebuild +++ b/dev-python/pil/pil-1.1.7.ebuild @@ -5,10 +5,9 @@ EAPI=4 PYTHON_DEPEND="2" SUPPORT_PYTHON_ABIS=1 -RESTRICT_PYTHON_ABIS="3.* *-jython *-pypy-*" -inherit distutils +#RESTRICT_PYTHON_ABIS="3.* *-jython *-pypy-*" +inherit python -MY_P="PIL" DESCRIPTION="A Python Imaging Library" HOMEPAGE="http://www.pythonware.com/products/pil" SRC_URI="http://effbot.org/media/downloads/${MY_P}-${PV}.tar.gz -> ${P}.tar.gz" diff --git a/dev-python/socketpool/Manifest b/dev-python/socketpool/Manifest deleted file mode 100644 index 0ca2139..0000000 --- a/dev-python/socketpool/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST socketpool-0.3.0.tar.gz 7903 SHA256 676aa7aa7b7b3e840fa61bcda5864c7bcd781c6e94ccc3e09b6bd8698f015320 SHA512 7f944cbb67975d5f981bf959326f117f9a6fe609cbe27260afc0f42d9b458871661d28f1915c88ce5f9f2bd4e902f4b47e50cf1f464454e96f180b36c08d58f4 WHIRLPOOL f96a8fadb55059d6a6ca0996a70a34fd8041f559d9bb148306a89aa737308225417669d80adc182b1f315108f83bc33f6056ca19d98aec61b0be495e83c164eb diff --git a/dev-python/socketpool/metadata.xml b/dev-python/socketpool/metadata.xml deleted file mode 100644 index 62940a8..0000000 --- a/dev-python/socketpool/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <herd>python</herd> - <maintainer><email>tampakrap@gentoo.org</email></maintainer> - <maintainer> - <email>johneed@hotmail.com,della5@iinet.com.au</email> - <name>Ian Delaney aka idella4 proxy maintainer</name> - </maintainer> - -</pkgmetadata> diff --git a/dev-python/socketpool/socketpool-0.3.0.ebuild b/dev-python/socketpool/socketpool-0.3.0.ebuild deleted file mode 100644 index b733727..0000000 --- a/dev-python/socketpool/socketpool-0.3.0.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=4 -PYTHON_DEPEND="2:2.6" -SUPPORT_PYTHON_ABIS=1 -RESTRICT_PYTHON_ABIS="2.5 3.*" -inherit distutils - -DESCRIPTION="A simple Python socket pool" -HOMEPAGE="http://github.com/benoitc/socketpool/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -KEYWORDS="~amd64" -IUSE="examples" -LICENSE="MIT" -SLOT="0" - -RDEPEND="dev-python/gevent" -DEPEND="${RDEPEND} - dev-python/setuptools" - -src_install() { - distutils_src_install - if use examples; then - docompress -x usr/share/doc/${P}/examples - insinto usr/share/doc/${P} - doins -r examples/ - fi -} diff --git a/dev-python/testfixtures/Manifest b/dev-python/testfixtures/Manifest deleted file mode 100644 index 9da2eac..0000000 --- a/dev-python/testfixtures/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST testfixtures-2.3.4.tar.gz 73214 SHA256 376530e6608f072f6655d6a6de495a717040d47db5b04f2afac95ea7041af851 SHA512 858ebe20c0a2d682c2652a14a3e2fceea2e148f1e50d658f20237f3b15a84cf67ad61ff1d6b4a4b6c0a27981b337cf634b6b33fa7f717b7b9a5ceb289b396e47 WHIRLPOOL 4e6d7a8fd1fbac9d2f1c6b769ee810619b8a1db2d24469e7ac14867f19e92b7d0bc9596c09df3c80888dbf71350ddd80134b28564985de144cb3cfab2572d934 diff --git a/dev-python/testfixtures/files/testfixtures-2.3.4-adjust_tests.patch b/dev-python/testfixtures/files/testfixtures-2.3.4-adjust_tests.patch deleted file mode 100644 index 211ee0e..0000000 --- a/dev-python/testfixtures/files/testfixtures-2.3.4-adjust_tests.patch +++ /dev/null @@ -1,30 +0,0 @@ -diff -ur testfixtures-2.3.4.orig/testfixtures/components.py testfixtures-2.3.4/testfixtures/components.py ---- testfixtures/components.py 2011-10-12 00:21:45.000000000 +0800 -+++ testfixtures/components.py 2012-05-21 19:04:54.676883008 +0800 -@@ -20,8 +20,11 @@ - atexit_setup = False - - def __init__(self): -- self.registry = Components('Testing') -- self.old = getSiteManager.sethook(lambda:self.registry) -+ try: -+ self.registry = Components('Testing') -+ self.old = getSiteManager.sethook(lambda:self.registry) -+ except: -+ pass - self.instances.add(self) - if not self.__class__.atexit_setup: - atexit.register(self.atexit) -@@ -33,7 +36,10 @@ - was in place before this :class:`TestComponents` was - instantiated. - """ -- getSiteManager.sethook(self.old) -+ try: -+ getSiteManager.sethook(self.old) -+ except: -+ pass - self.instances.remove(self) - - @classmethod -Only in testfixtures-2.3.4/testfixtures: __pycache__ diff --git a/dev-python/testfixtures/metadata.xml b/dev-python/testfixtures/metadata.xml deleted file mode 100644 index 12f56ae..0000000 --- a/dev-python/testfixtures/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <herd>python</herd> - <maintainer> - <email>johneed@hotmail.com,della5@iinet.com.au</email> - <name>Ian Delaney aka idella4 proxy maintainer</name> - </maintainer> - <maintainer><email>tampakrap@gentoo.org</email></maintainer> -</pkgmetadata> diff --git a/dev-python/testfixtures/testfixtures-2.3.4.ebuild b/dev-python/testfixtures/testfixtures-2.3.4.ebuild deleted file mode 100644 index 7099e96..0000000 --- a/dev-python/testfixtures/testfixtures-2.3.4.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/testfixtures/testfixtures-2.3.4.ebuild,v 1.1 2012/05/20 13:56:48 tampakrap Exp $ - -EAPI=4 -PYTHON_DEPEND="2" -SUPPORT_PYTHON_ABIS=1 -RESTRICT_PYTHON_ABIS="3.* *-pypy-* *-jython" -DISTUTILS_SRC_TEST="py.test" -inherit distutils eutils - -DESCRIPTION="A collection of helpers and mock objects for unit tests and doc tests" -HOMEPAGE="http://pypi.python.org/pypi/testfixtures/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" -LICENSE="MIT" -SLOT="0" - -KEYWORDS="~amd64 ~x86" -IUSE="doc test" - -RDEPEND="" -DEPEND="${RDEPEND} - doc? ( dev-python/sphinx ) - test? ( dev-python/manuel )" -# test? ( net-zope/zope-component )" - -src_prepare() { - sed -e s':../bin/sphinx-build:/usr/bin/sphinx-build:' \ - -i docs/Makefile || die - sed -e 's/except ImportError:/except: pass/' \ - -e "s:^ raise SkipTest('zope.component is not available')::" -i testfixtures/tests/test_components.py || die - epatch "${FILESDIR}"/${P}-adjust_tests.patch - - # remove test that tests the stripped zope-component test_components.ComponentsTests - rm -f testfixtures/tests/test_components.py || die - distutils_src_prepare -} - -src_compile() { - distutils_src_compile - - use doc && emake -C docs html -} - -src_test() { - distutils_src_test ${PN}/tests/ -} - -src_install() { - distutils_src_install - if use doc; then - dohtml -r docs/_build/html/ - fi -} |