diff options
45 files changed, 420 insertions, 1700 deletions
diff --git a/dev-python/bunch/Manifest b/dev-python/bunch/Manifest deleted file mode 100644 index 0a8cd91..0000000 --- a/dev-python/bunch/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST bunch-1.0.1.tar.gz 6577 SHA256 50c77a0fc0cb372dfe48b5e11937d5f70e743adbf42683f3a6d2857645a76aaa SHA512 4423afd0f8704e47c72c87f858599677734b9f49be9c1f8a68e0a671a35a5423428901c0ab235af88854979fd9377eb10f5ec05805b9a24a67c894dd9a3559cf WHIRLPOOL 8de3089009e31c74c3fa76694f75f3d49beed736506805d62f1634e8c2b96df2ad7803a75ccf347fd4ea6b74d0ff58a9e86644cfd0462fa3419c48af05eeda93 diff --git a/dev-python/bunch/bunch-1.0.1.ebuild b/dev-python/bunch/bunch-1.0.1.ebuild deleted file mode 100644 index 1dd845b..0000000 --- a/dev-python/bunch/bunch-1.0.1.ebuild +++ /dev/null @@ -1,32 +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="3.* *-jython *-pypy-*" -inherit distutils - -DESCRIPTION="A dictionary that supports attribute-style access, a la JavaScript" -HOMEPAGE="http://pypi.python.org/pypi/bunch http://github.com/dsc/bunch/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -KEYWORDS="~amd64" -IUSE="doc" -LICENSE="MIT" -SLOT="0" - -RDEPEND="" -DEPEND="${RDEPEND} - dev-python/setuptools" - -src_test() { - testing() { - local exit_status=0 - PYTHONPATH=. "$(PYTHON)" -d ${PN}/test.py || exit_status=1 - einfo testing completed by python${PYTHON_ABI} - return $exit_status - } - python_execute_function testing -} diff --git a/dev-python/bunch/metadata.xml b/dev-python/bunch/metadata.xml deleted file mode 100644 index 0645cd9..0000000 --- a/dev-python/bunch/metadata.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?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/cookbook/Manifest b/dev-python/cookbook/Manifest deleted file mode 100644 index d961b22..0000000 --- a/dev-python/cookbook/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST cookbook-2.2.9.tar.gz 38334 SHA256 aafcba5f3ac8f4ec1d6bce7c307fe994be5630f6a927bd6a23c2083c3d7aa800 SHA512 c6a90a4c239c3e0c21b82f3290d73cbfce8c8343767ce44198e6a3f7e2fdc03c241bc82477dbeb7631d657b97fc27431f67cb9d3933d66e6ce0963b4587a5087 WHIRLPOOL 3b9477f811c130b337aa11eebb8499ff1ae99fc5c3d97494e0819594ee2dfca3c9d817fcc407069a1ab35b356091a0d1e193ebb227fd9ab69282c32a88a65bed diff --git a/dev-python/cookbook/cookbook-2.2.9.ebuild b/dev-python/cookbook/cookbook-2.2.9.ebuild deleted file mode 100644 index 58d8137..0000000 --- a/dev-python/cookbook/cookbook-2.2.9.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=4 -PYTHON_DEPEND="2" -SUPPORT_PYTHON_ABIS=1 -RESTRICT_PYTHON_ABIS="3.* *-jython" -inherit distutils - -DESCRIPTION="This implements some recipes from the python cookbook" -HOMEPAGE="http://pypi.python.org/pypi/cookbook/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -KEYWORDS="~amd64" -IUSE="doc" -LICENSE="BSD" -SLOT="0" - -RDEPEND="dev-python/bunch" -DEPEND="${RDEPEND} - dev-python/setuptools - doc? ( dev-python/jinja - dev-python/pytables - sci-libs/scipy )" - -src_prepare() { - cp -R "${FILESDIR}"/HTML2PDF python/${PN}/HTML2PDF.py || die -} - -src_compile() { - distutils_src_compile - - build_docs() { - PYTHONPATH=../python/ emake -C docs html - } - use doc && python_execute_function -f build_docs -} - -src_install() { - distutils_src_install - - if use doc; then - dohtml -r docs/build/html/ - fi -} diff --git a/dev-python/cookbook/files/HTML2PDF b/dev-python/cookbook/files/HTML2PDF deleted file mode 100644 index 449cbed..0000000 --- a/dev-python/cookbook/files/HTML2PDF +++ /dev/null @@ -1,52 +0,0 @@ -## {{{ http://code.activestate.com/recipes/572160/ (r1) -import cStringIO -import ho.pisa as pisa -import os - -# Shortcut for dumping all logs on screen -pisa.showLogging() - -def HTML2PDF(data, filename, open=False): - - """ - Simple test showing how to create a PDF file from - PML Source String. Also shows errors and tries to start - the resulting PDF - """ - - pdf = pisa.CreatePDF( - cStringIO.StringIO(data), - file(filename, "wb")) - - if open and (not pdf.err): - os.startfile(str(filename)) - - return not pdf.err - -if __name__=="__main__": - HTMLTEST = """ - <html><body> - <p>Hello <strong style="color: #f00;">World</strong> - <hr> - <table border="1" style="background: #eee; padding: 0.5em;"> - <tr> - <td>Amount</td> - <td>Description</td> - <td>Total</td> - </tr> - <tr> - <td>1</td> - <td>Good weather</td> - <td>0 EUR</td> - </tr> - <tr style="font-weight: bold"> - <td colspan="2" align="right">Sum</td> - <td>0 EUR</td> - </tr> - </table> - </body></html> - """ - - HTML2PDF(HTMLTEST, "test.pdf", open=True) -## end of http://code.activestate.com/recipes/572160/ }}} - diff --git a/dev-python/cookbook/metadata.xml b/dev-python/cookbook/metadata.xml deleted file mode 100644 index 988266a..0000000 --- a/dev-python/cookbook/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>johneed@hotmail.com</email> - <name>Ian idella4 Delaney proxy maintainer</name> - </maintainer> -</pkgmetadata> diff --git a/dev-python/feedparser/feedparser-9999.ebuild b/dev-python/feedparser/feedparser-9999.ebuild deleted file mode 100644 index 946440b..0000000 --- a/dev-python/feedparser/feedparser-9999.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="4" -SUPPORT_PYTHON_ABIS="1" -PYTHON_TESTS_RESTRICTED_ABIS="*-jython" -PYTHON_TESTS_FAILURES_TOLERANT_ABIS="*" - -inherit distutils eutils subversion - -ESVN_REPO_URI="http://feedparser.googlecode.com/svn/trunk/" -DESCRIPTION="Parse RSS and Atom feeds in Python" -HOMEPAGE="http://code.google.com/p/feedparser/ http://pypi.python.org/pypi/feedparser" - -# sgmllib is licensed under PSF-2. -LICENSE="BSD-2 PSF-2" -SLOT="0" -KEYWORDS="" -IUSE="" - -DEPEND="dev-python/setuptools" -RDEPEND="" - -DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1" -PYTHON_MODNAME="feedparser.py _feedparser_sgmllib.py" - -src_prepare() { - mv feedparser/sgmllib3.py feedparser/_feedparser_sgmllib.py || die "Renaming sgmllib3.py failed" - epatch "${FILESDIR}/${P}-sgmllib.patch" - - sed -e "/import feedparser/isys.path.insert(0, '../build/lib')" -i feedparser/feedparsertest.py - - distutils_src_prepare - - preparation() { - if [[ "${PYTHON_ABI}" == 3.* ]]; then - 2to3-${PYTHON_ABI} -nw --no-diffs feedparser/feedparsertest.py - else - # Avoid SyntaxErrors with Python 2. - echo "raise ImportError" > feedparser/_feedparser_sgmllib.py - fi - } - python_execute_function -s preparation -} - -src_test() { - testing() { - cd feedparser || return 1 - "$(PYTHON)" feedparsertest.py - } - python_execute_function -s testing -} diff --git a/dev-python/feedparser/files/feedparser-9999-sgmllib.patch b/dev-python/feedparser/files/feedparser-9999-sgmllib.patch deleted file mode 100644 index 63c12ba..0000000 --- a/dev-python/feedparser/files/feedparser-9999-sgmllib.patch +++ /dev/null @@ -1,78 +0,0 @@ -From 812793c07d3202d3f5bc39091aec2e7071d000c8 Mon Sep 17 00:00:00 2001 -From: Sebastian Pipping <sebastian@pipping.org> -Date: Sun, 1 Jan 2012 19:30:57 +0100 -Subject: [PATCH] Use shipped sgmllib for Python 3.x - ---- - feedparser/feedparser.py | 19 +++---------------- - setup.py | 2 +- - 2 files changed, 4 insertions(+), 17 deletions(-) - -diff --git a/feedparser/feedparser.py b/feedparser/feedparser.py -index 8275c29..9a8a053 100644 ---- a/feedparser/feedparser.py -+++ b/feedparser/feedparser.py -@@ -204,17 +204,9 @@ else: - try: - import sgmllib - except ImportError: -- # This is probably Python 3, which doesn't include sgmllib anymore -- _SGML_AVAILABLE = 0 -+ import _feedparser_sgmllib as sgmllib - -- # Mock sgmllib enough to allow subclassing later on -- class sgmllib(object): -- class SGMLParser(object): -- def goahead(self, i): -- pass -- def parse_starttag(self, i): -- pass --else: -+if True: - _SGML_AVAILABLE = 1 - - # sgmllib defines a number of module-level regular expressions that are -@@ -2520,9 +2512,6 @@ class _RelativeURIResolver(_BaseHTMLProcessor): - _BaseHTMLProcessor.unknown_starttag(self, tag, attrs) - - def _resolveRelativeURIs(htmlSource, baseURI, encoding, _type): -- if not _SGML_AVAILABLE: -- return htmlSource -- - p = _RelativeURIResolver(baseURI, encoding, _type) - p.feed(htmlSource) - return p.output() -@@ -2803,8 +2792,6 @@ class _HTMLSanitizer(_BaseHTMLProcessor): - - - def _sanitizeHTML(htmlSource, encoding, _type): -- if not _SGML_AVAILABLE: -- return htmlSource - p = _HTMLSanitizer(encoding, _type) - htmlSource = htmlSource.replace('<![CDATA[', '<![CDATA[') - p.feed(htmlSource) -@@ -3890,7 +3877,7 @@ def parse(url_file_stream_or_string, etag=None, modified=None, agent=None, refer - result['bozo'] = 1 - result['bozo_exception'] = feedparser.exc or e - use_strict_parser = 0 -- if not use_strict_parser and _SGML_AVAILABLE: -+ if not use_strict_parser: - feedparser = _LooseFeedParser(baseuri, baselang, 'utf-8', entities) - feedparser.feed(data.decode('utf-8', 'replace')) - result['feed'] = feedparser.feeddata -diff --git a/setup.py b/setup.py -index a4a60fe..8c15451 100644 ---- a/setup.py -+++ b/setup.py -@@ -16,7 +16,7 @@ setup( - download_url = 'http://code.google.com/p/feedparser/', - platforms = ['POSIX', 'Windows'], - package_dir = {'': 'feedparser'}, -- py_modules = ['feedparser'], -+ py_modules = ['feedparser', '_feedparser_sgmllib'], - keywords = ['atom', 'cdf', 'feed', 'parser', 'rdf', 'rss'], - classifiers = [ - 'Development Status :: 5 - Production/Stable', --- -1.7.8.1 - diff --git a/dev-python/feedparser/metadata.xml b/dev-python/feedparser/metadata.xml deleted file mode 100644 index 5366461..0000000 --- a/dev-python/feedparser/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/ordereddict/Manifest b/dev-python/ordereddict/Manifest deleted file mode 100644 index c0972ec..0000000 --- a/dev-python/ordereddict/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST ordereddict-1.1.tar.gz 2114 SHA256 1c35b4ac206cef2d24816c89f89cf289dd3d38cf7c449bb3fab7bf6d43f01b1f SHA512 20b2beb1ee6309885b2d702c04d21e683fae3061f19176aceae381688be0fed5b2fbf55a1ff901460e93bf14c83169d2b7a286e3725b008583711134656d86e5 WHIRLPOOL 228d1a6a1926d7c1decc892c53d6260e78af0a32fcee2e04ce46a828648a2fcba16ba637b78cd30f903224baadb1ad78b232d0b8f7d68d0bc8c10daebb8ed86c diff --git a/dev-python/ordereddict/metadata.xml b/dev-python/ordereddict/metadata.xml deleted file mode 100644 index d02cc23..0000000 --- a/dev-python/ordereddict/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/ordereddict/ordereddict-1.1.ebuild b/dev-python/ordereddict/ordereddict-1.1.ebuild deleted file mode 100644 index 673dc7d..0000000 --- a/dev-python/ordereddict/ordereddict-1.1.ebuild +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=4 -PYTHON_DEPEND="2" -SUPPORT_PYTHON_ABIS=1 -RESTRICT_PYTHON_ABIS="3.*" -inherit distutils - -DESCRIPTION="OrderedDict that works in Python 2.4-2.6" -HOMEPAGE="http://pypi.python.org/pypi/ordereddict/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" -KEYWORDS="~amd64 ~x86" -IUSE="doc" - -LICENSE="MIT" -SLOT="0" -PYTHON_MODNAME="ordereddict.py" - -RDEPEND="" -DEPEND="${RDEPEND} dev-python/setuptools" diff --git a/dev-python/pbr/ChangeLog b/dev-python/pbr/ChangeLog deleted file mode 100644 index c6c8a6a..0000000 --- a/dev-python/pbr/ChangeLog +++ /dev/null @@ -1,36 +0,0 @@ -# ChangeLog for dev-python/pbr -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pbr/ChangeLog,v 1.8 2013/12/13 21:37:57 prometheanfire Exp $ - - 13 Dec 2013; Matthew Thode <prometheanfire@gentoo.org> pbr-0.5.23.ebuild: - more missing test deps - - 11 Dec 2013; Matthew Thode <prometheanfire@gentoo.org> pbr-0.5.23.ebuild: - fixes for bug 493930 - -*pbr-0.5.23 (10 Dec 2013) - - 10 Dec 2013; Ian Delaney <idella4@gentoo.org> +pbr-0.5.23.ebuild, - metadata.xml: - bump; virtual re-write - - 12 Nov 2013; Matthew Thode <prometheanfire@gentoo.org> pbr-0.5.21.ebuild: - adding pypy2_0 to pbr - - 09 Aug 2013; Matthew Thode <prometheanfire@gentoo.org> pbr-0.5.21.ebuild: - added python 3.2 and python 3.3 support - - 09 Aug 2013; Matthew Thode <prometheanfire@gentoo.org> pbr-0.5.21.ebuild: - restricting tests for 478800 - -*pbr-0.5.21 (09 Aug 2013) - - 09 Aug 2013; Matthew Thode <prometheanfire@gentoo.org> +pbr-0.5.21.ebuild, - -pbr-0.5.11.ebuild: - update to dev-python/pbr fixes the distribute problem - -*pbr-0.5.11 (31 May 2013) - - 31 May 2013; Matthew Thode <prometheanfire@gentoo.org> +metadata.xml, - +pbr-0.5.11.ebuild: - new dep required by openstack packages diff --git a/dev-python/pbr/Manifest b/dev-python/pbr/Manifest deleted file mode 100644 index dce631b..0000000 --- a/dev-python/pbr/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST pbr-0.5.21.tar.gz 123902 SHA256 bba90ab981fc2c086650dad4413e4626cc8b199f1c848959469f26224d3ab381 SHA512 6c60deb8489f33df3491c113047de8811aeeefaa18ab5fd780f1024ae2dcdaf939c570078e22720b0eb22085bc8659717964b102ac0f4889bf9804553f059c5e WHIRLPOOL 2015c6578eef583a5884549d9257d71ff8fa8e93f3a2fc8903c8cbb12f9d6f1dbdd4f29ea74656c2ab981adc717c4ac39155b2718f7d2e06d7b7914d861ac4c7 -DIST pbr-0.5.23.tar.gz 128773 SHA256 032903366eabe6a388dfd6fdc1f4ef72558d7b9be6313bc24619c2a8d71b6087 SHA512 91889672e8c7cc6949c6e1180728f04242d546d112ac5dbe1d3b63e3a6c293072d68a1c95fdfd4d68404261d459270768e5d77b1a5596f3f0547e246c52a585d WHIRLPOOL 744b12fae6292f90330b81459b046ca91031918ad2ea0d56baebe40671f5bde85ab13d83263899d3a36b424788f9e15f5bc427a00dd0eb899def0c8a46cc2d7f diff --git a/dev-python/pbr/files/test.patch b/dev-python/pbr/files/test.patch deleted file mode 100644 index 2e8c0d1..0000000 --- a/dev-python/pbr/files/test.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff -ur pbr-0.5.23.orig/pbr/tests/test_packaging.py pbr-0.5.23/pbr/tests/test_packaging.py ---- pbr/tests/test_packaging.py 2013-10-31 05:02:32.000000000 +0800 -+++ pbr/tests/test_packaging.py 2014-01-14 21:38:37.413743980 +0800 -@@ -64,7 +64,7 @@ - body = f.read() - self.assertNotEqual(body, '') - -- def test_changelog(self): -+ def _test_changelog(self): - with open(os.path.join(self.package_dir, 'ChangeLog'), 'r') as f: - body = f.read() - # One commit, something should be in the ChangeLog list -@@ -86,7 +86,7 @@ - body = f.read() - self.assertEqual(body, '\n') - -- def test_changelog(self): -+ def _test_changelog(self): - # No commits, nothing should be in the ChangeLog list - with open(os.path.join(self.package_dir, 'ChangeLog'), 'r') as f: - body = f.read() - diff --git a/dev-python/pbr/metadata.xml b/dev-python/pbr/metadata.xml deleted file mode 100644 index 9718107..0000000 --- a/dev-python/pbr/metadata.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <herd>openstack</herd> - <maintainer> - <email>prometheanfire@gentoo.org</email> - <name>Matthew Thode</name> - </maintainer> - <longdescription lang="en"> - Python Build Reasonableness - PBR is a library that injects some useful and sensible default behaviors into your setuptools run. - </longdescription> -</pkgmetadata> - diff --git a/dev-python/pbr/pbr-0.5.21.ebuild b/dev-python/pbr/pbr-0.5.21.ebuild deleted file mode 100644 index 1024015..0000000 --- a/dev-python/pbr/pbr-0.5.21.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pbr/pbr-0.5.21.ebuild,v 1.4 2013/11/12 06:06:21 prometheanfire Exp $ - -EAPI=5 -PYTHON_COMPAT=( python2_6 python2_7 python3_2 python3_3 pypy2_0 ) - -inherit distutils-r1 - -DESCRIPTION="PBR is a library that injects some useful and sensible default -behaviors into your setuptools run." -HOMEPAGE="https://github.com/openstack-dev/pbr" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" -RESTRICT="test" - -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" -RDEPEND=">dev-python/pip-1.0[${PYTHON_USEDEP}]" - -python_test() { - "${PYTHON}" setup.py nosetests || die -} diff --git a/dev-python/pbr/pbr-0.5.23-r1.ebuild b/dev-python/pbr/pbr-0.5.23-r1.ebuild deleted file mode 100644 index 52b7b02..0000000 --- a/dev-python/pbr/pbr-0.5.23-r1.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pbr/pbr-0.5.23.ebuild,v 1.3 2013/12/13 21:37:57 prometheanfire Exp $ - -EAPI=5 -PYTHON_COMPAT=( python{2_7,3_3} ) - -inherit distutils-r1 - -DESCRIPTION="PBR is a library that injects some useful and sensible default -behaviors into your setuptools run." -HOMEPAGE="https://github.com/openstack-dev/pbr" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" - -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] - test? ( >=dev-python/coverage-3.6[${PYTHON_USEDEP}] - >=dev-python/fixtures-0.3.12[${PYTHON_USEDEP}] - ~dev-python/flake8-2.0[${PYTHON_USEDEP}] - dev-python/subunit[${PYTHON_USEDEP}] - dev-python/mimeparse[${PYTHON_USEDEP}] - >=dev-python/mock-1.0[${PYTHON_USEDEP}] - ~dev-python/pyflakes-0.7.2[${PYTHON_USEDEP}] - ~dev-python/pep8-1.4.5[${PYTHON_USEDEP}] - >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}] - <dev-python/sphinx-1.2[${PYTHON_USEDEP}] - >=dev-python/testrepository-0.0.17[${PYTHON_USEDEP}] - <dev-python/testresources-0.3[${PYTHON_USEDEP}] - >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] - <dev-python/testscenarios-0.5[${PYTHON_USEDEP}] - >=dev-python/testtools-0.9.32[${PYTHON_USEDEP}] - )" -RDEPEND=">dev-python/pip-1.0[${PYTHON_USEDEP}]" - -PATCHES=( "${FILESDIR}"/test.patch ) - -python_test() { - # These tests pass run within the source and don't represent failures but rather - # work outside the sandbox constraints -# sed -e s':test_changelog:_&:' -i pbr/tests/test_packaging.py || die - sed -e s':test_console_script_develop:_&:' -i pbr/tests/test_core.py || die - - sed -e s':test_authors:_&:' -i pbr/tests/test_packaging.py || die - sed -e s':test_global_setup_hooks:_&:' -i pbr/tests/test_hooks.py \ - -e s':test_custom_commands_known:_&:' \ - -e s':test_command_hooks:_&:' \ - -i pbr/tests/test_hooks.py - sed -e s':test_setup_py_keywords:_&:' \ - -e s':test_sdist_git_extra_file:_&:' \ - -e s':test_sdist_extra_file:_&:' \ - -e s':test_console_script_install:_&:' \ - -i pbr/tests/test_core.py || die - sed -e s':test_custom_build_py_command:_&:' \ - -i pbr/tests/test_commands.py || die - - testr init -# "${PYTHON}" setup.py testr - testr run || die "Testsuite failed under ${EPYTHON}" - flake8 "${PN}"/tests || die "Run over tests folder by flake8 drew error" -} diff --git a/dev-python/pbr/pbr-0.5.23.ebuild b/dev-python/pbr/pbr-0.5.23.ebuild deleted file mode 100644 index a3cd59e..0000000 --- a/dev-python/pbr/pbr-0.5.23.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pbr/pbr-0.5.23.ebuild,v 1.3 2013/12/13 21:37:57 prometheanfire Exp $ - -EAPI=5 -PYTHON_COMPAT=( python2_7 ) - -inherit distutils-r1 - -DESCRIPTION="PBR is a library that injects some useful and sensible default -behaviors into your setuptools run." -HOMEPAGE="https://github.com/openstack-dev/pbr" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" - -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] - test? ( >=dev-python/coverage-3.6[${PYTHON_USEDEP}] - >=dev-python/fixtures-0.3.12[${PYTHON_USEDEP}] - ~dev-python/flake8-2.0[${PYTHON_USEDEP}] - dev-python/subunit[${PYTHON_USEDEP}] - dev-python/mimeparse[${PYTHON_USEDEP}] - >=dev-python/mock-1.0[${PYTHON_USEDEP}] - ~dev-python/pyflakes-0.7.2[${PYTHON_USEDEP}] - ~dev-python/pep8-1.4.5[${PYTHON_USEDEP}] - >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}] - <dev-python/sphinx-1.2[${PYTHON_USEDEP}] - >=dev-python/testrepository-0.0.17[${PYTHON_USEDEP}] - <dev-python/testresources-0.3[${PYTHON_USEDEP}] - >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] - <dev-python/testscenarios-0.5[${PYTHON_USEDEP}] - >=dev-python/testtools-0.9.32[${PYTHON_USEDEP}] - )" -#dev-python/python-subunit[${PYTHON_USEDEP}] -#!dev-python/subunit[${PYTHON_USEDEP}] -RDEPEND=">dev-python/pip-1.0[${PYTHON_USEDEP}]" - -python_test() { - # These tests pass run within the source and don't represent failures but rather - # work outside the sandbox constraints - sed -e s':test_changelog:_&:' -i pbr/tests/test_packaging.py || die - sed -e s':test_console_script_develop:_&:' -i pbr/tests/test_core.py || die - testr init - testr run || die "Testsuite failed under ${EPYTHON}" - flake8 "${PN}"/tests || die "Run over tests folder by flake8 drew error" -} diff --git a/dev-python/pycairo/ChangeLog b/dev-python/pycairo/ChangeLog deleted file mode 100644 index 885d3eb..0000000 --- a/dev-python/pycairo/ChangeLog +++ /dev/null @@ -1,421 +0,0 @@ -# ChangeLog for dev-python/pycairo -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pycairo/ChangeLog,v 1.110 2012/06/02 11:59:24 marienz Exp $ - - 02 Jun 2012; Marien Zwart <marienz@gentoo.org> - -files/pycairo-1.8.10-cairo.version_info.patch, -pycairo-1.10.0-r1.ebuild, - -pycairo-1.10.0.ebuild, pycairo-1.10.0-r2.ebuild, pycairo-1.8.10.ebuild: - Restrict pypy (bug #397393), remove stale versions. - - 12 May 2012; Alexis Ballier <aballier@gentoo.org> pycairo-1.10.0-r2.ebuild: - keyword ~amd64-fbsd - - 04 May 2012; Patrick Lauer <patrick@gentoo.org> pycairo-1.10.0-r1.ebuild, - pycairo-1.10.0-r2.ebuild, pycairo-1.10.0.ebuild, pycairo-1.8.10.ebuild: - Migrating dev-util/pkgconfig -> virtual/pkgconfig - - 13 Feb 2012; Kacper Kowalik <xarthisius@gentoo.org> pycairo-1.10.0-r2.ebuild: - ppc64 stable wrt #393403 - - 01 Feb 2012; Brent Baude <ranger@gentoo.org> pycairo-1.10.0-r2.ebuild: - Marking pycairo-1.10.0-r2 ppc for bug 393403 - - 18 Dec 2011; Raúl Porcel <armin76@gentoo.org> pycairo-1.10.0-r2.ebuild: - alpha/arm/ia64/sh/sparc stable wrt #393403 - - 15 Dec 2011; Agostino Sarubbo <ago@gentoo.org> pycairo-1.10.0-r2.ebuild: - Stable for AMD64, wrt bug #393403 - - 14 Dec 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org> - pycairo-1.10.0-r2.ebuild: - x86 stable wrt bug #393403 - - 13 Dec 2011; Jeroen Roovers <jer@gentoo.org> pycairo-1.10.0-r2.ebuild: - Stable for HPPA (bug #393403). - -*pycairo-1.10.0-r2 (06 Jul 2011) - - 06 Jul 2011; Dirkjan Ochtman <djc@gentoo.org> +pycairo-1.10.0-r2.ebuild: - Remove config.h to fix SVG (bug 368601). - -*pycairo-1.10.0-r1 (08 May 2011) - - 08 May 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> - +pycairo-1.10.0-r1.ebuild, +files/py2cairo-1.10.0-svg_check.patch: - 1.10.0 version bump for Python 2. - -*pycairo-1.10.0 (24 Apr 2011) - - 24 Apr 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> - +files/pycairo-1.8.10-cairo.version_info.patch, +pycairo-1.10.0.ebuild, - +files/pycairo-1.10.0-svg_check.patch: - Version bump. This ebuild provides pycairo 1.10.0 for Python 3 and pycairo - 1.8.10 for Python 2. Fix cairo.version_info in pycairo 1.8.10 for Python 2 - (bug #361781). - - 23 Oct 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> - -pycairo-1.8.8.ebuild, -files/pycairo-1.8.8-pkgconfig_dir.patch: - Delete. - - 18 Oct 2010; Jeroen Roovers <jer@gentoo.org> pycairo-1.8.10.ebuild: - Stable for PPC (bug #337146). - - 18 Oct 2010; Jeroen Roovers <jer@gentoo.org> pycairo-1.8.10.ebuild: - Stable for HPPA (bug #337146). - - 03 Oct 2010; Raúl Porcel <armin76@gentoo.org> pycairo-1.8.10.ebuild: - alpha/arm/ia64/sh/sparc stable wrt #337146 - - 02 Oct 2010; Fabian Groffen <grobian@gentoo.org> pycairo-1.8.10.ebuild: - Marked ~x64-macos, bug #333981 - - 26 Sep 2010; Samuli Suominen <ssuominen@gentoo.org> pycairo-1.8.10.ebuild: - ppc64 stable wrt #337146 - - 21 Sep 2010; Markos Chandras <hwoarang@gentoo.org> pycairo-1.8.10.ebuild: - Stable on amd64 wrt bug #337146 - - 15 Sep 2010; Christian Faulhammer <fauli@gentoo.org> - pycairo-1.8.10.ebuild: - stable x86, bug 337146 - - 25 Jul 2010; Tobias Klausmann <klausman@gentoo.org> pycairo-1.8.10.ebuild: - Keyworded on alpha, bug #324617 - - 25 Jul 2010; Tobias Klausmann <klausman@gentoo.org> pycairo-1.8.10.ebuild: - Stable on alpha, bug #324617 - - 21 Jul 2010; Markus Meier <maekke@gentoo.org> pycairo-1.8.10.ebuild: - add ~arm, bug #324617 - - 09 Jul 2010; Jeroen Roovers <jer@gentoo.org> pycairo-1.8.10.ebuild: - Marked ~hppa (bug #324617). - - 02 Jul 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> - pycairo-1.8.10.ebuild: - Fix tests (bug #326635). - -*pycairo-1.8.10 (18 Jun 2010) - - 18 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> - -pycairo-1.4.12.ebuild, -pycairo-1.8.2.ebuild, -pycairo-1.8.4.ebuild, - -pycairo-1.8.6.ebuild, +pycairo-1.8.10.ebuild, - +files/pycairo-1.8.10-pkgconfig_dir.patch: - Version bump. - - 07 Feb 2010; Peter Volkov <pva@gentoo.org> pycairo-1.8.8.ebuild: - Add inherit eutils: epatch is defined there. - - 10 Nov 2009; Brent Baude <ranger@gentoo.org> pycairo-1.8.8.ebuild: - Marking pycairo-1.8.8 ppc64 for bug 285115 - - 19 Oct 2009; Raúl Porcel <armin76@gentoo.org> pycairo-1.8.8.ebuild: - arm/ia64/sh/sparc stable wrt #285115 - - 11 Oct 2009; Fabian Groffen <grobian@gentoo.org> pycairo-1.8.8.ebuild: - Merge from Prefix - - 07 Oct 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> - pycairo-1.8.8.ebuild: - Fix tests (bug #285688). - - 01 Oct 2009; Tobias Klausmann <klausman@gentoo.org> pycairo-1.8.8.ebuild: - Stable on alpha, bug #285115 - - 27 Sep 2009; nixnut <nixnut@gentoo.org> pycairo-1.8.8.ebuild: - ppc stable #285115 - - 22 Sep 2009; Markus Meier <maekke@gentoo.org> pycairo-1.8.8.ebuild: - amd64/x86 stable, bug #285115 - - 19 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> - pycairo-1.8.8.ebuild, +files/pycairo-1.8.8-svg_check.patch: - Improve dependencies (bug #269682). - - 17 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> - pycairo-1.8.8.ebuild: - Update dependency on dev-python/sphinx. Fix tests. - - 16 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> - pycairo-1.8.8.ebuild, +files/pycairo-1.8.8-pkgconfig_dir.patch: - Install pycairo.pc in correct directory (bug #283360). - - 14 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> - pycairo-1.8.8.ebuild: - Don't enable "svg" USE flag by IUSE (bug #284833). - - 10 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> - pycairo-1.8.8.ebuild: - Add "svg" USE flag (bug #269682). - -*pycairo-1.8.8 (29 Aug 2009) - - 29 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> - +pycairo-1.8.8.ebuild: - Version bump. - - 08 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> - pycairo-1.8.6.ebuild: - Set SUPPORT_PYTHON_ABIS. - - 10 Jul 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> - pycairo-1.8.6.ebuild: - Add "doc" USE flag (bug #276805). - -*pycairo-1.8.6 (09 Jul 2009) - - 09 Jul 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> - +pycairo-1.8.6.ebuild: - Version bump. - - 01 May 2009; Raúl Porcel <armin76@gentoo.org> pycairo-1.8.2.ebuild: - alpha/arm/ia64/sh/sparc stable wrt #267433 - - 29 Apr 2009; Brent Baude <ranger@gentoo.org> pycairo-1.8.2.ebuild: - stable ppc64, bug 267433 - - 28 Apr 2009; Jeroen Roovers <jer@gentoo.org> pycairo-1.8.2.ebuild: - Stable for HPPA (bug #267433). - - 27 Apr 2009; Markus Meier <maekke@gentoo.org> pycairo-1.8.2.ebuild: - amd64/x86 stable, bug #267433 - - 26 Apr 2009; Brent Baude <ranger@gentoo.org> pycairo-1.8.2.ebuild: - stable ppc, bug 267433 - -*pycairo-1.8.4 (25 Apr 2009) - - 25 Apr 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> - -files/pycairo-1.2.2-no-automagic-deps.patch, - -files/pycairo-1.2.6-no-automagic-deps.patch, -pycairo-1.2.2.ebuild, - -pycairo-1.2.6.ebuild, -pycairo-1.4.0.ebuild, pycairo-1.8.2, - +pycairo-1.8.4.ebuild: - Version bump. - -*pycairo-1.8.2 (24 Jan 2009) - - 24 Jan 2009; Patrick Lauer <patrick@gentoo.org> +pycairo-1.8.2.ebuild: - Bump to 1.8.2, fixes #255360 - - 10 Nov 2008; Raúl Porcel <armin76@gentoo.org> pycairo-1.4.12.ebuild: - arm/sh stable - - 06 Aug 2008; Jesus Rivero <neurogeek@gentoo.org> metadata.xml: - add GLEP 56 USE flag desc from use.local.desc - - 21 Jul 2008; nixnut <nixnut@gentoo.org> pycairo-1.4.12.ebuild: - Stable on ppc wrt bug 232327 - - 19 Jul 2008; Jeroen Roovers <jer@gentoo.org> pycairo-1.4.12.ebuild: - Stable for HPPA (bug #232327). - - 19 Jul 2008; Olivier Crête <tester@gentoo.org> pycairo-1.4.12.ebuild: - Stable on amd64, bug #232327 - - 29 May 2008; Ali Polatel <hawking@gentoo.org> pycairo-1.2.2.ebuild, - pycairo-1.2.6.ebuild: - python_mod_optimize is ROOT aware. - - 12 May 2008; Markus Rothe <corsair@gentoo.org> pycairo-1.4.12.ebuild: - Stable on ppc64 - - 10 Mar 2008; <ricmm@gentoo.org> pycairo-1.2.6.ebuild, - pycairo-1.4.0.ebuild: - Drop to ~mips to match x11-libs/cairo - - 07 Feb 2008; Raúl Porcel <armin76@gentoo.org> pycairo-1.4.12.ebuild: - alpha/ia64/sparc/x86 stable - - 26 Dec 2007; Ali Polatel <hawking@gentoo.org> pycairo-1.4.12.ebuild: - Use DOCS, fixes #203333 - -*pycairo-1.4.12 (15 Dec 2007) - - 15 Dec 2007; Lukasz Strzygowski <lucass@gentoo.org> - +pycairo-1.4.12.ebuild: - Version bump. - - 06 Aug 2007; Joshua Kinard <kumba@gentoo.org> pycairo-1.4.0.ebuild: - Stable on mips, per #185823. - - 24 Jul 2007; Steve Dibb <beandog@gentoo.org> pycairo-1.4.0.ebuild: - amd64 stable, bug 185649 - - 20 Jul 2007; nixnut <nixnut@gentoo.org> pycairo-1.4.0.ebuild: - Stable on ppc wrt bug 185649 - - 17 Jul 2007; Jeroen Roovers <jer@gentoo.org> pycairo-1.4.0.ebuild: - Stable for HPPA (bug #185649). - - 17 Jul 2007; Markus Rothe <corsair@gentoo.org> pycairo-1.4.0.ebuild: - Stable on ppc64; bug #185649 - - 17 Jul 2007; Gustavo Zacarias <gustavoz@gentoo.org> pycairo-1.4.0.ebuild: - Stable on sparc wrt #185649 - - 17 Jul 2007; Raúl Porcel <armin76@gentoo.org> pycairo-1.4.0.ebuild: - alpha/ia64/x86 stable wrt #185649 - - 17 Jul 2007; Ali Polatel <hawking@gentoo.org> pycairo-1.4.0.ebuild: - Use distutils, added src_test - - 30 Jun 2007; Ali Polatel <hawking@gentoo.org> pycairo-1.2.2.ebuild, - pycairo-1.2.6.ebuild, pycairo-1.4.0.ebuild: - Add python_mod_optimize/cleanup wrt bug 177559, use NEED_PYTHON, add - trailing slash to HOMEPAGE - - 15 Jun 2007; Doug Goldstein <cardoe@gentoo.org> -pycairo-1.0.2.ebuild: - remove old version since cairo 1.0.x is going bye bye - - 27 May 2007; Joshua Kinard <kumba@gentoo.org> pycairo-1.2.6.ebuild: - Stable on mips. - -*pycairo-1.4.0 (14 Mar 2007) - - 14 Mar 2007; Marien Zwart <marienz@gentoo.org> +pycairo-1.4.0.ebuild: - Version bump, thanks to Cardoe for reporting. - - 28 Jan 2007; Roy Marples <uberlord@gentoo.org> pycairo-1.2.6.ebuild: - Reverted to make install as emake install with a high -j fails on fbsd. - - 26 Jan 2007; Alexander H. Færøy <eroyf@gentoo.org> pycairo-1.2.6.ebuild: - Added ~mips; bug #161039 - - 20 Jan 2007; Bryan Østergaard <kloeri@gentoo.org> pycairo-1.2.2.ebuild: - Stable on Alpha. - - 08 Jan 2007; Tiziano Müller <dev-zero@gentoo.org> pycairo-1.2.2.ebuild: - Added WANT_AUTO*, bug #160246 - -*pycairo-1.2.6 (06 Jan 2007) - - 06 Jan 2007; Tiziano Müller <dev-zero@gentoo.org> - -files/pycairo-1.2.0-no-automagic-deps.patch, - +files/pycairo-1.2.6-no-automagic-deps.patch, pycairo-1.0.2.ebuild, - -pycairo-1.0.2-r1.ebuild, -pycairo-1.2.0.ebuild, pycairo-1.2.2.ebuild, - +pycairo-1.2.6.ebuild: - Added examples USE-flag (bug #111508). Dropped old versions. Version bump. - - 01 Dec 2006; Gustavo Zacarias <gustavoz@gentoo.org> pycairo-1.2.2.ebuild: - Stable on hppa wrt #155544 - - 24 Nov 2006; Markus Rothe <corsair@gentoo.org> pycairo-1.2.2.ebuild: - Stable on ppc64; bug #155544 - - 21 Nov 2006; Christian Faulhammer <opfer@gentoo.org> pycairo-1.2.2.ebuild: - stable x86, bug #155544 - - 21 Nov 2006; Joseph Jezak <josejx@gentoo.org> pycairo-1.2.2.ebuild: - Marked ppc stable for bug #155713. - - 20 Nov 2006; <blubb@gentoo.org> pycairo-1.2.2.ebuild: - stable on amd64 - - 20 Nov 2006; Gustavo Zacarias <gustavoz@gentoo.org> pycairo-1.2.2.ebuild: - Stable on sparc wrt #155544 - - 01 Oct 2006; Marien Zwart <marienz@gentoo.org> pycairo-1.0.2.ebuild, - pycairo-1.0.2-r1.ebuild, pycairo-1.2.0.ebuild, pycairo-1.2.2.ebuild: - Add pkgconfig to DEPEND. Closes bug #149730, thanks to bonsaikitten for - reporting. - -*pycairo-1.2.2 (25 Sep 2006) - - 25 Sep 2006; Marien Zwart <marienz@gentoo.org> - +files/pycairo-1.2.2-no-automagic-deps.patch, +pycairo-1.2.2.ebuild: - Version bump with an updated ebuild by Martin von Gagern - <Martin.vGagern@gmx.net> from bug #145399. - - 06 Sep 2006; Javier Villavicencio <the_paya@gentoo.org> - pycairo-1.2.0.ebuild: - Add ~x86-fbsd keyword. - - 04 Sep 2006; Joshua Kinard <kumba@gentoo.org> pycairo-1.0.2.ebuild: - Marked stable on mips. - - 07 Aug 2006; Alastair Tse <liquidx@gentoo.org> pycairo-1.0.2.ebuild, - pycairo-1.0.2-r1.ebuild: - fix pycairo-1.0.2 deps to cairo-1.0* (#142998) - -*pycairo-1.2.0 (04 Jul 2006) - - 04 Jul 2006; Marien Zwart <marienz@gentoo.org> - +files/pycairo-1.2.0-no-automagic-deps.patch, +pycairo-1.2.0.ebuild: - Version bump (in package.mask). Fix automagic dependencies, minor quoting fix. - - 06 Jun 2006; Carsten Lohrke <carlo@gentoo.org> ChangeLog: - Fix use of nonexistent versioned virtual/python. - - 06 Jun 2006; Carsten Lohrke <carlo@gentoo.org> -pycairo-0.1.4.ebuild, - -pycairo-0.9.0.ebuild: - Clean up. - -*pycairo-1.0.2-r1 (12 May 2006) - - 12 May 2006; John N. Laliberte <allanonjl@gentoo.org> - +pycairo-1.0.2-r1.ebuild: - remove dep on pygtk since the cairo.gtk is not built if pygtk is >=2.7.0. - fixes a circular dep with pygtk <-> pycairo. - - 04 Feb 2006; Aron Griffis <agriffis@gentoo.org> pycairo-1.0.2.ebuild: - Mark 1.0.2 stable on ia64 - - 03 Feb 2006; Guy Martin <gmsoft@gentoo.org> pycairo-1.0.2.ebuild: - Stable on hppa. - - 31 Jan 2006; Aron Griffis <agriffis@gentoo.org> pycairo-1.0.2.ebuild: - Mark 1.0.2 stable on alpha - - 22 Jan 2006; Tobias Scherbaum <dertobi123@gentoo.org> - pycairo-1.0.2.ebuild: - Marked ppc stable for bug #119634; Stabilize Gnome-2.12.2 - - 22 Jan 2006; <dang@gentoo.org> pycairo-1.0.2.ebuild: - Marked stable on amd64 per bug #119634 - - 22 Jan 2006; Markus Rothe <corsair@gentoo.org> pycairo-1.0.2.ebuild: - Stable on ppc64 - - 22 Jan 2006; Joshua Jackson <tsunam@gentoo.org> pycairo-1.0.2.ebuild: - Stable on x86 for bug #119634; Stabilize Gnome-2.12.2 - - 20 Jan 2006; Gustavo Zacarias <gustavoz@gentoo.org> pycairo-1.0.2.ebuild: - Stable on sparc wrt #119634 - - 26 Dec 2005; Bryan Østergaard <kloeri@gentoo.org pycairo-0.9.0.ebuild, - pycairo-1.0.2.ebuild: - ~alpha keyword. - -*pycairo-1.0.2 (21 Dec 2005) - - 21 Dec 2005; Lukasz Strzygowski <lucass@gentoo.org> +pycairo-1.0.2.ebuild: - Version bump and cleanup. Closing bug #104060. - - 31 Oct 2005; Bryan Østergaard <kloeri@gentoo.org> pycairo-0.9.0.ebuild: - ~ia64 keyword. - - 19 Oct 2005; Tom Gall <tgall@gentoo.org> pycairo-0.9.0.ebuild: - added ~ppc64, bug #108808 - - 25 Sep 2005; Tobias Scherbaum <dertobi123@gentoo.org> - pycairo-0.9.0.ebuild: - Added to ~ppc - - 20 Sep 2005; Gustavo Zacarias <gustavoz@gentoo.org> pycairo-0.9.0.ebuild: - Keyworded ~sparc - - 30 Aug 2005; <dang@gentoo.org> pycairo-0.9.0.ebuild: - Marked ~amd64 - -*pycairo-0.9.0 (26 Aug 2005) - - 26 Aug 2005; John N. Laliberte <allanonjl@gentoo.org> - +pycairo-0.9.0.ebuild: - new version, needed for pygtk. approved by kloeri - -*pycairo-0.1.4 (04 Feb 2005) - - 04 Feb 2005; Fernando Serboncini <fserb@gentoo.org> +metadata.xml, - +pycairo-0.1.4.ebuild: - Initial ebuild - diff --git a/dev-python/pycairo/Manifest b/dev-python/pycairo/Manifest deleted file mode 100644 index d081c0c..0000000 --- a/dev-python/pycairo/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST py2cairo-1.10.0.tar.bz2 402070 SHA256 d30439f06c2ec1a39e27464c6c828b6eface3b22ee17b2de05dc409e429a7431 SHA512 cb3d54de9af4134460ce731da8166a3127a642c8a2e6184109437ddec115cd55b8dd2413a5c81700277bfe2f22fcfe268db4f3ba0f7649751e85bb34295f79fc WHIRLPOOL 60b57d55b27f06acd62714ac6ad7973ab973d42995fb536ae800263a2e8c7451a24ccafd96fe30f5bfa26e1ae218934d4fafaafec3e9666a39b33c78672407e2 -DIST pycairo-1.10.0.tar.bz2 246556 SHA256 9aa4078e7eb5be583aeabbe8d87172797717f95e8c4338f0d4a17b683a7253be SHA512 a03db6f04cea504985f390b0734042390f491f32ae2bee1299dabbafd369fde36bb506ebb941d22bbc11b0d008c4f758baeacf309a7336880529455092db829f WHIRLPOOL e779d56d67ef18bbd052d81acb38d8b610ca4bbf787f4b0e3982633de55ff54d6dfa3e5ce1957321fba09f0ec2d12ce12057335de9d5ff3f84c2bc0530415e76 diff --git a/dev-python/pycairo/files/py2cairo-1.10.0-svg_check.patch b/dev-python/pycairo/files/py2cairo-1.10.0-svg_check.patch deleted file mode 100644 index 4cd755c..0000000 --- a/dev-python/pycairo/files/py2cairo-1.10.0-svg_check.patch +++ /dev/null @@ -1,126 +0,0 @@ ---- src/cairomodule.c -+++ src/cairomodule.c -@@ -127,7 +127,7 @@ - #else - 0, - #endif --#ifdef CAIRO_HAS_SVG_SURFACE -+#ifdef PYCAIRO_ENABLE_SVG - &PycairoSVGSurface_Type, - #else - 0, -@@ -223,7 +223,7 @@ - if (PyType_Ready(&PycairoPSSurface_Type) < 0) - return; - #endif --#ifdef CAIRO_HAS_SVG_SURFACE -+#ifdef PYCAIRO_ENABLE_SVG - if (PyType_Ready(&PycairoSVGSurface_Type) < 0) - return; - #endif -@@ -305,7 +305,7 @@ - PyModule_AddObject(m, "PSSurface", (PyObject *)&PycairoPSSurface_Type); - #endif - --#ifdef CAIRO_HAS_SVG_SURFACE -+#ifdef PYCAIRO_ENABLE_SVG - Py_INCREF(&PycairoSVGSurface_Type); - PyModule_AddObject(m, "SVGSurface", (PyObject *)&PycairoSVGSurface_Type); - #endif -@@ -379,7 +379,7 @@ - #else - PyModule_AddIntConstant(m, "HAS_PS_SURFACE", 0); - #endif --#if CAIRO_HAS_SVG_SURFACE -+#if PYCAIRO_ENABLE_SVG - PyModule_AddIntConstant(m, "HAS_SVG_SURFACE", 1); - #else - PyModule_AddIntConstant(m, "HAS_SVG_SURFACE", 0); ---- src/private.h -+++ src/private.h -@@ -86,7 +86,7 @@ - extern PyTypeObject PycairoPSSurface_Type; - #endif - --#if CAIRO_HAS_SVG_SURFACE -+#if PYCAIRO_ENABLE_SVG - extern PyTypeObject PycairoSVGSurface_Type; - #endif - ---- src/pycairo.h -+++ src/pycairo.h -@@ -182,7 +182,7 @@ - #define PycairoPSSurface_Type *(Pycairo_CAPI->PSSurface_Type) - #endif - --#if CAIRO_HAS_SVG_SURFACE -+#if PYCAIRO_ENABLE_SVG - #define PycairoSVGSurface_Type *(Pycairo_CAPI->SVGSurface_Type) - #endif - ---- src/surface.c -+++ src/surface.c -@@ -83,7 +83,7 @@ - type = &PycairoPSSurface_Type; - break; - #endif --#if CAIRO_HAS_SVG_SURFACE -+#if PYCAIRO_ENABLE_SVG - case CAIRO_SURFACE_TYPE_SVG: - type = &PycairoSVGSurface_Type; - break; -@@ -1015,7 +1015,7 @@ - - - /* Class SVGSurface(Surface) ----------------------------------------------- */ --#ifdef CAIRO_HAS_SVG_SURFACE -+#ifdef PYCAIRO_ENABLE_SVG - #include <cairo-svg.h> - - static PyObject * -@@ -1125,7 +1125,7 @@ - 0, /* tp_is_gc */ - 0, /* tp_bases */ - }; --#endif /* CAIRO_HAS_SVG_SURFACE */ -+#endif /* PYCAIRO_ENABLE_SVG */ - - - #if CAIRO_HAS_WIN32_SURFACE ---- wscript -+++ wscript -@@ -1,6 +1,7 @@ - # -*- python -*- - - import os -+import subprocess - - top = '.' - out = 'build_directory' -@@ -11,6 +12,17 @@ - cairo_version_required = '1.10.0' - - -+def check_svg(): -+ if os.environ.get('PYCAIRO_DISABLE_SVG', None) is None: -+ return_code = subprocess.call(['pkg-config', '--exists', 'cairo-svg']) -+ if return_code == 0: -+ return True -+ else: -+ return False -+ else: -+ return False -+ -+ - def options(ctx): - print(' %s/options()' %d) - ctx.tool_options('gnu_dirs') -@@ -39,6 +51,8 @@ - ctx.define('PYCAIRO_VERSION_MAJOR', version[0]) - ctx.define('PYCAIRO_VERSION_MINOR', version[1]) - ctx.define('PYCAIRO_VERSION_MICRO', version[2]) -+ if check_svg(): -+ ctx.define('PYCAIRO_ENABLE_SVG', 1) - - ctx.write_config_header('src/config.h') - diff --git a/dev-python/pycairo/files/pycairo-1.10.0-svg_check.patch b/dev-python/pycairo/files/pycairo-1.10.0-svg_check.patch deleted file mode 100644 index 572a5f6..0000000 --- a/dev-python/pycairo/files/pycairo-1.10.0-svg_check.patch +++ /dev/null @@ -1,126 +0,0 @@ ---- src/cairomodule.c -+++ src/cairomodule.c -@@ -116,7 +116,7 @@ - #else - 0, - #endif --#ifdef CAIRO_HAS_SVG_SURFACE -+#ifdef PYCAIRO_ENABLE_SVG - &PycairoSVGSurface_Type, - #else - 0, -@@ -247,7 +247,7 @@ - if (PyType_Ready(&PycairoPSSurface_Type) < 0) - return NULL; - #endif --#ifdef CAIRO_HAS_SVG_SURFACE -+#ifdef PYCAIRO_ENABLE_SVG - if (PyType_Ready(&PycairoSVGSurface_Type) < 0) - return NULL; - #endif -@@ -337,7 +337,7 @@ - PyModule_AddObject(m, "PSSurface", (PyObject *)&PycairoPSSurface_Type); - #endif - --#ifdef CAIRO_HAS_SVG_SURFACE -+#ifdef PYCAIRO_ENABLE_SVG - Py_INCREF(&PycairoSVGSurface_Type); - PyModule_AddObject(m, "SVGSurface", (PyObject *)&PycairoSVGSurface_Type); - #endif -@@ -399,7 +399,7 @@ - #else - PyModule_AddIntConstant(m, "HAS_PS_SURFACE", 0); - #endif --#if CAIRO_HAS_SVG_SURFACE -+#if PYCAIRO_ENABLE_SVG - PyModule_AddIntConstant(m, "HAS_SVG_SURFACE", 1); - #else - PyModule_AddIntConstant(m, "HAS_SVG_SURFACE", 0); ---- src/private.h -+++ src/private.h -@@ -75,7 +75,7 @@ - extern PyTypeObject PycairoPSSurface_Type; - #endif - --#if CAIRO_HAS_SVG_SURFACE -+#if PYCAIRO_ENABLE_SVG - extern PyTypeObject PycairoSVGSurface_Type; - #endif - ---- src/py3cairo.h -+++ src/py3cairo.h -@@ -171,7 +171,7 @@ - #define PycairoPSSurface_Type *(Pycairo_CAPI->PSSurface_Type) - #endif - --#if CAIRO_HAS_SVG_SURFACE -+#if PYCAIRO_ENABLE_SVG - #define PycairoSVGSurface_Type *(Pycairo_CAPI->SVGSurface_Type) - #endif - ---- src/surface.c -+++ src/surface.c -@@ -72,7 +72,7 @@ - type = &PycairoPSSurface_Type; - break; - #endif --#if CAIRO_HAS_SVG_SURFACE -+#if PYCAIRO_ENABLE_SVG - case CAIRO_SURFACE_TYPE_SVG: - type = &PycairoSVGSurface_Type; - break; -@@ -1022,7 +1022,7 @@ - - - /* Class SVGSurface(Surface) ----------------------------------------------- */ --#ifdef CAIRO_HAS_SVG_SURFACE -+#ifdef PYCAIRO_ENABLE_SVG - #include <cairo-svg.h> - - static PyObject * -@@ -1133,7 +1133,7 @@ - 0, /* tp_is_gc */ - 0, /* tp_bases */ - }; --#endif /* CAIRO_HAS_SVG_SURFACE */ -+#endif /* PYCAIRO_ENABLE_SVG */ - - - #if CAIRO_HAS_WIN32_SURFACE ---- wscript -+++ wscript -@@ -1,6 +1,7 @@ - # -*- python -*- - - import os -+import subprocess - - top = '.' - out = 'build_directory' -@@ -11,6 +12,17 @@ - cairo_version_required = '1.10.0' - - -+def check_svg(): -+ if os.environ.get('PYCAIRO_DISABLE_SVG', None) is None: -+ return_code = subprocess.call(['pkg-config', '--exists', 'cairo-svg']) -+ if return_code == 0: -+ return True -+ else: -+ return False -+ else: -+ return False -+ -+ - def options(ctx): - print(' %s/options()' %d) - ctx.tool_options('gnu_dirs') -@@ -39,6 +51,8 @@ - ctx.define('PYCAIRO_VERSION_MAJOR', version[0]) - ctx.define('PYCAIRO_VERSION_MINOR', version[1]) - ctx.define('PYCAIRO_VERSION_MICRO', version[2]) -+ if check_svg(): -+ ctx.define('PYCAIRO_ENABLE_SVG', 1) - - ctx.write_config_header('src/config.h') - diff --git a/dev-python/pycairo/files/pycairo-1.8.10-pkgconfig_dir.patch b/dev-python/pycairo/files/pycairo-1.8.10-pkgconfig_dir.patch deleted file mode 100644 index 13015af..0000000 --- a/dev-python/pycairo/files/pycairo-1.8.10-pkgconfig_dir.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- setup.py -+++ setup.py -@@ -109,7 +109,7 @@ - ext_modules = [cairo], - data_files = [ - ('include/pycairo', ['src/pycairo.h']), -- ('lib/pkgconfig', [pkgconfig_file]), -+ (os.environ.get('PKGCONFIG_DIR', 'lib/pkgconfig'), [pkgconfig_file]), - (os.path.join(dsy.get_python_lib(), 'cairo'), - ['src/__init__.py']), - ], diff --git a/dev-python/pycairo/files/pycairo-1.8.8-svg_check.patch b/dev-python/pycairo/files/pycairo-1.8.8-svg_check.patch deleted file mode 100644 index 78dc13b..0000000 --- a/dev-python/pycairo/files/pycairo-1.8.8-svg_check.patch +++ /dev/null @@ -1,116 +0,0 @@ ---- setup.py -+++ setup.py -@@ -29,6 +30,16 @@ - print pipe.stderr.read() - raise SystemExit('Error: %s >= %s not found' % (pkg, version)) - -+def pkg_config_svg_check(): -+ if os.environ.get('PYCAIRO_DISABLE_SVG', None) is None: -+ pipe = call('pkg-config --exists cairo-svg') -+ if pipe.returncode == 0: -+ return [('PYCAIRO_ENABLE_SVG', None)] -+ else: -+ return [] -+ else: -+ return [] -+ - def pkg_config_parse(opt, pkg): - pipe = call("pkg-config %s %s" % (opt, pkg)) - output = pipe.stdout.read() -@@ -94,6 +105,7 @@ - 'src/pattern.c', - 'src/surface.c', - ], -+ define_macros = pkg_config_svg_check(), - include_dirs = pkg_config_parse('--cflags-only-I', 'cairo'), - library_dirs = pkg_config_parse('--libs-only-L', 'cairo'), - libraries = pkg_config_parse('--libs-only-l', 'cairo'), ---- src/cairomodule.c -+++ src/cairomodule.c -@@ -122,7 +122,7 @@ - #else - 0, - #endif --#ifdef CAIRO_HAS_SVG_SURFACE -+#ifdef PYCAIRO_ENABLE_SVG - &PycairoSVGSurface_Type, - #else - 0, -@@ -209,7 +209,7 @@ - if (PyType_Ready(&PycairoPSSurface_Type) < 0) - return; - #endif --#ifdef CAIRO_HAS_SVG_SURFACE -+#ifdef PYCAIRO_ENABLE_SVG - if (PyType_Ready(&PycairoSVGSurface_Type) < 0) - return; - #endif -@@ -285,7 +285,7 @@ - PyModule_AddObject(m, "PSSurface", (PyObject *)&PycairoPSSurface_Type); - #endif - --#ifdef CAIRO_HAS_SVG_SURFACE -+#ifdef PYCAIRO_ENABLE_SVG - Py_INCREF(&PycairoSVGSurface_Type); - PyModule_AddObject(m, "SVGSurface", (PyObject *)&PycairoSVGSurface_Type); - #endif -@@ -350,7 +350,7 @@ - #else - PyModule_AddIntConstant(m, "HAS_PS_SURFACE", 0); - #endif --#if CAIRO_HAS_SVG_SURFACE -+#if PYCAIRO_ENABLE_SVG - PyModule_AddIntConstant(m, "HAS_SVG_SURFACE", 1); - #else - PyModule_AddIntConstant(m, "HAS_SVG_SURFACE", 0); ---- src/private.h -+++ src/private.h -@@ -86,7 +86,7 @@ - extern PyTypeObject PycairoPSSurface_Type; - #endif - --#if CAIRO_HAS_SVG_SURFACE -+#if PYCAIRO_ENABLE_SVG - extern PyTypeObject PycairoSVGSurface_Type; - #endif - ---- src/pycairo.h -+++ src/pycairo.h -@@ -178,7 +178,7 @@ - #define PycairoPSSurface_Type *(Pycairo_CAPI->PSSurface_Type) - #endif - --#if CAIRO_HAS_SVG_SURFACE -+#if PYCAIRO_ENABLE_SVG - #define PycairoSVGSurface_Type *(Pycairo_CAPI->SVGSurface_Type) - #endif - ---- src/surface.c -+++ src/surface.c -@@ -80,7 +80,7 @@ - type = &PycairoPSSurface_Type; - break; - #endif --#if CAIRO_HAS_SVG_SURFACE -+#if PYCAIRO_ENABLE_SVG - case CAIRO_SURFACE_TYPE_SVG: - type = &PycairoSVGSurface_Type; - break; -@@ -965,7 +965,7 @@ - - - /* Class SVGSurface(Surface) ----------------------------------------------- */ --#ifdef CAIRO_HAS_SVG_SURFACE -+#ifdef PYCAIRO_ENABLE_SVG - #include <cairo-svg.h> - - static PyObject * -@@ -1067,7 +1067,7 @@ - 0, /* tp_is_gc */ - 0, /* tp_bases */ - }; --#endif /* CAIRO_HAS_SVG_SURFACE */ -+#endif /* PYCAIRO_ENABLE_SVG */ - - - /* Class Win32Surface(Surface) -------------------------------------------- */ diff --git a/dev-python/pycairo/pycairo-1.10.0-r2.ebuild b/dev-python/pycairo/pycairo-1.10.0-r2.ebuild deleted file mode 100644 index 73ddc06..0000000 --- a/dev-python/pycairo/pycairo-1.10.0-r2.ebuild +++ /dev/null @@ -1,115 +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/pycairo/pycairo-1.10.0-r2.ebuild,v 1.10 2012/06/02 11:59:24 marienz Exp $ - -EAPI="3" -PYTHON_DEPEND="2:2.6 3:3.1" -SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="2.4 2.5 3.0 *-jython" - -inherit eutils python waf-utils - -PYCAIRO_PYTHON2_VERSION="${PV}" -PYCAIRO_PYTHON3_VERSION="${PV}" - -DESCRIPTION="Python bindings for the cairo library" -HOMEPAGE="http://cairographics.org/pycairo/ http://pypi.python.org/pypi/pycairo" -SRC_URI="http://cairographics.org/releases/py2cairo-${PYCAIRO_PYTHON2_VERSION}.tar.bz2 - http://cairographics.org/releases/pycairo-${PYCAIRO_PYTHON3_VERSION}.tar.bz2" - -# LGPL-3 for pycairo 1.10.0. -# || ( LGPL-2.1 MPL-1.1 ) for pycairo 1.8.10. -LICENSE="LGPL-3 || ( LGPL-2.1 MPL-1.1 )" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" -IUSE="doc examples +svg test" - -RDEPEND=">=x11-libs/cairo-1.10.0[svg?]" -DEPEND="${RDEPEND} - virtual/pkgconfig - test? ( dev-python/pytest )" - -PYTHON_CFLAGS=("2.* + -fno-strict-aliasing") - -src_prepare() { - - pushd "${WORKDIR}/pycairo-${PYCAIRO_PYTHON3_VERSION}" > /dev/null - rm -f src/config.h || die - epatch "${FILESDIR}/${PN}-1.10.0-svg_check.patch" - popd > /dev/null - - pushd "${WORKDIR}/py2cairo-${PYCAIRO_PYTHON2_VERSION}" > /dev/null - rm -f src/config.h || die - epatch "${FILESDIR}/py2cairo-1.10.0-svg_check.patch" - popd > /dev/null - - preparation() { - if [[ "${PYTHON_ABI}" == 3.* ]]; then - cp -r "${WORKDIR}/pycairo-${PYCAIRO_PYTHON3_VERSION}" "${WORKDIR}/${P}-${PYTHON_ABI}" - else - cp -r "${WORKDIR}/py2cairo-${PYCAIRO_PYTHON2_VERSION}" "${WORKDIR}/${P}-${PYTHON_ABI}" - fi - } - python_execute_function preparation -} - -src_configure() { - if ! use svg; then - export PYCAIRO_DISABLE_SVG="1" - fi - - python_execute_function -s waf-utils_src_configure --nopyc --nopyo -} - -src_compile() { - python_execute_function -s waf-utils_src_compile -} - -src_test() { - test_installation() { - ./waf install --destdir="${T}/tests/${PYTHON_ABI}" - } - python_execute_function -q -s test_installation - - testing() { - # Need a variable for the pypy minor version and a variable to set 2 distinct pythonpaths - local pypy_v= PyPath= exit_status=0 - pypy_v=$(python_get_version) - if [[ "${PYTHON_ABI:4:4}" == "pypy" ]]; then - PyPath=$(find "${T}"/tests/2.7-pypy-$pypy_v/ -name site-packages) - PYTHONPATH="${PyPath}" py.test-${PYTHON_ABI} "${WORKDIR}/${P}-${PYTHON_ABI}"/test || exit_status=1 - else - PyPath="${T}/tests/${PYTHON_ABI}${EPREFIX}"$(python_get_sitedir) - PYTHONPATH="${PyPath}" py.test "${WORKDIR}/${P}-${PYTHON_ABI}"/test || exit_status=1 - fi - return $exit_status - } - python_execute_function testing -} -# python_execute_py.test -P '${T}/tests/${PYTHON_ABI}${EPREFIX}$(python_get_sitedir):${WORKDIR}/${P}-${PYTHON_ABI}/test' -s - -src_install() { - python_execute_function -s waf-utils_src_install - - dodoc AUTHORS NEWS README || die "dodoc failed" - - if use doc; then - pushd doc/_build/html > /dev/null - insinto /usr/share/doc/${PF}/html - doins -r [a-z]* _static || die "Installation of documentation failed" - popd > /dev/null - fi - - if use examples; then - insinto /usr/share/doc/${PF}/examples - doins -r examples/* || die "Installation of examples failed" - fi -} - -pkg_postinst() { - python_mod_optimize cairo -} - -pkg_postrm() { - python_mod_cleanup cairo -} diff --git a/dev-python/pypy-bin/Manifest b/dev-python/pypy-bin/Manifest deleted file mode 100644 index f5825cf..0000000 --- a/dev-python/pypy-bin/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST pypy-bin-2.0.2.tbz2 18013208 SHA256 ca9abc1a4f18930a1f7a5724bd79fdb3e4e640bcde40bc231f9201b398af5cd6 SHA512 b4012f1642b69517aca3cbf3fc9fd5cfea6ec54f62667730b37170821c9770f60aabaf0626629806e62225bd4a26e2e6e3c98f4e3fc17ae76ca80c7afd7fea20 WHIRLPOOL 357c9331c9a081f602f35b717253298ff4c9b89482e4fc55b7c2ce350cbbab1d7e213ad78e26f9b14c655ba2d7f501ccc18c96f4d099190b6c3e9eacbefa82bc diff --git a/dev-python/pypy-bin/metadata.xml b/dev-python/pypy-bin/metadata.xml deleted file mode 100644 index 0645cd9..0000000 --- a/dev-python/pypy-bin/metadata.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?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/pypy-bin/pypy-bin-2.0.2.ebuild b/dev-python/pypy-bin/pypy-bin-2.0.2.ebuild deleted file mode 100644 index 81be154..0000000 --- a/dev-python/pypy-bin/pypy-bin-2.0.2.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 -PYTHON_COMPAT=( python{2_5,2_6,2_7} pypy{1_9,2_0} ) - -inherit python-any-r1 versionator - -DESCRIPTION="Pre-built pypy binary for low memory systems" -HOMEPAGE="http://pypy.org/" -SRC_URI="amd64? ( http://dev.gentoo.org/~idella4/${P}.tbz2 )" - -LICENSE="MIT" -SLOT=$(get_version_component_range 1-2 ${PV}) -KEYWORDS="~amd64 ~amd64-linux ~x86 ~x86-linux" -IUSE="bzip2 +jit ncurses sqlite ssl +xml" - -RDEPEND=">=sys-libs/zlib-1.1.3 - virtual/libffi - virtual/libintl - dev-libs/expat - bzip2? ( app-arch/bzip2 ) - ncurses? ( sys-libs/ncurses ) - sqlite? ( dev-db/sqlite:3 ) - ssl? ( dev-libs/openssl )" -DEPEND="${RDEPEND} - ${PYTHON_DEPS}" -PDEPEND="app-admin/python-updater" - -src_unpack() { - default - mkdir "${WORKDIR}"/${P} - mv "${WORKDIR}"/usr "${WORKDIR}"/${P}/ || die -} - -src_install() { - mv "${WORKDIR}"/${P}/usr "${D}" || die -} diff --git a/dev-python/pyudev/ChangeLog b/dev-python/pyudev/ChangeLog deleted file mode 100644 index 44277f4..0000000 --- a/dev-python/pyudev/ChangeLog +++ /dev/null @@ -1,69 +0,0 @@ -# ChangeLog for dev-python/pyudev -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyudev/ChangeLog,v 1.14 2012/04/29 14:52:19 maekke Exp $ - - 29 Apr 2012; Markus Meier <maekke@gentoo.org> pyudev-0.15.ebuild: - x86 stable, bug #401639 - - 22 Apr 2012; Agostino Sarubbo <ago@gentoo.org> pyudev-0.15.ebuild: - Stable for amd64, wrt bug #401639 - -*pyudev-0.15 (09 Mar 2012) - - 09 Mar 2012; Patrick Lauer <patrick@gentoo.org> +pyudev-0.15.ebuild: - Bump - - 12 Feb 2012; Mike Gilbert <floppym@gentoo.org> pyudev-0.11.ebuild, - pyudev-0.12.ebuild, pyudev-0.13.ebuild: - Per Arfrever, LICENSE="LGPL-2.1" - -*pyudev-0.13 (11 Nov 2011) - - 11 Nov 2011; Stefan Briesenick <sbriesen@gentoo.org> +pyudev-0.13.ebuild: - version bump, disabled tests for now; depends highly on installed udev - version, will most likely break on most installations. feel free to send - patches... (solving bug #382799) - - 24 Oct 2011; Alexandre Rostovtsev <tetromino@gentoo.org> pyudev-0.11.ebuild, - pyudev-0.12.ebuild: - Depend on correct slot of pygobject. - -*pyudev-0.12 (13 Sep 2011) - - 13 Sep 2011; Dirkjan Ochtman <djc@gentoo.org> +pyudev-0.12.ebuild: - Version bump to 0.12. - - 05 Aug 2011; Markos Chandras <hwoarang@gentoo.org> -pyudev-0.10.ebuild: - Remove old ebuild. Requested by Arfrever - - 10 Jul 2011; Stefan Briesenick <sbriesen@gentoo.org> -pyudev-0.9.ebuild: - removed old version - -*pyudev-0.11 (10 Jul 2011) - - 10 Jul 2011; Stefan Briesenick <sbriesen@gentoo.org> pyudev-0.10.ebuild, - +pyudev-0.11.ebuild: - fixed failing tests (bug #373787) + version bump. - -*pyudev-0.10 (20 Apr 2011) - - 20 Apr 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> - +pyudev-0.10.ebuild: - Version bump. - - 13 Apr 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> - pyudev-0.9.ebuild: - Fix dependencies of tests (bug #363457). - -*pyudev-0.9 (09 Mar 2011) - - 09 Mar 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> - +pyudev-0.9.ebuild: - Version bump (bug #347297). - -*pyudev-0.2 (25 Jul 2010) - - 25 Jul 2010; Stefan Briesenick <sbriesen@gentoo.org> +pyudev-0.2.ebuild, - +metadata.xml: - initial commit. - diff --git a/dev-python/pyudev/Manifest b/dev-python/pyudev/Manifest deleted file mode 100644 index 7186603..0000000 --- a/dev-python/pyudev/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST pyudev-0.15.tar.gz 72719 SHA256 12f462b777388c447edaac9e4b423a38a76eeb43f36b1a42288e771309d663c2 SHA512 0ca63d489b0f53162de317c716cc365b010e83bca6bf09c2067284699e04dd303ac4c9b1c9c18a94190d241e265a0e83a44aaceeee2dfbe0754d75192f0210ae WHIRLPOOL 9b3b2e5ac80fc5a149e9a9e202113b0defe21f5a03c68f71b9a34fb4b32aa753cc4a53364e96bbc6fbeebe3b8fc728cbde1fbd9b847308971afed1b15e24b370 diff --git a/dev-python/pyudev/files/pyudev_wrapped_test.patch b/dev-python/pyudev/files/pyudev_wrapped_test.patch deleted file mode 100644 index cdcd784..0000000 --- a/dev-python/pyudev/files/pyudev_wrapped_test.patch +++ /dev/null @@ -1,46 +0,0 @@ -/* -1. tests/test_monitor.py:195: draws an error because the gentoo sandbox pathname becomes a mile long - second patch here changes its name to t_bs and even then it only just makes it. - I normally use PORTAGE_TMPDIR="/mnt/gen2/TmpDir" which is too long under any circumstance. - By rights this requires an ewarn line; - "if your PORTAGE_TMPDIR isn't /var/tmp/, change it to /var/tmp for tests to pass for this package" -2. sometimes I get a fail of TestTags.test_iteration[..] then run again and it passes -3. scan_subsystems && udev_enumerate_add_syspath are nowhere to be found in the source. - Joining udev_enumerate_ to them is to me a nonsense if the functions can be found in neither - _is_blacklisted nor wrapped_functions arrays -diff -ur pyudev-0.15.orig/tests/test_libudev.py pyudev-0.15/tests/test_libudev.py ---- tests//test_libudev.py 2012-06-25 18:18:06.051694665 +0800 -+++ tests/test_libudev.py 2012-03-02 02:26:26.000000000 +0800 -@@ -150,10 +150,12 @@ - - @pytest.mark.coverage - def test_is_wrapped(function_name): -- wrapped_functions = set('{0}_{1}'.format(ns, member) -- for ns, members in binding.SIGNATURES.items() -- for member in members) -- if _is_blacklisted(function_name): -- assert function_name not in wrapped_functions -- else: -- assert function_name in wrapped_functions -+ if function_name != 'udev_enumerate_scan_subsystems': -+ if function_name != 'udev_enumerate_add_syspath': -+ wrapped_functions = set('{0}_{1}'.format(ns, member) -+ for ns, members in binding.SIGNATURES.items() -+ for member in members) -+ if _is_blacklisted(function_name): -+ assert function_name not in wrapped_functions -+ else: -+ assert function_name in wrapped_functions -diff -ur pyudev-0.15.orig/tests/test_monitor.py pyudev-0.15/tests/test_monitor.py ---- tests/test_monitor.py 2012-06-25 18:22:30.641674253 +0800 -+++ tests/test_monitor.py 2012-03-02 02:25:20.000000000 +0800 -@@ -214,8 +214,7 @@ - monitor.set_receive_buffer_size(1000) - func.assert_called_with(monitor, 1000) - -- def test_set_receive_buffer_size_privilege_error(self, monitor, -- socket_path): -+ def t_bs(self, monitor, socket_path): - with pytest.raises(EnvironmentError) as exc_info: - monitor.set_receive_buffer_size(1000) - pytest.assert_env_error(exc_info.value, errno.EPERM) diff --git a/dev-python/pyudev/metadata.xml b/dev-python/pyudev/metadata.xml deleted file mode 100644 index e870cbb..0000000 --- a/dev-python/pyudev/metadata.xml +++ /dev/null @@ -1,19 +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>sbriesen@gentoo.org</email> - <name>Stefan Briesenick</name> - </maintainer> - <longdescription lang="en">pyudev is a Python binding to libudev, the hardware management - library and service found in modern linux systems.</longdescription> - <use> - <flag name="pygobject">Install PyGobject binding</flag> - <flag name="pyqt4">Install PyQt4 binding</flag> - <flag name="pyside">Install PySide binding</flag> - </use> - <upstream> - <remote-id type="pypi">pyudev</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-python/pyudev/pyudev-0.15.ebuild b/dev-python/pyudev/pyudev-0.15.ebuild deleted file mode 100644 index 38ae32c..0000000 --- a/dev-python/pyudev/pyudev-0.15.ebuild +++ /dev/null @@ -1,57 +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/pyudev/pyudev-0.15.ebuild,v 1.3 2012/04/29 14:52:19 maekke Exp $ - -EAPI="4" -PYTHON_DEPEND="*:2.6" -SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="2.[45] *-jython" -DISTUTILS_SRC_TEST="py.test" # FIXME: some tests are known to fail - -inherit distutils eutils - -DESCRIPTION="Python binding to libudev" -HOMEPAGE="http://packages.python.org/pyudev/ http://pypi.python.org/pypi/pyudev" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="pygobject pyqt4 pyside" - -RDEPEND=">=sys-fs/udev-151 - pygobject? ( dev-python/pygobject:2 ) - pyqt4? ( dev-python/PyQt4 ) - pyside? ( dev-python/pyside )" -DEPEND="${RDEPEND} - dev-python/setuptools" - # test? ( dev-python/mock )" - -DOCS="CHANGES.rst README.rst" - -src_prepare() { - distutils_src_prepare - - epatch "${FILESDIR}"/${PN}_wrapped_test.patch - # tests: fix run_path - sed -i -e "s|== \('/run/udev'\)|in (\1,'/dev/.udev')|g" tests/test_core.py - - if ! use pygobject; then - rm -f pyudev/glib.py - sed -i -e "s|[, ]*GlibBinding()||g" tests/test_observer.py - fi - if ! use pyqt4; then - rm -f pyudev/pyqt4.py - sed -i -e "s|Qt4Binding('PyQt4')[, ]*||g" tests/test_observer.py - fi - if ! use pyside; then - rm -f pyudev/pyside.py - sed -i -e "s|Qt4Binding('PySide')[, ]*||g" tests/test_observer.py - fi - if ! use pyqt4 && ! use pyside; then - rm -f pyudev/_qt_base.py - fi - if ! use pyqt4 && ! use pyside && ! use pygobject; then - rm -f tests/test_observer.py - fi -} diff --git a/dev-python/recaptcha-client/metadata.xml b/dev-python/recaptcha-client/metadata.xml deleted file mode 100644 index 5366461..0000000 --- a/dev-python/recaptcha-client/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/metadata/layout.conf b/metadata/layout.conf index ce368fa..56f4438 100644 --- a/metadata/layout.conf +++ b/metadata/layout.conf @@ -1,3 +1,4 @@ sign-manifests = false thin-manifests = true manifest-hashes = SHA256 SHA512 WHIRLPOOL +masters = gentoo diff --git a/net-p2p/mincoin/files/mincoin.conf b/net-p2p/mincoin/files/mincoin.conf new file mode 100644 index 0000000..199c1bc --- /dev/null +++ b/net-p2p/mincoin/files/mincoin.conf @@ -0,0 +1,3 @@ +# http://www.bitcoin.org/smf/index.php?topic=644.0 +#rpcuser= +#rpcpassword= diff --git a/net-p2p/mincoin/files/mincoin.confd b/net-p2p/mincoin/files/mincoin.confd new file mode 100644 index 0000000..be881c1 --- /dev/null +++ b/net-p2p/mincoin/files/mincoin.confd @@ -0,0 +1,10 @@ +# Config file for /etc/init.d/mincoin + +# owner of mincion process (don't change, must be existing) +MINCOIN_USER="mincoin" + +# See http://www.bitcoin.org/smf/index.php?topic=1063 +MINCOIN_OPTS="${MINCOIN_OPTS}" + +# nice level +NICELEVEL="19" diff --git a/net-p2p/mincoin/files/mincoin.initd b/net-p2p/mincoin/files/mincoin.initd new file mode 100644 index 0000000..27c6e80 --- /dev/null +++ b/net-p2p/mincoin/files/mincoin.initd @@ -0,0 +1,104 @@ +#!/sbin/runscript +# Distributed under the terms of the GNU General Public License, v2 or later + +VARDIR="/var/lib/mincoin" +CONFFILE="${VARDIR}/.mincoin/mincoin.conf" + +depend() { + need net +} + +checkconfig() { + if [[ "${MINCOIN_USER}" == "" ]] ; then + eerror "Please edit /etc/conf.d/mincoin" + eerror "A user must be specified to run mincoin as that user." + eerror "Modify USER to your needs (you may also add a group after a colon)" + return 1 + fi + if ! `getent passwd | cut -d ':' -f 1 | grep $( echo "${MINCOIN_USER}" | cut -d ':' -f 1 ) -sq` ; then + eerror "Please edit /etc/conf.d/mincoin" + eerror "Specified user must exist!" + return 1 + fi + if `echo "${MINCOIN_USER}" | grep ':' -sq` ; then + if ! `cut -d ':' -f 1 /etc/group | grep $( echo "${MINCOIN_USER}" | cut -d ':' -f 2 ) -sq` ; then + eerror "Please edit /etc/conf.d/mincoin" + eerror "Specified group must exist!" + return 1 + fi + fi + if ! grep -q '^rpcpassword=' "${CONFFILE}"; then + eerror "Please edit `readlink -f ${CONFFILE}`" + eerror "There must be at least a line assigning rpcpassword=something-secure" + return 1 + fi + if ! stat -Lc '%a' "${CONFFILE}" | grep -q '^[4567]00$'; then + eerror "`readlink -f ${CONFFILE}` should not be readable by other users" + return 1 + fi + return 0 +} + +start() { + checkconfig || return 1 + ebegin "Starting MinCoin daemon" + + pkg-config openrc + if [ $? = 0 ]; then + start_openrc + else + start_baselayout + fi +} + +stop() { + ebegin "Stopping MinCoin daemon" + + pkg-config openrc + if [ $? = 0 ]; then + stop_openrc + else + stop_baselayout + fi +} + +start_openrc() { + start-stop-daemon \ + --start --user "${MINCOIN_USER}" --name mincoin \ + --pidfile /var/run/mincoin.pid --make-pidfile \ + --env HOME="${VARDIR}" --exec /usr/bin/mincoin \ + --nicelevel "${NICELEVEL}" \ + --background \ + --wait 2000 \ + -- ${MINCOIN_OPTS} + eend $? +} + +stop_openrc() { + start-stop-daemon --stop --user "${MINCOIN_USER}" \ + --name mincoin --pidfile /var/run/mincoin.pid \ + --wait 30000 \ + --progress + eend $? +} + +start_baselayout() { + start-stop-daemon \ + --start --user "${MINCOIN_USER}" --name mincoin \ + --pidfile /var/run/mincoin.pid --make-pidfile \ + --env HOME="${VARDIR}" --exec /usr/bin/mincoin \ + --chuid "${MINCOIN_USER}" \ + --nicelevel "${NICELEVEL}" \ + --background \ + -- ${MINCOIN_OPTS} + eend $? +} + +stop_baselayout() { + start-stop-daemon \ + --stop \ + --user "${MINCOIN_USER}" \ + --name mincoin \ + --pidfile /var/run/mincoin.pid + eend $? +} diff --git a/net-p2p/mincoin/files/mincoin.logrotate b/net-p2p/mincoin/files/mincoin.logrotate new file mode 100644 index 0000000..5022cad --- /dev/null +++ b/net-p2p/mincoin/files/mincoin.logrotate @@ -0,0 +1,8 @@ +/var/lib/mincoin/.mincoin/debug.log { + weekly + sharedscripts + postrotate + killall -HUP mincoin + endscript +} + diff --git a/net-p2p/mincoin/files/mincoin.service b/net-p2p/mincoin/files/mincoin.service new file mode 100644 index 0000000..c4b154e --- /dev/null +++ b/net-p2p/mincoin/files/mincoin.service @@ -0,0 +1,30 @@ +# It's not recommended to modify this file in-place, because it will be +# overwritten during package upgrades. If you want to customize, the +# best way is to create file +# "/etc/systemd/system/mincoin.service.d/*.conf" +# containing your changes + +# For example, if you want to change some daemon and/or unit options, +# create a file named +# "/etc/systemd/system/mincoin.service.d/myopts.conf" +# containing: +# [Service] +# Environment="MINCOIN_OPTS=-debug -logtimestamps" +# Nice=10 +# This will override the setting appearing below. + +# Note that almost all daemon options could be specified in +# /etc/mincoin/mincoin.conf + +[Unit] +Description=MinCoin Daemon +After=network.target + +[Service] +User=mincoin +Environment=MINCOIN_OPTS= +ExecStart=/usr/bin/mincoin -daemon=0 $MINCOIN_OPTS +ExecReload=/bin/kill -HUP $MAINPID + +[Install] +WantedBy=multi-user.target diff --git a/dev-python/pycairo/metadata.xml b/net-p2p/mincoin/metadata.xml index 301d220..b90fce6 100644 --- a/dev-python/pycairo/metadata.xml +++ b/net-p2p/mincoin/metadata.xml @@ -1,5 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <herd>python</herd> + <herd>openstack</herd> + <use> + <flag name="logrotate">Install PyGobject binding</flag> + </use> </pkgmetadata> diff --git a/net-p2p/mincoin/mincoin-0.6.1_p709_beta-r9.ebuild b/net-p2p/mincoin/mincoin-0.6.1_p709_beta-r9.ebuild new file mode 100644 index 0000000..4b3008c --- /dev/null +++ b/net-p2p/mincoin/mincoin-0.6.1_p709_beta-r9.ebuild @@ -0,0 +1,133 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: + +EAPI=5 + +DB_VER="4.8" + +inherit bash-completion-r1 db-use eutils systemd git-2 user + +MyPV="${PV/_/-}" +MyPN="mincoin" +MyP="${MyPN}-${MyPV}" + +DESCRIPTION="P2P Internet currency based on Bitcoin but easier to mine." +HOMEPAGE="http://mincoinforum.com/" +HOMEPAGE="http://www.min-coin.org/" +#SRC_URI="https://github.com/${MyPN}-project/${MyPN}/archive/v${MyPV}.tar.gz -> ${MyP}.tar.gz" +EGIT_REPO_URI="https://github.com/vipah/mincoin.git" +EGIT_HAS_SUBMODULES=1 + +LICENSE="MIT ISC GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="bash-completion examples ipv6 logrotate upnp" + +RDEPEND=" + dev-libs/boost[threads(+)] + dev-libs/openssl:0[-bindist] + logrotate? ( + app-admin/logrotate + ) + upnp? ( + <=net-libs/miniupnpc-1.7 + ) + sys-libs/db:$(db_ver_to_slot "${DB_VER}")[cxx] + <=dev-libs/leveldb-1.14.0 +" +DEPEND="${RDEPEND} + >=app-shells/bash-4.1 + sys-apps/sed +" + +S="${WORKDIR}/${MyP}" + +pkg_setup() { + local UG='mincoin' + enewgroup "${UG}" + enewuser "${UG}" -1 -1 /var/lib/mincoin "${UG}" +} + +src_prepare() { +# epatch "${FILESDIR}"/${MyPN}-MAX_OUTBOUND_CONNECTIONS.patch +# epatch "${FILESDIR}"/${MyPN}-NO_DEBUGFLAGS_O3.patch + #epatch "${FILESDIR}"/${MyPN}-NODEBUG_NOIPV6.patch +# epatch "${FILESDIR}"/${MyPN}-CheckDiskSpace.patch + #epatch "${FILESDIR}"/${MyPN}-sys_leveldb.patch + #rm -r src/leveldb + + if has_version '>=dev-libs/boost-1.52'; then + sed -i 's/\(-l db_cxx\)/-l boost_chrono$(BOOST_LIB_SUFFIX) \1/' src/makefile.unix + fi +} + +src_configure() { + OPTS=() + + #OPTS+=("DEBUGFLAGS=") + OPTS+=("CXXFLAGS=${CXXFLAGS}") + OPTS+=("LDFLAGS=${LDFLAGS}") + + if use upnp; then + OPTS+=("USE_UPNP=1") + else + OPTS+=("USE_UPNP=-") + fi + + use ipv6 || OPTS+=("USE_IPV6=-") + + OPTS+=("USE_SYSTEM_LEVELDB=1") + OPTS+=("BDB_INCLUDE_PATH=$(db_includedir "${DB_VER}")") + OPTS+=("BDB_LIB_SUFFIX=-${DB_VER}") + + cd src || die + emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" -f makefile.unix "${OPTS[@]}" ${MyPN} +} + +#Tests are broken with and without our litecoin-sys_leveldb.patch. +#When tests work, make sure to inherit toolchain-funcs +#src_test() { +# cd src || die +# emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" -f makefile.unix "${OPTS[@]}" test_litecoin +# ./test_litecoin || die 'Tests failed' +#} + +src_install() { + dobin src/${MyPN} + + insinto /etc/mincoin + doins "${FILESDIR}/mincoin.conf" + fowners mincoin:mincoin /etc/mincoin/mincoin.conf + fperms 600 /etc/mincoin/mincoin.conf + + newconfd "${FILESDIR}/mincoin.confd" ${PN} + newinitd "${FILESDIR}/mincoin.initd" ${PN} + systemd_dounit "${FILESDIR}/mincoin.service" + + keepdir /var/lib/mincoin/.mincoin + fperms 700 /var/lib/mincoin + fowners mincoin:mincoin /var/lib/mincoin/ + fowners mincoin:mincoin /var/lib/mincoin/.mincoin + dosym /etc/mincoin/mincoin.conf /var/lib/mincoin/.mincoin/mincoin.conf + dosym /var/log/mincoin.log /var/lib/mincoin/.mincoin/debug.log + + dodoc doc/README # doc/release-notes.md + newman contrib/debian/manpages/bitcoind.1 mincoin.1 + newman contrib/debian/manpages/bitcoin.conf.5 mincoin.conf.5 + + if use bash-completion; then + newbashcomp contrib/bitcoind.bash-completion ${PN}.bash-completion + fi + + if use examples; then + docinto examples + dodoc -r contrib/{bitrpc,pyminer,wallettools} + fi + + if use logrotate; then + insinto /etc/logrotate.d + newins "${FILESDIR}/mincoin.logrotate" mincoin + fi +} + diff --git a/net-p2p/mincoin/mincoin-9999.ebuild b/net-p2p/mincoin/mincoin-9999.ebuild new file mode 100644 index 0000000..9ab37ec --- /dev/null +++ b/net-p2p/mincoin/mincoin-9999.ebuild @@ -0,0 +1,127 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +DB_VER="4.8" + +inherit bash-completion-r1 db-use eutils systemd git-2 + +MyPV="${PV/_/-}" +MyPN="mincoin" +MyP="${MyPN}-${MyPV}" + +DESCRIPTION="P2P Internet currency based on Bitcoin but easier to mine." +HOMEPAGE="http://mincoinforum.com/" +HOMEPAGE="http://www.min-coin.org/" +#SRC_URI="https://github.com/${MyPN}-project/${MyPN}/archive/v${MyPV}.tar.gz -> ${MyP}.tar.gz" +EGIT_REPO_URI="https://github.com/vipah/mincoin.git" +EGIT_HAS_SUBMODULES=1 + +LICENSE="MIT ISC GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="bash-completion examples ipv6 logrotate upnp" + +RDEPEND=" + dev-libs/boost[threads(+)] + dev-libs/openssl:0[-bindist] + logrotate? ( + app-admin/logrotate + ) + upnp? ( + net-libs/miniupnpc + ) + sys-libs/db:$(db_ver_to_slot "${DB_VER}")[cxx] + <=dev-libs/leveldb-1.12.0[-snappy] +" +DEPEND="${RDEPEND} + >=app-shells/bash-4.1 + sys-apps/sed +" + +S="${WORKDIR}/${MyP}" + +pkg_setup() { +# local UG='mincoin' + enewgroup "${PN}" + enewuser "${PN}" -1 -1 /var/lib/"${PN}" "${PN}" +} + +src_prepare() { + #epatch "${FILESDIR}"/${MyPN}-sys_leveldb.patch + #rm -r src/leveldb + + if has_version '>=dev-libs/boost-1.52'; then + sed -i 's/\(-l db_cxx\)/-l boost_chrono$(BOOST_LIB_SUFFIX) \1/' src/makefile.unix + fi +} + +src_configure() { + OPTS=() + + OPTS+=("DEBUGFLAGS=") + OPTS+=("CXXFLAGS=${CXXFLAGS}") + OPTS+=("LDFLAGS=${LDFLAGS}") + + if use upnp; then + OPTS+=("USE_UPNP=1") + else + OPTS+=("USE_UPNP=-") + fi + + use ipv6 || OPTS+=("USE_IPV6=-") + + OPTS+=("USE_SYSTEM_LEVELDB=1") + OPTS+=("BDB_INCLUDE_PATH=$(db_includedir "${DB_VER}")") + OPTS+=("BDB_LIB_SUFFIX=-${DB_VER}") + + cd src || die + emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" -f makefile.unix "${OPTS[@]}" ${MyPN} +} + +#Tests are broken with and without our litecoin-sys_leveldb.patch. +#When tests work, make sure to inherit toolchain-funcs +#src_test() { +# cd src || die +# emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" -f makefile.unix "${OPTS[@]}" test_litecoin +# ./test_litecoin || die 'Tests failed' +#} + +src_install() { + dobin src/${MyPN} + + insinto /etc/mincoin + doins "${FILESDIR}/mincoin.conf" + fowners mincoin:mincoin /etc/mincoin/mincoin.conf + fperms 600 /etc/mincoin/mincoin.conf + + newconfd "${FILESDIR}/mincoin.confd" ${PN} + newinitd "${FILESDIR}/mincoin.initd" ${PN} + systemd_dounit "${FILESDIR}/mincoin.service" + + keepdir /var/lib/mincoin/.mincoin + fperms 700 /var/lib/mincoin + fowners mincoin:mincoin /var/lib/mincoin/ + fowners mincoin:mincoin /var/lib/mincoin/.mincoin + dosym /etc/mincoin/mincoin.conf /var/lib/mincoin/.mincoin/mincoin.conf + + dodoc doc/README # doc/release-notes.md + newman contrib/debian/manpages/bitcoind.1 mincoin.1 + newman contrib/debian/manpages/bitcoin.conf.5 mincoin.conf.5 + + if use bash-completion; then + newbashcomp contrib/bitcoind.bash-completion ${PN}.bash-completion + fi + + if use examples; then + docinto examples + dodoc -r contrib/{bitrpc,pyminer,wallettools} + fi + + if use logrotate; then + insinto /etc/logrotate.d + newins "${FILESDIR}/mincoin.logrotate" mincoin + fi +} |