dev-python/pyudev: add 0.24.1
Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
parent
5c8ea5defa
commit
12b1e4c201
@ -606,7 +606,7 @@ 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 2340 Ebuilds in total, 2326 of them have in total 2366 (43 different) licenses assigned.
|
||||
There are 2341 Ebuilds in total, 2327 of them have in total 2367 (43 different) licenses assigned.
|
||||
|
||||
|License| Ebuilds using it|
|
||||
|-------|-----|
|
||||
@ -624,10 +624,10 @@ There are 2340 Ebuilds in total, 2326 of them have in total 2366 (43 different)
|
||||
|PSF-2|10|
|
||||
|ISC|8|
|
||||
|MPL-2.0|6|
|
||||
|LGPL-2.1|5|
|
||||
|ZPL|4|
|
||||
|AGPL-3|4|
|
||||
|LGPL-2.1+|4|
|
||||
|LGPL-2.1|4|
|
||||
|0BSD|3|
|
||||
|CC-BY-4.0|3|
|
||||
|PYTHON|3|
|
||||
|
@ -1,3 +1,5 @@
|
||||
DIST pyudev-0.23.2.tar.gz 87199 BLAKE2B 0ce4300296f4fcc3a56ba4100d3ebe7734330b3096fde59475fe9880758a3279324c4c3df883b22d1ec9f4e0cfa83fc7c25fbe54ed03a5e019567595deb21211 SHA512 40b947d363dca73789f5ab77cbda4b48349e28fe04f2f5cafb93d20799d842ebeb2b7d78d1f16dcbcaac5c20aff1b931b372c75852706e731337e6e1d30b8538
|
||||
DIST pyudev-0.24.1.tar.gz 85963 BLAKE2B 86c6d04691c99671735915564f58b4ef892e45925047487500bc7005343db7145941dde270f4ce9279881bd9bbf203965082d54b34b396febff52f387a1c26ac SHA512 10e32d9a74884000fbf8b86bee60530f6e7b936b990e7ae3b76099ace71834602de404721101c1076ef57365622a9a8f4819d57f58508ced09a21b7d50326886
|
||||
EBUILD pyudev-0.23.2.ebuild 1350 BLAKE2B a089a71aa605989554de8cf64c480c8e048321090e6012085dcf77bc5a733855544a9d4174914c387a759a4478cf80753b325efcc4e7c6ef757be3279fc967d6 SHA512 eac6b4be39876d7d8169519de1e67ce6f6c04dd942e7058ee1f08ccd4b0b749c7679fca3adc6c8fad2b190955b41ee4e8e5b2721daf18239f8811c1a2fa0ed38
|
||||
EBUILD pyudev-0.24.1.ebuild 1325 BLAKE2B da5127fe00c51965ee938dd7872d9ed570ee1a95ed8b10edba175912c04bf75a1f22ca2290cec2ed205a24c6d71481c25ca3d0cbcb8c956c627d38045da5d4bc SHA512 b1ebd8bbe017e7dee36157824ea4a8c37d1a3312e5bfed3cfe5ae2f1c5574d17666784049891f29849f0ac9fc03e7efd0ffb08aeeb5923013be3985358728269
|
||||
MISC metadata.xml 558 BLAKE2B 19b95d86e8e16a474a4e7bd57ae6ca26c8d102cf21df5e50f4503d438764305b3646fffa87fd656ac561625ab5438bbd9a8171ce7a3623fe152cc9b2d3293987 SHA512 a7bbce4618873ca6dad96ccdb65f634154b9adb37b224817f46d09e560772df45e72facda70d4a806ca0e8910826cca731fa511149da4d880396b366f148b9f6
|
||||
|
52
dev-python/pyudev/pyudev-0.24.1.ebuild
Normal file
52
dev-python/pyudev/pyudev-0.24.1.ebuild
Normal file
@ -0,0 +1,52 @@
|
||||
# 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 optfeature pypi
|
||||
|
||||
DESCRIPTION="Python binding to libudev"
|
||||
HOMEPAGE="https://pyudev.readthedocs.io/en/latest/ https://github.com/pyudev/pyudev"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv sparc x86"
|
||||
IUSE="qt5"
|
||||
|
||||
# Known to fail on test system that aren't exactly the same devices as on CI
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="virtual/udev"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/hypothesis[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
DOCS=( CHANGES.rst README.rst )
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_prepare_all() {
|
||||
if use test; then
|
||||
ewarn "If your PORTAGE_TMPDIR is longer in length then '/var/tmp/',"
|
||||
ewarn "change it to /var/tmp to ensure tests will pass."
|
||||
fi
|
||||
|
||||
# tests are known to pass then fail on alternate runs
|
||||
# tests: fix run_path
|
||||
sed -e "s|== \('/run/udev'\)|in (\1,'/dev/.udev')|g" \
|
||||
-i tests/test_core.py || die
|
||||
|
||||
# disable usage of hypothesis timeouts (too short)
|
||||
sed -e '/@settings/s/(/(deadline=None,/' -i tests{,/_device_tests}/*.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "PyQt5 bindings" "dev-python/pyqt5"
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user