re-add (from main) watchdog-2.3.1

This commit is contained in:
Andreas Billmeier 2023-05-01 17:18:30 +02:00 committed by Andreas Billmeier
parent 2281ab562f
commit 93c03a57ca
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 72 additions and 2 deletions

View File

@ -576,12 +576,12 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E
## Licenses
This repository itself is released under GPL-3 (like most Gentoo repositories), all work on the depending components under the licenses they came from. Perhaps you came here because I filed an issue at your component about a bad or missing license. It is easy to [assign a license](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). During cleanups and license investigations I have been asked often which license to choose. I am not a lawyer, but I can offer the following table, counted over this repository, perhaps this helps your decision. If a package has more than one license listed, all of them are counted.
There are 1860 Ebuilds in total, 1849 of them have in total 1870 (39 different) licenses assigned.
There are 1861 Ebuilds in total, 1850 of them have in total 1871 (39 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1094|
|Apache-2.0|395|
|Apache-2.0|396|
|GPL-3|117|
|BSD|99|
|LGPL-3|27|

View File

@ -0,0 +1,3 @@
DIST watchdog-2.3.1.tar.gz 123140 BLAKE2B a49307b890b9f69eda760c6285d325fddc7281347740b36d7c840a5e28ef496498420c21424f1553bf1dc0d47a928194720ef1ae542e7c0f6f58085760c2e8f5 SHA512 a492c818fcc8b21ca4052fecafdf6b4d00f441034d73b10464fc9c09a89d539acd8304e591ded96e5d992e2c9455be018373ba4f06a33b047e606c083f9061e8
EBUILD watchdog-2.3.1.ebuild 1058 BLAKE2B f8b3604c4702ecd9da7f6eb8ad3c26430939f27c052da39cae3dacac7c2f71fa11cd8e8d1cb7a706e61b940ed4fcd295ed5ed293acebce7d630d1bae8442c804 SHA512 56ceb3e077685b271b245c7634f69311fe0b55c2bddb51f4999f9c2a3f9b312f897c3763dcb4aa5deec5fccf8101b03be5e31f087486182ec91cede25e018293
MISC metadata.xml 573 BLAKE2B 6b1ffd989644b4e647bf8324e56f9719b402dce9eb51b28f77f940bad0194b9d0e8846e7d405c98cb17d49f3c2b10303aa55f878b3cfeb1ecdfd7c60be61157d SHA512 aacde0a07e1d381cd9f97db6189a0fb15c0808a2e2eb172c8db20d948f9a8773800d52cccc1b058ed79d2b9fe6e34b2418f25d6024d1677173d47ae355776ab4

View File

@ -0,0 +1,17 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<upstream>
<remote-id type="pypi">watchdog</remote-id>
<remote-id type="github">gorakhargosh/watchdog</remote-id>
<doc>https://pythonhosted.org/watchdog/</doc>
<maintainer status="unknown">
<email>yesudeep@gmail.com</email>
<name>Yesudeep Mangalapilly</name>
</maintainer>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,50 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..11} pypy3 )
inherit distutils-r1 optfeature pypi
DESCRIPTION="Python API and shell utilities to monitor file system events"
HOMEPAGE="
https://github.com/gorakhargosh/watchdog/
https://pypi.org/project/watchdog/
"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86"
RDEPEND="
dev-python/pyyaml[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
>=dev-python/pytest-timeout-0.3[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
src_prepare() {
sed -e '/--cov/d' -i setup.cfg || die
default
}
python_test() {
local EPYTEST_DESELECT=(
# known flaky
tests/test_emitter.py::test_close
# requires root powers via sudo (yes, seriously)
tests/test_inotify_buffer.py::test_unmount_watched_directory_filesystem
)
epytest -p no:django
}
pkg_postinst() {
optfeature "Bash completion" dev-python/argcomplete
}