summaryrefslogtreecommitdiff
path: root/dev-python/livereload
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/livereload')
-rw-r--r--dev-python/livereload/Manifest2
-rw-r--r--dev-python/livereload/livereload-2.7.1.ebuild59
2 files changed, 61 insertions, 0 deletions
diff --git a/dev-python/livereload/Manifest b/dev-python/livereload/Manifest
index 4078a0a413ed..53e02c4c22cf 100644
--- a/dev-python/livereload/Manifest
+++ b/dev-python/livereload/Manifest
@@ -1,3 +1,5 @@
DIST python-livereload-2.7.0.gh.tar.gz 26138 BLAKE2B 4cb2fd5352cbb68f09c914000e37b8305d66c9735e232e5eccad3ea1016ffc6d3da0846ebce048385f6606ceaa176b8df77461d9a0ca939a2f65d089cec9c3e9 SHA512 676f50b9300e1582177493cef24f4e2b10a4e385d0de780bf9161dee66e3063420338021464477c8079bffd0e4690a4b0d15c71025ebf1959addbaa6e69fa8bb
+DIST python-livereload-2.7.1.gh.tar.gz 26793 BLAKE2B e06bc364c660189d51b9553614e37a70fabeccf16d9af15763b398936e4889e6d7ed760145e424da22da3ff4a0b53cbcc7de8e226a6938025ee5d8dfcfd54410 SHA512 a0c5a316ad5d34518b6ca44cddff51ba45d60a8ba24de767e791aa529e4ab22accf15916321fea755e67f4fd0aecb1e0ed840142662c27c8eaa6cad5dc2a7399
EBUILD livereload-2.7.0.ebuild 933 BLAKE2B 834c841215ac5ee3b9bc3604443283b0545b4395a01d3b7f0fec8a947e76186090d877e9a6f973794e4047b86e990ff855983ffc1dd6f2a2c00ad721c035edc3 SHA512 da08b2e8c3b3bb8b54ac2cae95358d77594d52e24cc05ccdd47330ae87e2381e2f3c2f713a014bcdff3d0e7ed27378e026bb0cd03d735265e5afeb794796f678
+EBUILD livereload-2.7.1.ebuild 1200 BLAKE2B 4d58f88c949ec1642e47ead83c62283b5e8a7543be1407b8a1d9f4af334f3031a7f7f55804374f02f5953b13e7291974265b9a77fa122257076cdde2a677b254 SHA512 1f5486a1bb54f042c9f88efbb0cda1ec71b2d7e75bb8a20999b46278f84df7eb57dce488b74cc4dbf02c98b78937463a5a052be45ed0d83c6e75af19e5a09d39
MISC metadata.xml 403 BLAKE2B 914d6bf7be8896be47dac823903cce77da5dc672edb30276b28df2e32c7a1c40360d2c7c260f111043b7c8565a0deb1c76945a1f19633db9b993b020b7557fcd SHA512 025754709ac4361edda643b85f61c508f6eadd98a0c6fea266ca264ff5c1d1c1dc0084b72e6f44e93cdee70681ce94bbebed76262bc819d2e874dde192d83eb9
diff --git a/dev-python/livereload/livereload-2.7.1.ebuild b/dev-python/livereload/livereload-2.7.1.ebuild
new file mode 100644
index 000000000000..5ac19be95fdb
--- /dev/null
+++ b/dev-python/livereload/livereload-2.7.1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit distutils-r1
+
+MY_P=python-livereload-${PV}
+DESCRIPTION="livereload server in Python"
+HOMEPAGE="
+ https://github.com/lepture/python-livereload/
+ https://pypi.org/project/livereload/
+"
+SRC_URI="
+ https://github.com/lepture/python-livereload/archive/v${PV}.tar.gz
+ -> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="examples"
+
+RDEPEND="
+ dev-python/tornado[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/pytest-rerunfailures[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs \
+ dev-python/furo \
+ dev-python/myst-parser \
+ dev-python/sphinxcontrib-programoutput
+
+python_test() {
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+
+ # tests/test_watcher.py::TestWatcher::test_watch_multiple_dirs
+ # is extremely flaky
+ epytest -p rerunfailures --reruns=10
+}
+
+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
+}