diff options
Diffstat (limited to 'dev-python/sure')
-rw-r--r-- | dev-python/sure/Manifest | 2 | ||||
-rw-r--r-- | dev-python/sure/sure-2.0.0.ebuild | 30 |
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-python/sure/Manifest b/dev-python/sure/Manifest index 1f400c94b083..0e0e80bd7419 100644 --- a/dev-python/sure/Manifest +++ b/dev-python/sure/Manifest @@ -1,3 +1,5 @@ DIST sure-1.4.11.tar.gz 45933 BLAKE2B b2146ee56237f4575cab5122279023066a1b9ba20493ced7d729b1afa456f71a38071b721c39594c3ef2fcc912ba934e85e5cb5da576c3b2d20fa7d4926b56b7 SHA512 ed067385bf9cf317a5d55f6c5fc6ee54ee3d592825be398e47c37d31fc9c010cb9316d4e2bcf1d72d53d7e53fd470792d64348aa2bfa5dc43510daaff97742da +DIST sure-2.0.0.tar.gz 46747 BLAKE2B 631923bf2fc0a972e276fbfd1918abbafec28e662669993b40ff8ca72944952d092ac662728f98a286fc9b5c8e3765d10a4d6ef1f17b17655802b971b97410af SHA512 8286846374c2bfc773444e90bf4f9c0b0d66d0229afa53af63025bfec690bf8bcc959f86c238ca5244c6a29099e955691771b0eb954af479bde2f17e51f6f1de EBUILD sure-1.4.11.ebuild 699 BLAKE2B 4c8e3f7982411657f043bf1810fe2e13899431fba7cab279df57dac6847dd860bd02d720354e17a4556034d914431480d7aa40baf71286c1c758728886f90466 SHA512 a45402b06d588b7769e58bb3eb7992ca3a02cb06faee4c19b38ea7af89d6cbd37be1fbb42feb7b0cde1826b54f8a5f1b57239c62d00a8c5b3e1da59a1ca2ad9d +EBUILD sure-2.0.0.ebuild 696 BLAKE2B 8c1fa41e781352f2768e7fb6227df92cfe33ab37095eca25fcb5be74b089a7640715b53815de21d79d8da3c007b0f5e07070b7d6f4e9c04d1b1b653f4449e93a SHA512 437c153aadb341fc02ff565a80e469da57ed774ef2c7aab5b4847d4b1d6e015d4d40caa5ebe6d8784615e67f66de2f2dedf26ec976d78ea75546d7b675281023 MISC metadata.xml 580 BLAKE2B fd57ae5f0db3af8fa1a3752dbc6c5c0d2f614b19b3a791e416fae0e4500f0a3ec8f88a45b46b37745f92d7538f54846379b8ccb8d3cf6afb0cbd613b0eb4bf40 SHA512 ac9536e4de1fd74d326af98154065afb9a42e6b29b5ea2bfb22987be15da16236aa2dda813257be53158edb426c021e4e6a0f954299c64fe55be08f5b0f3b8c4 diff --git a/dev-python/sure/sure-2.0.0.ebuild b/dev-python/sure/sure-2.0.0.ebuild new file mode 100644 index 000000000000..03bb0dfc4e10 --- /dev/null +++ b/dev-python/sure/sure-2.0.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..9} ) + +inherit distutils-r1 + +DESCRIPTION="idiomatic assertion toolkit with human-friendly failure messages" +HOMEPAGE="https://github.com/gabrielfalcao/sure" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86" + +RDEPEND=" + dev-python/mock[${PYTHON_USEDEP}] + >=dev-python/nose-1.3.0[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" + +distutils_enable_tests nose + +src_prepare() { + # remove unnecessary dep + sed -i -e '/rednose/d' setup.cfg || die + distutils-r1_src_prepare +} |