diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-07-17 19:04:28 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-07-17 19:04:28 +0100 |
commit | 514d1bbe260df2521fe60f1a3ec87cfcfde1a829 (patch) | |
tree | 555c194dbeb0fb2ac4ad3cde7c0f6a80fd330ce2 /dev-python/micawber/micawber-0.5.4.ebuild | |
parent | 4df3bf9762850b34cd1ead5c80374d1a0fc3362e (diff) |
gentoo resync : 17.07.2021
Diffstat (limited to 'dev-python/micawber/micawber-0.5.4.ebuild')
-rw-r--r-- | dev-python/micawber/micawber-0.5.4.ebuild | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/dev-python/micawber/micawber-0.5.4.ebuild b/dev-python/micawber/micawber-0.5.4.ebuild new file mode 100644 index 000000000000..268957d38262 --- /dev/null +++ b/dev-python/micawber/micawber-0.5.4.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +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? ( + $(python_gen_impl_dep sqlite) + dev-python/beautifulsoup:4[${PYTHON_USEDEP}] + dev-python/django[${PYTHON_USEDEP}] + )" + +python_test() { + "${EPYTHON}" runtests.py || die "Tests failed with ${EPYTHON}" +} |