From bab6488584971470df7452eb44d1ba9d2a087253 Mon Sep 17 00:00:00 2001 From: Alex Brandt Date: Sun, 12 Apr 2015 22:16:56 +0000 Subject: [PATCH] add version 1.8.3 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit * includes patch (upstream—https://github.com/hamcrest/PyHamcrest/pull/53) Package-Manager: portage-2.2.18/cvs/Linux x86_64 Manifest-Sign-Key: 0x11A8217C! --- dev-python/pyhamcrest/ChangeLog | 9 ++- dev-python/pyhamcrest/Manifest | 31 +++++----- dev-python/pyhamcrest/files/sphinx-rtd.patch | 20 ++++++ dev-python/pyhamcrest/pyhamcrest-1.8.3.ebuild | 62 +++++++++++++++++++ 4 files changed, 107 insertions(+), 15 deletions(-) create mode 100644 dev-python/pyhamcrest/files/sphinx-rtd.patch create mode 100644 dev-python/pyhamcrest/pyhamcrest-1.8.3.ebuild diff --git a/dev-python/pyhamcrest/ChangeLog b/dev-python/pyhamcrest/ChangeLog index dab9162bbcbe..eadc44cd9b33 100644 --- a/dev-python/pyhamcrest/ChangeLog +++ b/dev-python/pyhamcrest/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-python/pyhamcrest # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyhamcrest/ChangeLog,v 1.4 2015/02/23 15:58:57 alunduil Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyhamcrest/ChangeLog,v 1.5 2015/04/12 22:16:49 alunduil Exp $ + +*pyhamcrest-1.8.3 (12 Apr 2015) + + 12 Apr 2015; Alex Brandt +files/sphinx-rtd.patch, + +pyhamcrest-1.8.3.ebuild: + add version 1.8.3 * includes patch + (upstream—https://github.com/hamcrest/PyHamcrest/pull/53) *pyhamcrest-1.8.2 (23 Feb 2015) diff --git a/dev-python/pyhamcrest/Manifest b/dev-python/pyhamcrest/Manifest index fc6d4d6b5bdb..a4df1c78c63c 100644 --- a/dev-python/pyhamcrest/Manifest +++ b/dev-python/pyhamcrest/Manifest @@ -1,27 +1,30 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 +AUX sphinx-rtd.patch 671 SHA256 13cce25797dc77faeef6c89742fe0d48f5ed00d79253bf89298895146ee73889 SHA512 c90fe86017d3173e21eb8013bb433e29999c433709224f180c60ec3d8bb1086eb26b713cd3d5dbea04a60a20d8a8e2b8d87f2252aae9286dd41f3bcdd0b51aaa WHIRLPOOL 14da55384df5637f3c0b69d3550b4fc4a00597004751af8ab67d864d980cdd06f14c9d2daaef4a460dc0d42d241d54bf530df068345c9907db1e4cc059355c55 DIST PyHamcrest-1.8.1.tar.gz 375129 SHA256 b43d428db9b8d9fddb8a1e2c1b32f695b7334e894a3a25270c50fcff397aae7c SHA512 dd91ff6e9d03533316dde1bc5778b780ea76169b1b97e9972c2a31d04c4b512fdf2d52b67d3cc9086816d76e9daa08e2056cc29d1501b04d41c62e716a5377fa WHIRLPOOL 612de6664a2b74f453ceaa805eac80bec7d80f3e2ec5da6944e5b4f5561d784583d00bc21826ab7b425dfa902bf4467d6220babd6184e2597ef51db56267f707 DIST PyHamcrest-1.8.2.tar.gz 372308 SHA256 bd14093c561f9af8ce8271a630929f4a45be7a4e79bec53c83b876a0547d303e SHA512 ff90a6bb1e2319d25ba8c29e998796544d5840599e7d9a4a178022e6b5bcabd23d35433073152a2707d555aab3aa96c316b8db54d7ec1c0ca2ef1cdf50e4df40 WHIRLPOOL e207d109420ea3d1eb6cf14c65a3d2eb9e1dcabcc30b7917f4c95cb445a554c2fea8e5766213fd513c9323c33b58a63f0d9b102b52062ed7f61b148aeba3c770 +DIST PyHamcrest-1.8.3.tar.gz 376145 SHA256 118c48351451ec027cceed781841c19b836739e21f71a26649fe97fca0d346d5 SHA512 4e11a3ca93886c58b512b5ad77f95c2df3771476d6ca0e99eb6e20c0292819a5f985b7004b3523c756255e503cfe4e266fdb776b285e430a7bd987164f9df14a WHIRLPOOL 4210a503b5eb1f60e7f6757d21b0887f96cfe8b5f261d490f5589d3bbd0e099b91d1dd0264025e3730c94b78419cc8e762e66ded8e33dba3b37dc3764beba4ea EBUILD pyhamcrest-1.8.1-r1.ebuild 1205 SHA256 0d026bd244a35cfd70b80f73075179f3fbff9eb8de6c46dc38e66ecde384eecb SHA512 ec5d765a379cbef9c15927ce9c3b04e1845c59f954b53d4a31bebc57ea1b68a2bd152d69c78dd4d67607c2d0205feadc85cec57d232a6e5ced14d25f5f003d21 WHIRLPOOL 7d7c4df372b9e9dc5d513b9df643a32f0aadd95b5bba33d744e2166b7a3d735c131bff0340a53da3a3e8d82335df228a672b0733ee6f98f68054dd6dd258a708 EBUILD pyhamcrest-1.8.1.ebuild 1161 SHA256 93c5348610002b6f0c37bfd5cd0b84e056a3b2c9cb5a11cd477b7e7021f8c3fb SHA512 6f46056a0efd788dffa4e80e524417c78ff62c34da1dab07bec9751a3325e320355ab657e1a8ccd1fd2729747aef453b4f82ed51b6ac0e071967cfd45ab2724e WHIRLPOOL 47bcf37f8f794dff6c7a4bbb23f1994f6fdd4acacf78a08901a021bfd0969d301377bc4b53f7738b75d4696855acf60e26ac1ae01ef8b34f69b494b672f44bf2 EBUILD pyhamcrest-1.8.2.ebuild 1217 SHA256 cd68c42f6bd80496b406b61cc925334bb12b05b683e892de7aaf38c1eb093f2b SHA512 3eaa507e95d2e031cf7b79c06e32d3b17b8ed456c6e0b2770a5a288a3bc6401db615e18d240eb96f8e72ac22c74f825fe6c7e6bdf8478eeb46d92e2575f10b28 WHIRLPOOL e1e98048a33b620d9f34d8b765d0d75a5c6ce6d29f57ab62c898a94c916ba2940ecb4dcaa5f4cdc3b1f33304a674641dbe5d4f614c6897bbc37d5f397e839558 -MISC ChangeLog 824 SHA256 f5316b66af5f0ba0bd86781f8a48ff0f505448520090e976662c93bcaebf0502 SHA512 30d08a42138d46c7d26ccc787993a4ab7f8f5c483f147e72867aed162fbed5c8a6517fded02066d67c8b3ac550845569bd8c3e4b63474af7c060dd11476526fb WHIRLPOOL 8c7eacd37a5bca60b671445fa6d8b705b6dfbf90cba558677c5280aa04fde53ed40a82e01002434755889c968bd6eb55bcd709c4452b203698bd084e23b30fe5 +EBUILD pyhamcrest-1.8.3.ebuild 1417 SHA256 d8a9665702db5a75ee72ad89d2b17487c3d283b46082b870cc26cb13c1b9abe6 SHA512 f9d67b3e9be9eee1796a76d36ab18403ef34681ab348bcd873b0ac1904c4445f48e284ca0f923e0549ba45fa407e6db358a77f5c69099ff3e8f14517d053fce1 WHIRLPOOL 3313cde429a14191dcbf90b61f3f2d60f17da838e3e41822b3b5588c71942b0eda06c8803ff27d791c741d3a53020d0c2e593decfa926c6853909d537649c733 +MISC ChangeLog 1060 SHA256 64baf201b03dcc71e4d42912aba04634aaa04c22069a64d20b2e43a5d65360a5 SHA512 c067b9c2039668b709d876380a643a2aff8d3c7b322cad51c5f12e78f71efb2625d33d01b6b36f30c79f25467393cbd6d1b953f5e50ae2e7425f27bb5a76278d WHIRLPOOL 6e82c7520d1a819f63723f9ec50fb1b94834db4a792999a6ec466f9856ed567ea5f6c9db2bf59d6a7b9359a3cc0771c4ea29c80f9639bba7411d081189fdcf69 MISC metadata.xml 371 SHA256 260328f979859ec1c1a2a6ac7901c90c2017a561cb23a844558c47dde9557235 SHA512 8031d04747b536086d6e80c5599a39502245e14e198fd4aae8c0179d910660445540b687a2c16340b3d3dd4ee6ad4d2b4b53d5b152381a14bc654d3b839a8bc7 WHIRLPOOL 4ea593a2306f919ec841d923e012e993ab005385237021235f24839661af3054eba23b7709099bd0aa0245b9db45be2ba7552ee358977b85e2fd4c81636ce72a -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iQIcBAEBCAAGBQJU6048AAoJECZUyt4RqCF86FoP/RRX8EXt/FlItQUe3ETzvHpa -jTbtz60hwzwEvBQY2h1PwMDSGRu+F67lL2XeCvYXqYIbuZUe5Sa29GERSslivDjw -lLKaHuGSUd4IuoggVtaeCeOfrGC1YDxJSUyVcM5nAPPqlR5siI80oMu6Vkw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E +aSQDGJcR75XwtzPipVw3a/k/buzJVnL33mviM31hXkho8jjqC1/5h2YADV7Ubwrs +H2ZPRZ7yp9/z2gh/ctXP/umPJl+YOCKjmmwRlctUdcCuHbu7Fwozno5JmtLBI/YY +JA6R2CzpoGqEz1fs82j/ch009z8s5uQVH5yEQNhG68BwfAsFNB5DWounPfv941DM +rrSlcEQVjVJbHkQ/C7ft +=Uvwc -----END PGP SIGNATURE----- diff --git a/dev-python/pyhamcrest/files/sphinx-rtd.patch b/dev-python/pyhamcrest/files/sphinx-rtd.patch new file mode 100644 index 000000000000..2974c98a56a3 --- /dev/null +++ b/dev-python/pyhamcrest/files/sphinx-rtd.patch @@ -0,0 +1,20 @@ +diff --git a/doc/conf.py b/doc/conf.py +index fb5d79e..7d3571b 100644 +--- a/doc/conf.py ++++ b/doc/conf.py +@@ -13,6 +13,7 @@ + + import sys, os + import six ++import sphinx_rtd_theme + + # If extensions (or modules to document with autodoc) are in another directory, + # add these directories to sys.path here. If the directory is relative to the +@@ -106,6 +107,7 @@ html_theme = 'sphinx_rtd_theme' + + # Add any paths that contain custom themes here, relative to this directory. + #html_theme_path = [] ++html_theme_path = [ sphinx_rtd_theme.get_html_theme_path() ] + + # The name for this set of Sphinx documents. If None, it defaults to + # " v documentation". diff --git a/dev-python/pyhamcrest/pyhamcrest-1.8.3.ebuild b/dev-python/pyhamcrest/pyhamcrest-1.8.3.ebuild new file mode 100644 index 000000000000..cacd3d979e84 --- /dev/null +++ b/dev-python/pyhamcrest/pyhamcrest-1.8.3.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyhamcrest/pyhamcrest-1.8.3.ebuild,v 1.1 2015/04/12 22:16:49 alunduil Exp $ + +EAPI=5 +PYTHON_COMPAT=( python2_7 python3_3 python3_4 ) + +inherit distutils-r1 + +MY_PN="PyHamcrest" + +DESCRIPTION="Hamcrest framework for matcher objects" +HOMEPAGE="https://github.com/hamcrest/PyHamcrest" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" + +S="${WORKDIR}/${MY_PN}-${PV}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="doc examples numpy test" + +CDEPEND=" + >=dev-python/six-1.4[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )' 'python*') +" +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( + >=dev-python/sphinx-1.2.2[${PYTHON_USEDEP}] + dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] + ) + test? ( + ${CDEPEND} + >=dev-python/pytest-2.6[${PYTHON_USEDEP}] + ) +" +RDEPEND="${CDEPEND}" + +python_prepare_all() { + local PATCHES=( + "${FILESDIR}"/sphinx-rtd.patch + ) + + distutils-r1_python_prepare_all +} + +python_compile_all() { + use doc && esetup.py build_sphinx + #use doc && emake -C doc html +} + +python_test() { + py.test -v || die "Tests failed under ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( doc/_build/html/. ) + use examples && local EXAMPLES=( examples/. ) + + distutils-r1_python_install_all +} -- 2.26.2