diff options
Diffstat (limited to 'dev-python/nose_warnings_filters')
-rw-r--r-- | dev-python/nose_warnings_filters/Manifest | 3 | ||||
-rw-r--r-- | dev-python/nose_warnings_filters/metadata.xml | 12 | ||||
-rw-r--r-- | dev-python/nose_warnings_filters/nose_warnings_filters-0.1.5-r2.ebuild | 31 |
3 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/nose_warnings_filters/Manifest b/dev-python/nose_warnings_filters/Manifest new file mode 100644 index 000000000000..a0aef5a62c98 --- /dev/null +++ b/dev-python/nose_warnings_filters/Manifest @@ -0,0 +1,3 @@ +DIST nose_warnings_filters-0.1.5.tar.gz 3895 BLAKE2B 90fe9d0255227159cb4465648f45aa33623bf31b2182a7579d2f7f17687a832b2c96e9c2b3f0b5c477d808907d92bc8567d2aeed6bd13dcd28878394e9726fb6 SHA512 7ada463840bb2e3a1c7e357c231f9c7d4c7ce9f24fe7fe1e33404df41711663c8232001f9a258898f49ce89bb542a942240cf7312ee41bc75f86ca2015378405 +EBUILD nose_warnings_filters-0.1.5-r2.ebuild 834 BLAKE2B c5df058df5f04d13ead12ad8b94ff274912138ed58981a72a75c38e8ff0d898e3ad958b2061db0bbfe42ce76d01d025f97209aaee3b3c2ed5c055ae55eb884c6 SHA512 a4f4f5d78d3a6a56025bf00a1fbed2c934d171411d665273dc5bdc07b57064ef84a24d5db41aeb492243a1c7af4f27d1b031501b90a1634f09d0bca6e96d3024 +MISC metadata.xml 393 BLAKE2B 077fd1e2172a4fbf35315d6597ead3dcf760145272ed4855df1b8cfd484addeffbba47bb7334c9fef8b404b70f3a136d8687d270dc22607306b68a79fbeb764e SHA512 5a579ee892244135abe424c05a9ed28ccc0d04e2e0dc87cc14187de9b5f86e00f8c51a762c0a55333f92370df2e982cf82babee6dec27205f15ede1aa87bde11 diff --git a/dev-python/nose_warnings_filters/metadata.xml b/dev-python/nose_warnings_filters/metadata.xml new file mode 100644 index 000000000000..bc60ad566a29 --- /dev/null +++ b/dev-python/nose_warnings_filters/metadata.xml @@ -0,0 +1,12 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <upstream> + <remote-id type="github">Carreau/nose_warnings_filters</remote-id> + <remote-id type="pypi">nose_warnings_filters</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/nose_warnings_filters/nose_warnings_filters-0.1.5-r2.ebuild b/dev-python/nose_warnings_filters/nose_warnings_filters-0.1.5-r2.ebuild new file mode 100644 index 000000000000..3a8e695fbaef --- /dev/null +++ b/dev-python/nose_warnings_filters/nose_warnings_filters-0.1.5-r2.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) + +inherit distutils-r1 + +DESCRIPTION="A python module to inject warning filters during nosetest" +HOMEPAGE="https://github.com/Carreau/nose_warnings_filters" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm64 ~ppc x86" +IUSE="test" + +RDEPEND="dev-python/nose[${PYTHON_USEDEP}]" +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( ${RDEPEND} )" + +python_test() { + # nose_warnings_filters doesn't have a proper + # testing suite, hence we run the only testing + # script available + distutils_install_for_testing + cd "${TEST_DIR}"/lib || die + "${EPYTHON}" "${S}"/${PN}/testing/test_config.py || die "Failed running test script" +} |