diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 71c1e2263..ac0a78ce5 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -30,6 +30,7 @@ - pychromecast-7.2.1 * bump / rework pychromecast-7.3.0 * add trio-0.16.0 + * add outcome-1.0.1 2020-09-05 * repair iglo-1.2.7, drop iglo-1.2.5, abondoned anyway: https://github.com/jesserockz/python-iglo/issues/1#issuecomment-558479023 diff --git a/dev-python/outcome/Manifest b/dev-python/outcome/Manifest new file mode 100644 index 000000000..901d4ad8e --- /dev/null +++ b/dev-python/outcome/Manifest @@ -0,0 +1,3 @@ +DIST outcome-1.0.1.tar.gz 16933 BLAKE2B 3b435342078d7ab7d24633e23907f5663f8e2bb0cff3b766794ae7aec724544fb9b0f541d22562fae9fe8f7be6e0eedfb87bdd24130f5d9fdde143f70effef72 SHA512 891ce0a3154972e36eaaf4954866b6869f961d05d22bbecdfcbb8cf8b5352db22ee994cd67f6074e425c3a4f452c73013f421f67cd593ca831e8fe04c730b9d2 +EBUILD outcome-1.0.1.ebuild 747 BLAKE2B f38f114eff96a63ac19139b1b2012a06a121c3204099ef6695bfcb95384cbce1ef084089afc1396b50e75b136a894d00bd300fc7fb0c21e226114bc3c5c12220 SHA512 bee252fa9b436f815564fe4f6a5bc467b11cae800d3b4d63b99c8a9450570d76394fa55211506174788421bec2de501ce2f747521dfa628a25de4c8cd57d3a9b +MISC metadata.xml 458 BLAKE2B 0a0df30c99766b2e76010186715790a1d514a1b4703e11696fc96e4c7a729d60af298c51b3c0eea901044bec2b4b9a9f6f705ea10514c8ad52fef913695a6c4c SHA512 2b6c52afb6b4c493f52efdbb3d688ae7d0ee22289b2ffc4ffde8b3da5e8d319cb9ce2d5437f5cc6af410221b860aac3c72bdb99f2f302b89f261fde76e25c66f diff --git a/dev-python/outcome/metadata.xml b/dev-python/outcome/metadata.xml new file mode 100644 index 000000000..f6aa29af2 --- /dev/null +++ b/dev-python/outcome/metadata.xml @@ -0,0 +1,15 @@ + + + + + b@edevau.net + Andreas Billmeier + + + outcome + + frazer@frazermclean.co.uk + Frazer McLean + + + diff --git a/dev-python/outcome/outcome-1.0.1.ebuild b/dev-python/outcome/outcome-1.0.1.ebuild new file mode 100644 index 000000000..d63a98d79 --- /dev/null +++ b/dev-python/outcome/outcome-1.0.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_{6..8} ) + +inherit distutils-r1 + +DESCRIPTION="Capture the outcome of Python function calls." +HOMEPAGE="https://github.com/python-trio/outcome https://pypi.org/project/outcome/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="|| ( MIT Apache-2.0 )" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" + +RDEPEND=">=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]" +BDEPEND="${REDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/nose[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + )" + +python_test() { + nosetests --verbose || die + py.test -v -v || die +}