diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-07-13 08:28:25 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-07-13 08:34:57 +0200 |
commit | e8b622f912f50b180c23e9decd5e8616fc1a22e8 (patch) | |
tree | 699995d128cc2a3b966f490ba7004eb5bf87f779 /dev-python/micawber/micawber-0.5.4.ebuild | |
parent | dev-python/eventlet: Bump to 0.31.1 (diff) | |
download | gentoo-e8b622f912f50b180c23e9decd5e8616fc1a22e8.tar.gz gentoo-e8b622f912f50b180c23e9decd5e8616fc1a22e8.tar.bz2 gentoo-e8b622f912f50b180c23e9decd5e8616fc1a22e8.zip |
dev-python/micawber: Bump to 0.5.4
Signed-off-by: Michał Górny <mgorny@gentoo.org>
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}" +} |