From fb3984545d2dae44a9d399d68da83e05bd8c2eea Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Tue, 10 Mar 2020 18:03:38 +0100 Subject: [PATCH] dev-python/micawber: Bump to 0.5.1, tests, py3.{7,8} MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/micawber/Manifest | 1 + dev-python/micawber/micawber-0.5.1.ebuild | 27 +++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 dev-python/micawber/micawber-0.5.1.ebuild diff --git a/dev-python/micawber/Manifest b/dev-python/micawber/Manifest index 47c23a267c4d..1a7d20829d61 100644 --- a/dev-python/micawber/Manifest +++ b/dev-python/micawber/Manifest @@ -1 +1,2 @@ DIST micawber-0.3.3.tar.gz 32200 BLAKE2B 570c6e59cc73a7ddd878c6c03cba1600159a44cf1b1ce6a2e8d2311e5747352143cc7831a868cd27f68b36d67923860ec3a8c7f36a7a63aeb2c51d08f1fb2c02 SHA512 15f5e3f85e6d3bf44e6a4a3ae975872acb2e9093e15b56a5a3b24573332c811955c84f0ee69d327334b22fa61b29a51ce14657fc7bf2f486268145965c159bc0 +DIST micawber-0.5.1.tar.gz 34210 BLAKE2B cc3be0dfdb52a733ff37f249d589f37812c5f6b641b1dd2092faffcfeff9cd79c3989324def721859584280405a28c046ec98aeee3a89106fec0e3f27ed4fede SHA512 888826ced322a0584d827f7e0c58691281d8147e7c3ca9e940493a8beba41fbf6d005b0ca7c4ee6eb8e9c37edea4fb8244aaea9f553b886b1410d91aecbae4ee diff --git a/dev-python/micawber/micawber-0.5.1.ebuild b/dev-python/micawber/micawber-0.5.1.ebuild new file mode 100644 index 000000000000..2bc5e97fd1f3 --- /dev/null +++ b/dev-python/micawber/micawber-0.5.1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) +inherit distutils-r1 + +DESCRIPTION="A small library for extracting rich content from urls" +HOMEPAGE="https://github.com/coleifer/micawber/" +SRC_URI="https://github.com/coleifer/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND=" + test? ( + dev-python/beautifulsoup:4[${PYTHON_USEDEP}] + dev-python/django[${PYTHON_USEDEP}] + )" + +python_test() { + "${EPYTHON}" runtests.py || die "Tests failed with ${EPYTHON}" +} -- 2.26.2