diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-python/pyhamcrest | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-python/pyhamcrest')
-rw-r--r-- | dev-python/pyhamcrest/Manifest | 3 | ||||
-rw-r--r-- | dev-python/pyhamcrest/files/sphinx-rtd.patch | 20 | ||||
-rw-r--r-- | dev-python/pyhamcrest/metadata.xml | 17 | ||||
-rw-r--r-- | dev-python/pyhamcrest/pyhamcrest-1.8.2.ebuild | 50 | ||||
-rw-r--r-- | dev-python/pyhamcrest/pyhamcrest-1.8.3.ebuild | 62 | ||||
-rw-r--r-- | dev-python/pyhamcrest/pyhamcrest-1.8.5.ebuild | 50 |
6 files changed, 202 insertions, 0 deletions
diff --git a/dev-python/pyhamcrest/Manifest b/dev-python/pyhamcrest/Manifest new file mode 100644 index 000000000000..2413ce8ac5b1 --- /dev/null +++ b/dev-python/pyhamcrest/Manifest @@ -0,0 +1,3 @@ +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 +DIST PyHamcrest-1.8.5.tar.gz 376456 SHA256 db990f17477bb0e78f726e8b04fe3ac78f697011e5c8ecb0928567db14efca55 SHA512 7841f704fdad8653bad923dc243431b4c3d82a9646d1138528356162bd556bc5d16178fbc6b1f27918e8ac1df6c54afb4d5eb8b3286536df33dd85ace475ea2d WHIRLPOOL 721fd1101a32b44bfd1cc8e8fc5e63a776ce5c5b3e126311f7f185cee092ebe6035151737db1b99edeca0e9d395a4eb1c1811a83aaed015be4dc6ce2499609f3 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 + # "<project> v<release> documentation". diff --git a/dev-python/pyhamcrest/metadata.xml b/dev-python/pyhamcrest/metadata.xml new file mode 100644 index 000000000000..1c6b30c2b82e --- /dev/null +++ b/dev-python/pyhamcrest/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>alunduil@gentoo.org</email> + <name>Alex Brandt</name> + </maintainer> + <longdescription lang="en"> + </longdescription> + <use> + <flag name="numpy">Enable optional dependence on dev-python/numpy</flag> + </use> + <upstream> + <remote-id type="pypi">PyHamcrest</remote-id> + <remote-id type="github">hamcrest/PyHamcrest</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/pyhamcrest/pyhamcrest-1.8.2.ebuild b/dev-python/pyhamcrest/pyhamcrest-1.8.2.ebuild new file mode 100644 index 000000000000..1f1855079370 --- /dev/null +++ b/dev-python/pyhamcrest/pyhamcrest-1.8.2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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}] ) + test? ( + ${CDEPEND} + >=dev-python/pytest-2.6[${PYTHON_USEDEP}] + ) +" +RDEPEND="${CDEPEND}" + +python_compile_all() { + 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 +} 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..3f57cde2633b --- /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 +# $Id$ + +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 +} diff --git a/dev-python/pyhamcrest/pyhamcrest-1.8.5.ebuild b/dev-python/pyhamcrest/pyhamcrest-1.8.5.ebuild new file mode 100644 index 000000000000..700448138cac --- /dev/null +++ b/dev-python/pyhamcrest/pyhamcrest-1.8.5.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 test" + +CDEPEND=">=dev-python/six-1.4[${PYTHON_USEDEP}]" +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_compile_all() { + use doc && esetup.py build_sphinx +} + +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 +} |