From 2a96873c27d086a83e8b8cdfdf4a7624144bee6e Mon Sep 17 00:00:00 2001 From: Andrew Ammerlaan Date: Sat, 28 Mar 2020 15:10:49 +0100 Subject: [PATCH] dev-python/livereload: version bump 2.6.1 Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan Signed-off-by: Joonas Niilola --- dev-python/livereload/Manifest | 1 + dev-python/livereload/livereload-2.6.1.ebuild | 47 +++++++++++++++++++ dev-python/livereload/metadata.xml | 9 +++- 3 files changed, 56 insertions(+), 1 deletion(-) create mode 100644 dev-python/livereload/livereload-2.6.1.ebuild diff --git a/dev-python/livereload/Manifest b/dev-python/livereload/Manifest index 4947c94cbfb8..7a5213ac5df3 100644 --- a/dev-python/livereload/Manifest +++ b/dev-python/livereload/Manifest @@ -1,2 +1,3 @@ DIST livereload-2.4.1.tar.gz 25593 BLAKE2B 97a37349f14cb9d1841ec78cc3d1965b59f65f86b00cb972b9b726364f7f34e6409853f8af32215c6bd400698f9b3ac2b947ac7864a8df15ccec8badddaa0cfe SHA512 9106fe1894092ab336270f539be41d4db2d277560a41898e45014e34783ab0b601c993a5a5831c951d313db98ea835aecc8eb31468ba186e243a28df75bfe9bb DIST livereload-2.5.2.tar.gz 27070 BLAKE2B 9d2af1eb313f8fd6e7a5176565c3f7a9ab7d8a36260d568d47a427e14e8ed76c0edb0c227ba5784681c82d7c7b5994e151d14302d8c9d0e76caea7d12e130586 SHA512 bb4ba50a31a912051f6036754bfc6ce7ba33b1b8abd5a20ac151f996e347d84367d4cc26f9c798ed6aef487ea335e1591d40ebd1c12f9487f74992e53e129749 +DIST livereload-2.6.1.tar.gz 28324 BLAKE2B e6b9d107b5848916548e3665461dc90c1a37124496b4066aab45c62c57f0287f23d3883321bc2c67a053f981336c84ff47d1a459c9f10bb8965ea11236d07d2d SHA512 c7f058687c715a46e24537105bae2788395c6664a69f9a78b1c357464818d17826515c66c537ab625ee5eeb99f162b1304006455f4da9b0bab9a67bacf12d3dc diff --git a/dev-python/livereload/livereload-2.6.1.ebuild b/dev-python/livereload/livereload-2.6.1.ebuild new file mode 100644 index 000000000000..445228a0fb78 --- /dev/null +++ b/dev-python/livereload/livereload-2.6.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) + +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="Python LiveReload is an awesome tool for web developers" +HOMEPAGE="https://github.com/lepture/python-livereload" +SRC_URI="https://github.com/lepture/python-${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="examples" + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + www-servers/tornado[${PYTHON_USEDEP}] +" + +S="${WORKDIR}/python-${P}" + +distutils_enable_tests pytest +distutils_enable_sphinx docs dev-python/flask-sphinx-themes + +python_prepare_all() { + # AssertionError: assert (None, None) == ('/var/tmp/portage/dev-python/livereload-2.6.1/work/livereload-2.6.1/tests/tmp/first/foo',\n None) + sed -i -e 's:test_watch_multiple_dirs:_&:' tests/test_watcher.py || die + + distutils-r1_python_prepare_all +} + +python_install_all() { + if use examples; then + docinto examples + dodoc -r example/. + docompress -x /usr/share/doc/${PF}/examples + fi + + distutils-r1_python_install_all +} diff --git a/dev-python/livereload/metadata.xml b/dev-python/livereload/metadata.xml index 271d14bdfb6c..5a0914daffe9 100644 --- a/dev-python/livereload/metadata.xml +++ b/dev-python/livereload/metadata.xml @@ -1,7 +1,14 @@ - + + andrewammerlaan@riseup.net + Andrew Ammerlaan + + + proxy-maint@gentoo.org + Proxy Maintainers + lepture/python-livereload -- 2.26.2