From 9ee6d97c2883d42f204a533a8bc1f4562df778fb Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 16 Sep 2020 09:32:48 +0100 Subject: gentoo resync : 16.09.2020 --- dev-python/pytest-datadir/Manifest | 3 ++ dev-python/pytest-datadir/metadata.xml | 12 ++++++++ .../pytest-datadir/pytest-datadir-1.3.1.ebuild | 33 ++++++++++++++++++++++ 3 files changed, 48 insertions(+) create mode 100644 dev-python/pytest-datadir/Manifest create mode 100644 dev-python/pytest-datadir/metadata.xml create mode 100644 dev-python/pytest-datadir/pytest-datadir-1.3.1.ebuild (limited to 'dev-python/pytest-datadir') diff --git a/dev-python/pytest-datadir/Manifest b/dev-python/pytest-datadir/Manifest new file mode 100644 index 000000000000..ed237c3884c8 --- /dev/null +++ b/dev-python/pytest-datadir/Manifest @@ -0,0 +1,3 @@ +DIST pytest-datadir-1.3.1.tar.gz 15230 BLAKE2B 72c5daaeb93315be55ae052d39a22eee4e64a1aaafa344ae64b527eebd137dc4667cee2f60af887551f00814d7ea4e5788097d0f59f7769335545c5083aef356 SHA512 2ab035ea4e6c4eaaead746a5fd3988feed31a314f73e18270faf4ae606521aa045f3d6c5e1301adcb87f8fd5b1ba5f3f1784f212ad778707ba46ad638d594f8c +EBUILD pytest-datadir-1.3.1.ebuild 731 BLAKE2B c8794551a495d3cc267c063864476d632ac03ed7287483cd08c89936323063cdac776b1f73cfcc48772944a0f15b39718a8f23ad6d66a49ed4e2c1ae309d40a7 SHA512 772041e2c64ff8a5a82d0c377d6096ccad650e73c5c7daf342c0c28fa23171628d5402df0346b95fcde37264b9fae1749f90bd39b93eafc70cde74a959517bcc +MISC metadata.xml 375 BLAKE2B 393138e315b4eae4dacb9339fbb5766e9dbaa84b7482babaddc08d524fb8b9939f6622ee9c6d09b66c61ac270fcc483fac39996a12ba87ccccf7cafd4c6d36db SHA512 9a44b6b9de4d1a61d6af9256519473541d5513cef349c15178c025dee3aaaa3f6772b1be56576411a985fcd9c70029c00743d8f577be8eaec4c5a44646c9cbf6 diff --git a/dev-python/pytest-datadir/metadata.xml b/dev-python/pytest-datadir/metadata.xml new file mode 100644 index 000000000000..d22e99d73577 --- /dev/null +++ b/dev-python/pytest-datadir/metadata.xml @@ -0,0 +1,12 @@ + + + + + andrewammerlaan@riseup.net + Andrew Ammerlaan + + + proxy-maint@gentoo.org + Proxy Maintainers + + diff --git a/dev-python/pytest-datadir/pytest-datadir-1.3.1.ebuild b/dev-python/pytest-datadir/pytest-datadir-1.3.1.ebuild new file mode 100644 index 000000000000..4410dfb88542 --- /dev/null +++ b/dev-python/pytest-datadir/pytest-datadir-1.3.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="Pytest plugin for manipulating test data directories and files" +HOMEPAGE="https://github.com/gabrielcnr/pytest-datadir" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest + +python_test() { + distutils_install_for_testing + pytest -vv || die "Tests fail with ${EPYTHON}" +} + +python_install_all() { + distutils-r1_python_install + + # Do not install license to /usr + rm "${D}/usr/LICENSE" || die +} -- cgit v1.2.3