dev-python/micawber: Bump to 0.5.1, tests, py3.{7,8}
authorMichał Górny <mgorny@gentoo.org>
Tue, 10 Mar 2020 17:03:38 +0000 (18:03 +0100)
committerMichał Górny <mgorny@gentoo.org>
Tue, 10 Mar 2020 17:20:39 +0000 (18:20 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-python/micawber/Manifest
dev-python/micawber/micawber-0.5.1.ebuild [new file with mode: 0644]

index 47c23a267c4deabc83d020978fe7f4fe76e17102..1a7d20829d61b8d617230ba4f09a7c8a81caa15b 100644 (file)
@@ -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 (file)
index 0000000..2bc5e97
--- /dev/null
@@ -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}"
+}